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@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@196.xx.xx.xx [absolute_codec_string]=['G729,PCMA,PCMU']
EXECUTE sofia/default/98989@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@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=sendrecvWhy it is creating new channel after parsing global variables?On Mon, Dec 28, 2015 at 5:35 PM, Vitaly Kovalyshyn <v.kovalyshyn@gmail.com> wrote:This is not correct: absolute_codec_string=G729,PCMU,PCMATry: absolute_codec_string='G729,PCMU,PCMA'On 28 груд. 2015 р., at 10:11, Rutu Patel <rutu.patel@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.
On Sun, Dec 27, 2015 at 10:26 PM, Bote Man <bote_radio@botecomm.com> wrote:Ah! This means that my advice was wrong. This section of Confluence tells you more:
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@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@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@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@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@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@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@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@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@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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org