[Freeswitch-users] Codec Transcoding issue

Rutu Patel rutu.patel at inextrix.com
Thu Dec 24 17:20:13 MSK 2015


Hi All,

I have installed freeswitch-1.6.5 and G729 licensed version on Debian-8.2.

I have set below parameters in sip profile.
'inbound-codec-prefs'     'G729,PCMU,PCMA'
'outbound-codec-prefs '  'G729,PCMU,PCMA'
'disable-transcoding'       'true'
'inbound-late-negotiation' 'true'

Also  absolute_codec_string = G729,PCMA,PCMU

I want to achieve something like this:

Device A offers: G729
Freeswitch offers to Device B: G729/PCMA/PCMU

So if Device B supports G729, then there is no transcoding.
But if Device B supports only PCMA, then Freeswitch transcodes G729 to
PCMA.
Same if Device B supports only PCMU, then Freeswitch transcodes G729 to
PCMU.
And if Device B supports PCMA and PCMU, then Freeswitch should pick PCMA
and transcode G729 to PCMA.

Freeswitch is rejecting call with hangup cause INCOMPATIBLE_DESTINATION.

Currently freeswitch offers only device A's codec(G729), but freeswitch
should offer all 3 codecs (G729,PCMU,PCMA) which are defined in sip profile.

Please help me. Any suggestions are appreciated.
--
Thanks,
Rutu Patel

<http://www.inextrix.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151224/748d90c7/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list