Subject: [Megaco] Local control descriptor: mode

From: "derrick.ding" <[email-masked]>
Date: Tue, 5 Feb 2002 15:5:2 +0800

Hi,Tom-PT！
     A question about Local control descriptor: mode

     When MGC apply for RTP resource to MG without the remote RTP SDP, and MGC set the Local control descriptor of Ephermeral termination as SendRecv(not RecvOnly). As following shows:
    Transaction = 100003{
      Context = 3 {
         Add = $ {
              Media {
                Stream = 1 {
                   LocalControl {
                        Mode = SendRecv
                         }
                   Local {
             v=0
             c=IN IP4 $
             m=audio $ RTP/AVP 4
             a=ptime:30
                         }
                        }
                    }
                  }
        }
     }

What is suggested that MG should do? There are several choice on MG side:
1. since there's no remote port to connect, MG reply Add Error to MGC.

2. since there's no remote port to connect, MG ignore it, send reply with Local SDP to MGC, and keep the mode.
   When modify command with Remote RTP SDP comes, MG will connect the local port with remote port. This time mode is not mandatory. 
Like this:
      Transaction = 100004{
      Context = 3 {
        modify = A4445 {
              Media {
                Stream = 1 {                   
                   Remote {
             v=0
             c=IN IP4 125.125.125.111
             m=audio 1111 RTP/AVP 4
                         }
                        }
                    }
                  }
        }
     }

Now what's the correct operation on MG side?

Thanks and Best Regards           

            derrick.ding
            [email-masked]

_______________________________________________
Megaco mailing list
[email-masked]
https://www1.ietf.org/mailman/listinfo/megaco