Re: [asterisk-users] Re: 911 versus 9.911

2006-09-01 Thread Dave Fullerton

Steven wrote:

I have been thinking of sending a page when asterisk dials 911.
beep Attention, 911 has been dialed by  dialing-extension  whose callerID is 
 callerID.

I think an email would also be appropriate for HR/facility records.

Does anyone know how to send an email from the dialplan?
I assume I would need an agi for this, but I would want to spawn it off and not affect the call to 911, but also not wait for the 
call to finish either.

So, the second question is, how do I spawn a second call flow without affecting 
the first?



I like the idea of an email being generated when 911 is dialed. I'll 
have to keep that in mind when I set up the system I'm currently 
planning. But, to your question... I have asterisk send me an email 
under certain conditions. What I did was create a shell script that did 
the work of sending the email which accepted arguments to pass along the 
info I needed. Then I just used the System app in the dialplan to 
execute the script. It's actually pretty simple to do. It gets a little 
more difficult if you don't have sendmail/postfix/etc installed on your 
asterisk server. I ended up using an smtp client program that behaved 
like the sendmail command to send the mail through another server.


-Dave


___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Re: 911 versus 9.911

2006-09-01 Thread Doug Lytle

Steven wrote:

Does anyone know how to send an email from the dialplan?

  
Use the System() command to launch your script before the dial.  Also, 
append an ampersand sign to the end of the script name so it will detach 
from the script and not hold up the dial command.


Doug


--

Ben Franklin quote:

Those who would give up Essential Liberty to purchase a little Temporary Safety, 
deserve neither Liberty nor Safety.


___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] Re: 911 versus 9.911

2006-08-30 Thread James Texter
Title: Re: [asterisk-users] Re: 911 versus 9.911



I ran into the same situation at one of my customers. The recording worked perfectly, and has resolved any accidental 911 calls.

Thanks,


On 8/30/06 10:05 PM, Steven [EMAIL PROTECTED] wrote:

Maybe play a recording before dialing 911.
 You have dialed 911, if this was not intended hang-up now, otherwise please wait a moment 
Then connect them to 911.
 
Yes they may not hang up soon enough, but there is not excuse for it.
 
We allow 911 and 9911 (in case they think they need to dial 9).
Maybe I will try the recording that I proposed.


-- 
James Texter






___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users