<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
h1
        {mso-style-priority:9;
        mso-style-link:"Heading 1 Char";
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:24.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
code
        {mso-style-priority:99;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.Heading1Char
        {mso-style-name:"Heading 1 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 1";
        font-family:"Times New Roman",serif;
        mso-fareast-language:EN-GB;
        font-weight:bold;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi All,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">After a recent upgrade of Freeswitch I’ve been seeing some unusual behaviour in codec choice being made by our clients hardware during late negotiation calls.<o:p></o:p></p>
<p class="MsoNormal">No other changes have taken place that could have caused this unusual behaviour so we assume that it must be something the newer version of freeswitch is doing in this situation. <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Comparing traces before and after the upgrade, the SDP in the final 200 OK’s from our freeswitch now contains more parameters relating to ICE and other source specific attributes. I expect these additional params are what is upsetting our
clients hardware.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’ve since attempted to disable all forms of NAT management in Freeswitch in an attempt to get rid of these extra SDP attributes but none of them seem to have had any effect:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Setting the following in the sip Profile to disable stun / NAT.<o:p></o:p></p>
<p class="MsoNormal"><a href="http://wiki.freeswitch.org/wiki/Sofia.conf.xml#stun-auto-disable">http://wiki.freeswitch.org/wiki/Sofia.conf.xml#stun-auto-disable</a><span style="font-size:12.0pt;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><a href="http://wiki.freeswitch.org/wiki/Sofia.conf.xml#stun-enabled">http://wiki.freeswitch.org/wiki/Sofia.conf.xml#stun-enabled</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">ensuring the following are set to the local ip of the server<o:p></o:p></p>
<p class="MsoNormal" style="line-height:15.0pt"><span style="font-size:10.0pt;font-family:"Courier New";color:#333333;mso-fareast-language:EN-GB"><X-PRE-PROCESS</span><span style="font-size:10.5pt;font-family:Consolas;color:#333333;mso-fareast-language:EN-GB"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#333333;mso-fareast-language:EN-GB">cmd="set"</span><span style="font-size:10.5pt;font-family:Consolas;color:#333333;mso-fareast-language:EN-GB"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#333333;mso-fareast-language:EN-GB">data="external_sip_ip=<i>localIP</i>
"/></span><span style="font-size:10.5pt;font-family:Consolas;color:#333333;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:15.0pt"><span style="font-size:10.0pt;font-family:"Courier New";color:#333333;mso-fareast-language:EN-GB"><X-PRE-PROCESS</span><span style="font-size:10.5pt;font-family:Consolas;color:#333333;mso-fareast-language:EN-GB"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#333333;mso-fareast-language:EN-GB">cmd="set"</span><span style="font-size:10.5pt;font-family:Consolas;color:#333333;mso-fareast-language:EN-GB"> </span><span style="font-size:10.0pt;font-family:"Courier New";color:#333333;mso-fareast-language:EN-GB">data="external_rtp_ip=<i>localIP
</i>"/></span><span style="font-size:10.5pt;font-family:Consolas;color:#333333;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Does anyone have any suggestions on how I can remove these additional SDP params?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’ve included an example good and bad 200 ok in case I’ve missed anything else that’s obvious.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Many thanks<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Rob<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b>Bad 200 ok: <o:p></o:p></b></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><i>SIP/2.0 200 OK<o:p></o:p></i></p>
<p class="MsoNormal"><i>Via: SIP/2.0/UDP 172.18.4.78;branch=z9hG4bK0ba4.7a1f3a47e3eb3a2a4e8e13fd7dda8ab8.0<o:p></o:p></i></p>
<p class="MsoNormal"><i>Via: SIP/2.0/UDP 10.9.138.26:5060;rport=5060;branch=z9hG4bK9ivhm3hvpf5c7vrsu2gh7ou4o2<o:p></o:p></i></p>
<p class="MsoNormal"><i>Record-Route: <sip: 172.18.4.78;r2=on;lr=on;rtpi=1;nat=yes><o:p></o:p></i></p>
<p class="MsoNormal"><i>Record-Route: <sip:10.16.0.3;r2=on;lr=on;rtpi=1;nat=yes><o:p></o:p></i></p>
<p class="MsoNormal"><i>From: <sip:8448224432@10.150.35.124>;tag=130e56d9-dcc0-4483-9c8e-edf93ab1fb9a-33986537<o:p></o:p></i></p>
<p class="MsoNormal"><i>To: <sip:00353876721075@10.9.138.9>;tag=r3ZZc86S529mD<o:p></o:p></i></p>
<p class="MsoNormal"><i>Call-ID: b87ef500-4f012e3b-1f738-7c23960a@10.150.35.124<o:p></o:p></i></p>
<p class="MsoNormal"><i>CSeq: 101 INVITE<o:p></o:p></i></p>
<p class="MsoNormal"><i>Contact: <sip:mod_sofia@172.18.4.251:5060><o:p></o:p></i></p>
<p class="MsoNormal"><i>User-Agent: Aeriandi Tel Server<o:p></o:p></i></p>
<p class="MsoNormal"><i>Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE<o:p></o:p></i></p>
<p class="MsoNormal"><i>Supported: path, replaces<o:p></o:p></i></p>
<p class="MsoNormal"><i>Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer<o:p></o:p></i></p>
<p class="MsoNormal"><i>Content-Type: application/sdp<o:p></o:p></i></p>
<p class="MsoNormal"><i>Content-Disposition: session<o:p></o:p></i></p>
<p class="MsoNormal"><i>Content-Length: 841<o:p></o:p></i></p>
<p class="MsoNormal"><i>x-nt-location: -1<o:p></o:p></i></p>
<p class="MsoNormal"><i><o:p> </o:p></i></p>
<p class="MsoNormal"><i>v=0<o:p></o:p></i></p>
<p class="MsoNormal"><i>o=FreeSWITCH 1425007009 1425007010 IN IP4 172.18.4.251<o:p></o:p></i></p>
<p class="MsoNormal"><i>s=FreeSWITCH<o:p></o:p></i></p>
<p class="MsoNormal"><i>c=IN IP4 172.18.4.251<o:p></o:p></i></p>
<p class="MsoNormal"><i>t=0 0<o:p></o:p></i></p>
<p class="MsoNormal"><i>a=msid-semantic: WMS hGYoorbKxEnXtlapBPoffcf3QQg7ijgq<o:p></o:p></i></p>
<p class="MsoNormal"><i>m=audio 19630 RTP/<b>SAVPF</b> 18 0 8 101<o:p></o:p></i></p>
<p class="MsoNormal"><i>a=rtpmap:18 G729/8000<o:p></o:p></i></p>
<p class="MsoNormal"><i>a=rtpmap:0 PCMU/8000<o:p></o:p></i></p>
<p class="MsoNormal"><i>a=rtpmap:8 PCMA/8000<o:p></o:p></i></p>
<p class="MsoNormal"><i>a=rtpmap:101 telephone-event/8000<o:p></o:p></i></p>
<p class="MsoNormal"><b><i>a=fingerprint:sha-256 18:6A:21:5F:BF:02:8B:52:29:96:85:6B:05:99:B2:9D:C7:B3:26:DB:F9:32:5A:90:51:62:E8:21:3E:C2:23:C3<o:p></o:p></i></b></p>
<p class="MsoNormal"><b><i>a=rtcp-mux<o:p></o:p></i></b></p>
<p class="MsoNormal"><b><i>a=rtcp:19630 IN IP4 172.18.4.251<o:p></o:p></i></b></p>
<p class="MsoNormal"><b><i>a=ssrc:3641993291 cname:Q4E4mGFKbSxu4yJv<o:p></o:p></i></b></p>
<p class="MsoNormal"><b><i>a=ssrc:3641993291 msid:hGYoorbKxEnXtlapBPoffcf3QQg7ijgq a0<o:p></o:p></i></b></p>
<p class="MsoNormal"><b><i>a=ssrc:3641993291 mslabel:hGYoorbKxEnXtlapBPoffcf3QQg7ijgq<o:p></o:p></i></b></p>
<p class="MsoNormal"><b><i>a=ssrc:3641993291 label:hGYoorbKxEnXtlapBPoffcf3QQg7ijgqa0<o:p></o:p></i></b></p>
<p class="MsoNormal"><b><i>a=ice-ufrag:eYAj0GcHniFvsLL8<o:p></o:p></i></b></p>
<p class="MsoNormal"><b><i>a=ice-pwd:Gg3SMysNgP8bdIwhwXqnttUH<o:p></o:p></i></b></p>
<p class="MsoNormal"><b><i>a=candidate:1204810811 1 udp 659136 172.18.4.251 19630 typ host generation 0<o:p></o:p></i></b></p>
<p class="MsoNormal"><i>a=ptime:20<o:p></o:p></i></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b>good 200 ok:<o:p></o:p></b></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><i>SIP/2.0 200 OK<o:p></o:p></i></p>
<p class="MsoNormal"><i>Via: SIP/2.0/UDP 172.18.4.78;branch=z9hG4bKef6a.6cc24c86d42011b141c967c04c23e077.0<o:p></o:p></i></p>
<p class="MsoNormal"><i>Via: SIP/2.0/UDP 10.9.138.26:5060;rport=5060;branch=z9hG4bKa2v9mvku4854npk24c4tn51vv2<o:p></o:p></i></p>
<p class="MsoNormal"><i>Record-Route: <sip:172.18.4.78;r2=on;lr=on;rtpi=1;nat=yes><o:p></o:p></i></p>
<p class="MsoNormal"><i>Record-Route: <sip:10.16.0.3;r2=on;lr=on;rtpi=1;nat=yes><o:p></o:p></i></p>
<p class="MsoNormal"><i>From: <sip:8448224432@10.151.35.123>;tag=130e56d9-dcc0-4483-9c8e-edf93ab1fb9a-33990014<o:p></o:p></i></p>
<p class="MsoNormal"><i>To: <sip:07940845322@10.9.138.9>;tag=Fy3a1Zv7Kt6Xm<o:p></o:p></i></p>
<p class="MsoNormal"><i>Call-ID: f59cb480-4f014116-1f782-7b23970a@10.151.35.123<o:p></o:p></i></p>
<p class="MsoNormal"><i>CSeq: 101 INVITE<o:p></o:p></i></p>
<p class="MsoNormal"><i>Contact: <sip:mod_sofia@172.18.4.254:5060><o:p></o:p></i></p>
<p class="MsoNormal"><i>User-Agent: Aeriandi Tel Server<o:p></o:p></i></p>
<p class="MsoNormal"><i>Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE<o:p></o:p></i></p>
<p class="MsoNormal"><i>Supported: precondition, path, replaces<o:p></o:p></i></p>
<p class="MsoNormal"><i>Allow-Events: talk, hold, conference, presence, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer<o:p></o:p></i></p>
<p class="MsoNormal"><i>Content-Type: application/sdp<o:p></o:p></i></p>
<p class="MsoNormal"><i>Content-Disposition: session<o:p></o:p></i></p>
<p class="MsoNormal"><i>Content-Length: 224<o:p></o:p></i></p>
<p class="MsoNormal"><i>x-nt-location: -1<o:p></o:p></i></p>
<p class="MsoNormal"><i><o:p> </o:p></i></p>
<p class="MsoNormal"><i>v=0<o:p></o:p></i></p>
<p class="MsoNormal"><i>o=FreeSWITCH 1425014601 1425014602 IN IP4 172.18.4.254<o:p></o:p></i></p>
<p class="MsoNormal"><i>s=FreeSWITCH<o:p></o:p></i></p>
<p class="MsoNormal"><i>c=IN IP4 172.18.4.254<o:p></o:p></i></p>
<p class="MsoNormal"><i>t=0 0<o:p></o:p></i></p>
<p class="MsoNormal"><i>m=audio 16858 RTP/AVP 18 0 8 101<o:p></o:p></i></p>
<p class="MsoNormal"><i>a=fmtp:18 annexb=no<o:p></o:p></i></p>
<p class="MsoNormal"><i>a=rtpmap:101 telephone-event/8000<o:p></o:p></i></p>
<p class="MsoNormal"><i>a=fmtp:101 0-16<o:p></o:p></i></p>
<p class="MsoNormal"><i>a=ptime:20<o:p></o:p></i></p>
<p class="MsoNormal"><i><o:p> </o:p></i></p>
</div>
</body>
</html>