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

Steven asterisk at tescogroup.com
Fri Sep 1 08:20:31 MST 2006


Does/could the command interrupt call flow? Or does it get fired off and not wait for it to finish.
I know calls to agi scripts will wait for them to finish. (unless this is optional)

-- 
-- 
Steven

http://www.glimasoutheast.org



"Dave Fullerton" <dfullertasterisk at shorelinecontainer.com> wrote in message news:44F84355.90108 at shorelinecontainer.com...
> 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
> 






More information about the asterisk-users mailing list