Re: Selection of media (m=) at MG

Javi Muñoz <[email protected]> Thu, 01 Dec 2011 19:42:41 +0100
Newsgroups gmane.ietf.megaco
Message-ID <[email protected]>
Arindam,

> You can use another option: have reserve value on and use both g711 and Clearmode on both remote and local SDP and MG will send in g711 only because that has higher preference when G711 appears before CLearMode codec in the list as follows:
>
>   m=audio<puerto>   RTP/AVP 0 [8]<PT_dinámico>
>   a=rtpmap:<PT_dinámico>   CLEARMODE/8000

When the Remote descriptor has several audio codecs in the line "m=":

  m=audio<puerto>   RTP/AVP 0 [8]<PT_dinámico>   


I understand that:

1º First codec in the line is used if it is possible.

2º In case that codec may not be used (for an error, for example), the 
second codec would be tried (I understand this is the reaseon why the 
Remote descriptor may have several audio codecs in the same line "m=).


If it is so, and we use:

  m=audio<puerto>   RTP/AVP 0 [8]<PT_dinámico>   


What would happen if when MG needs to send the tone/ann., the codecs "0" 
and "8" may not be used?. MG would try to send the tone/ann. to the 
terminal using CLEARMODE, when terminal is not ready to receive that.

Javi