<html><body><div style="color:#000; background-color:#fff; font-family:lucida console, sans-serif;font-size:10pt"><div class="" style="">Thank you Steven for your ptime suggestion and I do apologize for sending my message twice. It was not intended and earlier I informed Mike about emailing the list twice.&nbsp;</div><div class="" style=""><br></div><div class="" style="">I did change the ptime on the (may be faulty) PAP2 to 20ms instead of default 30ms and things worked just fine. I thought (I might be wrong) that if I utilize the "proxy-media" mode FS&nbsp;has no control or even understanding of other SDP parameters.&nbsp;</div><div class="" style=""><br></div><div class="" style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'lucida console', sans-serif; font-style: normal; background-color: transparent;">Any more suggestion to work around this is very much appreciated since trashing all PAP2 will be a hard work ;)</div><div class=""
 style=""><br></div><div class="" style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'lucida console', sans-serif; font-style: normal; background-color: transparent;">Thanks Again</div><div class="" style="color: rgb(0, 0, 0); font-size: 13px; font-family: 'lucida console', sans-serif; font-style: normal; background-color: transparent;"><br></div><div class="" style=""><br class="" style=""></div>  <div style="font-family: lucida console, sans-serif; font-size: 10pt;" class=""> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;" class=""> <div dir="ltr" class="" style=""> <hr size="1" class="" style="">  <font size="2" face="Arial" class="" style=""> <b class="" style=""><span style="font-weight:bold;" class="">From:</span></b> Steven Ayre &lt;steveayre@gmail.com&gt;<br class="" style=""> <b class="" style=""><span style="font-weight: bold;" class="">To:</span></b> FreeSWITCH Users
 Help &lt;freeswitch-users@lists.freeswitch.org&gt; <br class="" style=""> <b class="" style=""><span style="font-weight: bold;" class="">Sent:</span></b> Wednesday, September 3, 2014 12:44 PM<br class="" style=""> <b class="" style=""><span style="font-weight: bold;" class="">Subject:</span></b> Re: [Freeswitch-users] Codec Error!<br class="" style=""> </font> </div> <div class="" style=""><br class="" style=""><div id="yiv8703866335" class="" style=""><div class="" style=""><div dir="ltr" class="" style="">Also please don't send to the list multiple times. Your email did get through, people will reply when they see it if they have an answer for you. It's not paid support so don't expect an immediate reply.</div>

<div class="" id="yiv8703866335yqt24355" style=""><div class="" style=""><br clear="none" class="" style=""><br clear="none" class="" style=""><div class="" style="">On 3 September 2014 20:43, Steven Ayre <span dir="ltr" class="" style="">&lt;<a rel="nofollow" shape="rect" ymailto="mailto:steveayre@gmail.com" target="_blank" href="mailto:steveayre@gmail.com" class="" style="">steveayre@gmail.com</a>&gt;</span> wrote:<br clear="none" class="" style=""><blockquote class="" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div dir="ltr" class="" style="">Likely it's a ptime mismatch. Try not using proxy_media=true, mod_g723 and mod_g729 don't need it to be in passthrough mode.</div><div class="" style=""><br clear="none" class="" style=""><br clear="none" class="" style=""><div class="" style=""><div class="" style=""><div class="" style="">

On 3 September 2014 19:08, Ali R. <span dir="ltr" class="" style="">&lt;<a rel="nofollow" shape="rect" ymailto="mailto:aroumie@yahoo.com" target="_blank" href="mailto:aroumie@yahoo.com" class="" style="">aroumie@yahoo.com</a>&gt;</span> wrote:<br clear="none" class="" style="">
</div></div><blockquote class="" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="" style=""><div class="" style=""><div class="" style=""><div style="color:#000;background-color:#fff;font-family:lucida console, sans-serif;font-size:10pt;" class="">

<div class="" style="">Hello All,</div>
<div class="" style="">I'm getting the below error while only in pass-through mode (proxy_media=true) but it's fine when the disable-transcoding is set on the sofia profile.&nbsp;</div><div class="" style=""><br clear="none" class="" style=""></div><div class="" style="">[WARNING] switch_core_codec.c:703 Codec G723 Exists but not at the desired implementation. 8000hz 20ms</div>


<div class="" style="">[ERR] switch_core_media.c:2285 Can't load codec?</div><div class="" style=""><br clear="none" class="" style=""></div><div class="" style="">This error does not occur in case of another pass-through codec(G729)</div><div class="" style=""><br clear="none" class="" style=""></div><div class="" style="">Here are my settings when in proxy media mode:</div>


<div class="" style="">Sofia Profile:&nbsp;</div><div class="" style="">inbound-late-negotiation
 = true</div><div class="" style="">inbound-codec-negotiation = greedy (tried scrooge)</div><div class="" style="">I also tried rtp-autofix-timing=true (no luck)</div><div class="" style=""><br clear="none" class="" style=""></div><div class="" style="">DialPlan:</div><div class="" style="">proxy_media=true</div><div class="" style="">bridge</div><div class="" style=""><br clear="none" class="" style=""></div>


<div class="" style="">FS version tried: 1.5.13b &amp; 1.2</div><div class="" style=""><br clear="none" class="" style=""></div><div style="color:rgb(0,0,0);font-size:13px;font-family:'lucida console', sans-serif;font-style:normal;background-color:transparent;" class="">FS Logs:</div><div class="" style="">

with proxy-media (failed)</div>
<div class="" style=""><a rel="nofollow" shape="rect" target="_blank" href="http://pastebin.freeswitch.org/23205" class="" style="">http://pastebin.freeswitch.org/23205</a></div><div class="" style=""><br clear="none" class="" style=""></div><div class="" style="">with disable-transcoding is set (success)</div><div class="" style=""><a rel="nofollow" shape="rect" target="_blank" href="http://pastebin.freeswitch.org/23206" class="" style="">http://pastebin.freeswitch.org/23206</a></div>


<div class="" style=""><br clear="none" class="" style=""></div><div class="" style="">A &nbsp;pcap file can be supplied off the list.</div><div class="" style="">Your help and suggestion is very much appreciated.</div><div class="" style=""><br clear="none" class="" style=""></div><div class="" style="">Best Regards,</div><div class="" style="">Ali_R</div><div class="" style=""><br clear="none" class="" style=""></div><div class="" style=""><br clear="none" class="" style=""></div></div>

</div>
<br clear="none" class="" style=""></div></div>_________________________________________________________________________<br clear="none" class="" style="">
Professional FreeSWITCH Consulting Services:<br clear="none" class="" style="">
<a rel="nofollow" shape="rect" ymailto="mailto:consulting@freeswitch.org" target="_blank" href="mailto:consulting@freeswitch.org" class="" style="">consulting@freeswitch.org</a><br clear="none" class="" style="">
<a rel="nofollow" shape="rect" target="_blank" href="http://www.freeswitchsolutions.com/" class="" style="">http://www.freeswitchsolutions.com</a><br clear="none" class="" style="">
<br clear="none" class="" style="">
Official FreeSWITCH Sites<br clear="none" class="" style="">
<a rel="nofollow" shape="rect" target="_blank" href="http://www.freeswitch.org/" class="" style="">http://www.freeswitch.org</a><br clear="none" class="" style="">
<a rel="nofollow" shape="rect" target="_blank" href="http://confluence.freeswitch.org/" class="" style="">http://confluence.freeswitch.org</a><br clear="none" class="" style="">
<a rel="nofollow" shape="rect" target="_blank" href="http://www.cluecon.com/" class="" style="">http://www.cluecon.com</a><br clear="none" class="" style="">
<br clear="none" class="" style="">
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br clear="none" class="" style="">
<a rel="nofollow" shape="rect" target="_blank" href="http://www.cudatel.com/" class="" style="">http://www.cudatel.com</a><br clear="none" class="" style="">
<br clear="none" class="" style="">
FreeSWITCH-users mailing list<br clear="none" class="" style="">
<a rel="nofollow" shape="rect" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" href="mailto:FreeSWITCH-users@lists.freeswitch.org" class="" style="">FreeSWITCH-users@lists.freeswitch.org</a><br clear="none" class="" style="">
<a rel="nofollow" shape="rect" target="_blank" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" class="" style="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br clear="none" class="" style="">
UNSUBSCRIBE:<a rel="nofollow" shape="rect" target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" class="" style="">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br clear="none" class="" style="">
<a rel="nofollow" shape="rect" target="_blank" href="http://www.freeswitch.org/" class="" style="">http://www.freeswitch.org</a><br clear="none" class="" style=""></blockquote></div><br clear="none" class="" style=""></div>
</blockquote></div><br clear="none" class="" style=""></div></div></div></div><br class="" style=""><div class="" id="yqt53891" style="">_________________________________________________________________________<br clear="none" class="" style="">Professional FreeSWITCH Consulting Services: <br clear="none" class="" style=""><a shape="rect" ymailto="mailto:consulting@freeswitch.org" href="mailto:consulting@freeswitch.org" class="" style="">consulting@freeswitch.org</a><br clear="none" class="" style=""><a shape="rect" href="http://www.freeswitchsolutions.com/" target="_blank" class="" style="">http://www.freeswitchsolutions.com</a><br clear="none" class="" style=""><br clear="none" class="" style="">Official FreeSWITCH Sites<br clear="none" class="" style=""><a shape="rect" href="http://www.freeswitch.org/" target="_blank" class="" style="">http://www.freeswitch.org</a><br clear="none" class="" style=""><a shape="rect"
 href="http://confluence.freeswitch.org/" target="_blank" class="" style="">http://confluence.freeswitch.org</a><br clear="none" class="" style=""><a shape="rect" href="http://www.cluecon.com/" target="_blank" class="" style="">http://www.cluecon.com</a><br clear="none" class="" style=""><br clear="none" class="" style="">FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br clear="none" class="" style=""><a shape="rect" href="http://www.cudatel.com/" target="_blank" class="" style="">http://www.cudatel.com</a><br clear="none" class="" style=""><br clear="none" class="" style="">FreeSWITCH-users mailing list<br clear="none" class="" style=""><a shape="rect" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" href="mailto:FreeSWITCH-users@lists.freeswitch.org" class="" style="">FreeSWITCH-users@lists.freeswitch.org</a><br clear="none" class="" style=""><a shape="rect" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
 target="_blank" class="" style="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br clear="none" class="" style="">UNSUBSCRIBE:<a shape="rect" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank" class="" style="">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br clear="none" class="" style=""><a shape="rect" href="http://www.freeswitch.org/" target="_blank" class="" style="">http://www.freeswitch.org</a></div><br class="" style=""><br class="" style=""></div> </div> </div>  </div></body></html>