<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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
span.EmailStyle20
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@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="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">We were only able to remove one of the fix_nated_contact lines before it broke more than it did fix.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">We’re currently seeking support from Opensips directly to get it all working correctly.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> Mark Miranda <mark@markmiranda.com>
<br>
<b>Sent:</b> 24 July 2020 21:21<br>
<b>To:</b> john.quick@smartvox.co.uk; OpenSIPS users mailling list <users@lists.opensips.org><br>
<b>Cc:</b> Chris Johnson <Chris.Johnson@froneri.com><br>
<b>Subject:</b> Re: [OpenSIPS-Users] Opensips MS Teams lost BYE<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">CAUTION: This email originated from outside of the organisation. Do not click links or open attachments unless you recognise the sender and know the content is safe.<br>
<br>
I have basically the same problem where the BYE packet does not seem to be routing properly, however I am not using any of the nat functions.<br>
<br>
> On Jul 6, 2020, at 3:46 AM, John Quick <<a href="mailto:john.quick@smartvox.co.uk">john.quick@smartvox.co.uk</a>> wrote:<br>
> <br>
> Chris,<br>
> <br>
> You must not call fix_nated_contact() for any SIP requests or SIP responses<br>
> coming from MS Teams.<br>
> If you do, it will cause exactly the problems you describe for loose-routed<br>
> sequential requests such as BYE.<br>
> <br>
> Just to explain: fix_nated_contact() should only be used when the messages<br>
> come via a NAT router. It must not be used for messages coming from a Proxy<br>
> (assuming the Proxy adds a Record-Route header, as happens with Teams), even<br>
> though both cases may appear to need fixing when you use nat_uac_test().<br>
> <br>
> John Quick<br>
> Smartvox Limited<br>
> Web: <a href="http://www.smartvox.co.uk">
www.smartvox.co.uk</a><br>
> <br>
>> I've managed to get the PBX to send the BYE to the SBC and it is now<br>
> forwarding on to MS (although MS are not sending a reply but we have opened<br>
> a case for this).<br>
> <br>
>> We are struggling to get the BYE packet to go back to MS Teams when the<br>
> call is initiated by Teams.<br>
> <br>
> <br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">
http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><o:p></o:p></p>
</div>
</body>
</html>