[Freeswitch-users] Codec Transcoding issue

Anthony Minessale anthony.minessale at gmail.com
Sat Dec 26 23:20:28 MSK 2015


add {media_mix_inbound_outbound_codecs=true} to outbound leg or
set media_mix_inbound_outbound_codecs=true in vars.xml to make it global.

On Sat, Dec 26, 2015 at 2:16 PM, Sergey Safarov <s.safarov at gmail.com> wrote:

> Set 'disable-transcoding'  to 'false' and repeat again
>
> Sergey
>
> On Sat, Dec 26, 2015 at 8:09 AM, Rutu Patel <rutu.patel at inextrix.com>
> wrote:
>
>> Hi Sergey,
>>
>> Thank you for reply.
>>
>> In sip profile 3 codecs are defined(G729,PCMU,PCMA) and device A offers
>> G729.
>> But freeswitch offers only G729 in INVITE.
>>
>> Please let me know if you want any other informations.
>>
>>
>> --
>> Thanks,
>> Rutu Patel
>> iNextrix Technologies Pvt. Ltd.
>> www.inextrix.com
>>
>> On Thu, Dec 24, 2015 at 9:35 PM, Sergey Safarov <s.safarov at gmail.com>
>> wrote:
>>
>>> 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
>>>>
>>>>
>>> _________________________________________________________________________
>>> 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
>>>
>>
>>
>> _________________________________________________________________________
>> 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
>>
>
>
> _________________________________________________________________________
> 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
>



-- 
Anthony Minessale II       ♬ @anthmfs  ♬ @FreeSWITCH  ♬

☞ http://freeswitch.org/http://cluecon.com/http://twitter.com/FreeSWITCH
☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+
<http://freeswitch.org/g+>*

ClueCon Weekly Development Call
☎ sip:888 at conference.freeswitch.org  ☎ +19193869900

https://www.youtube.com/watch?v=9XXgW34t40s
https://www.youtube.com/watch?v=NLaDpGQuZDA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151226/db4b39dc/attachment.html 


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