[Freeswitch-users] Codec Transcoding issue
Rutu Patel
rutu.patel at inextrix.com
Tue Dec 29 08:01:45 MSK 2015
Hi Vitaly,
Thanks for reply.
I have tried that but getting something like below and call is failing with
same cause.
EXECUTE sofia/default/98989 at 196.xx.xx.xx
set(absolute_codec_string='G729,PCMA,PCMU')
2015-12-29 06:52:48.885277 [DEBUG] mod_dptools.c:1498 SET
sofia/default/98989 at 196.xx.xx.xx [absolute_codec_string]=['G729,PCMA,PCMU']
EXECUTE sofia/default/98989 at 196.xx.xx.xx limit_execute(db TestGW gw_TestGW
2 bridge
{media_mix_inbound_outbound_codecs=true,absolute_codec_string='G729,PCMA,PCMU'}sofia/gateway/TestGW/xxxx300011)
2015-12-29 06:52:48.885277 [DEBUG] switch_limit.c:126 incr called:
TestGW_gw_TestGW max:2, interval:0
2015-12-29 06:52:48.885277 [DEBUG] mod_db.c:194 Usage for TestGW_gw_TestGW
is now 1/2
EXECUTE sofia/default/98989 at 196.xx.xx.xx
bridge({media_mix_inbound_outbound_codecs=true,absolute_codec_string=G729,PCMA,PCMU}sofia/gateway/TestGW/xxxx300011)
2015-12-29 06:52:48.885277 [DEBUG] switch_ivr_originate.c:2127 Parsing
global variables
2015-12-29 06:52:48.885277 [NOTICE] switch_channel.c:1091 *New Channel*
sofia/default/xxxx300011 [9dc50b00-778d-45c8-8b38-5d91d33d969d]
2015-12-29 06:52:48.885277 [DEBUG] mod_sofia.c:4765
(sofia/default/xxxx300011) State Change CS_NEW -> CS_INIT
2015-12-29 06:52:48.885277 [DEBUG] switch_core_state_machine.c:473
(sofia/default/xxxx300011) Running State Change CS_INIT
2015-12-29 06:52:48.885277 [DEBUG] switch_core_state_machine.c:516
(sofia/default/xxxx300011) State INIT
2015-12-29 06:52:48.885277 [DEBUG] mod_sofia.c:88 sofia/default/xxxx300011
SOFIA INIT
2015-12-29 06:52:48.885277 [DEBUG] sofia_glue.c:1228 sip:196.xx.xx.xx
Setting proxy route to sofia/default/xxxx300011
2015-12-29 06:52:48.885277 [DEBUG] sofia_glue.c:1257
sofia/default/xxxx300011 sending invite version: 1.6.5 64bit
Local SDP:
v=0
o=FreeSWITCH 1451348262 1451348263 IN IP4 196.xx.xx.xx
s=FreeSWITCH
c=IN IP4 196.xx.xx.xx
t=0 0
m=audio 16506 RTP/AVP 18 101
a=rtpmap:18 G729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=sendrecv
Why it is creating new channel after parsing global variables?
--
Thanks,
Rutu Patel
<http://www.inextrix.com>
On Mon, Dec 28, 2015 at 5:35 PM, Vitaly Kovalyshyn <v.kovalyshyn at gmail.com>
wrote:
> 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://вебітел.укр/ <http://xn--90abjb4a3b9i.xn--j1amh/>
>
> 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>
> 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)
>>
>>
>>
>> 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>
>> 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 <http://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?
>>
>>
>>
>> _________________________________________________________________________
>> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151229/378ce90b/attachment-0001.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list