[Asterisk-Users] Extra sounds (Weather)
Liaan vd Merwe
liaan at yahoo.com
Wed Feb 16 03:53:11 MST 2005
This is the example script (extracted from that link)
you will need to find a weather page for your region
an then change the urls
and grep statements
chow
L
[weather.sh]
#!/bin/sh
WEATHER=`lynx -nolist -dump
http://weatheroffice.ec.gc.ca/forecast/textforecast_e.html?Bulletin=fpcn11.cwvr
|
grep -A3 "^Greater Vancouver.$" | sed 's/\.\./\.
/;s/km\/h/km per hour/'`
echo EXEC Festival \"Online Weather forecast for\"
echo EXEC Festival \"$WEATHER\"
echo EXEC Festival \"Thank you\"
----- Original Message -----
From: "Trevor G. Hammonds" <trevor at skyhost.net>
To: "'Asterisk Users Mailing List - Non-Commercial
Discussion'"
<asterisk-users at lists.digium.com>
Sent: Wednesday, February 16, 2005 12:23 PM
Subject: RE: [Asterisk-Users] Extra sounds (Weather)
> Liaan vd Merwe wrote on Tuesday, 15 February 2005
1:37 PM:
>
>> http://edgett.bc.ca/simonsays/archives/000228.html
>
> Thank you, but this is not the script.
>
> Sincerely,
> Trevor Hammonds
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
>
http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>
http://lists.digium.com/mailman/listinfo/asterisk-users
>
__________________________________
Do you Yahoo!?
Yahoo! Mail - 250MB free storage. Do more. Manage less.
http://info.mail.yahoo.com/mail_250
More information about the asterisk-users
mailing list