Flavio,<br><br>Let me know how this goes. If you need a hand with the late negotiation stuff give us a shout. It's all documented here:<br><a href="http://wiki.freeswitch.org/wiki/Codec_negotiation#Late_Negotiation_.28requires_param.29">http://wiki.freeswitch.org/wiki/Codec_negotiation#Late_Negotiation_.28requires_param.29</a><br>
<br>We also cover it in the FS Cookbook; last recipe in chapter 2.<br><br>-MC<br><br><div class="gmail_quote">On Tue, Feb 26, 2013 at 10:43 AM, Brian West <span dir="ltr"><<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Inbound late negotiation and set the variable prior to answer.<br>
<br>
--<br>
Brian West<br>
<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a><br>
FreeSWITCH Solutions, LLC<br>
PO BOX PO BOX 2531<br>
Brookfield, WI 53008-2531<br>
Twitter: @FreeSWITCH_Wire<br>
T: <a href="tel:%2B1.918.420.9266" value="+19184209266">+1.918.420.9266</a> | F: <a href="tel:%2B1.918.420.9267" value="+19184209267">+1.918.420.9267</a> | M: +1.918.424.WEST<br>
iNUM: <a href="tel:%2B883%205100%201420%209266" value="+883510014209266">+883 5100 1420 9266</a><br>
ISN: 410*543<br>
<br>
<br>
<br>
<br>
<br>
<br>
On Feb 26, 2013, at 10:52 AM, Flavio Goncalves <<a href="mailto:flavio@sippulse.com">flavio@sippulse.com</a>> wrote:<br>
<br>
> Hi Brian,<br>
><br>
> This setting was already set. For outbound calls it works just fine. For inbound calls, I can't disable the annexb. I need to reply (200 Ok) with annexb=no.<br>
><br>
> Best regards,<br>
><br>
> Flavio E. Goncalves<br>
> CTO - SipPulse Routing and Billing Solutions for SIP<br>
><br>
> 2013/2/25 Brian West <<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>><br>
> Try setting this variable:<br>
><br>
> sip_append_audio_sdp=a=fmtp:18 annexb=no<br>
><br>
> Can you verify that your provider is actually sending CN on 19 and NOT 13. There are some Sonus switches that say 19 but mean 13 and send on 13. 19=13 in hex.<br>
> --<br>
> Brian West<br>
> <a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a><br>
> FreeSWITCH Solutions, LLC<br>
> PO BOX PO BOX 2531<br>
> Brookfield, WI 53008-2531<br>
> Twitter: @FreeSWITCH_Wire<br>
> T: <a href="tel:%2B1.918.420.9266" value="+19184209266">+1.918.420.9266</a> | F: <a href="tel:%2B1.918.420.9267" value="+19184209267">+1.918.420.9267</a> | M: +1.918.424.WEST<br>
> iNUM: <a href="tel:%2B883%205100%201420%209266" value="+883510014209266">+883 5100 1420 9266</a><br>
> ISN: 410*543<br>
><br>
><br>
><br>
><br>
><br>
><br>
> On Feb 25, 2013, at 8:08 AM, Flavio Goncalves <<a href="mailto:flavio@sippulse.com">flavio@sippulse.com</a>> wrote:<br>
><br>
> > Hi,<br>
> ><br>
> > I have searched the list, but I couldn't find a final answer for this case. I'm receiving calls from a provider using G729 annex B.<br>
> ><br>
> > INVITE<br>
> > a=rtpmap:18 G729/8000.<br>
> > a=fmtp:18 annexb=yes.<br>
> > a=rtpmap:0 PCMU/8000.<br>
> > a=rtpmap:8 PCMA/8000.<br>
> > a=rtpmap:101 telephone-event/8000.<br>
> > a=fmtp:101 0-16.<br>
> > a=rtpmap:19 CN/8000.<br>
> ><br>
> > and FS is answering<br>
> ><br>
> > 200OK<br>
> > m=audio 31388 RTP/AVP 18 101 19.<br>
> > a=rtpmap:18 G729/8000.<br>
> > a=fmtp:18 annexb=yes.<br>
> > a=rtpmap:101 telephone-event/8000.<br>
> > a=fmtp:101 0-16.<br>
> > a=rtpmap:19 CN/8000.<br>
> > a=ptime:20.<br>
> ><br>
> > If freeswitch supports only G729A, shouldn't FS refuse the call with 488 or suppress the line annexb=yes?<br>
> ><br>
> > The audio quality is really bad when I receive calls in this way. After removing the annexb on the gateway the audio is fine, but unfortunately I can't remove from it from all VoIP providers terminating calls. For outbound calls I simply removed the annexb, but for inbound there is no way to do it.<br>
> ><br>
> > Flavio<br>
> ><br>
> ><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-users mailing list<br>
> > <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> > <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> > UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> > <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
><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-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><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-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
<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-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br><a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br>