[Freeswitch-users] Codec Negotiation

Steven Ayre steveayre at gmail.com
Wed Oct 3 19:51:08 MSD 2012


Codecs can differ on the aleg and bleg, FS will transcode between them
if possible. So what you saw is perfectly normal.

G729 is one where the transcoding will fail though unless you have a
licensed version (mod_com_g729 or sangoma hardware).

There are options you can adjust to alter how the codecs are selected,
including to force the bleg to use the aleg codec and visa versa, see
http://wiki.freeswitch.org/wiki/Codec_negotiation

-Steve



On 1 October 2012 15:47, Balamurugan Mahendran <b2m at a-cti.com> wrote:
>
> Codec help!!
>
> inbound call pass through lua file for bridge to another number, Looks one
> channel picks PCMU and the other took G729.
>
> Is this because of misconfiguration (or) is this normal? And my call quality
> is not okay.
>
> This happens to rtmp calls too.
>
> Please advice me to setup properly.
>
>
> DID call :
>
> "Unavailable","+16613804913","+19840483100","public","2012-10-01
> 14:39:21","2012-10-01 14:39:29","2012-10-01
> 14:41:39","138","130","NORMAL_CLEARING","c9841afa-0bd5-11e2-8266-292d0bf811c2","","","G729","G729"
> "Unavailable","+16613804913","+19665108963","public","2012-10-01
> 14:39:21","2012-10-01 14:39:29","2012-10-01
> 14:41:39","138","130","NORMAL_CLEARING","c9818a10-0bd5-11e2-8262-292d0bf811c2","c9841afa-0bd5-11e2-8266-292d0bf811c2","","PCMU","PCMU"
>
> RTMP call :
>
> "","0000000000","+19884730340","rtmp","2012-10-01 14:06:56","2012-10-01
> 14:07:11","2012-10-01
> 14:07:39","43","28","NORMAL_CLEARING","42246f00-0bd1-11e2-8245-292d0bf811c2","","","G729","G729"
> "","0000000000","+OG90000956","rtmp","2012-10-01 14:06:56","2012-10-01
> 14:07:11","2012-10-01
> 14:07:39","43","28","NORMAL_CLEARING","422253be-0bd1-11e2-8241-292d0bf811c2","42246f00-0bd1-11e2-8245-292d0bf811c2","","SPEEX","SPEEX"
>
>
> Thanks,
> Bala
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



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