All,
         I am toying with an idea of using an AGI to be able to 'call' 
my phone, or phones, in case of severe weather warnings. I have been 
tinkering with a script that reads from weather underground for the 
forecast, based off a PHP version of a weather AGI I found on the net. 
It seems rather trivial to have the AGI as a script, that does nothing 
unless a condition is met, and then call out, with a TTS synthesized 
read out of the warning, or error seen. I would like to know if anyone 
has done this before and what they used to get the warning for their 
area's. I haven't a very clear idea of how to parse properly XML data in
either python or perl, but I have templates of what did work (until 
formats changed, StormSiren being a python module I used for sms). Also 
if I ever get anything to work, and anyone is interested I can share my 
code.
Regards,
Seann Clark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5544 bytes
Desc: S/MIME Cryptographic Signature
Url :
http://lists.digium.com/pipermail/asterisk-users/attachments/20100510/572f8e9a/attachment.bin
I use www.melissadata.com, weather.yahooapis.com and Cepstral to give a
current forecast for any 3,6,7 or 10 digit number you enter.  The
"built-in"
asterisk sounds offer most of the information you would say; I generate
whatever is "missing" (city names mostly) with Cepstral.
For your application, the best (IMO) strategy would be to have an AGI that
is cronned to run every X minutes and "launch" a call when needed
using AMI.
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Seann Clark
Sent: Monday, May 10, 2010 11:05 PM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] AGI and Severe Weather Alerts
All,
         I am toying with an idea of using an AGI to be able to 'call' 
my phone, or phones, in case of severe weather warnings. I have been 
tinkering with a script that reads from weather underground for the 
forecast, based off a PHP version of a weather AGI I found on the net. 
It seems rather trivial to have the AGI as a script, that does nothing 
unless a condition is met, and then call out, with a TTS synthesized 
read out of the warning, or error seen. I would like to know if anyone 
has done this before and what they used to get the warning for their 
area's. I haven't a very clear idea of how to parse properly XML data in
either python or perl, but I have templates of what did work (until 
formats changed, StormSiren being a python module I used for sms). Also 
if I ever get anything to work, and anyone is interested I can share my 
code.
Regards,
Seann Clark
On Tue, 11 May 2010, Danny Nicholas wrote:> For your application, the best (IMO) strategy would be to have an AGI > that is cronned to run every X minutes and "launch" a call when needed > using AMI.If the script or executable is started by cron, it is not an AGI. -- Thanks in advance, ------------------------------------------------------------------------- Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000
Good "Catch" Steve - us "Perl Weinies" use module and AGI interchangeably. -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Steve Edwards Sent: Tuesday, May 11, 2010 10:41 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] AGI and Severe Weather Alerts On Tue, 11 May 2010, Danny Nicholas wrote:> For your application, the best (IMO) strategy would be to have an AGI > that is cronned to run every X minutes and "launch" a call when needed > using AMI.If the script or executable is started by cron, it is not an AGI. -- Thanks in advance, ------------------------------------------------------------------------- Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000 -- _____________________________________________________________________ -- 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/asterisk-users
Along these lines, are there any services that send an e-mail/SMS when there
is a tornado/thunderstorm warning or watch in one or more ZIP codes?
Frank
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Seann Clark
Sent: Monday, May 10, 2010 11:05 PM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] AGI and Severe Weather Alerts
All,
         I am toying with an idea of using an AGI to be able to 'call' 
my phone, or phones, in case of severe weather warnings. I have been 
tinkering with a script that reads from weather underground for the 
forecast, based off a PHP version of a weather AGI I found on the net. 
It seems rather trivial to have the AGI as a script, that does nothing 
unless a condition is met, and then call out, with a TTS synthesized 
read out of the warning, or error seen. I would like to know if anyone 
has done this before and what they used to get the warning for their 
area's. I haven't a very clear idea of how to parse properly XML data in
either python or perl, but I have templates of what did work (until 
formats changed, StormSiren being a python module I used for sms). Also 
if I ever get anything to work, and anyone is interested I can share my 
code.
Regards,
Seann Clark