[asterisk-users] weather.agi

Joris Engbers info at jorisengbers.nl
Mon Dec 21 06:11:24 CST 2015


Jeff LaCoursiere writes:

> On 12/16/2015 11:24 AM, Ryan Crowder wrote:
>> http://www.wunderground.com/weather/api/
>
> Awesome!  Perfect!
>
> Cheers,
>
> j
>
>>
>> -----Original Message-----
>> From: asterisk-users-bounces at lists.digium.com
>> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of
>> dk at donkelly.biz
>> Sent: Wednesday, December 16, 2015 9:20 AM
>> To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
>> Subject: Re: [asterisk-users] weather.agi
>>
>>
>>
>> -----Original Message-----
>> From: asterisk-users-bounces at lists.digium.com
>> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Jeff
>> LaCoursiere
>> Sent: Wednesday, December 16, 2015 11:11 AM
>> To: Asterisk Users Mailing List - Non-Commercial Discussion
>> Subject: [asterisk-users] weather.agi
>>
>> Here is a funny story.  We mostly do hotels in the Caribbean, and one of our
>> first clients (going on ten years now) used the sample "weather.agi"
>> that used to be shipped with... asterisk at home? Trixbox?  Can't even recall
>> where we originally got it from.
>>
>> This perl script uses festival to speak a brief weather forecast to the
>> caller.  We told our hotels this was a feature for guests, and assigned a
>> function code to execute it.  They have been using it for years.  In fact
>> the front desk used to just dial it in speaker mode for guests checking in.
>>
>> Here is the funny part - the text for the weather forecast was coming from
>> an anonymous FTP site at tgftp.nws.noaa.gov.  Sometime in 2013 they stopped
>> updating the forecast!  So ever since then the caller would get the forecast
>> for June something 2013.  But because the weather in St Thomas is nearly the
>> same year round, NO ONE NOTICED!  Well, until just recently.
>>
>> After we stopped laughing about it, they now want me to fix it.  But I can't
>> seem to find a new source of textual summary weather data.
>>
>> So... has anyone else run into this and fixed it by chance?  Or can point me
>> to weather data?
>>
>> Cheers,
>>
>> j
>>
>>
>> Does something here work for you?
>> http://search.usa.gov/search?v%3Aproject=firstgov&query=web+service&affiliat
>> e=nws.noaa.gov
>>
>>    --Don
>>
>> --

There is an open alternative that you might consider:

http://openweathermap.org/

Joris


>> _____________________________________________________________________
>> -- 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
>>
>>
>> --
>> _____________________________________________________________________
>> -- 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
>>
>>
>> ---
>> This email has been checked for viruses by Avast antivirus software.
>> https://www.avast.com/antivirus
>>
>>


--
Joris Engbers
Gangster



More information about the asterisk-users mailing list