Hi list,<div>I have an issue in my Freeswich in SBC mode.</div><div><br></div><div>It's a call from Freeswitch to my endpoint, my endpoint answer G729, after this 200OK, my end-point re-invite in G711A, and my freeswitch say: "Codec G.729 decoder error".</div>
<div><br></div><div>Ex :</div><div>1) SIP Provider ----INVITE(PCMA, G729)-----> FS ----INVITE(PCMA, G729)-----> End-point</div><div>2) SIP Provider <-----(200 OK G729)------ FS <------(200OK G729)------ End-point</div>
<div>3) FS <------(Re-INVITE PCMA)------ End-point</div><div>4) FS Error "Codec G.729 decoder error" in logs</div><div><br></div><div>In fact, it's something like <a href="http://jira.freeswitch.org/browse/FS-3739">http://jira.freeswitch.org/browse/FS-3739</a>, but the patch doesn't seem to work in our situation.</div>
<div><br></div><div><br></div><div>My freeswitch's conf:</div><div><u>sip_profile TOTO: </u></div><div><div><i> <!-- dtmf method --></i></div><div><i> <param name="dtmf-type" value="rfc2833"/></i></div>
<div><i><br></i></div><div><i> <!-- Payload type if the DTMF method is rfc2833 --></i></div><div><i> <param name="rfc2833-pt" value="101"/></i></div><div><i><br></i></div><div><i> <b><param name="inbound-late-negotiation" value="true"/></b></i></div>
<div><i><br></i></div><div><i> <param name="inbound-codec-prefs" value="PCMA,G729,PCMU"/></i></div><div><i><br></i></div><div><i> <param name="outbound-codec-prefs" value="PCMA,G729,PCMU"/></i></div>
<div><br></div><div><br></div><div><u>Diaplan TITI:</u></div><div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><i><b><action application="export" data="codec_string=${ep_codec_string}"/></b></i></div>
<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><i><action application="set" data="hangup_after_bridge=true"/></i></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<i> <action application="set" data="ignore_early_media=true"/></i></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><i><b><action application="set" data="inherit_codec=true"/></b></i></div>
<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><i><action application="export" data="t38_passthru=true"/></i></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<i><action application="export" data="suppress_cng=true"/></i></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><div><i><action application="bridge" data="</i></div>
<div><i> {</i></div><div><i> sip_invite_params=user=phone,</i></div><div><i> sip_cid_type=none,</i></div>
<div><i> ignore_display_updates=true,</i></div><div><i> <b>sip_renegotiate_codec_on_reinvite=true</b>,</i></div><div><i> }</i></div>
<div><i> sofia/gateway/${distributor(LISTTMP ${sofia(profile TITIPRO gwlist down)})}/${numberdest}"/></i></div><div><i><br></i></div><div><i><br></i></div><div>We choosed to use inbound-late-negotation with inherit-codec because of our t38_passthru option (as described here in FS wiki, I don't exactly remember where)</div>
<div><br></div><div>To resolve this problem, we tried to find how to make FS forward the Re-INVITE received on B-Leg to the A-Leg, but we didn't found any solution... If someone have an idea, it would be great ! ;-)</div>
<div><br></div><div><br></div><div>Thanks a lot,</div></div><div class="yj6qo ajU" style="outline:none;padding:10px 0px;width:22px;margin:2px 0px 0px;color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
</div></div></div><div><b><div><span style="font-weight:normal">Bien cordialement, </span></div><div><span style="font-weight:normal">Best Regards, </span></div><div><span style="font-weight:normal"><br></span></div></b><b>Kevin MATHY</b><div>
<b><br></b></div></div>
<br>
<img src="http://www.hexanet.fr/sites/files/hexanet/files/20130205_signature_hexanet.gif">