---- Original Message ----- From: "dean collins" <[EMAIL PROTECTED]>
To: "Asterisk Users Mailing List - Non-Commercial Discussion" ><asterisk-users@lists.digium.com>
Sent: Friday, February 18, 2005 6:04 PM
Subject: [Asterisk-Users] [EMAIL PROTECTED] festival weather report



This script was developed by Mark Johnson.

All I did (Dean Collins) was type up the instructions and make it >easy to understand.



This Script will allow you to dial and extension number on your >[EMAIL PROTECTED] V0.6 or later pabx and have it read you the >weather for your city

How it does this is;

Hey, Dean,

Will this work with AMP 1.10.006? (I haven't switched to Asterisk @ home - waiting for a new computer so I can swap out new PC for Asterisk)

First, I did a yum install festival on my CentOS system.

I tried it and it appears the script is running, getting the forcast, but I don't hear any text being read.

CLI Output:
Verbosity was 3 and is now 21
-- Remote UNIX connection
-- Executing Answer("SIP/1234-ee65", "") in new stack
-- Executing AGI("SIP/1234-ee65", "weather.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/weather.agi
-- AGI Script Executing Application: (AGI) Options: (festival-script.pl|Please wait while I get the latest forecast.)
-- Launched AGI Script /var/lib/asterisk/agi-bin/festival-script.pl
-- AGI Script festival-script.pl completed, returning 0
-- AGI Script Executing Application: (AGI) Options: (festival-script.pl|Wednesday night... Low 11, 50% chance of precipitation.)
-- Launched AGI Script /var/lib/asterisk/agi-bin/festival-script.pl
-- AGI Script festival-script.pl completed, returning 0
-- AGI Script Executing Application: (AGI) Options: (festival-script.pl|Thursday... Partly cloudy, high 31, 30% chance of precipitation.)
-- Launched AGI Script /var/lib/asterisk/agi-bin/festival-script.pl
-- AGI Script festival-script.pl completed, returning 0
-- AGI Script Executing Application: (AGI) Options: (festival-script.pl|Thursday night... Low 23, 80% chance of precipitation.)
-- Launched AGI Script /var/lib/asterisk/agi-bin/festival-script.pl
-- AGI Script festival-script.pl completed, returning 0
-- AGI Script Executing Application: (AGI) Options: (festival-script.pl|Friday... Snow, high 32.)
-- Launched AGI Script /var/lib/asterisk/agi-bin/festival-script.pl
-- AGI Script festival-script.pl completed, returning 0
-- AGI Script Executing Application: (AGI) Options: (festival-script.pl|Friday night... Low 17.)
-- Launched AGI Script /var/lib/asterisk/agi-bin/festival-script.pl
-- AGI Script festival-script.pl completed, returning 0
-- AGI Script Executing Application: (AGI) Options: (festival-script.pl|Thank you and please call again!)
-- Launched AGI Script /var/lib/asterisk/agi-bin/festival-script.pl
-- AGI Script festival-script.pl completed, returning 0
-- AGI Script weather.agi completed, returning 0
-- Executing Hangup("SIP/1234-ee65", "") in new stack
== Spawn extension (from-internal, 750, 3) exited non-zero on 'SIP/1234-ee65'
-- Executing Macro("SIP/1234-ee65", "hangupcall") in new stack
-- Executing ResetCDR("SIP/1234-ee65", "w") in new stack
-- Executing NoCDR("SIP/1234-ee65", "") in new stack
-- Executing Wait("SIP/1234-ee65", "5") in new stack
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'admin' logged on from 127.0.0.1
-- Executing Hangup("SIP/1234-ee65", "") in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/1234-ee65' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/1234-ee65'
asterisk*CLI>



It appears festival is running: [EMAIL PROTECTED] bin]# ps | grep festival 2125 pts/0 00:00:00 festival_server 2135 pts/0 00:00:00 festival [EMAIL PROTECTED] bin]#


My festival_server.log:
"Load server start ./festival_server.scm"
festival port=1314
wrapper Wed Mar 9 20:13:46 CST 2005 : USING DEFAULT CONFIGURATION
wrapper Wed Mar 9 20:13:46 CST 2005 : waiting
server Wed Mar 9 20:13:46 2005 : Festival server started on port 1314


I don't hear anything.
~

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@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

Reply via email to