<div dir="ltr">Its probably not even what you think it is, Its probably trying to generate ringback and failing.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 13, 2016 at 7:35 AM, Vladislav Ivanov <span dir="ltr"><<a href="mailto:deforceczt@gmail.com" target="_blank">deforceczt@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<br><br>I have an issue with codec negotiation, seems to me that freeswitch is trying to transcode g729 to g729 annexb=no for some reason, even when I have different codecs available?<br><br>I'm bridging 2 calls, with profile settings:<br><div> <param name="inbound-late-negotiation" value="true"/></div><div> <param name="disable-transcoding" value="true"/></div><div>and dialplan:</div><div> <action application="set" data="inherit_codec=true"/></div><div><br></div><div>with global codec:<br><div> <X-PRE-PROCESS cmd="set" data="global_codec_prefs=PCMA,PCMU,G729,G723"/></div><div><br></div>here is invite and 183 progress message:<br><br><div>Session Initiation Protocol (INVITE)</div><div> Request-Line: INVITE sip: SIP/2.0</div><div> Message Body</div><div> Session Description Protocol</div><div> Media Description, name and address (m): audio 20268 RTP/AVP 18 8 0 101 13</div><div> Media Attribute (a): rtpmap:18 G729/8000</div><div> Media Attribute (a): rtpmap:8 PCMA/8000</div><div> Media Attribute (a): rtpmap:0 PCMU/8000</div><div> Media Attribute (a): rtpmap:101 telephone-event/8000</div><div> Media Attribute (a): fmtp:101 0-16</div><div> Media Attribute (a): rtpmap:13 CN/8000</div><div> Media Attribute (a): ptime:20</div><div> </div><div> </div><div>Session Initiation Protocol (183)</div><div> Status-Line: SIP/2.0 183 Session Progress</div><div> Message Body</div><div> Session Description Protocol</div><div> Media Description, name and address (m): audio 59852 RTP/AVP 18 0 8 101</div><div> Media Attribute (a): rtpmap:18 G729/8000</div><div> Media Attribute (a): fmtp:18 annexb=no</div><div> Media Attribute (a): rtpmap:0 PCMU/8000</div><div> Media Attribute (a): rtpmap:8 PCMA/8000</div><div> Media Attribute (a): rtpmap:101 telephone-event/8000</div><div> Media Attribute (a): fmtp:101 0-15</div><div> Media Attribute (a): sendrecv</div><div> Media Attribute (a): maxptime:20</div><div> </div><div>After that I get error message:</div><div><br></div><div>2016-07-13 11:29:11.136011 [ERR] mod_g729.c:102 This codec is only usable in passthrough mode!</div><div>2016-07-13 11:29:11.136011 [ERR] switch_core_io.c:1434 Codec G.729 encoder error!</div></div><div><br></div><div>and freeswitch sends CANCEL to B-side leg.</div><div><br></div><div>Maybe I have missed my settings, but if codecs "mismatch" shouldn't freeswitch choose g711 a/u and not try to "transcode" the codec?</div><div><br></div><div>Best Regards,<br>Vladislav</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><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="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">
<p><font face="courier new, monospace"><b><i><font size="4">Brian West</font></i></b><br><span style="font-size:x-small"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p>
<p><font size="1" face="courier new, monospace"><img src="http://billing.freeswitch.org/templates/default/img/whmcslogo.png"><br></font></p><p><font size="2" face="monospace, monospace"><b><i>Twitter: @FreeSWITCH , @briankwest</i></b><br><a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br><a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a><br></font><a href="https://www.gofundme.com/freeswitch_ubuntu" style="font-size:12.8px" target="_blank"><font face="monospace, monospace">https://www.gofundme.com/freeswitch_ubuntu</font></a></p><p><font face="monospace, monospace">Got Bugs? Report them <a href="https://freeswitch.org/jira" target="_blank">here</a>! | Reddit: <a href="https://www.reddit.com/r/freeswitch" target="_blank">/r/freeswitch</a></font></p>
<p><font size="2" face="monospace, monospace"><b>T:</b>+19184209001 | <b>F:</b>+19184209002 | <b>M:</b>+1918424WEST (9378)<br><b>iNUM:</b>+883 5100 1420 9001 | <b>ISN:</b>410*543 | <b>Skype:</b>briankwest</font></p></div></div></div></div></div></div></div></div></div></div></div></div>
</div>