[Spce-user] Peering Rule callee pattern NOT allow a number

William Fulton wfulton at thirdhatch.com
Sun Oct 29 22:58:54 EDT 2017

Clever and super useful. Thank you, Daniel!


From: Daniel Grotti [mailto:dgrotti at sipwise.com]
Sent: Sunday, October 29, 2017 12:50 AM
To: William Fulton <wfulton at thirdhatch.com>
Cc: Stephen Donovan <stephen at belzonicable.net>; Spce-user <spce-user at lists.sipwise.com>
Subject: Re: [Spce-user] Peering Rule callee pattern NOT allow a number

This can be done by following the rules in handbook. You should find a chapter talking  about emergency numbers.
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.
Then you will have your special peer handling only Ecall with the peering rule:

Caller prefix: emergency_

So emergency calls will match ONLY that peer and not others.

Last thing you do is to remove the emergency_ prefix by your callee number using the outbound rr for callee associated to your peer.

Hope this helps.


Sent from my iPhone

On 29 Oct 2017, at 02:05, William Fulton <wfulton at thirdhatch.com<mailto:wfulton at thirdhatch.com>> wrote:

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.

We also control the ability to dial 911 at the PBX level, by pattern matching on Asterisk.

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.


From: Spce-user [mailto:spce-user-bounces at lists.sipwise.com] On Behalf Of Stephen Donovan
Sent: Saturday, October 28, 2017 5:36 PM
To: Spce-user <spce-user at lists.sipwise.com<mailto:spce-user at lists.sipwise.com>>
Subject: [Spce-user] Peering Rule callee pattern NOT allow a number

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.

Stephen Donovan
Belzoni Cable, LLC
SIP Solutions, LLC
16014 US Hwy 49
Belzoni, MS 39038
662-247-3502 direct
stephen at belzonicable.net<mailto:stephen at belzonicable.net>
Spce-user mailing list
Spce-user at lists.sipwise.com<mailto:Spce-user at lists.sipwise.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20171030/2fc721c9/attachment-0001.html>

More information about the Spce-user mailing list