[Freeswitch-users] Codec Negotiation. Bug?

Anto potxoka at gmail.com
Fri Mar 30 01:09:54 MSD 2012


Hello

I'm still fighting with the codec negotiation with carriers (as I am
unable to understand how in FreeSWITCH) and I have seen something, I
do not know if it's a bug. If I use a variable in the specification of
output codecs do not see a corresponding message sip, however if
specified in the parameter, if negotiated with the carrier.

<!--global_codec_prefs=VB32,G7221,speex,PCMU,PCMA,BV16,G726-32,iLBC,GSM,G729,G723,AMR-->
<!--carriers_codec_prefs=PCMU,PCMA,G729,G723,AMR,VB32,G7221,speex,BV16,G726-32,iLBC,GSM-->


<param name="codec-prefs" value="$${carriers_codec_prefs}"/>
<param name="inbound-codec-prefs" value="$${carriers_codec_prefs}"/>
<param name="outbound-codec-prefs" value="PCMU,PCMA,G729,G723"/>
<param name="inbound-codec-negotiation" value="greedy"/>
<param name="inbound-late-negotiation" value="true"/>

http://pastebin.freeswitch.org/18782

-----------------------------------------------------------------------------------------------
<param name="codec-prefs" value="$${carriers_codec_prefs}"/>
<param name="inbound-codec-prefs" value="$${carriers_codec_prefs}"/>
<param name="outbound-codec-prefs" value="$${carriers_codec_prefs}"/>
<param name="inbound-codec-negotiation" value="greedy"/>
<param name="inbound-late-negotiation" value="true"/>

http://pastebin.freeswitch.org/18784


Do not understand why in one case send sip message and not in another
(in this cancel the call because it does not handle the negotiation).
What can be?. Thanks !!!

Best regards
Anto



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list