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">&lt;<a href="mailto:rmartinez@redvoiss.net">rmartinez@redvoiss.net</a>&gt;</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 ---------&gt; FreeSwitch+D100 -----------&gt; 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">    &lt;extension name=&quot;to_prueba2&quot;&gt;</span></p><p class="MsoNormal"><span lang="EN-US">      &lt;condition field=&quot;network_addr&quot; expression=&quot;^10\.0\.0\.220$&quot;&gt;</span></p>


<p class="MsoNormal"><span lang="EN-US">                  &lt;action application=&quot;set&quot; data=&quot;call_timeout=50&quot;/&gt;</span></p><p class="MsoNormal"><span lang="EN-US">                  &lt;action application=&quot;set&quot; data=&quot;hangup_after_bridge=true&quot;/&gt;</span></p>


<p class="MsoNormal"><span lang="EN-US">                  &lt;action application=&quot;export&quot; data=&quot;nolocal:absolute_codec_string=G729,G723&quot;/&gt;</span></p><p class="MsoNormal"><span lang="EN-US">                  &lt;action application=&quot;set&quot; data=&quot;sip_invite_domain=10.0.0.222&quot;/&gt;</span></p>


<p class="MsoNormal"><span lang="EN-US">                  &lt;action application=&quot;export&quot; data=&quot;sip_append_audio_sdp=a=rtpmap:18 G729/8000,a=fmtp:18 annexb=no&quot;/&gt;</span></p><p class="MsoNormal"><span lang="EN-US">                  &lt;action application=&quot;bridge&quot; data=&quot;<a href="mailto:sofia/$$%7bdomain%7d/$%7bdestination_number%7d@10.0.0.222" target="_blank">sofia/$${domain}/${destination_number}@10.0.0.222</a>&quot;/&gt;</span></p>


<p class="MsoNormal"><span lang="EN-US">                  &lt;action application=&quot;answer&quot;/&gt;</span></p><p class="MsoNormal"><span lang="EN-US">      &lt;/condition&gt;</span></p><p class="MsoNormal"><span lang="EN-US">    &lt;/extension&gt;</span></p>


<p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">    &lt;extension name=&quot;to_prueba1&quot;&gt;</span></p><p class="MsoNormal"><span lang="EN-US">      &lt;condition field=&quot;network_addr&quot; expression=&quot;^10\.0\.0\.222$&quot;&gt;</span></p>


<p class="MsoNormal"><span lang="EN-US">                  &lt;action application=&quot;set&quot; data=&quot;call_timeout=50&quot;/&gt;</span></p><p class="MsoNormal"><span lang="EN-US">                  &lt;action application=&quot;set&quot; data=&quot;hangup_after_bridge=true&quot;/&gt;</span></p>


<p class="MsoNormal"><span lang="EN-US">                  &lt;action application=&quot;set&quot; data=&quot;sip_invite_domain=10.0.0.220&quot;/&gt;</span></p><p class="MsoNormal"><span lang="EN-US">                  &lt;action application=&quot;bridge&quot; data=&quot;<a href="mailto:sofia/$$%7bdomain%7d/$%7bdestination_number%7d@10.0.0.220" target="_blank">sofia/$${domain}/${destination_number}@10.0.0.220</a>&quot;/&gt;</span></p>


<p class="MsoNormal"><span lang="EN-US">                  &lt;action application=&quot;answer&quot;/&gt;</span></p><p class="MsoNormal"><span lang="EN-US">      &lt;/condition&gt;</span></p><p class="MsoNormal"><span lang="EN-US">    &lt;/extension&gt;</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">    &lt;!--Uncomment to let calls hit the dialplan *before* you decide if the codec is ok--&gt;</span></p>


<p class="MsoNormal"><span lang="EN-US">    &lt;param name=&quot;inbound-late-negotiation&quot; value=&quot;true&quot;/&gt;</span></p><p class="MsoNormal"><span lang="EN-US">    &lt;!--set to &#39;greedy&#39; if you want your codec list to take precedence --&gt;</span></p>


<p class="MsoNormal"><span lang="EN-US">    &lt;param name=&quot;inbound-codec-negotiation&quot; value=&quot;generous&quot;/&gt;</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">&lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;global_codec_prefs=G729,G723,PCMU,PCMA&quot;/&gt;</span></p><p class="MsoNormal"><span lang="EN-US">  &lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;outbound_codec_prefs=G729,G723&quot;/&gt;</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>