<div dir="ltr"><div class="gmail_default" style="color:rgb(0,0,0)">Hi Sergey,<br><br></div><div class="gmail_default" style="color:rgb(0,0,0)">Thanks for the correction.<br></div><div class="gmail_default" style="color:rgb(0,0,0)">Freeswitch now offers all 3 codecs defined as absolute_codec_string='^^:G729:PCMU:PCMA' .<br><br></div><div class="gmail_default" style="color:rgb(0,0,0)">Its ringing but when I pick up the call it disconnect with INCOMPATIBLE_DESTINATION .<br></div><div class="gmail_extra"><br>Here is the freeswitch logs <a href="http://pastebin.com/g6jkQgY2">http://pastebin.com/g6jkQgY2</a><br><br><div class="gmail_default" style="color:rgb(0,0,0)">Please assist me if I am missing something.<br></div><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><span style="background-color:rgb(255,255,255)"><span style="color:rgb(11,83,148)"><span style="font-family:verdana,sans-serif"><font size="1"><span style="color:rgb(68,68,68)">--<br>Thanks,<br>Rutu Patel<br><br></span><span style="font-weight:bold"><span><span style="color:rgb(0,0,0)"><a href="http://www.inextrix.com" target="_blank"></a></span></span></span></font></span></span></span></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Tue, Dec 29, 2015 at 1:41 PM, Sergey Safarov <span dir="ltr"><<a href="mailto:s.safarov@gmail.com" target="_blank">s.safarov@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">In callog on my FS server <div>absolute_codec_string='^^:PCMU:PCMA'<span class=""><font color="#888888"><br></font></span></div><span class=""><font color="#888888"><div><br></div><div>Sergey</div></font></span></div><div class=""><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 29, 2015 at 8:01 AM, Rutu Patel <span dir="ltr"><<a href="mailto:rutu.patel@inextrix.com" target="_blank">rutu.patel@inextrix.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="color:rgb(0,0,0)">Hi Vitaly,<br><br></div><div style="color:rgb(0,0,0)">Thanks for reply.<br><br></div><div style="color:rgb(0,0,0)">I have tried that but getting something like below and call is failing with same cause.<br><br>EXECUTE sofia/default/98989@196.xx.xx.xx set(absolute_codec_string='G729,PCMA,PCMU')<br>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']<br>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)<br>2015-12-29 06:52:48.885277 [DEBUG] switch_limit.c:126 incr called: TestGW_gw_TestGW max:2, interval:0<br>2015-12-29 06:52:48.885277 [DEBUG] mod_db.c:194 Usage for TestGW_gw_TestGW is now 1/2<br>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)<br>2015-12-29 06:52:48.885277 [DEBUG] switch_ivr_originate.c:2127 Parsing global variables<br>2015-12-29 06:52:48.885277 [NOTICE] switch_channel.c:1091 <b>New Channel</b> sofia/default/xxxx300011 [9dc50b00-778d-45c8-8b38-5d91d33d969d]<br>2015-12-29 06:52:48.885277 [DEBUG] mod_sofia.c:4765 (sofia/default/xxxx300011) State Change CS_NEW -> CS_INIT<br>2015-12-29 06:52:48.885277 [DEBUG] switch_core_state_machine.c:473 (sofia/default/xxxx300011) Running State Change CS_INIT<br>2015-12-29 06:52:48.885277 [DEBUG] switch_core_state_machine.c:516 (sofia/default/xxxx300011) State INIT<br>2015-12-29 06:52:48.885277 [DEBUG] mod_sofia.c:88 sofia/default/xxxx300011 SOFIA INIT<br>2015-12-29 06:52:48.885277 [DEBUG] sofia_glue.c:1228 sip:196.xx.xx.xx Setting proxy route to sofia/default/xxxx300011<br>2015-12-29 06:52:48.885277 [DEBUG] sofia_glue.c:1257 sofia/default/xxxx300011 sending invite version: 1.6.5 64bit<br>Local SDP:<br>v=0<br>o=FreeSWITCH 1451348262 1451348263 IN IP4 196.xx.xx.xx<br>s=FreeSWITCH<br>c=IN IP4 196.xx.xx.xx<br>t=0 0<br>m=audio 16506 RTP/AVP 18 101<br>a=rtpmap:18 G729/8000<br>a=rtpmap:101 telephone-event/8000<br>a=fmtp:101 0-16<br>a=ptime:20<br>a=sendrecv<br><br></div><div style="color:rgb(0,0,0)">Why it is creating new channel after parsing global variables?<br></div><div class="gmail_extra"><br clear="all"><div><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><span style="background-color:rgb(255,255,255)"><span style="color:rgb(11,83,148)"><span style="font-family:verdana,sans-serif"><font size="1"><span style="color:rgb(68,68,68)">--<br>Thanks,<br>Rutu Patel<br></span><span style="font-weight:bold"><span><span style="color:rgb(0,0,0)"><a href="http://www.inextrix.com" target="_blank"></a></span></span></span></font></span></span></span></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><div><div>
<br><div class="gmail_quote">On Mon, Dec 28, 2015 at 5:35 PM, Vitaly Kovalyshyn <span dir="ltr"><<a href="mailto:v.kovalyshyn@gmail.com" target="_blank">v.kovalyshyn@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word">This is not correct: absolute_codec_string=G729,PCMU,PCMA <div><br></div><div>Try: absolute_codec_string='G729,PCMU,PCMA'</div><div><br></div><div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><br>Best regards, <br>Vitaly Kovalyshyn<br><br><a href="http://kovalyshyn.pp.ua/" target="_blank">http://kovalyshyn.pp.ua/</a><br>Twitter: @kovalyshyn<br><br><a href="http://xn--90abjb4a3b9i.xn--j1amh/" target="_blank">http://вебітел.укр/</a></div></div></div>
</div><div><div>
<br><div><blockquote type="cite"><div>On 28 груд. 2015 р., at 10:11, Rutu Patel <<a href="mailto:rutu.patel@inextrix.com" target="_blank">rutu.patel@inextrix.com</a>> wrote:</div><br><div><div dir="ltr"><div>Thank you all for your suggestions.</div><br><div>Now seems like freeswitch offers all 3 codecs defined in sip profile but when I set absolute_codec_string it doesn't work.</div><div><br>I have tried by setting {media_mix_inbound_outbound_codecs=true} to outbound leg and now bridge is <br>bridge({media_mix_inbound_outbound_codecs=true,absolute_codec_string=G729,PCMU,PCMA}sofia/gateway/TestGW/xxxx300055)<br></div><br><div><span style="font-size:12.8px">But freeswitch offers only G729 .It offers first codec defined in absolute_codec_string.<br></span></div><div><span style="font-size:12.8px"><br>If I remove absolute_codec_string it works fine and offers all 3 codecs defined in sip profile.<br><br></span></div><div><span style="font-size:12.8px">I have parameters in sip profile as below:<br>'disable-transcoding' = 'false'<br>'inbound-late-negotiation' = 'true'<br><br></span></div><div><span style="font-size:12.8px">Please let me know if you want any other information regarding configurations.<br></span></div><div><span style="font-size:12.8px"><br></span></div><div class="gmail_extra"><br clear="all"><div><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><span style="background-color:rgb(255,255,255)"><span style="color:rgb(11,83,148)"><span style="font-family:verdana,sans-serif"><font size="1"><span style="color:rgb(68,68,68)">--<br>Thanks,<br>Rutu Patel<br><br></span><span style="font-weight:bold"><span><span><a href="http://www.inextrix.com/" target="_blank"></a></span></span></span></font></span></span></span></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Sun, Dec 27, 2015 at 10:26 PM, Bote Man <span dir="ltr"><<a href="mailto:bote_radio@botecomm.com" target="_blank">bote_radio@botecomm.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)">Ah! This means that my advice was wrong. This section of Confluence tells you more:<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"><a href="https://freeswitch.org/confluence/display/FREESWITCH/Codec+Negotiation#CodecNegotiation-MixingMedia/Codecsondifferentlegs(transcoding)" target="_blank">https://freeswitch.org/confluence/display/FREESWITCH/Codec+Negotiation#CodecNegotiation-MixingMedia/Codecsondifferentlegs(transcoding)</a><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)">Bote<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"><u></u> <u></u></span></p><div style="border-width:medium medium medium 1.5pt;border-style:none none none solid;border-color:-moz-use-text-color -moz-use-text-color -moz-use-text-color blue;padding:0in 0in 0in 4pt"><div><div style="border-width:1pt medium medium;border-style:solid none none;border-color:rgb(181,196,223) -moz-use-text-color -moz-use-text-color;padding:3pt 0in 0in"><p class="MsoNormal"><b><span style="font-size:10pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10pt;font-family:"Tahoma","sans-serif""> Anthony Minessale<br><b>Sent:</b> Saturday, 26 December, 2015 15:20<span><br><b>Subject:</b> Re: [Freeswitch-users] Codec Transcoding issue<u></u><u></u></span></span></p></div></div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">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.<u></u><u></u></p></div><span><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">On Sat, Dec 26, 2015 at 2:16 PM, Sergey Safarov <<a href="mailto:s.safarov@gmail.com" target="_blank">s.safarov@gmail.com</a>> wrote:<u></u><u></u></p><div><p class="MsoNormal">Set <span style="font-size:9.5pt">'disable-transcoding' to 'false' and repeat again</span><span><span style="color:rgb(136,136,136)"><u></u><u></u></span></span></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><span style="font-size:9.5pt;color:rgb(136,136,136)">Sergey</span><span style="color:rgb(136,136,136)"><u></u><u></u></span></p></div></div><div><div><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">On Sat, Dec 26, 2015 at 8:09 AM, Rutu Patel <<a href="mailto:rutu.patel@inextrix.com" target="_blank">rutu.patel@inextrix.com</a>> wrote:<u></u><u></u></p><div><div><p class="MsoNormal" style="margin-bottom:12pt"><span>Hi Sergey,<u></u><u></u></span></p></div><div><p class="MsoNormal" style="margin-bottom:12pt"><span>Thank you for reply.<u></u><u></u></span></p></div><div><p class="MsoNormal" style="margin-bottom:12pt"><span>In sip profile 3 codecs are defined(G729,PCMU,PCMA) and device A offers G729. <br>But freeswitch offers only G729 in INVITE.<u></u><u></u></span></p></div><div><p class="MsoNormal"><span>Please let me know if you want any other informations.<u></u><u></u></span></p></div><div><p class="MsoNormal"><br clear="all"><u></u><u></u></p><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Verdana","sans-serif";color:rgb(68,68,68);background:none repeat scroll 0% 0% white">--<br>Thanks,<br>Rutu Patel<br>iNextrix Technologies Pvt. Ltd.</span><b><span style="font-size:7.5pt;font-family:"Verdana","sans-serif";color:rgb(11,83,148);background:none repeat scroll 0% 0% white"><br></span></b><b><span style="font-size:7.5pt;font-family:Verdana,sans-serif;background-image:none;background-color:white;background-repeat:repeat repeat"><a href="http://www.inextrix.com/" target="_blank">www.inextrix.com</a></span></b><u></u><u></u></p></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><div><div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">On Thu, Dec 24, 2015 at 9:35 PM, Sergey Safarov <<a href="mailto:s.safarov@gmail.com" target="_blank">s.safarov@gmail.com</a>> wrote:<u></u><u></u></p><p>Currently freeswitch offers only device A's codec(G729), but freeswitch should offer all 3 <u></u><u></u></p><p>What codecs offers a-leg In first invite?<u></u><u></u></p><div><div><p class="MsoNormal"><u></u> <u></u></p></div></div></div></div></div></div></div></div></div></div></div></div></div></span></div></div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com/" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org/" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com/" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org/" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div></div>
_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services: <br><a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br><a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br><br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></div></blockquote></div><br></div></div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div></div></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div></div>