[Freeswitch-users] Codec Transcoding issue

Sergey Safarov s.safarov at gmail.com
Thu Dec 24 19:05:21 MSK 2015


Currently freeswitch offers only device A's codec(G729), but freeswitch
should offer all 3

What codecs offers a-leg In first invite?

On Thu, Dec 24, 2015, 19:03 Sergey Safarov <s.safarov at gmail.com> wrote:

> You has set 'disable-transcoding'  'true'. Thinking this prevents call
> establishment.
>
> On Thu, Dec 24, 2015, 17:22 Rutu Patel <rutu.patel at inextrix.com> wrote:
>
>> 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>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151224/2ea1917b/attachment.html 


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