[Asterisk-Users] weather asterisk@home

Ernie Ankele ernie at ankele.net
Fri Feb 25 18:20:04 MST 2005


My perl is not that great, but from your debug output, the "STREAM 
FILE" agi command never executed from the festival-weather-script.pl 
script, which should have happened right away.
Does your text2wave work? Is there a tts-????.wav file in your 
var/lib/asterisk/sounds/tts dir? a tts-???.txt file?
You should be able to use this info to find out where the script is 
failing.
Ernie
On Feb 25, 2005, at 5:25 PM, James Taylor wrote:

> Still no weather...
>
> AGI Debugging Enabled
>     -- Executing Answer("SIP/3000-51a3", "") in new stack
>     -- Executing AGI("SIP/3000-51a3", "weather.agi") in new stack
>     -- Launched AGI Script /var/lib/asterisk/agi-bin/weather.agi
> AGI Tx >> agi_request: weather.agi
> AGI Tx >> agi_channel: SIP/3000-51a3
> AGI Tx >> agi_language: en
> AGI Tx >> agi_type: SIP
> AGI Tx >> agi_uniqueid: 1109375983.318
> AGI Tx >> agi_callerid: "James" <3000>
> AGI Tx >> agi_dnid: 850
> AGI Tx >> agi_rdnis: unknown
> AGI Tx >> agi_context: from-internal
> AGI Tx >> agi_extension: 850
> AGI Tx >> agi_priority: 2
> AGI Tx >> agi_enhanced: 0.0
> AGI Tx >> agi_accountcode:
> AGI Tx >>
>     -- AGI Script weather.agi completed, returning 0
>     -- Executing Hangup("SIP/3000-51a3", "") in new stack
>   == Spawn extension (from-internal, 850, 3) exited non-zero on 
> 'SIP/3000-51a3'
>     -- Executing Macro("SIP/3000-51a3", "hangupcall") in new stack
>     -- Executing ResetCDR("SIP/3000-51a3", "w") in new stack
>     -- Executing NoCDR("SIP/3000-51a3", "") in new stack
>     -- Executing Wait("SIP/3000-51a3", "5") in new stack
>     -- Executing Hangup("SIP/3000-51a3", "") in new stack
>   == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 
> 'SIP/3000-51a3' in macro 'hangupcall'
>   == Spawn extension (from-internal, h, 1) exited non-zero on
> On Fri, 25 Feb 2005 16:31:43 -0700, Ernie Ankele <ernie at ankele.net> 
> wrote:
>
>> Turn on debugging (agi debug) and check to see if festival is exiting 
>> with an error? (Maybe)
>> Ernie
>>
>> On Feb 25, 2005, at 4:29 PM, James Taylor wrote:
>>
>>> I'm still having problems.
>>>
>>> Festival works from command line and I can make the speakers talk.
>>> But when I dial my weather extension:
>>>
>>>  -- Executing Answer("SIP/3000-a844", "") in new stack
>>>     -- Executing AGI("SIP/3000-a844", "weather.agi") in new stack
>>>     -- Launched AGI Script /var/lib/asterisk/agi-bin/weather.agi
>>>     -- AGI Script weather.agi completed, returning 0
>>>     -- Executing Hangup("SIP/3000-a844", "") in new stack
>>>   == Spawn extension (from-internal, 850, 3) exited non-zero on 
>>> 'SIP/3000-a844'
>>>     -- Executing Macro("SIP/3000-a844", "hangupcall") in new stack
>>>     -- Executing ResetCDR("SIP/3000-a844", "w") in new stack
>>>     -- Executing NoCDR("SIP/3000-a844", "") in new stack
>>>     -- Executing Wait("SIP/3000-a844", "5") in new stack
>>>     -- Executing Hangup("SIP/3000-a844", "") in new stack
>>>
>>> Any ideas?
>>> -- James Taylor
>>> 3505 Summerhll Road
>>> Suite 11
>>> Texarkana, Texas  75503
>>> 903-793-1953
>>> _______________________________________________
>>> 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
>>>
>>
>> _______________________________________________
>> 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
>>
>
>
>
> -- 
> James Taylor
> 3505 Summerhll Road
> Suite 11
> Texarkana, Texas  75503
> 903-793-1953
> _______________________________________________
> 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
>




More information about the asterisk-users mailing list