<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><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;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.apple-tab-span
        {mso-style-name:apple-tab-span;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Courier New";}
.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="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">With the stale nonce issue you end up with zero registrations because Asterisk stops trying after it’s rejected a few times… default behavior in Asterisk. 
 In Asterisk 11.7 they added the “</span><span style="color:black">register_retry_403=yes”</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> to deal with this type of issue at the Asterisk level, essentially telling it to
 treat 403s as 401s.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><a href="http://doxygen.asterisk.org/trunk/sip.conf.html">http://doxygen.asterisk.org/trunk/sip.conf.html</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div style="mso-element:para-border-div;border:solid #CCCCCC 1.0pt;padding:3.0pt 5.0pt 3.0pt 5.0pt;background:whitesmoke;margin-left:16.5pt;margin-right:21.0pt">
<p class="MsoNormal" style="mso-margin-top-alt:3.0pt;margin-right:0in;margin-bottom:3.0pt;margin-left:0in;background:whitesmoke;border:none;padding:0in">
<span style="font-size:10.0pt;font-family:"Courier New";color:black">;register_retry_403=yes         ; Treat 403 responses to registrations as if they were<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:3.0pt;margin-right:0in;margin-bottom:3.0pt;margin-left:0in;background:whitesmoke;border:none;padding:0in">
<span style="font-size:10.0pt;font-family:"Courier New";color:black">                                ; 401 responses and continue retrying according to normal<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">The code below addresses the issue from the SPCE side, telling it not to send 403s if they are a result of a stale nonce, but rather to send 401s.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">The duplicate registration issue sounds different to me, and I don’t have any idea what is causing it (I’m an asterisk/sipwise newbie), but wanted to provide
 more info in case you find it helpful in chasing this down as this bit me on a bunch of our clients PBXes.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p></o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri","sans-serif""> Spce-user [mailto:spce-user-bounces@lists.sipwise.com]
<b>On Behalf Of </b>Aziz Palmer<br>
<b>Sent:</b> Thursday, November 13, 2014 7:31 AM<br>
<b>To:</b> Jeremy Ward; Theo; vseva@sipwise.com; vseva@sipwise.com<br>
<b>Cc:</b> Spce-user<br>
<b>Subject:</b> Re: [Spce-user] sip registration stuck 3.5.16<br>
<b>Importance:</b> High<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black">SPCE TEAM - It's still not working - and i need to put this into production very very soon<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black">I made the following changes
<o:p></o:p></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black">/etc/ngcp-config/templates/etc/kamailio/lb/kamailio.cfg.tt2<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black">#!ifdef ENABLE_AUTHCHECK<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black">                        if((status == "401" || status == "407") && is_present_hf("P-NGCP-Authorization") && !is_present_hf("P-NGCP-Stale"))<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black">vim /etc/ngcp-config/templates/etc/kamailio/proxy/kamailio.cfg.tt2<o:p></o:p></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black">case -4:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black">                                xlog("L_NOTICE", "Authentication failed, stale nonce - [% logreq -%]\n");<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black">                                append_to_reply("P-NGCP-Stale: yes\r\n");<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black">                                break;<o:p></o:p></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black"><o:p> </o:p></span></p>
</div>
</div>
</div>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><span style="color:black">
<hr size="3" width="100%" align="center">
</span></div>
<div id="divRpF531077">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black"> Spce-user [spce-user-bounces@lists.sipwise.com]
 on behalf of Jeremy Ward [jward01@gmail.com]<br>
<b>Sent:</b> Thursday, November 13, 2014 6:08 AM<br>
<b>To:</b> Theo<br>
<b>Cc:</b> Spce-user<br>
<b>Subject:</b> Re: [Spce-user] sip registration stuck 3.5.16</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p><span style="color:black">I also saw this on 4PSA VoipNOW -- Asterisk 11/12 issue AFAIK.<o:p></o:p></span></p>
<p><span style="color:black">Jeremy D. Ward, CWNE<br>
(954) 661-4965<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="color:black">On Nov 13, 2014 9:02 AM, "Theo" <<a href="mailto:axessofficetheo@gmail.com" target="_blank">axessofficetheo@gmail.com</a>> wrote:<o:p></o:p></span></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<p class="MsoNormal"><span style="color:black">Hi <o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">Assuming the stale nonce issue is the problem, I gave the answer to the fix already earlier: <a href="http://lists.sipwise.com/pipermail/spce-user/2014-January/005712.html" target="_blank"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">http://lists.sipwise.com/pipermail/spce-user/2014-January/005712.html</span></a><o:p></o:p></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="color:black">On Thu, Nov 13, 2014 at 3:51 PM, Martin Stix <<a href="mailto:ms@pluteus.at" target="_blank">ms@pluteus.at</a>> wrote:<o:p></o:p></span></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="DE-AT" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi!</span><span lang="DE-AT" style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="DE-AT" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><span lang="DE-AT" style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="DE-AT" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Also had this issue with older 3CX Version, it was not an issue of spce.</span><span lang="DE-AT" style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="DE-AT" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><span lang="DE-AT" style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="DE-AT" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">regards</span><span lang="DE-AT" style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="DE-AT" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><span lang="DE-AT" style="color:black"><o:p></o:p></span></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="DE-AT" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><span lang="DE-AT" style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="DE-AT" style="font-size:7.5pt;color:#080000">mit freundlichen Grüßen<br>
best regards</span><span lang="DE-AT" style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span lang="DE-AT" style="font-size:7.5pt;color:#080000">Martin Stix</span></b><span lang="DE-AT" style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="DE-AT" style="font-size:7.5pt;color:#080000">CEO<br>
pluteus communication solutions<br>
</span><span lang="DE-AT" style="color:black"><a href="mailto:ms@pluteus.at" target="_blank"><span style="font-size:7.5pt;color:#080000">ms@pluteus.at</span></a><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="DE-AT" style="font-size:7.5pt;color:#1F497D">Dampfsägestraße 17<br>
3300 Amstetten<br>
Austria<br>
</span><span lang="DE-AT" style="font-size:7.5pt;color:#080000">tel.: +43 7472 28165 20<br>
fax.: +43 7472 28165 22</span><span lang="DE-AT" style="color:black"><o:p></o:p></span></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="DE-AT" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><span lang="DE-AT" style="color:black"><o:p></o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span lang="DE" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black">Von:</span></b><span lang="DE" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:black">
 Aziz Palmer [mailto:<a href="mailto:Aziz.Palmer@AirFIBER.com" target="_blank">Aziz.Palmer@AirFIBER.com</a>]
<br>
<b>Gesendet:</b> Donnerstag, 13. November 2014 14:39<br>
<b>An:</b> Theo<br>
<b>Cc:</b> <a href="mailto:spce-user@lists.sipwise.com" target="_blank">spce-user@lists.sipwise.com</a><br>
<b>Betreff:</b> Re: [Spce-user] sip registration stuck 3.5.16</span><span lang="DE-AT" style="color:black"><o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="DE-AT" style="color:black"> <o:p></o:p></span></p>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="DE-AT" style="font-family:"Tahoma","sans-serif";color:black">Thank you Theo!</span><span lang="DE-AT" style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="DE-AT" style="font-family:"Tahoma","sans-serif";color:black"> </span><span lang="DE-AT" style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="DE-AT" style="font-family:"Tahoma","sans-serif";color:black">but what i don't understand if this is the case why wasn't fixed ?</span><span lang="DE-AT" style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="DE-AT" style="font-family:"Tahoma","sans-serif";color:black"> </span><span lang="DE-AT" style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="DE-AT" style="font-family:"Tahoma","sans-serif";color:black">what should i be doing instead when having users register to avoid this issue?</span><span lang="DE-AT" style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="DE-AT" style="font-family:"Tahoma","sans-serif";color:black"> </span><span lang="DE-AT" style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="DE-AT" style="font-family:"Tahoma","sans-serif";color:black">Is this happening to you also? if so what did you do to fix it? (follow the steps below?)</span><span lang="DE-AT" style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="DE-AT" style="font-family:"Tahoma","sans-serif";color:black"> </span><span lang="DE-AT" style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="DE-AT" style="font-family:"Tahoma","sans-serif";color:black">Thank you!</span><span lang="DE-AT" style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="DE-AT" style="font-family:"Tahoma","sans-serif";color:black"> </span><span lang="DE-AT" style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="DE-AT" style="font-family:"Tahoma","sans-serif";color:black"> </span><span lang="DE-AT" style="color:black"><o:p></o:p></span></p>
</div>
</div>
</div>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><span lang="DE-AT" style="color:black">
<hr size="2" width="100%" align="center">
</span></div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt"><b><span lang="DE-AT" style="font-family:"Tahoma","sans-serif";color:black">From:</span></b><span lang="DE-AT" style="font-family:"Tahoma","sans-serif";color:black"> Theo [<a href="mailto:axessofficetheo@gmail.com" target="_blank">axessofficetheo@gmail.com</a>]<br>
<b>Sent:</b> Thursday, November 13, 2014 5:30 AM<br>
<b>To:</b> Aziz Palmer<br>
<b>Cc:</b> Andreas Granig; </span><span lang="DE-AT" style="color:black"><a href="mailto:spce-user@lists.sipwise.com" target="_blank"><span style="font-family:"Tahoma","sans-serif"">spce-user@lists.sipwise.com</span></a></span><span lang="DE-AT" style="font-family:"Tahoma","sans-serif";color:black"><br>
<b>Subject:</b> Re: [Spce-user] sip registration stuck 3.5.16</span><span lang="DE-AT" style="color:black"><o:p></o:p></span></p>
</div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="DE-AT" style="color:black">Sorry I accidentally replied just to you rather than to the list.:
<o:p></o:p></span></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="DE-AT" style="color:black"> <o:p></o:p></span></p>
</div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="DE-AT" style="font-family:"Arial","sans-serif";color:black">Hi
</span><span lang="DE-AT" style="color:black"><o:p></o:p></span></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="DE-AT" style="font-family:"Arial","sans-serif";color:black"> </span><span lang="DE-AT" style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="DE-AT" style="font-family:"Arial","sans-serif";color:black">This looks like the stale nonce issue which is an asterisk problem. The workaround has been posted a few
 times - search for stale nonce and I am sure you'll find it easily</span><span lang="DE-AT" style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="DE-AT" style="font-family:"Arial","sans-serif";color:black"> </span><span lang="DE-AT" style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="DE-AT" style="font-family:"Arial","sans-serif";color:black">Good luck</span><span lang="DE-AT" style="color:black"><o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="DE-AT" style="color:black"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="DE-AT" style="font-size:13.5pt;font-family:"Arial","sans-serif";color:black"> </span><span lang="DE-AT" style="color:black"><o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<table class="MsoNormalTable" border="0" cellspacing="3" cellpadding="0">
<tbody>
<tr>
<td width="715" style="width:429.0pt;padding:0in 0in 0in 0in"></td>
<td style="padding:0in 0in 0in 0in">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><o:p></o:p></p>
</div>
</div>
</td>
<td style="padding:0in 0in 0in 0in"></td>
<td rowspan="2" style="padding:0in 0in 0in 0in">
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><o:p></o:p></p>
</div>
</td>
</tr>
<tr>
<td colspan="3" style="padding:0in 0in 0in 0in">
<table class="MsoNormalTable" border="0" cellspacing="3" cellpadding="0" width="938" style="width:562.5pt">
<tbody>
<tr>
<td style="padding:0in 0in 0in 0in">
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">to Aziz<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><o:p></o:p></p>
</div>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="DE-AT" style="font-family:"Arial","sans-serif";color:black">It would be this one:
</span><span lang="DE-AT" style="color:black"><o:p></o:p></span></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="DE-AT" style="font-family:"Arial","sans-serif";color:black"> </span><span lang="DE-AT" style="color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="DE-AT" style="color:black"><a href="http://lists.sipwise.com/pipermail/spce-user/2014-January/005712.html" target="_blank"><span style="font-family:"Arial","sans-serif"">http://lists.sipwise.com/pipermail/spce-user/2014-January/005712.html</span></a><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="DE-AT" style="color:black"> <o:p></o:p></span></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="DE-AT" style="color:black">On Thu, Nov 13, 2014 at 3:00 PM, Aziz Palmer <<a href="mailto:Aziz.Palmer@airfiber.com" target="_blank">Aziz.Palmer@airfiber.com</a>> wrote:<o:p></o:p></span></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="DE-AT" style="color:black">kamailio.location<br>
what command do I need to execute to provide this information?<br>
<br>
<br>
kamailio-proxy.log<br>
<br>
Nov 13 06:49:36 tx-portal-2 proxy[22474]: NOTICE: <script>: Authentication failed, stale nonce - R=sip:sipwise.xyz..com ID=<a href="mailto:7233034d51f47c1a7ca56eb2353030ae@104.34.42.10" target="_blank">7233034d51f47c1a7ca56eb2353030ae@104.34.42.10</a><br>
Nov 13 06:49:36 tx-portal-2 proxy[22473]: NOTICE: <script>: New request on proxy - M=REGISTER R=sip:sipwise.xyz..com F=sip:master.sample.edge@sipwise.xyz..com T=sip:master.sample.edge@sipwise.xyz..com IP=<a href="http://104.34.42.10:5060" target="_blank">104.34.42.10:5060</a>
 (<a href="http://127.0.0.1:5060" target="_blank">127.0.0.1:5060</a>) ID=<a href="mailto:7233034d51f47c1a7ca56eb2353030ae@104.34.42.10" target="_blank">7233034d51f47c1a7ca56eb2353030ae@104.34.42.10</a><br>
Nov 13 06:49:36 tx-portal-2 proxy[22473]: WARNING: app_lua [app_lua_sr.c:100]: lua_sr_log(): lost database connection. Reconnecting<br>
Nov 13 06:49:36 tx-portal-2 proxy[22473]: NOTICE: <script>: Contacts successfully updated, expires in 120s - R=sip:sipwise.xyz..com ID=<a href="mailto:7233034d51f47c1a7ca56eb2353030ae@104.34.42.10" target="_blank">7233034d51f47c1a7ca56eb2353030ae@104.34.42.10</a><br>
Nov 13 06:51:21 tx-portal-2 proxy[22480]: NOTICE: <script>: New request on proxy - M=REGISTER R=sip:sipwise.xyz..com F=sip:master.sample.edge@sipwise.xyz..com T=sip:master.sample.edge@sipwise.xyz..com IP=<a href="http://104.34.42.10:5060" target="_blank">104.34.42.10:5060</a>
 (<a href="http://127.0.0.1:5060" target="_blank">127.0.0.1:5060</a>) ID=<a href="mailto:7233034d51f47c1a7ca56eb2353030ae@104.34.42.10" target="_blank">7233034d51f47c1a7ca56eb2353030ae@104.34.42.10</a><br>
Nov 13 06:51:21 tx-portal-2 proxy[22480]: WARNING: app_lua [app_lua_sr.c:100]: lua_sr_log(): lost database connection. Reconnecting<br>
Nov 13 06:51:21 tx-portal-2 proxy[22480]: NOTICE: <script>: Contacts successfully updated, expires in 120s - R=sip:sipwise.xyz..com ID=<a href="mailto:7233034d51f47c1a7ca56eb2353030ae@104.34.42.10" target="_blank">7233034d51f47c1a7ca56eb2353030ae@104.34.42.10</a><br>
Nov 13 06:53:06 tx-portal-2 proxy[22475]: NOTICE: <script>: New request on proxy - M=REGISTER R=sip:sipwise.xyz..com F=sip:master.sample.edge@sipwise.xyz..com T=sip:master.sample.edge@sipwise.xyz..com IP=<a href="http://104.34.42.10:5060" target="_blank">104.34.42.10:5060</a>
 (<a href="http://127.0.0.1:5060" target="_blank">127.0.0.1:5060</a>) ID=<a href="mailto:7233034d51f47c1a7ca56eb2353030ae@104.34.42.10" target="_blank">7233034d51f47c1a7ca56eb2353030ae@104.34.42.10</a><br>
Nov 13 06:53:06 tx-portal-2 proxy[22475]: WARNING: app_lua [app_lua_sr.c:100]: lua_sr_log(): lost database connection. Reconnecting<br>
Nov 13 06:53:06 tx-portal-2 proxy[22475]: NOTICE: <script>: Contacts successfully updated, expires in 120s - R=sip:sipwise.xyz..com ID=<a href="mailto:7233034d51f47c1a7ca56eb2353030ae@104.34.42.10" target="_blank">7233034d51f47c1a7ca56eb2353030ae@104.34.42.10</a><br>
<br>
<br>
<br>
<br>
what does this mean "WARNING: app_lua [app_lua_sr.c:100]: lua_sr_log(): lost database connection. Reconnecting"?<br>
<br>
<br>
<br>
________________________________________<br>
From: Spce-user [<a href="mailto:spce-user-bounces@lists.sipwise.com" target="_blank">spce-user-bounces@lists.sipwise.com</a>] on behalf of Andreas Granig [<a href="mailto:agranig@sipwise.com" target="_blank">agranig@sipwise.com</a>]<br>
Sent: Thursday, November 13, 2014 1:26 AM<br>
To: <a href="mailto:spce-user@lists.sipwise.com" target="_blank">spce-user@lists.sipwise.com</a><br>
Subject: Re: [Spce-user] sip registration stuck 3.5.16<o:p></o:p></span></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="DE-AT" style="color:black"><br>
Hi,<br>
<br>
It's most likely not a bug of the system, rather than a problem with<br>
your clients registering on said system. I risk to say that because the<br>
registrar is based on Kamailio, which is serving dozens of millions of<br>
SIP devices out there, so it would be a huge surprise for it not to work<br>
correctly.<br>
<br>
The only way to find out what the REAL issue is for you to send an<br>
example entry in the kamailio.location table of the DB, along with a<br>
full network trace of this client trying to register on the system, and<br>
also the kamailio-proxy.log file.<br>
<br>
Andreas<br>
<br>
On 11/13/2014 06:47 AM, Aziz Palmer wrote:<br>
> thats not the issue - the problem is when you RE-register a sip trunk it<br>
> will stop updating sipwise. in order to fix that you need to manually go<br>
> into the subscriber and delete the registration. it will not delete but<br>
> instead a new registration will appear.<br>
><br>
><br>
> SPCE - are you aware of this bug (its a serous issue - since it gives<br>
> the admins a lot of manual work/tech support calls) I would like to put<br>
> this this into partial production but can't - please help?<br>
><br>
> Thanks!<br>
> ------------------------------------------------------------------------<br>
> *From:* Raúl Alexis Betancor Santana [<a href="mailto:rabs@dimension-virtual.com" target="_blank">rabs@dimension-virtual.com</a>]<br>
> *Sent:* Wednesday, November 12, 2014 1:54 PM<br>
> *To:* Aziz Palmer<br>
> *Subject:* Re: sip registration stuck 3.5.16<br>
><br>
> 3600 secs ... 1 h ... it's default time on the config.xml<br>
>  kamailio.proxy.default_expire option ... you could change it ... or set<br>
> it on the web interface at domain-level or user-level if you prefer, and<br>
> as far as you don't touched the .cfg's ... they expire.<br>
><br>
> ------------------------------------------------------------------------<br>
> *De: *"Aziz Palmer" <<a href="mailto:Aziz.Palmer@AirFIBER.com" target="_blank">Aziz.Palmer@AirFIBER.com</a>><br>
> *Para: *"Raúl Alexis Betancor Santana" <<a href="mailto:rabs@dimension-virtual.com" target="_blank">rabs@dimension-virtual.com</a>>,<br>
> <a href="mailto:spce-user@lists.sipwise.com" target="_blank">spce-user@lists.sipwise.com</a><br>
> *Enviados: *Miércoles, 12 de Noviembre 2014 21:17:53<br>
> *Asunto: *RE: sip registration stuck 3.5.16<br>
><br>
> they are not auto-expiring (I wish they were)<br>
><br>
> if they are - taking a extremely long time<br>
> ------------------------------------------------------------------------<br>
> *From:* Spce-user [<a href="mailto:spce-user-bounces@lists.sipwise.com" target="_blank">spce-user-bounces@lists.sipwise.com</a>] on behalf of<br>
> Raúl Alexis Betancor Santana [<a href="mailto:rabs@dimension-virtual.com" target="_blank">rabs@dimension-virtual.com</a>]<br>
> *Sent:* Wednesday, November 12, 2014 1:04 PM<br>
> *To:* <a href="mailto:spce-user@lists.sipwise.com" target="_blank">spce-user@lists.sipwise.com</a><br>
> *Subject:* Re: [Spce-user] sip registration stuck 3.5.16<br>
><br>
><br>
> Why did you whant to remove the old register? ... location entries<br>
> auto-expire, so you don't have to worry about them.<br>
><br>
> ------------------------------------------------------------------------<br>
> *De: *"Aziz Palmer" <<a href="mailto:Aziz.Palmer@AirFIBER.com" target="_blank">Aziz.Palmer@AirFIBER.com</a>><br>
> *Para: *<a href="mailto:spce-user@lists.sipwise.com" target="_blank">spce-user@lists.sipwise.com</a><br>
> *Enviados: *Miércoles, 12 de Noviembre 2014 20:47:13<br>
> *Asunto: *[Spce-user] sip registration stuck 3.5.16<br>
><br>
> I hate to ask again but this is turning into a real issue - the<br>
> "registered devices" are not automatically being removed and when trying<br>
> to manually delete them, nothing happens.<br>
><br>
> Can i set a timer on how long these orphan registered devices stay part<br>
> of sipwise?<br>
><br>
> how can i delete these devices without having to issue the below command<br>
> - I would like to delete specific devices and not all of them<br>
><br>
> mysql kamailio -e "delete from location"<br>
> /etc/init.d/kamailio-proxy restart<br>
><br>
><br>
> Thanks again,<br>
> Aziz<br>
><br>
> ------------------------------------------------------------------------<br>
> *From:* Spce-user [<a href="mailto:spce-user-bounces@lists.sipwise.com" target="_blank">spce-user-bounces@lists.sipwise.com</a>] on behalf of<br>
> Aziz Palmer [Aziz.Palmer@AirFIBER.com]<br>
> *Sent:* Tuesday, November 11, 2014 12:15 PM<br>
> *To:* <a href="mailto:spce-user@lists.sipwise.com" target="_blank">spce-user@lists.sipwise.com</a><br>
> *Subject:* [Spce-user] sip registration stuck 5.3.16<br>
><br>
> Hello SPCE Team,<br>
> here is what appears to be a bug<br>
><br>
> I enter sip registration settings into asterisk, registers fine with<br>
> sipwise. Then I make a change within the sip trunk settings of asterisk<br>
> and apply the new settings. Then previous sip registration gets stuck;<br>
> meaning within sipwise 2 registrations appear (old & new). When i try to<br>
> delete the old one, it stays stuck. The only way i discovered to be able<br>
> to remove the old registration is by issuing this command, then i can<br>
> delete the registration.<br>
><br>
> /etc/init.d/kamailio-proxy restart<br>
><br>
> what additional information can i provide to have your team troubleshoot<br>
> this issue?<br>
><br>
> Thank you,<br>
> Anees<br>
><br>
> _______________________________________________<br>
> Spce-user mailing list<br>
> <a href="mailto:Spce-user@lists.sipwise.com" target="_blank">Spce-user@lists.sipwise.com</a><br>
> <a href="https://lists.sipwise.com/listinfo/spce-user" target="_blank">https://lists.sipwise.com/listinfo/spce-user</a><br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Spce-user mailing list<br>
> <a href="mailto:Spce-user@lists.sipwise.com" target="_blank">Spce-user@lists.sipwise.com</a><br>
> <a href="https://lists.sipwise.com/listinfo/spce-user" target="_blank">https://lists.sipwise.com/listinfo/spce-user</a><br>
><br>
_______________________________________________<br>
Spce-user mailing list<br>
<a href="mailto:Spce-user@lists.sipwise.com" target="_blank">Spce-user@lists.sipwise.com</a><br>
<a href="https://lists.sipwise.com/listinfo/spce-user" target="_blank">https://lists.sipwise.com/listinfo/spce-user</a><br>
_______________________________________________<br>
Spce-user mailing list<br>
<a href="mailto:Spce-user@lists.sipwise.com" target="_blank">Spce-user@lists.sipwise.com</a><br>
<a href="https://lists.sipwise.com/listinfo/spce-user" target="_blank">https://lists.sipwise.com/listinfo/spce-user</a><o:p></o:p></span></p>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="DE-AT" style="color:black"> <o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="color:black"><br>
_______________________________________________<br>
Spce-user mailing list<br>
<a href="mailto:Spce-user@lists.sipwise.com" target="_blank">Spce-user@lists.sipwise.com</a><br>
<a href="https://lists.sipwise.com/listinfo/spce-user" target="_blank">https://lists.sipwise.com/listinfo/spce-user</a><o:p></o:p></span></p>
</blockquote>
</div>
</div>
</div>
</div>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="2"><br>
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. Please note that any views or opinions
 presented in this email are solely those of the author and do not necessarily represent those of the company.<br>
</font>
</body>
</html>