Hello Ricardo,<div><br></div><div>Did you figure out what your problem was?</div><div><br></div><div>Thanks</div><div><br></div><div>David<br><br><div class="gmail_quote">On Fri, Jul 22, 2011 at 5:56 PM, Ricardo Martinez <span dir="ltr"><<a href="mailto:rmartinez@redvoiss.net">rmartinez@redvoiss.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div lang="ES-CL" link="blue" vlink="purple"><div><div class="im"><p class="MsoNormal"><span lang="EN-US">Hello list.</span></p>
<p class="MsoNormal"><span lang="EN-US">I have the next problem with my Freeswitch. I’m using a Sangoma D100 transcoding card, but ‘im having problems with G729. This is my scenario.</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal">GatewayA ---------> FreeSwitch+D100 -----------> GatewayB</p><p class="MsoNormal">(10.0.0.220) (10.0.0.148) (10.0.0.222)</p>
<p class="MsoNormal"> </p></div><p class="MsoNormal"><span lang="EN-US">Gateway A is calling through Freeswitch to Gateway B. The problem is with the “200 - OK” message that goes from FreeSwitch to Gateway A. The “200 - OK” coming from Gateway B has the parameter “a=fmtp:18 annexb=no” in the SDP, but Freeswitch is not attaching this parameter to the “Leg A” and this is causing a one-way audio in the call. (please see the attached sdp-problem.jpg file).</span></p>
<div><div></div><div class="h5">
<p class="MsoNormal"><span lang="EN-US">The weird thing is when i unload the “mod_sangoma_codec” and load the “mod_g729”, this time the “200 OK” message from the Freeswitch is using the “a=fmtp:18 annexb=no” to the Leg A, and the call is successfully established without one way audio problem.</span></p>
<p class="MsoNormal"><span lang="EN-US">I really don’t know what could be happening, I ask the Sangoma support but thay said that this is a Freeswitch bug.</span></p><p class="MsoNormal"><span lang="EN-US">Can someone help me here?</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">These are part of my configuration files.</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">“default.xml”</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US"> <extension name="to_prueba2"></span></p><p class="MsoNormal"><span lang="EN-US"> <condition field="network_addr" expression="^10\.0\.0\.220$"></span></p>
<p class="MsoNormal"><span lang="EN-US"> <action application="set" data="call_timeout=50"/></span></p><p class="MsoNormal"><span lang="EN-US"> <action application="set" data="hangup_after_bridge=true"/></span></p>
<p class="MsoNormal"><span lang="EN-US"> <action application="export" data="nolocal:absolute_codec_string=G729,G723"/></span></p><p class="MsoNormal"><span lang="EN-US"> <action application="set" data="sip_invite_domain=10.0.0.222"/></span></p>
<p class="MsoNormal"><span lang="EN-US"> <action application="export" data="sip_append_audio_sdp=a=rtpmap:18 G729/8000,a=fmtp:18 annexb=no"/></span></p><p class="MsoNormal"><span lang="EN-US"> <action application="bridge" data="<a href="mailto:sofia/$$%7bdomain%7d/$%7bdestination_number%7d@10.0.0.222" target="_blank">sofia/$${domain}/${destination_number}@10.0.0.222</a>"/></span></p>
<p class="MsoNormal"><span lang="EN-US"> <action application="answer"/></span></p><p class="MsoNormal"><span lang="EN-US"> </condition></span></p><p class="MsoNormal"><span lang="EN-US"> </extension></span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US"> <extension name="to_prueba1"></span></p><p class="MsoNormal"><span lang="EN-US"> <condition field="network_addr" expression="^10\.0\.0\.222$"></span></p>
<p class="MsoNormal"><span lang="EN-US"> <action application="set" data="call_timeout=50"/></span></p><p class="MsoNormal"><span lang="EN-US"> <action application="set" data="hangup_after_bridge=true"/></span></p>
<p class="MsoNormal"><span lang="EN-US"> <action application="set" data="sip_invite_domain=10.0.0.220"/></span></p><p class="MsoNormal"><span lang="EN-US"> <action application="bridge" data="<a href="mailto:sofia/$$%7bdomain%7d/$%7bdestination_number%7d@10.0.0.220" target="_blank">sofia/$${domain}/${destination_number}@10.0.0.220</a>"/></span></p>
<p class="MsoNormal"><span lang="EN-US"> <action application="answer"/></span></p><p class="MsoNormal"><span lang="EN-US"> </condition></span></p><p class="MsoNormal"><span lang="EN-US"> </extension></span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">Part of the “interior.xml” file:</span></p><p class="MsoNormal"><span lang="EN-US"> <!--Uncomment to let calls hit the dialplan *before* you decide if the codec is ok--></span></p>
<p class="MsoNormal"><span lang="EN-US"> <param name="inbound-late-negotiation" value="true"/></span></p><p class="MsoNormal"><span lang="EN-US"> <!--set to 'greedy' if you want your codec list to take precedence --></span></p>
<p class="MsoNormal"><span lang="EN-US"> <param name="inbound-codec-negotiation" value="generous"/></span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal">Y finalmente en los codec preferentes tengo (vars.xml)</p>
<p class="MsoNormal"> <span lang="EN-US"><X-PRE-PROCESS cmd="set" data="global_codec_prefs=G729,G723,PCMU,PCMA"/></span></p><p class="MsoNormal"><span lang="EN-US"> <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=G729,G723"/></span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal" style="margin-top:3.0pt"><span lang="EN-US">Thanks in advance.</span></p>
<p class="MsoNormal" style="margin-top:3.0pt"><span lang="EN-US">Regards,</span></p><p class="MsoNormal" style="margin-top:3.0pt"><span lang="EN-US">Ricardo.-</span><span lang="EN-US"></span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p></div></div></div></div>
<br>_______________________________________________<br>
Join us at ClueCon 2011, Aug 9-11, Chicago<br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<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" 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><br>
<br></blockquote></div><br></div>