<div>Which G729 module are you using? mod_g729 or mod_com_g729?<div><br></div><div>If mod_com_g729, do you have any G729 licenses installed/available?</div><div><br></div><div>I think your call is switching from G729-G729 (which is passthrough so requires no licenses) to G729-G711 (which is transcoding so requires a G729 license). You have no license available so the call fails.</div>

<div><br></div><div>Btw, seeing your actual logs is invaluable. You&#39;ve hidden a lot of useful information by choosing to just copy the part of the error you think is important - eg all context and the module/lineno that&#39;s raising the error message.</div>

<div><br></div><div>-Steve</div><div><br></div><div><br><br><div class="gmail_quote">On 7 June 2013 08:39, Kevin Mathy <span dir="ltr">&lt;<a href="mailto:k.mathy@hexanet.fr" target="_blank">k.mathy@hexanet.fr</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi list,<div>I have an issue in my Freeswich in SBC mode.</div><div><br></div><div>It&#39;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: &quot;Codec G.729 decoder error&quot;.</div>



<div><br></div><div>Ex :</div><div>1) SIP Provider ----INVITE(PCMA, G729)-----&gt; FS ----INVITE(PCMA, G729)-----&gt; End-point</div><div>2) SIP Provider &lt;-----(200 OK G729)------ FS &lt;------(200OK G729)------ End-point</div>



<div>3) FS &lt;------(Re-INVITE PCMA)------ End-point</div><div>4) FS Error &quot;Codec G.729 decoder error&quot; in logs</div><div><br></div><div>In fact, it&#39;s something like <a href="http://jira.freeswitch.org/browse/FS-3739" target="_blank">http://jira.freeswitch.org/browse/FS-3739</a>, but the patch doesn&#39;t seem to work in our situation.</div>



<div><br></div><div><br></div><div>My freeswitch&#39;s conf:</div><div><u>sip_profile TOTO: </u></div><div><div><i>    &lt;!-- dtmf method --&gt;</i></div><div><i>    &lt;param name=&quot;dtmf-type&quot; value=&quot;rfc2833&quot;/&gt;</i></div>



<div><i><br></i></div><div><i>    &lt;!-- Payload type if the DTMF method is rfc2833 --&gt;</i></div><div><i>    &lt;param name=&quot;rfc2833-pt&quot; value=&quot;101&quot;/&gt;</i></div><div><i><br></i></div><div><i>    <b>&lt;param name=&quot;inbound-late-negotiation&quot; value=&quot;true&quot;/&gt;</b></i></div>



<div><i><br></i></div><div><i>    &lt;param name=&quot;inbound-codec-prefs&quot; value=&quot;PCMA,G729,PCMU&quot;/&gt;</i></div><div><i><br></i></div><div><i>    &lt;param name=&quot;outbound-codec-prefs&quot; value=&quot;PCMA,G729,PCMU&quot;/&gt;</i></div>



<div><br></div><div><br></div><div><u>Diaplan TITI:</u></div><div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><i><b>&lt;action application=&quot;export&quot; data=&quot;codec_string=${ep_codec_string}&quot;/&gt;</b></i></div>



<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><i>&lt;action application=&quot;set&quot; data=&quot;hangup_after_bridge=true&quot;/&gt;</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">



<i> &lt;action application=&quot;set&quot; data=&quot;ignore_early_media=true&quot;/&gt;</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><i><b>&lt;action application=&quot;set&quot; data=&quot;inherit_codec=true&quot;/&gt;</b></i></div>



<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><i>&lt;action application=&quot;export&quot; data=&quot;t38_passthru=true&quot;/&gt;</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">



<i>&lt;action application=&quot;export&quot; data=&quot;suppress_cng=true&quot;/&gt;</i></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><div><i>&lt;action application=&quot;bridge&quot; data=&quot;</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}&quot;/&gt;</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&#39;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&#39;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 style="color:rgb(34,34,34);font-size:13px;width:22px;font-family:arial,sans-serif;margin:2px 0px 0px;padding:10px 0px;outline:none">

</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><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-dev mailing list<br>
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div>