[asterisk-users] $20 Bounty

OCG Technical Support support at ocg.ca
Wed Mar 4 06:59:01 CST 2009


Damn you for solving this before he upped the bounty by a pack of tictacs!!

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of David
Backeberg
Sent: March 3, 2009 10:51 PM
To: Asterisk Users List
Subject: Re: [asterisk-users] $20 Bounty

On Tue, Mar 3, 2009 at 10:25 PM, David Backeberg <dbackeberg at gmail.com>
wrote:

exten => 123,s,1 Playback(enterzipcode)
exten => 123,s,n Read(zip||5)
exten => 123,s,n System(wget http://pathtoyahooservice${zip} -o
forecast.txt)
exten => 123,s,n System(wget --post-file forecast.txt -o wav.url)
exten => 123,s,n System(wget --input-file wav.url -o voice.wav)
exten => 123,s,n Playback(voice)

exten => 123,h,1 Hangup

> On Tue, Mar 3, 2009 at 7:12 PM, Dean Collins <Dean at cognation.net> wrote:
>> I'll pay anyone a $20 bounty for someone to replicate the USA Asterisk
>> Weather App on Tropo.
>
> All you have to do is violate the ToS on a few services:
> wget the weather from yahoo, for instance:
> http://weather.yahooapis.com/forecastrss?p=06513
>
> Conditions for New Haven, CT at 9:53 pm EST
> Current Conditions:
> Fair, 20 F
> Forecast:
> Tue - Clear. High: 25 Low: 13
> Wed - Mostly Sunny. High: 34 Low: 19
>
> do a wget post of that output from the previous wget to
> http://www.research.att.com/~ttsweb/tts/demo.php
>
> do a wget on the wav file that demo generates.
>
> It would be nicer if you record a prompt before asking for the
> zipcode, but it's not strictly necessary.
>
> You can paypal me the cash to my email. The legitimate license for
> AT&T Natural Voices is more than $20, and nothing built into Asterisk
> for free is going to give you free-form text-to-speech.
>

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.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