[Freeswitch-users] Codec Transcoding issue

Vitaly Kovalyshyn v.kovalyshyn at gmail.com
Mon Dec 28 15:05:29 MSK 2015


This is not correct: absolute_codec_string=G729,PCMU,PCMA 

Try: absolute_codec_string='G729,PCMU,PCMA'


Best regards, 
Vitaly Kovalyshyn

http://kovalyshyn.pp.ua/
Twitter: @kovalyshyn

http://вебітел.укр/

> On 28 груд. 2015 р., at 10:11, Rutu Patel <rutu.patel at inextrix.com> wrote:
> 
> Thank you all for your suggestions.
> 
> ​Now seems like freeswitch offers all 3 codecs defined in sip profile but when I set absolute_codec_string it doesn't work.
> 
> I have tried by setting {media_mix_inbound_outbound_codecs=true} to outbound leg ​and now bridge is 
> bridge({media_mix_inbound_outbound_codecs=true,absolute_codec_string=G729,PCMU,PCMA}sofia/gateway/TestGW/xxxx300055)
> 
> But freeswitch offers only G729 .It offers first codec defined in absolute_codec_string.
> 
> If I remove absolute_codec_string it works fine and offers all 3 codecs defined in sip profile.
> 
> I have parameters in sip profile as below:
> 'disable-transcoding'  = 'false'
> 'inbound-late-negotiation' = 'true'
> 
> Please let me know if you want any other information regarding configurations.
> 
> 
> --
> Thanks,
> Rutu Patel
> 
>  <http://www.inextrix.com/>
> On Sun, Dec 27, 2015 at 10:26 PM, Bote Man <bote_radio at botecomm.com <mailto:bote_radio at botecomm.com>> wrote:
> Ah! This means that my advice was wrong. This section of Confluence tells you more:
> 
>  
> 
> https://freeswitch.org/confluence/display/FREESWITCH/Codec+Negotiation#CodecNegotiation-MixingMedia/Codecsondifferentlegs(transcoding) <https://freeswitch.org/confluence/display/FREESWITCH/Codec+Negotiation#CodecNegotiation-MixingMedia/Codecsondifferentlegs(transcoding)>
>  
> 
> Bote
> 
>  
> 
>  
> 
> From: Anthony Minessale
> Sent: Saturday, 26 December, 2015 15:20
> Subject: Re: [Freeswitch-users] Codec Transcoding issue
> 
>  
> 
> 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 <mailto: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 <mailto: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 <http://www.inextrix.com/>
>  
> 
> On Thu, Dec 24, 2015 at 9:35 PM, Sergey Safarov <s.safarov at gmail.com <mailto: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?
> 
>  
> 
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org <http://www.freeswitch.org/>
> http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
> http://www.cluecon.com <http://www.cluecon.com/>
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org <mailto:FreeSWITCH-users at lists.freeswitch.org>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
> http://www.freeswitch.org <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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151228/dbc151b5/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2191 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151228/dbc151b5/attachment-0001.bin 


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