<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"><meta name="Generator" content="Microsoft Word 14 (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;}
@font-face
        {font-family:"Trebuchet MS";
        panose-1:2 11 6 3 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        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.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.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;}
/* List Definitions */
@list l0
        {mso-list-id:1802765763;
        mso-list-type:hybrid;
        mso-list-template-ids:-724040178 470351887 470351897 470351899 470351887 470351897 470351899 470351887 470351897 470351899;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style></head><body lang="EN-ZA" link="blue" vlink="purple"><div class="WordSection1"><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">One issue I had was:</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoListParagraph" style><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><span style>1.<span style="font:7.0pt "Times New Roman"">      </span></span></span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">If asterisks receives certain SIP codes it will stop registering (forever).</span></p>
<p class="MsoListParagraph" style><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><span style>2.<span style="font:7.0pt "Times New Roman"">      </span></span></span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">But the cause for me was under a packet lossy situation (maybe the DC has an issue), then the replies were not getting to asterisk, so asterisk retries too many times too quickly SPCE saw this as an attack. SPCE protects against (whichever type it was DDOS or DOS), by giving a 403 forbidden. After this asterisk stops registering.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I had to relax my DDOS/DOS settings in the config.yml, if you google “DDOS DOS site:<a href="http://sipwise.com">sipwise.com</a>” You’ll probably come across those settings (or read through config.yml.).</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Check what state the trunk is in, on asterisk with “sip show registry”, if it simply shows “not registered” and your registration attempts= unlimited, then most likely you received a 403 forbidden. It will also show up on your asterisk log and it will show in the spce lb/proxy logs (just before its stops trying, you’ll see spce giving a log entry about banning for a while).</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hope this helps to figure out if it’s the same issue.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt"><div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:spce-user-bounces@lists.sipwise.com">spce-user-bounces@lists.sipwise.com</a> [mailto:<a href="mailto:spce-user-bounces@lists.sipwise.com">spce-user-bounces@lists.sipwise.com</a>] <b>On Behalf Of </b>Abel Alejandro<br>
<b>Sent:</b> 12 November 2013 05:05 PM<br><b>To:</b> <a href="mailto:spce-user@lists.sipwise.com">spce-user@lists.sipwise.com</a><br><b>Subject:</b> [Spce-user] Asterisk and sipwise</span></p></div></div><p class="MsoNormal">
 </p><div><p class="MsoNormal">Hello,</p><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">I have a few clients using Asterisk (Elastix, FreePBX) pbx. All is working well except sometimes after a few days or weeks the Asterisk stops registering. Unfortunately I do not have a log right now, but its so common that I started using a cron job to just reload the SIP stack on the Asterisk servers.</p>
</div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">So just reaching out if anyone has seen this?<br><br>Thanks.</p></div><div><p class="MsoNormal"> </p></div><div><div><p class="MsoNormal"> </p></div><p class="MsoNormal">
-- <br><i><span style="font-size:13.5pt;font-family:"Arial","sans-serif";color:#666666;background:white">Abel Alejandro</span></i></p><div><p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:#333333">787 586 8313 </span><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:#ff6600">|</span><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:#333333"> 787 705 0555</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222"></span></p>
<div><div><p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:#666666"><img id="_x0000_i1025" src="http://www.google.com/a/cpanel/alliedtechnologygrouppr.com/images/logo.gif?service=jotspot"></span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222"></span></p>
</div><div><p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222"> </span></p></div><div><p class="MsoNormal" style="background:white">
<span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:#666666">400 Calle Calaf 477</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222"></span></p>
</div><div><p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:#666666">San Juan, PR 00918</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222"></span></p>
</div></div></div><p class="MsoNormal" style="background:white"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#222222"><a href="mailto:aalejandro@alliedtechnologygrouppr.com" target="_blank">aalejandro@alliedtechnologygrouppr.com</a></span></p>
</div></div></div></div></body></html>