<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 ---------> FreeSwitch+D100 -----------> 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"> <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">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">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" style="mso-fareast-language:ES-CL"></span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p></div></body></html>