[asterisk-users] festival problem using IAX (chan_iax2.c:2995 iax2_read)
Hi All, I'm having a problem after reinstalling the operating system. Festival works fine for SIP, but when IAX users are calling the same extension they don't hear the festival and I see the next message on console: NOTICE[3996]: chan_iax2.c:2995 iax2_read: I should never be called! I googled and couldn't find a solution, if somebody can help neobase*CLI> -- Executing [EMAIL PROTECTED]:1] Goto("SIP/3001-09249a78", "default|s|1") in new stack -- Goto (default,s,1) -- Executing [EMAIL PROTECTED]:1] Wait("SIP/3001-09249a78", "1") in new stack -- Executing [EMAIL PROTECTED]:2] Answer("SIP/3001-09249a78", "") in new stack -- Executing [EMAIL PROTECTED]:3] Set("SIP/3001-09249a78", "TIMEOUT(digit)=5") in new stack -- Digit timeout set to 5 -- Executing [EMAIL PROTECTED]:4] Set("SIP/3001-09249a78", "TIMEOUT(response)=10") in new stack -- Response timeout set to 10 -- Executing [EMAIL PROTECTED]:5] Festival("SIP/3001-09249a78", "Please enter extension number") in new stack == Parsing '/etc/asterisk/festival.conf': Found -- Executing [EMAIL PROTECTED]:6] WaitExten("SIP/3001-09249a78", "") in new stack == Spawn extension (default, s, 6) exited non-zero on 'SIP/3001-09249a78' neobase*CLI> neobase*CLI> neobase*CLI> -- Accepting UNAUTHENTICATED call from ipaddress: > requested format = gsm, > requested prefs = (), > actual format = gsm, > host prefs = (gsm), > priority = mine -- Executing [EMAIL PROTECTED]:1] Wait("IAX2/ipaddress:4569-3", "1") in new stack -- Executing [EMAIL PROTECTED]:2] Answer("IAX2/ipaddress:4569-3", "") in new stack -- Executing [EMAIL PROTECTED]:3] Set("IAX2/ipaddress:4569-3", "TIMEOUT(digit)=5") in new stack -- Digit timeout set to 5 -- Executing [EMAIL PROTECTED]:4] Set("IAX2/ipaddress:4569-3", "TIMEOUT(response)=10") in new stack -- Response timeout set to 10 -- Executing [EMAIL PROTECTED]:5] Festival("IAX2/ipaddress:4569-3", "Please enter extension number") in new stack == Parsing '/etc/asterisk/festival.conf': Found [Nov 23 18:41:41] NOTICE[3996]: chan_iax2.c:2995 iax2_read: I should never be called! -- Executing [EMAIL PROTECTED]:6] WaitExten("IAX2/ipaddress:4569-3", "") in new stack == Spawn extension (default, s, 6) exited non-zero on 'IAX2/ipaddress:4569-3' -- Hungup 'IAX2/ipaddress:4569-3' Itamar ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Festival Problem
I have a different problem, but you might end up using the same "solution" as I did. I wanted to change to the cmu_us_slt_arctic_hks voice (which sounds AMAZING to me.. way better than what AT&T wants 300 bucks for), but no matter what I did, I couldn't get Asterisk to work with it. So I am using a bash script to generate the file and then have asterisk play it. something like: exten => s,4,System(sayit "${CIDNAME} calling from ${CIDINFO}" cidinfo) ; spoken txt in quotes, then filename exten => s,5,Wait(2) ; or some propmt.. just so the system has time to make the file. exten => s,6,Playback(cidinfo) My Bash sux, but this works for me /#!/bin/bash/ *echo* $1 *|* text2wave -o /tmp/work.wav -otype wav normalize -g 6db /tmp/work.wav *sox* /tmp/work.wav -r 8000 /var/lib/asterisk/sounds/$2.gsm resample *rm* /tmp/work.wav Text2wave does have the capability to output to ulaw (gsm too I think), but they were too quiet for me so I decided to output wavs so I could normalize them and then convert them to gsm with sox. There are probably better ways, but everything works for me now and I have the voice I want :D Kris Michael Welter wrote: > I'm attempting to use Festival with Asterisk on an x86_64 system. > This IVR application works ok on a P4 system. > > I'm using the FC3 x86_64 distro on a single processor Opteron system. > Festival by itself (using the command line and speakers) seems to work > ok, and Asterisk without Festival works ok. When the Asterisk > dialplan calls Festival, however, Festival reports a disconnect and > Asterisk's Festival command does not complete. Later, when I shut down > the system for reboot, I get a kernel panic. > > I've tried both the FC4 Festival rpm as well as the source download > from festvox.org. I modify the siteinit.scm file as per the wiki > page, and I use the stock festival.conf file in Asterisk. > > Has anyone experienced this behavior, and is there a workaround? > > Thanks, > > > > ___ > 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 > ___ 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
[Asterisk-Users] Festival Problem
I'm attempting to use Festival with Asterisk on an x86_64 system. This IVR application works ok on a P4 system. I'm using the FC3 x86_64 distro on a single processor Opteron system. Festival by itself (using the command line and speakers) seems to work ok, and Asterisk without Festival works ok. When the Asterisk dialplan calls Festival, however, Festival reports a disconnect and Asterisk's Festival command does not complete. Later, when I shut down the system for reboot, I get a kernel panic. I've tried both the FC4 Festival rpm as well as the source download from festvox.org. I modify the siteinit.scm file as per the wiki page, and I use the stock festival.conf file in Asterisk. Has anyone experienced this behavior, and is there a workaround? Thanks, ___ 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
[Asterisk-Users] Festival problem
I have Festival running fine on one Fedora Core 3 machine but I am having problems getting it to work on another one. I am using festival-1.4.2-25 I have followed the guide at http://www.voip-info.org/wiki-Asterisk+Festival+installation and am using the second festival command patch which is the same one I use on the working server. The festival logs show the following on the working machine:- "Load server start ./festival_server.scm" festival port=1314 wrapper Thu Mar 17 14:59:10 GMT 2005 : USING DEFAULT CONFIGURATION wrapper Thu Mar 17 14:59:10 GMT 2005 : waiting serverThu Mar 17 14:59:10 2005 : Festival server started on port 1314 client(1) Tue Mar 22 15:10:53 2005 : accepted from voip client(1) Tue Mar 22 15:10:54 2005 : disconnected On the non working machine :- "Load server start ./festival_server.scm" festival port=1314 wrapper Tue Mar 22 15:29:25 GMT 2005 : USING DEFAULT CONFIGURATION wrapper Tue Mar 22 15:29:25 GMT 2005 : waiting serverTue Mar 22 15:29:25 2005 : Festival server started on port 1314 client(1) Tue Mar 22 15:33:35 2005 : accepted from asterisk.linguaphone-intranet.co.uk client(1) Tue Mar 22 15:33:35 2005 : disconnected On the working server asterisk shows :- -- Executing Answer("SIP/7152-d36e", "") in new stack -- Executing Wait("SIP/7152-d36e", "1") in new stack -- Executing Festival("SIP/7152-d36e", "For Sales please press 1") in new stack == Parsing '/etc/asterisk/festival.conf': Found Mar 22 15:47:46 NOTICE[22512]: rtp.c:452 ast_rtp_read: RTP: Received packet with bad UDP checksum -- Executing Festival("SIP/7152-d36e", "For Customer Services please press 2") in new stack == Parsing '/etc/asterisk/festival.conf': Found Mar 22 15:47:49 NOTICE[22512]: rtp.c:452 ast_rtp_read: RTP: Received packet with bad UDP checksum Mar 22 15:47:49 WARNING[22512]: app_festival.c:185 send_waveform_to_channel: Null frame == hangup() detected == Spawn extension (voipuk, 7913, 4) exited non-zero on 'SIP/7152-d36e' On the non working server asterisk shows:- -- Remote UNIX connection -- Executing Answer("SIP/6152-d2ec", "") in new stack -- Executing Festival("SIP/6152-d2ec", "mary had a little lamb") in new stack == Parsing '/etc/asterisk/festival.conf': Found == Spawn extension (voipuk, 6913, 2) exited non-zero on 'SIP/6152-d2ec' Any idea what is wrong? What is this 'remote UNIX connection'? Thanks Gareth ___ 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
[Asterisk-Users] festival problem
I have loaded festival-1.4.3 patched with the 1.4.3.diff file. Festival source is in /usr/src/festival dir. When I try to use it I get this from asterisk: -- Executing Answer("SIP/chad-57a4", "") in new stack -- Executing Festival("SIP/chad-57a4", ""I am talking"") in new stack == Parsing '/etc/asterisk/festival.conf': FoundWARNING[1217602880]: File app_festival.c, Line 304 (festival_exec): Text passedto festival server : "I am talking"WARNING[1217602880]: File app_festival.c, Line 381 (festival_exec): Passing text to festival...WARNING[1217602880]: File app_festival.c, Line 400 (festival_exec): Passing data to channel...WARNING[1217602880]: File app_festival.c, Line 423 (festival_exec): Festival returned ER == Spawn extension (local, 521, 2) exited non-zero on 'SIP/chad-57a4' And this from the festival server: SIOD ERROR: unbound variable : I I have done this twice, and came up the same way both times. I followed directions from http://www.marko.net/asterisk/archives/0209/0389.html and used the 1.4.3 instead, everything else is the same. Any help is apreciated Chad Sawyer