<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:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Here is a chunk of the INVITE.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Max-Forwards: 21<o:p></o:p></p>
<p class="MsoNormal">Diversion: <<a href="sip:+1585xxxxxxx@10.x.x.40:5060">sip:+1585xxxxxxx@10.x.x.40:5060</a>>;reason=unknown;counter=99   <---------------------<o:p></o:p></p>
<p class="MsoNormal">Diversion: <<a href="sip:+1585xxxxxxx@10.x.x.40:5060">sip:+1585xxxxxxx@10.x.x.40:5060</a>>;reason=unknown              <---------------------<o:p></o:p></p>
<p class="MsoNormal">X-DCL-UCP-DNIS: 585xxxxxxx<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">We are not doing any of this purposely. This is the default behavior of a Metaswitch customer who is using the EAS’s incoming call manager options via what they call the “commportal”.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">They can put a forward/rule on their number that says forward to a TN, wait 30 seconds (less or more seconds), and then send to their number’s voicemail. This is not the usual find me/follow me that we can add in what Metaswitch calls the
 CFS.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Back in the day we used to use find me/follow me like everyone else. I recall having to always set the amount of time to ring a cell phone short because we did not want the call to go to the cell phone’s voicemail. I am thinking my asterisk
 days.<o:p></o:p></p>
<p class="MsoNormal"><br>
I am guessing Meta adds counter=99 to tell the called party not to forward it to voicemail even if you try to ring the cell phone for 60 or longer seconds.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">ATT (mobility) seems to be the only telephone company we know of that chokes on it for a specific user we have that is dealing with the issue. We have tested other situations and it just works including Verizon for example.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">At first Intelliquent said remove the top diversion header but having multiple diversion headers in an INVITE is ok so it must be the counter causing the issue when delivering the call to ATT. In my opinion.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Just odd Metaswitch would do this by default if they knew it would cause issues. At the very least they knew Level3 had troubles with it back in the day.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Matt<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> VoiceOps <voiceops-bounces@voiceops.org> <b>On Behalf Of
</b>Joseph Jackson<br>
<b>Sent:</b> Wednesday, February 3, 2021 5:14 PM<br>
<b>To:</b> Matthew Yaklin <myaklin@firstlight.net>; voiceops@voiceops.org<br>
<b>Subject:</b> Re: [VoiceOps] Diversion header with counter=99<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#44546A">Hi Matt,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#44546A"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#44546A">From rfc5806<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#44546A"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#44546A">   The Redirection Counter value minus 1 SHOULD be stored in the<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#44546A">   diversion- counter associated with the top-most Diversion header.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#44546A">   Presence of the diversion-counter for the bottom-most Diversion<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#44546A">   header is optional.  If present, the diversion-counter of the bottom-<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#44546A">   most Diversion header SHOULD be 1.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#44546A"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#44546A"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#44546A">If it’s the bottom diversion header then anything not with 1 is going to have problems.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#44546A"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#44546A">Why are you setting the counter to 99?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#44546A"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif"> VoiceOps [<a href="mailto:voiceops-bounces@voiceops.org">mailto:voiceops-bounces@voiceops.org</a>]
<b>On Behalf Of </b>Matthew Yaklin<br>
<b>Sent:</b> Wednesday, February 03, 2021 3:01 PM<br>
<b>To:</b> <a href="mailto:voiceops@voiceops.org">voiceops@voiceops.org</a><br>
<b>Subject:</b> [VoiceOps] Diversion header with counter=99<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">All,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Has anyone ran into an issue where the diversion parameter “counter” is causing some calls to fail to an error message?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Diversion: <<a href="sip:+1585xxxxxxx@10.x.x.40:5060">sip:+1585xxxxxxx@10.x.x.40:5060</a>>;reason=unknown;counter=99 
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Basically we have a customer who forwards a call to their ATT cell. ATT plays an error message yet the customer’s setup will pull the call back to our switch’s voicemail after 30 seconds. This actually works if you let the error message
 play long enough. This setup works everywhere else like Verizon for example with no error message played. It rings as expected.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Our invite goes out with two diversion headers and the top one simply duplicates the bottom but with the counter param added.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I guess Level3 used to have this issue as well in the past? Because I found a Meta doc talking about this exact problem.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Any advice is welcome. Thanks,<o:p></o:p></p>
<p class="MsoNormal"><br>
Matt<o:p></o:p></p>
</div>
</body>
</html>