ArchiveOrangemail archive

Asterisk Users Mailing List - Non-Commercial Discussion


asterisk-users.lists.digium.com
(List home) (Recent threads) (35 other Digium lists)

Subscription Options

  • RSS or Atom: Read-only subscription using a browser or aggregator. This is the recommended way if you don't need to send messages to the list. You can learn more about feed syndication and clients here.
  • Conventional: All messages are delivered to your mail address, and you can reply. To subscribe, send an email to the list's subscribe address with "subscribe" in the subject line, or visit the list's homepage here.
  • Moderate traffic list: up to 30 messages per day
  • This list contains about 278,149 messages, beginning Sep 2006
  • 17 messages added yesterday
Report the Spam
This button sends a spam report to the moderator. Please use it sparingly. For other removal requests, read this.
Are you sure? yes no

911 multple-alert question

Ad
Nunya Biznatch 1339249923Sat, 09 Jun 2012 13:52:03 +0000 (UTC)
Can you set up asterisk so when a 911 call is placed, in addition to the 
call out to the PSAP, it also alerts multiple other phones on the switch 
and will display detailed information. Such as alerting a receptionist 
or security guard there is a 911 call elsewhere in the building and the 
location of that call within the building? If so, how?

Thanks in advance for the help...--
Carlos Chavez 1339519481Tue, 12 Jun 2012 16:44:41 +0000 (UTC)
This is as easy as running an AGI on your 911 rule to do whatever you
want.  The AGI can dial multiple phones, send emails, page you, etc.
Even without the AGI you can do many things from the dialplan.On Sat, 2012-06-09 at 07:51 -0600, Nunya Biznatch wrote:
> Can you set up asterisk so when a 911 call is placed, in addition to the 
> call out to the PSAP, it also alerts multiple other phones on the switch 
> and will display detailed information. Such as alerting a receptionist 
> or security guard there is a 911 call elsewhere in the building and the 
> location of that call within the building? If so, how?
> 
> Thanks in advance for the help...
> 
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                http://www.asterisk.org/hello
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/aste...--
Carlos Alvarez 1339521733Tue, 12 Jun 2012 17:22:13 +0000 (UTC)
On Tue, Jun 12, 2012 at 9:44 AM, Carlos Chavez wrote:

>        This is as easy as running an AGI on your 911 rule to do whatever
> you
> want.  The AGI can dial multiple phones, send emails, page you, etc.
> Even without the AGI you can do many things from the dialplan.
>Here's one example of non-AGI notification:

exten => s,n,System(/usr/sbin/sendEmail -t  -f
 -u "911 call was placed" -m "911 call from
${CDR(accountcode)} ${CALLERID(num)} - ${CALLERID(name)}  via
switch-1.televolve.com to ${911PROVIDER}.")

This of course requires the sendEmail program, which is hugely useful
throughout our systems for many purposes.--
Nunya Biznatch 1339544009Tue, 12 Jun 2012 23:33:29 +0000 (UTC)
Thanks for the response. You gave me some ideas I didn't think of such 
as sending a text message to the on-call security person's cell phone. 
However, while I know I can get the 911 call to call other phones, I 
also need location data. I know there are ways to do it, but I don't 
have the kung-fu for things like databases, and am wondering if there's 
something simple in Asterisk like a flat file used to correlate phone 
number and location. Then, there's the part of how to get that 
additional data to display on a phone. To throw a wrench in it, I don't 
want local security to answer, just to be alerted the call is going on 
so they can be the first on scene and make themselves available to 
direct emergency personnel when they arrive.


Thanks Again!On 6/12/2012 11:21 AM, Carlos Alvarez wrote:
> On Tue, Jun 12, 2012 at 9:44 AM, Carlos Chavez 
>  > wrote:
>
>            This is as easy as running an AGI on your 911 rule to do
>     whatever you
>     want.  The AGI can dial multiple phones, send emails, page you, etc.
>     Even without the AGI you can do many things from the dialplan.
>
>
> Here's one example of non-AGI notification:
>
> exten => s,n,System(/usr/sbin/sendEmail -t  
>  -f  
>  -u "911 call was placed" -m "911 call 
> from ${CDR(accountcode)} ${CALLERID(num)} - ${CALLERID(name)}  via 
> switch-1.televolve.com <http://switch-1.televolve.com> to 
> ${911PROVIDER}.")
>
> This of course requires the sendEmail program, which is hugely useful 
> throughout our systems for many purposes.
>
> -- 
> Carlos Alvarez
> TelEvolve
> 602-889-3003
>
>
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                 http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>     http://lists.digium.com/mailman/listinfo/aste...--
Steve Edwards 1339545023Tue, 12 Jun 2012 23:50:23 +0000 (UTC)
On Tue, 12 Jun 2012, Nunya Biznatch wrote:

> I also need location data. I know there are ways to do it, but I don't 
> have the kung-fu for things like databases, and am wondering if there's 
> something simple in Asterisk like a flat file used to correlate phone 
> number and location.1) The Asterisk database? You can access it with dialplan applications.

2) Set the location as a channel variable in sip.conf? (Keeps all of the 
'phone specific' stuff in one place.

Just being a bit paranoid, but fiddling with 911 calls always makes me 
nervous. I'd dial the 'real' 911 call over a copper pair first and then 
after (or in parallel) do all your kewl stuff.

I'm sure there will be a lawyer somewhere out there just itching to sue 
when the 'real' 911 call doesn't happen because of some minor FU on your 
part.

What's your legal exposure if your location data is wrong? I think I'd 
want a letter absolving me of liability signed by the CEO in my back 
pocket.

-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards             Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000--
Nunya Biznatch 1339548219Wed, 13 Jun 2012 00:43:39 +0000 (UTC)
You're absolutely correct. The 911 system maintenance is a PITA.

Our current PBX routes all 911 calls to an box we call the "Proctor 
Box". That box does a couple things. First, it assigns an ANI to a 
number. So for example, 3-digit extensions get a real 10-digit numbers 
assigned. It then routes that 911 call out a dedicated CAMA trunk to the 
PSAP. Additionally , we pay a third party company to upload our location 
data to the ALI database, so when our provided ANI hits the PSAP, they 
can pull proper location info out of the ALI database.

The other thing this box does is feed a couple local display terminals. 
These terminals alarm and display local information from it's own 
internal database during a 911 call for local security folks. In the 
meantime, I have the PBX itself which contains its own telephone 
directory with location and department information, and it's own 
Emergency Services ID. It will use this ID if the CAMA trunks are out of 
service and the phone system decides to route the 911 call out a normal 
PRI. This data we try to use as a baseline for the 911 data. So we 
currently have multiple databases I have to keep 100% in sync, with a 
1000+ set campus with people moving constantly amongst the 25+ 
buildings. It's a nightmare.

Basically, as we migrate to Asterisk, I need to figure out if I can 
replicate our current functionality. The preference is to come up with 
something much nicer than a half-dozen data points that are never in 
synch. If I can't find a solution in Asterisk, then I'm stuck using 
something like we already have.

...and yes, as you have imagined, there have been a few FUs in the past. 
We've dodged a number of bullets. I'm hoping I can resolve this when we 
migrate.

I will look into the local channel variable in the sip.conf. That sounds 
promising. If I populate that data, how does it make it to the display 
of a phone on campus? I guess that's a piece I haven't either read or 
been able to wrap my head around yet.

Thanks!On 6/12/2012 5:50 PM, Steve Edwards wrote:
> On Tue, 12 Jun 2012, Nunya Biznatch wrote:
>
>> I also need location data. I know there are ways to do it, but I 
>> don't have the kung-fu for things like databases, and am wondering if 
>> there's something simple in Asterisk like a flat file used to 
>> correlate phone number and location.
>
> 1) The Asterisk database? You can access it with dialplan applications.
>
> 2) Set the location as a channel variable in sip.conf? (Keeps all of 
> the 'phone specific' stuff in one place.
>
> Just being a bit paranoid, but fiddling with 911 calls always makes me 
> nervous. I'd dial the 'real' 911 call over a copper pair first and 
> then after (or in parallel) do all your kewl stuff.
>
> I'm sure there will be a lawyer somewhere out there just itching to 
> sue when the 'real' 911 call doesn't happen because of some minor FU 
> on your part.
>
> What's your legal exposure if your location data is wrong? I think I'd 
> want a letter absolving me of liability signed by the CEO in my back 
> pocket.
>--
Steve Edwards 1339551264Wed, 13 Jun 2012 01:34:24 +0000 (UTC)
On Tue, 12 Jun 2012, Nunya Biznatch wrote:

> I will look into the local channel variable in the sip.conf. That sounds 
> promising. If I populate that data, how does it make it to the display of a 
> phone on campus? I guess that's a piece I haven't either read or been able to 
> wrap my head around yet.sip.conf:

[my-extension]
         setvar                          = LOCATION=Main Lobby

extensions.conf

         exten = *,n,                    set(CALLERID(name)=Tora! Tora! Tora!)
         exten = *,n,                    set(CALLERID(num)=${LOCATION})
         exten = *,n,                    dial(sip/security)
         exten = *,n,                    hangup()

This shows 'Tora! Tora! Tora!' as line 1 and 'Main Lobby' on my cisco 
7960.

-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards             Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000--
Nunya Biznatch 1339590753Wed, 13 Jun 2012 12:32:33 +0000 (UTC)
Thanks a million for the examples. I'm going to try it out in my test 
environment over the next couple weeks and see what happens!On 6/12/2012 7:29 PM, Steve Edwards wrote:
> On Tue, 12 Jun 2012, Nunya Biznatch wrote:
>
>> I will look into the local channel variable in the sip.conf. That 
>> sounds promising. If I populate that data, how does it make it to the 
>> display of a phone on campus? I guess that's a piece I haven't either 
>> read or been able to wrap my head around yet.
>
> sip.conf:
>
> [my-extension]
>         setvar                          = LOCATION=Main Lobby
>
> extensions.conf
>
>         exten = *,n,                    set(CALLERID(name)=Tora! Tora! 
> Tora!)
>         exten = *,n,                    set(CALLERID(num)=${LOCATION})
>         exten = *,n,                    dial(sip/security)
>         exten = *,n,                    hangup()
>
> This shows 'Tora! Tora! Tora!' as line 1 and 'Main Lobby' on my cisco 
> 7960.
>--
Home | About | Privacy