System information
place for playing around. The [emergency-services] section of your dialplan might look
something like this:
[emergency-services]
exten => 911,Goto(dialpsap,1)
exten => 9911,Goto(dialpsap,1) ; some people will dial '9' because
; they're used to doing that from the PBX
exten => 999,Goto(dialpsap,1)
exten => 112,Goto(dialpsap,1)
exten => dialpsap,1,Verbose(1,Call initiated to PSAP!)
same => n,Dial(${LOCAL}/911) ; REPLACE 911 HERE WITH WHATEVER
; IS APPROPRIATE TO YOUR AREA
[internal]
include => emergency-services ; you have to have this in any context
; that has users in it
In contexts where you know the users are not on-site (for example, remote users with
their laptops), something like this might be best instead:
[no-emergency-services]
exten => 911,Goto(nopsap,1)
exten => 9911,Goto(nopsap,1) ; for people who dial '9' before external calls
exten => 999,Goto(nopsap,1)
exten => 112,Goto(nopsap,1)
exten => nopsap,1,Verbose(1,Call initiated to PSAP!)
same => n,Playback(no-emerg-service) ; you'll need to record this prompt
[remote-users]
include => no-emergency-services
In North America, regulations have obligated many VoIP carriers to offer what is pop-
ularly known as E911.
‡
When you sign up for their services, they will require address
information for each DID that you wish to associate with outgoing calls. This address
information will then be sent to the PSAP appropriate to that address, and your emer-
gency calls should be handled the same as they would be if they were dialed on a
traditional PSTN circuit.
Handling emergency calls does not have to be complicated (in fact, it is best to keep
this as simple as possible). The bottom line is that you need to make sure that the phone
system you create allows emergency calls.
‡ It’s not actually the carrier that’s offering this; rather it’s a capability of the PSAP. E911 is also used on PSTN
trunks, but since that happens without any involvement on your part (the PSTN carriers handle the paperwork
for you), you are generally not aware that you have E911 on your local lines.
Emergency Dialing | 155