<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Hi,</div><div id="AppleMailSignature">This can be done by following the rules in handbook. You should find a chapter talking  about emergency numbers.</div><div id="AppleMailSignature">You should use the special "emergency_" prefix during the inbound rr for callee(associated to your domain/subscribers), and you prefix the 911 with emergency_911. This tells spce to skip some checks and to deliver the Ecall ASAP to the peering. </div><div id="AppleMailSignature">Then you will have your special peer handling only Ecall with the peering rule:</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">Caller prefix: emergency_</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">So emergency calls will match ONLY that peer and not others.</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">Last thing you do is to remove the emergency_ prefix by your callee number using the outbound rr for callee associated to your peer. </div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">Hope this helps.</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">Cheers,</div><div id="AppleMailSignature">Daniel</div><div id="AppleMailSignature"><br>Sent from my iPhone</div><div><br>On 29 Oct 2017, at 02:05, William Fulton <<a href="mailto:wfulton@thirdhatch.com">wfulton@thirdhatch.com</a>> wrote:<br><br></div><blockquote type="cite"><div>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<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:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-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;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle19
        {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]-->


<div class="WordSection1">
<p class="MsoNormal">Stephen,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">We have accomplished this by adding a peering rule to our E911 carrier with blank callee prefix and pattern, and 911 in the caller pattern. We named the rule Emergency Rule.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">We also control the ability to dial 911 at the PBX level, by pattern matching on Asterisk.<o:p></o:p></p>
<p class="MsoNormal"><br>
This has worked for us for a few years now. I am certainly open to other precautions and protection we can put in place since rouge 911 calls can be costly.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Cheers,<o:p></o:p></p>
<p class="MsoNormal">Bill<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> Spce-user [<a href="mailto:spce-user-bounces@lists.sipwise.com">mailto:spce-user-bounces@lists.sipwise.com</a>]
<b>On Behalf Of </b>Stephen Donovan<br>
<b>Sent:</b> Saturday, October 28, 2017 5:36 PM<br>
<b>To:</b> Spce-user <<a href="mailto:spce-user@lists.sipwise.com">spce-user@lists.sipwise.com</a>><br>
<b>Subject:</b> [Spce-user] Peering Rule callee pattern NOT allow a number<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black">Is it possible to specifically NOT allow a call to go out a peer?   Example, I want to block 911 from going out anywhere but the one trunk that handles E911 for me.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black">_______________________________<br>
Stephen Donovan<br>
Owner<br>
Belzoni Cable, LLC<br>
SIP Solutions, LLC<br>
16014 US Hwy 49<br>
Belzoni, MS 39038<br>
662-247-3502 direct<br>
<a href="mailto:stephen@belzonicable.net">stephen@belzonicable.net</a><o:p></o:p></span></p>
</div>
</div>
</div>


</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Spce-user mailing list</span><br><span><a href="mailto:Spce-user@lists.sipwise.com">Spce-user@lists.sipwise.com</a></span><br><span><a href="https://lists.sipwise.com/listinfo/spce-user">https://lists.sipwise.com/listinfo/spce-user</a></span><br></div></blockquote></body></html>