<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">fixed, thanks.<div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On May 18, 2016, at 12:20 PM, Mike Rice &lt;<a href="mailto:mrice0118@gmail.com" class="">mrice0118@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class=""><span style="font-size:12.8px" class="">I got it from the following URL.</span></div><div class=""><span style="font-size:12.8px" class=""><br class=""></span></div><div class=""><span style="font-size:12.8px" class=""><a href="https://freeswitch.org/confluence/display/FREESWITCH/Codec+Negotiation" class="">https://freeswitch.org/confluence/display/FREESWITCH/Codec+Negotiation</a></span><br class=""></div><span style="font-size:12.8px" class=""><div class=""><span style="font-size:12.8px" class=""><br class=""></span></div>---------- Forwarded message ----------</span><br style="font-size:12.8px" class=""><span style="font-size:12.8px" class="">From:&nbsp;Michael Jerris &lt;<a href="mailto:mike@jerris.com" class="">mike@jerris.com</a>&gt;</span><br style="font-size:12.8px" class=""><span style="font-size:12.8px" class="">To:&nbsp;FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org" class="">freeswitch-users@lists.freeswitch.org</a>&gt;</span><br style="font-size:12.8px" class=""><span style="font-size:12.8px" class="">Cc:&nbsp;</span><br style="font-size:12.8px" class=""><span style="font-size:12.8px" class="">Date:&nbsp;Tue, 17 May 2016 16:45:16 -0400</span><br style="font-size:12.8px" class=""><span style="font-size:12.8px" class="">Subject:&nbsp;Re: [Freeswitch-users] Disable annexb for g729</span><br style="font-size:12.8px" class=""><div style="font-size:12.8px;word-wrap:break-word" class="">It was spread about pretty widely when we went to 1.4 but thats a couple years ago now.&nbsp; It should be documented on the wiki but may have fallen off during the transition to confluence as 1.2 is quite old.&nbsp; Where did you see docs for the sip_ var?</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Tue, May 17, 2016 at 3:51 PM, Mike Rice <span dir="ltr" class="">&lt;<a href="mailto:mrice0118@gmail.com" target="_blank" class="">mrice0118@gmail.com</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class=""><div class=""><span style="font-size:12.8px" class="">Thanks Michael! That did the trick. Did I miss that somewhere?</span></div><span style="font-size:12.8px" class=""><div class=""><span style="font-size:12.8px" class=""><br class=""></span></div>From:&nbsp;Michael Jerris &lt;<a href="mailto:mike@jerris.com" target="_blank" class="">mike@jerris.com</a>&gt;</span><br style="font-size:12.8px" class=""><br style="font-size:12.8px" class=""><div style="font-size:12.8px;word-wrap:break-word" class=""><div class=""><span style="color:rgb(51,51,51);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px" class="">&lt;action application="export" data="rtp_append_audio_sdp=a=fmtp:18 annexb=no"/&gt;</span></div><div class=""><span style="color:rgb(51,51,51);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px" class=""><br class=""></span></div><div class=""><font color="#333333" face="Helvetica Neue, Helvetica, Arial, sans-serif" class=""><span style="font-size:14px" class="">between 1.2 and 1.4 the var got renamed from sip_ to rtp_</span></font></div><div class=""><font color="#333333" face="Helvetica Neue, Helvetica, Arial, sans-serif" class=""><span style="font-size:14px" class=""><br class=""></span></font></div></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br class=""><div class="gmail_quote">On Tue, May 17, 2016 at 10:57 AM, Mike Rice <span dir="ltr" class="">&lt;<a href="mailto:mrice0118@gmail.com" target="_blank" class="">mrice0118@gmail.com</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=""><div class=""><div dir="ltr" class=""><div class="">We have a carrier the mandates that annex b be disabled on the invites to them. I have added the following to the default dialplan but nothing seems to change the invite on the B leg to the carrier.&nbsp;</div><div class=""><br class=""></div><div class="">&lt;extension name="disable-annexB" continue="true"&gt;</div><div class="">&nbsp; &lt;condition field="${switch_r_sdp}" expression="/(.*)(m=audio \d+ RTP\/AVP)(.*)( 18 )(.*)/s"&gt;</div><div class="">&nbsp; &nbsp; &nbsp;&lt;action application="export" data="sip_append_audio_sdp=a=fmtp:18 annexb=no"/&gt;</div><div class="">&nbsp; &lt;/condition&gt;</div><div class="">&lt;/extension&gt;</div><div class=""><br class=""></div><div class="">&lt;action application="export" data="sip_append_audio_sdp=a=fmtp:18 annexb=no"/&gt;</div><div class=""><br class=""></div><div class="">and</div><div class=""><br class=""></div><div class="">&lt;action application="bridge" data="{sip_append_audio_sdp=a=fmtp:18</div><div class="">annexb=no,absolute_codec_string=^^:G729:PCMU:PCMA}sofia/gateway/carrierGW/$1"/&gt;</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">inbound-late-negotiation is set to true. The logs show that it is exporting:</div><div class=""><br class=""></div><div class="">[DEBUG] switch_channel.c:1267 EXPORT (export_vars) [sip_h_Diversion]=[&lt;<a href="sip:XXXXXXXXXX@10.10.X.X" class="">sip:XXXXXXXXXX@10.10.X.X</a>&gt;;reason=unavailable]</div><div class="">EXECUTE <a href="mailto:sofia/internal/1000@10.10.x.x" class="">sofia/internal/1000@10.10.X.X</a> bridge(sofia/gateway/lo7f/XXXXXXXXXX)</div><div class="">[DEBUG] switch_channel.c:1221 <a href="mailto:sofia/internal/1000@10.10.x.x" class="">sofia/internal/1000@10.10.X.X</a> EXPORTING[export_vars] [sip_append_audio_sdp]=[a=fmtp:18 annexb=no] to event</div><div class="">[DEBUG] switch_channel.c:1221 <a href="mailto:sofia/internal/1000@10.10.x.x" class="">sofia/internal/1000@10.10.X.X</a> EXPORTING[export_vars] [sip_h_Diversion]=[&lt;<a href="sip:XXXXXXXXXX@10.10.X.X" class="">sip:XXXXXXXXXX@10.10.X.X</a>&gt;;reason=unavailable] to event</div><div class=""><br class=""></div><div class="">The SDP does not reflect:</div><div class=""><br class=""></div><div class="">Local SDP:</div><div class="">v=0</div><div class="">o=FreeSWITCH IN IP4 10.10.X.X</div><div class="">s=FreeSWITCH</div><div class="">c=IN IP4 10.10.X.X</div><div class="">t=0 0</div><div class="">m=audio 20022 RTP/AVP 18 0 8 101 13</div><div class="">a=rtpmap:18 G729/8000</div><div class="">a=rtpmap:0 PCMU/8000</div><div class="">a=rtpmap:8 PCMA/8000</div><div class="">a=rtpmap:101 telephone-event/8000</div><div class="">a=fmtp:101 0-16</div><div class="">a=ptime:20</div><div class="">a=sendrecv</div><div class=""><br class=""></div><div class="">Any help would be greatly appreciated. Thanks!</div></div>
</div></div></blockquote></div><br class=""></div>
</div></div></blockquote></div></div></div></blockquote></div><br class=""></div></body></html>