<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"><meta name="Generator" content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Texto de globo Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:EN-US;}
span.TextodegloboCar
        {mso-style-name:"Texto de globo Car";
        mso-style-priority:99;
        mso-style-link:"Texto de globo";
        font-family:"Tahoma","sans-serif";}
span.EstiloCorreo19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EstiloCorreo20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body lang="ES-CL" link="blue" vlink="purple"><div class="WordSection1"><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><p class="MsoNormal"><span lang="EN-US">Gateway A is calling through Freeswitch to Gateway B<span style="color:#1F497D">. The SDP of the initial INVITE message has the parameters :<br><br></span></span></p>
<p class="MsoNormal"><span lang="EN-US">“a=rtpmap:18 G729/8000”<span style="color:#1F497D"></span></span></p><p class="MsoNormal"><span lang="EN-US">“a=fmtp:18 annexb=no”</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Then the INVITE transmitted to the gateway B it also has the same parameters.</span></p><p class="MsoNormal"><span lang="EN-US"> 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<span style="color:#1F497D">.</span></span></p>
<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">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">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" style="mso-fareast-language:ES-CL"></span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p></div></body></html>