Subject: [Megaco] codec incompatibility

From: [email-masked]
Date: Wed, 03 Mar 2004 13:10:19 +0100

Hello,

What should happen in case MGC passes to a MG2 a localDescriptor with a 
different codec then in the remoteDescriptor.
I.e MG1 only supports codec 8 and MG2 only supports codec 0.
Which entity is responsible to detect that conversation will not be possible

Must the MG generate 510 as described in section 7.1.8 of RFC3015

*  If ReserveGroup is False and ReserveValue is false, then the MG
      SHOULD apply the following rules to resolve Local and Remote to a
      single alternative each:

   *  The MG chooses the first alternative in Local for which it is able
      to support at least one alternative in Remote.

   *  If the MG is unable to support at least one Local and one Remote
      alternative, it returns Error 510 (Insufficient Resources).

or should the MGC not send such commands

Example:

14. The MGC will now associate A5555 with a new Context on MG2, and
   establish an RTP Stream (i.e, A5556 will be assigned), SendReceive
   connection through to the originating user, User 1. The MGC also sets
   ring on A5555.

   MGC to MG2:
   MEGACO/1 [123.123.123.4]:55555
   Transaction = 50003 {
       Context = $ {
          Add = A5555  { Media {
               Stream = 1 {
                    LocalControl {Mode = SendReceive} }},
                Events=1234{al/of},
               Signals {al/ri}
               },
          Add  = $ {Media {
               Stream = 1 {
                    LocalControl {
                       Mode = SendReceive,
                       nt/jit=40 ; in ms
                    },
                    Local {
   v=0
   c=IN IP4 $
   m=audio $ RTP/AVP 0
   a=ptime:30
                    },
                    Remote {
   v=0
   c=IN IP4 124.124.124.222
   m=audio 2222 RTP/AVP 8
   a=ptime:30
                    } ; 
                }
             }
         }
      }
   }

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