[asterisk-users] Festival VOICE MAIL TO FEMAIL

2011-06-27 Thread mahesh katta
Hi all
How can I change the festival application voice in asterisk from mailvoice
to femailvoice.


Best Regards,

Mahesh Katta
*BUZZ**WORKS* Business Services Private Limited
BANGALORE | CHENNAI | HYDERABAD | MUMBAI| DELHI
201, Crystal Tower, 75 Gundavali Cross Lane, Andheri Kurla Road, Andheri (E)
Mumbai 400069
GSM +91.97029.70779 | Phone +91.22.4229.2634 | Fax +91.22.4229.2634
Web http://www.buzzworks.com
--
_
-- 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

Re: [asterisk-users] Festival

2010-11-09 Thread bakko
Hi,

wich version of Asterisk?

If is 1.6.2.13, there is a open issue becouse not work

https://issues.asterisk.org/view.php?id=17995

R.-- 
_
-- 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

[asterisk-users] Festival

2010-11-09 Thread ayodele abejide


Dear Asterisk-Users,
I installed festival and while trying to connect it to asterisk it comes up 
with:

serverMon Nov  8 18:38:51 2010 : Festival server started on port 
1314client(1) Mon Nov  8 18:38:51 2010 : accepted from 
localhost.localdomainclient(1) Mon Nov  8 18:38:51 2010 : disconnected
I tried editing the festival.scm file and came out worse with
socket: bind failed

Please can anyone help out.
Thanks in advance.
ABEJIDE, Ayodele A. (CCNA)
+2348039269311



  -- 
_
-- 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

Re: [asterisk-users] Festival

2010-11-09 Thread ayodele abejide

It is 1.6.2.13

ABEJIDE, Ayodele A. (CCNA)
+2348039269311




From: asannu...@gmail.com
To: asterisk-users@lists.digium.com
Date: Tue, 9 Nov 2010 07:38:44 -0500
Subject: Re: [asterisk-users] Festival










Hi,
 
wich version of Asterisk?
 
If is 1.6.2.13, there is a open issue becouse not 
work
 
https://issues.asterisk.org/view.php?id=17995
 
R.

-- 
_
-- 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

[asterisk-users] Festival issues

2008-07-10 Thread Balu Raman
I have used this [EMAIL PROTECTED] for a while now, 2 years.
Only recently, I am trying Festival and on invoking festival --server I get
these errors :

/usr/share/festival/bin/festival: /usr/lib/libstdc++.so.5: version
`CXXABI_1.2' not found (required by /usr/share/festival/bin/festival)
/usr/share/festival/bin/festival: /usr/lib/libstdc++.so.5: version
`GLIBCPP_3.2' not found (required by /usr/share/festival/bin/festival)

I have libstdc++.so.6 on the system and symbolically linking did not fix it
either.
The festival package is asteriskathome-festival-1.96.zip.

Thanks for your help.
- balu raman
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] Festival in Italian does not work

2008-04-10 Thread A . Santoro
I installed festival following this guide (method 1)

http://www.voip-info.org/wiki/view/Asterisk+festival+installation

When I use english voices Festival works, when I change in Italian
voices, Festival return an error (generic).
Someone has faced and solved the same problem?

Thanks in advance for your help.
Bye

A.Santoro


___
-- 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


[asterisk-users] Festival works extension to extension, not on trunk

2007-03-19 Thread Chris Carey

I recently got Festival performing Text to Speech on my Asterisk system.

It is working great when I call from extension to extension in the
house. But when I dial in on my phone number (which comes in on a sip
registration to a Sonus server), I can not hear any sound. The
asterisk box thinks it is playing the festival sound but I hear
nothing.

Any ideas?
___
--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 works extension to extension, not on trunk

2007-03-19 Thread Steve Totaro

Chris Carey wrote:

I recently got Festival performing Text to Speech on my Asterisk system.

It is working great when I call from extension to extension in the
house. But when I dial in on my phone number (which comes in on a sip
registration to a Sonus server), I can not hear any sound. The
asterisk box thinks it is playing the festival sound but I hear
nothing.

Any ideas?



Try Cepstral Swift?  The voice is much better.  As far as no audio, I 
don't know.  Do you answer the call before festival plays?  Do you have 
an IVR you can call to see if playback passes audio?


Thanks,
Steve

___
--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


[asterisk-users] Festival Problems

2007-01-10 Thread Robert Norton - SophMedia LLC
Hello,
Hopefully I'm posting to the correct list, but if not, please shun me ;).

I'm running Asterisk 1.4, with Festival 1.4.1. I've got a test extension setup, 
Festival configured and for some reason, when I dial that extension I get this:

[Jan 10 17:16:05] WARNING[9082]: app_festival.c:511 festival_exec: Festival 
returned ER

See the full debug below:

[Jan 10 17:16:05] DEBUG[9082]: chan_sip.c:3381 sip_answer: SIP answering 
channel: SIP/SMEDIA-300-086da000
[Jan 10 17:16:05] DEBUG[9082]: chan_sip.c:6255 transmit_response_with_sdp: 
Setting framing from config on incoming call
[Jan 10 17:16:05] DEBUG[9082]: chan_sip.c:6003 add_sdp: ** Our capability: 
0x10c (ulaw|alaw|g729) Video flag: True
[Jan 10 17:16:05] DEBUG[9082]: chan_sip.c:6004 add_sdp: ** Our prefcodec: 0x0 
(nothing) 
[Jan 10 17:16:05] DEBUG[9082]: chan_sip.c:6155 add_sdp: -- Done with adding 
codecs to SDP
[Jan 10 17:16:05] DEBUG[9082]: chan_sip.c:6200 add_sdp: Done building SDP. 
Settling with this capability: 0x10c (ulaw|alaw|g729)
[Jan 10 17:16:05] DEBUG[9082]: pbx.c:1767 pbx_extension_helper: Launching 
'Festival'
[Jan 10 17:16:05] DEBUG[9082]: config.c:733 config_text_file_load: Parsing 
/usr/local/etc/asterisk/festival.conf
[Jan 10 17:16:05] DEBUG[9082]: app_festival.c:370 festival_exec: Text passed to 
festival server : This is just a test at extension 111
[Jan 10 17:16:05] DEBUG[9082]: app_festival.c:433 festival_exec: Cache file 
exists, strln=36, strlen=36
[Jan 10 17:16:05] DEBUG[9082]: app_festival.c:435 festival_exec: Size OK
[Jan 10 17:16:05] DEBUG[9082]: app_festival.c:452 festival_exec: Reading from 
cache...
[Jan 10 17:16:05] DEBUG[9082]: app_festival.c:473 festival_exec: Passing data 
to channel...
[Jan 10 17:16:05] WARNING[9082]: app_festival.c:511 festival_exec: Festival 
returned ER
[Jan 10 17:16:05] DEBUG[9082]: pbx.c:2363 __ast_pbx_run: Spawn extension 
(local-phone,111,2) exited non-zero on 'SIP/SMEDIA-300-086da000'
[Jan 10 17:16:05] DEBUG[9082]: pbx.c:1621 pbx_substitute_variables_helper_full: 
Function result is 'x300 4806265449'
[Jan 10 17:16:05] DEBUG[9082]: pbx.c:1621 pbx_substitute_variables_helper_full: 
Function result is '4806265449'
[Jan 10 17:16:05] DEBUG[9082]: pbx.c:1621 pbx_substitute_variables_helper_full: 
Function result is '111'
[Jan 10 17:16:05] DEBUG[9082]: pbx.c:1621 pbx_substitute_variables_helper_full: 
Function result is 'local-phone'
[Jan 10 17:16:05] DEBUG[9082]: pbx.c:1621 pbx_substitute_variables_helper_full: 
Function result is 'SIP/SMEDIA-300-086da000'
[Jan 10 17:16:05] DEBUG[9082]: pbx.c:1621 pbx_substitute_variables_helper_full: 
Function result is ''
[Jan 10 17:16:05] DEBUG[9082]: pbx.c:1621 pbx_substitute_variables_helper_full: 
Function result is 'Festival'
[Jan 10 17:16:05] DEBUG[9082]: pbx.c:1621 pbx_substitute_variables_helper_full: 
Function result is 'This is just a test at extension 111'
[Jan 10 17:16:05] DEBUG[9082]: pbx.c:1621 pbx_substitute_variables_helper_full: 
Function result is '2007-01-10 17:16:05'
[Jan 10 17:16:05] DEBUG[9082]: pbx.c:1621 pbx_substitute_variables_helper_full: 
Function result is '2007-01-10 17:16:05'
[Jan 10 17:16:05] DEBUG[9082]: pbx.c:1621 pbx_substitute_variables_helper_full: 
Function result is '2007-01-10 17:16:05'
[Jan 10 17:16:05] DEBUG[9082]: pbx.c:1621 pbx_substitute_variables_helper_full: 
Function result is '0'
[Jan 10 17:16:05] DEBUG[9082]: pbx.c:1621 pbx_substitute_variables_helper_full: 
Function result is '0'
[Jan 10 17:16:05] DEBUG[9082]: pbx.c:1621 pbx_substitute_variables_helper_full: 
Function result is 'ANSWERED'
[Jan 10 17:16:05] DEBUG[9082]: pbx.c:1621 pbx_substitute_variables_helper_full: 
Function result is 'DOCUMENTATION'
[Jan 10 17:16:05] DEBUG[9082]: pbx.c:1621 pbx_substitute_variables_helper_full: 
Function result is ''
[Jan 10 17:16:05] DEBUG[9082]: pbx.c:1621 pbx_substitute_variables_helper_full: 
Function result is '1168474565.2'
[Jan 10 17:16:05] DEBUG[9082]: pbx.c:1621 pbx_substitute_variables_helper_full: 
Function result is ''
[Jan 10 17:16:05] DEBUG[9082]: channel.c:1558 ast_hangup: Hanging up channel 
'SIP/SMEDIA-300-086da000'
[Jan 10 17:16:05] DEBUG[9082]: chan_sip.c:3233 sip_hangup: Hangup call 
SIP/SMEDIA-300-086da000, SIP callid [EMAIL PROTECTED])

Any ideas?


--
Robert Norton
SophMedia LLC Operations Manager
Cell: 480-234-4312 Office: 480-626-5449 (x300)
P.O. Box 7755 Tempe, AZ 85281
http://www.XStreamHost.com - Web Hosting
http://www.SophMedia.com - Consulting  Web Development





___
--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


[asterisk-users] festival problem using IAX (chan_iax2.c:2995 iax2_read)

2006-11-23 Thread Itamar Lavender
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 through AGI can't handle strings longer than 15 chars

2006-08-19 Thread Mario

Moises,

sorry to bother you again.

I did some wrong posting to the newsgroup and that's the reason of my 
(apparent) delay in answering to your latest question. You can now find 
the answer in the newsgroup.


Please, any idea as to the possible cause? If this is a bug (as it seems 
to me) I'd be glad to try to fix it... but, can you give me a hint to 
which possible C modules I should look? Just to understand if this is a 
problem strictly  related to Festival or both to Festival and AGI.


For your convenience, I report here the important part of my previous post:

My CONCLUSION: the error doesn't probably depend on Festival or Exec 
command. To make the error occur, I simply do this:

a) I restart server
b) I run the AGI script with whatever text (as wide as I wish) and it 
will work

c) I shorten the text... it still will work
d) I then widen again the text: now it won't work! It will work only as 
long as I shorten the text (or leave it the same length), but not if I 
widen it.


Thanks once more for your support.

Mario.


Moises Silva wrote:

One step more, enable the following in logger.conf

console = notice,warning,error,debug,verbose

Application app_festival has some interesting debug messages like:

ast_log(LOG_DEBUG, Text passed to festival server : %s\n,(char *)data);

and that shows in the console the exact test is passed to the festival 
server.


I keep looking into the code trying to find the reason of the
behaviour you describe but I havent succed so far.

Please report any feedback.

Regards

On 8/17/06, Mario [EMAIL PROTECTED] wrote:

Thanks for your help, Moises.

I did activate the AGI DEBUG as you suggested (thanks for that!).
However, I'm now only a little bit more sure that I'm passing the right
stuff to the Festival command. Following you'll see what I'm passing for
the short text (shorter than 15 chars) and for the wider text.

As you can see, both the calls seem to work, but for the 2nd I do not
hear any sound.

At this point, any idea is really welcome. Thanks for your help.

*** Short text ***

AGI Rx  ANSWER
AGI Tx  200 result=0
AGI Rx  EXEC FESTIVAL Telefono spento
-- AGI Script Executing Application: (FESTIVAL) Options: (Telefono
spento)
  == Parsing '/etc/asterisk/festival.conf': Found
AGI Tx  200 result=0
-- AGI Script test_command.py completed, returning 0
  == Auto fallthrough, channel 'SIP/1-9803' status is 'UNKNOWN'

*** Longer text ***

AGI Rx  ANSWER
AGI Tx  200 result=0
AGI Rx  EXEC FESTIVAL Telefono utente spento
-- AGI Script Executing Application: (FESTIVAL) Options: (Telefono
utente spento)
  == Parsing '/etc/asterisk/festival.conf': Found
AGI Tx  200 result=0
-- AGI Script test_command.py completed, returning 0
  == Auto fallthrough, channel 'SIP/1-67c2' status is 'UNKNOWN'



Moises Silva wrote:
 Hi Mario. Have you tried to enable AGI debug?

 CLI agi debug

 That will show what Asterisk is receiving from your script.

 Also enable all the debug messages in  the logger.conf file for the
 console

 Go and try that and post what you see here, and we may be able to help
 you

 On 8/17/06, Mario [EMAIL PROTECTED] wrote:
 I'm having a tough problem when using Festival with Asterisk through
 AGI: it seems that when I pass more than 15 chars to the Festival
 command, when from inside an AGI, no sounds (speech) at all is
 generated.

 The following (from inside the dialplan) correctly works:

   exten = 333,1,Answer()
   exten = 333,2,FESTIVAL(Telefono spento uno)
   exten = 333,3,Hangup

 But, when moved from within an AGI, the same Festival command doesn't
 work:

   EXEC FESTIVAL Telefono spento uno

 the symptom is that no text is played, although the return code from
 command is zero.

 One important note: if I shorten the text to Telefono spento 
(i.e. at

 most 15-chars wide) everything works as expected.

 I really can't figure out the reason of this weird behavior. What 
I can

 do is to exclude some possible reasons:

 1. It is not a festival-related problem since when called from the
 Dialplan everything works as expected.
 2. It is not a language-related issue, since I tried this both with
 English and Italian
 3. It is not a missing call to flush()... yes, I added a flush() 
at the

 end of my Python-based AGI call
 4. It is not a problem related to Python, since I use Python 
extensively

 with AGI

 Does anyone have a hint on what I can do to investigate or solve this
 problem? Does enyone know if this is a known bug?

 Thanks in advance,

 Mario




 ___
 --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










___
--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 through AGI can't handle strings longer than 15 chars

2006-08-19 Thread Mario

Thanks, Moises.

I'll take a look at the code following your suggestion. Then, if 
successful, I surely post back the (possible) solution on this thread.




Moises Silva wrote:

Hi Mario, Im sorry to answer so late, but i have been busy. In fact I
give a read in the code  trying to find the error. You can start
looking at source in
res/res_agi.c function handle_exec() this function receives the AGI
request of EXEC and then call internal function pbx_exec() found in
pbx.c, after that, control passes to apps/app_festival.c function
festival_exec(), so the final trace would look something like this:

handle_exec() in res/res_agi.c
pbx_exec() in pbx.c
festival_exec() in apps/app_festival.c

Good Look, if you found the problem please report back the results :)

Regards



On 8/19/06, Mario [EMAIL PROTECTED] wrote:

Moises,

sorry to bother you again.

I did some wrong posting to the newsgroup and that's the reason of my
(apparent) delay in answering to your latest question. You can now find
the answer in the newsgroup.

Please, any idea as to the possible cause? If this is a bug (as it seems
to me) I'd be glad to try to fix it... but, can you give me a hint to
which possible C modules I should look? Just to understand if this is a
problem strictly  related to Festival or both to Festival and AGI.

For your convenience, I report here the important part of my previous 
post:


My CONCLUSION: the error doesn't probably depend on Festival or Exec
command. To make the error occur, I simply do this:
a) I restart server
b) I run the AGI script with whatever text (as wide as I wish) and it
will work
c) I shorten the text... it still will work
d) I then widen again the text: now it won't work! It will work only as
long as I shorten the text (or leave it the same length), but not if I
widen it.

Thanks once more for your support.

Mario.


Moises Silva wrote:
 One step more, enable the following in logger.conf

 console = notice,warning,error,debug,verbose

 Application app_festival has some interesting debug messages like:

 ast_log(LOG_DEBUG, Text passed to festival server : %s\n,(char 
*)data);


 and that shows in the console the exact test is passed to the festival
 server.

 I keep looking into the code trying to find the reason of the
 behaviour you describe but I havent succed so far.

 Please report any feedback.

 Regards

 On 8/17/06, Mario [EMAIL PROTECTED] wrote:
 Thanks for your help, Moises.

 I did activate the AGI DEBUG as you suggested (thanks for that!).
 However, I'm now only a little bit more sure that I'm passing the 
right
 stuff to the Festival command. Following you'll see what I'm 
passing for

 the short text (shorter than 15 chars) and for the wider text.

 As you can see, both the calls seem to work, but for the 2nd I do not
 hear any sound.

 At this point, any idea is really welcome. Thanks for your help.

 *** Short text ***

 AGI Rx  ANSWER
 AGI Tx  200 result=0
 AGI Rx  EXEC FESTIVAL Telefono spento
 -- AGI Script Executing Application: (FESTIVAL) Options: 
(Telefono

 spento)
   == Parsing '/etc/asterisk/festival.conf': Found
 AGI Tx  200 result=0
 -- AGI Script test_command.py completed, returning 0
   == Auto fallthrough, channel 'SIP/1-9803' status is 'UNKNOWN'

 *** Longer text ***

 AGI Rx  ANSWER
 AGI Tx  200 result=0
 AGI Rx  EXEC FESTIVAL Telefono utente spento
 -- AGI Script Executing Application: (FESTIVAL) Options: 
(Telefono

 utente spento)
   == Parsing '/etc/asterisk/festival.conf': Found
 AGI Tx  200 result=0
 -- AGI Script test_command.py completed, returning 0
   == Auto fallthrough, channel 'SIP/1-67c2' status is 'UNKNOWN'



 Moises Silva wrote:
  Hi Mario. Have you tried to enable AGI debug?
 
  CLI agi debug
 
  That will show what Asterisk is receiving from your script.
 
  Also enable all the debug messages in  the logger.conf file for the
  console
 
  Go and try that and post what you see here, and we may be able 
to help

  you
 
  On 8/17/06, Mario [EMAIL PROTECTED] wrote:
  I'm having a tough problem when using Festival with Asterisk 
through

  AGI: it seems that when I pass more than 15 chars to the Festival
  command, when from inside an AGI, no sounds (speech) at all is
  generated.
 
  The following (from inside the dialplan) correctly works:
 
exten = 333,1,Answer()
exten = 333,2,FESTIVAL(Telefono spento uno)
exten = 333,3,Hangup
 
  But, when moved from within an AGI, the same Festival command 
doesn't

  work:
 
EXEC FESTIVAL Telefono spento uno
 
  the symptom is that no text is played, although the return code 
from

  command is zero.
 
  One important note: if I shorten the text to Telefono spento
 (i.e. at
  most 15-chars wide) everything works as expected.
 
  I really can't figure out the reason of this weird behavior. What
 I can
  do is to exclude some possible reasons:
 
  1. It is not a festival-related problem since when called from the
  Dialplan everything works as expected.
  2. It is not a 

[asterisk-users] Festival through AGI can't handle strings longer than 15 chars

2006-08-17 Thread Mario
I'm having a tough problem when using Festival with Asterisk through 
AGI: it seems that when I pass more than 15 chars to the Festival 
command, when from inside an AGI, no sounds (speech) at all is generated.


The following (from inside the dialplan) correctly works:

 exten = 333,1,Answer()
 exten = 333,2,FESTIVAL(Telefono spento uno)
 exten = 333,3,Hangup

But, when moved from within an AGI, the same Festival command doesn't work:

 EXEC FESTIVAL Telefono spento uno

the symptom is that no text is played, although the return code from 
command is zero.


One important note: if I shorten the text to Telefono spento (i.e. at 
most 15-chars wide) everything works as expected.


I really can't figure out the reason of this weird behavior. What I can 
do is to exclude some possible reasons:


1. It is not a festival-related problem since when called from the 
Dialplan everything works as expected.
2. It is not a language-related issue, since I tried this both with 
English and Italian
3. It is not a missing call to flush()... yes, I added a flush() at the 
end of my Python-based AGI call
4. It is not a problem related to Python, since I use Python extensively 
with AGI


Does anyone have a hint on what I can do to investigate or solve this 
problem? Does enyone know if this is a known bug?


Thanks in advance,

Mario




___
--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 through AGI can't handle strings longer than 15 chars

2006-08-17 Thread Moises Silva

Hi Mario. Have you tried to enable AGI debug?

CLI agi debug

That will show what Asterisk is receiving from your script.

Also enable all the debug messages in  the logger.conf file for the console

Go and try that and post what you see here, and we may be able to help you

On 8/17/06, Mario [EMAIL PROTECTED] wrote:

I'm having a tough problem when using Festival with Asterisk through
AGI: it seems that when I pass more than 15 chars to the Festival
command, when from inside an AGI, no sounds (speech) at all is generated.

The following (from inside the dialplan) correctly works:

  exten = 333,1,Answer()
  exten = 333,2,FESTIVAL(Telefono spento uno)
  exten = 333,3,Hangup

But, when moved from within an AGI, the same Festival command doesn't work:

  EXEC FESTIVAL Telefono spento uno

the symptom is that no text is played, although the return code from
command is zero.

One important note: if I shorten the text to Telefono spento (i.e. at
most 15-chars wide) everything works as expected.

I really can't figure out the reason of this weird behavior. What I can
do is to exclude some possible reasons:

1. It is not a festival-related problem since when called from the
Dialplan everything works as expected.
2. It is not a language-related issue, since I tried this both with
English and Italian
3. It is not a missing call to flush()... yes, I added a flush() at the
end of my Python-based AGI call
4. It is not a problem related to Python, since I use Python extensively
with AGI

Does anyone have a hint on what I can do to investigate or solve this
problem? Does enyone know if this is a known bug?

Thanks in advance,

Mario




___
--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




--
Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org;
___
--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 through AGI can't handle strings longer than 15 chars

2006-08-17 Thread Mario

Moises,

follow on and you'll find the exact output that I got from Asterisk once 
I raised the more detailed debug level as you suggested. I'm sorry, 
that's quite a long text, but at least I'm sure you have all the info 
available.


However, I now have SOME IMPORTANT notes to add:

1. I'm running Asterisk 1.2.9.1
2. Once I restarted the server, everything worked fine. Thus, it seems 
that the problem could be solved by just restarting the server. 
However... read on.
3. Once restarted the server I changed the text inside my Python AGI and 
the error appeared again.


My CONCLUSION: the error doesn't probably depend on Festival or Exec 
command. To make the error occur, I simply do this:

a) I restart server
b) I run the AGI script with whatever text (as wide as I wish) and it 
will work

c) I shorten the text... it still will work
d) I then widen again the text: now it won't work! It will work only as 
long as I shorten the text (or leave it the same length), but not if I 
widen it.


I suspect that there is some malloc()ed area (I can't  imagine in which 
C module) that gets successfully narrowed based on the AGI passed text, 
but never gets enlarged unless the server restarts... Does it seems 
reasonable? Hope it helps.


Note: this is my 2nd reply. Since I didn't see my 1st reply in the 
newsgroup, I'm now omitting the console log since it is probably useless 
once I understood the cause of the problem (what I'm missing is how to 
fix it). I suspect that because there was too much text, my whole reply 
has been discarded.



Moises Silva wrote:

One step more, enable the following in logger.conf

console = notice,warning,error,debug,verbose

Application app_festival has some interesting debug messages like:

ast_log(LOG_DEBUG, Text passed to festival server : %s\n,(char *)data);

and that shows in the console the exact test is passed to the festival 
server.


I keep looking into the code trying to find the reason of the
behaviour you describe but I havent succed so far.

Please report any feedback.

Regards

On 8/17/06, Mario [EMAIL PROTECTED] wrote:

Thanks for your help, Moises.

I did activate the AGI DEBUG as you suggested (thanks for that!).
However, I'm now only a little bit more sure that I'm passing the right
stuff to the Festival command. Following you'll see what I'm passing for
the short text (shorter than 15 chars) and for the wider text.

As you can see, both the calls seem to work, but for the 2nd I do not
hear any sound.

At this point, any idea is really welcome. Thanks for your help.

*** Short text ***

AGI Rx  ANSWER
AGI Tx  200 result=0
AGI Rx  EXEC FESTIVAL Telefono spento
-- AGI Script Executing Application: (FESTIVAL) Options: (Telefono
spento)
  == Parsing '/etc/asterisk/festival.conf': Found
AGI Tx  200 result=0
-- AGI Script test_command.py completed, returning 0
  == Auto fallthrough, channel 'SIP/1-9803' status is 'UNKNOWN'

*** Longer text ***

AGI Rx  ANSWER
AGI Tx  200 result=0
AGI Rx  EXEC FESTIVAL Telefono utente spento
-- AGI Script Executing Application: (FESTIVAL) Options: (Telefono
utente spento)
  == Parsing '/etc/asterisk/festival.conf': Found
AGI Tx  200 result=0
-- AGI Script test_command.py completed, returning 0
  == Auto fallthrough, channel 'SIP/1-67c2' status is 'UNKNOWN'



Moises Silva wrote:
 Hi Mario. Have you tried to enable AGI debug?

 CLI agi debug

 That will show what Asterisk is receiving from your script.

 Also enable all the debug messages in  the logger.conf file for the
 console

 Go and try that and post what you see here, and we may be able to help
 you

 On 8/17/06, Mario [EMAIL PROTECTED] wrote:
 I'm having a tough problem when using Festival with Asterisk through
 AGI: it seems that when I pass more than 15 chars to the Festival
 command, when from inside an AGI, no sounds (speech) at all is
 generated.

 The following (from inside the dialplan) correctly works:

   exten = 333,1,Answer()
   exten = 333,2,FESTIVAL(Telefono spento uno)
   exten = 333,3,Hangup

 But, when moved from within an AGI, the same Festival command doesn't
 work:

   EXEC FESTIVAL Telefono spento uno

 the symptom is that no text is played, although the return code from
 command is zero.

 One important note: if I shorten the text to Telefono spento 
(i.e. at

 most 15-chars wide) everything works as expected.

 I really can't figure out the reason of this weird behavior. What 
I can

 do is to exclude some possible reasons:

 1. It is not a festival-related problem since when called from the
 Dialplan everything works as expected.
 2. It is not a language-related issue, since I tried this both with
 English and Italian
 3. It is not a missing call to flush()... yes, I added a flush() 
at the

 end of my Python-based AGI call
 4. It is not a problem related to Python, since I use Python 
extensively

 with AGI

 Does anyone have a hint on what I can do to investigate or solve this
 problem? Does enyone know if this is a known bug?

 Thanks in 

Re: [asterisk-users] Festival Not Working

2006-08-08 Thread Zeeshan Zakaria
There is a good section on Festival in the book 'Asterisk - The Future of Telecommunications'. That might be helpful. I myself use Flite voice synthesis engine which is apparently better. Instructions on using it you can get on 
www.nerdvittles.com.
___
--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


[asterisk-users] Festival Not Working

2006-08-04 Thread Jon Scottorn




Hi,

 I have been fighting with this for days now. I can't seem to get festival to work with asterisk. I have followed the wiki on setting up asterisk to work with festival but no worky. I can run l the festival client and that works just fine but when I try to do it from asterisk I get the same problmes that are on the wiki. Here is how my setup is.

Running Debian 3.1
asterisk 1.2.9
festival 1.95

I am using the default /etc/asterisk/festival.conf
I have added in the specified changes into festival.scm

Here is what shows in my festival-server.log file

server Fri Aug 4 11:20:13 2006 : Festival server started on port 1314
client(1) Fri Aug 4 11:20:17 2006 : accepted from asterisk
client(1) Fri Aug 4 11:20:17 2006 : disconnected
client(2) Fri Aug 4 11:23:02 2006 : accepted from asterisk
client(2) Fri Aug 4 11:23:03 2006 : disconnected
client(3) Fri Aug 4 11:25:06 2006 : accepted from asterisk
client(3) Fri Aug 4 11:25:06 2006 : disconnected
server Fri Aug 4 11:28:13 2006 : Festival server started on port 1314
client(1) Fri Aug 4 11:28:23 2006 : accepted from asterisk
client(1) Fri Aug 4 11:28:23 2006 : disconnected

Here is what shows up in the asterisk logs:

Aug 4 11:28:23 DEBUG[16915] chan_sip.c: Setting NAT on RTP to 524288
Aug 4 11:28:23 DEBUG[16915] chan_sip.c: Stopping retransmission on '[EMAIL PROTECTED]' of Response 2257: Match Found
Aug 4 11:28:23 DEBUG[16915] chan_sip.c: Setting NAT on RTP to 524288
Aug 4 11:28:23 DEBUG[16915] chan_sip.c: Checking SIP call limits for device 101
Aug 4 11:28:23 DEBUG[16915] chan_sip.c: build_route: Contact hop: sip:[EMAIL PROTECTED]
Aug 4 11:28:23 VERBOSE[16989] logger.c: -- Executing Answer(SIP/101-081b13a0, ) in new stack
Aug 4 11:28:23 DEBUG[16892] channel.c: Avoiding initial deadlock for 'SIP/101-081b13a0'
Aug 4 11:28:23 VERBOSE[16989] logger.c: -- Executing Festival(SIP/101-081b13a0, Hello how are you today) in new stack
Aug 4 11:28:23 VERBOSE[16989] logger.c: == Parsing '/etc/asterisk/festival.conf': Aug 4 11:28:23 VERBOSE[16989] logger.c: == Parsing '/etc/asterisk/festival.conf': Found
Aug 4 11:28:23 DEBUG[16989] app_festival.c: Text passed to festival server : Hello how are you today
Aug 4 11:28:23 DEBUG[16989] app_festival.c: Cache file exists, strln=23, strlen=23
Aug 4 11:28:23 DEBUG[16989] app_festival.c: Size OK
Aug 4 11:28:23 DEBUG[16989] app_festival.c: Reading from cache...
Aug 4 11:28:23 DEBUG[16989] app_festival.c: Passing data to channel...
Aug 4 11:28:23 DEBUG[16915] chan_sip.c: Stopping retransmission on '[EMAIL PROTECTED]' of Response 2258: Match Found
Aug 4 11:28:38 DEBUG[16916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM iax_buddies WHERE ipaddr = '209.33.206.23' AND port = '4569'
Aug 4 11:28:38 DEBUG[16916] res_config_mysql.c: MySQL RealTime: Everything is fine.
Aug 4 11:29:06 DEBUG[16915] chan_sip.c: Stopping retransmission on '[EMAIL PROTECTED]' of Request 102: Match Found
Aug 4 11:29:28 DEBUG[16916] res_config_mysql.c: MySQL RealTime: Retrieve SQL: SELECT * FROM iax_buddies WHERE ipaddr = '209.33.206.23' AND port = '4569'
Aug 4 11:29:28 DEBUG[16916] res_config_mysql.c: MySQL RealTime: Everything is fine.

The call stays active but nothing is played back from asterisk.

Can anyone help me see what I am missing?

Thanks in advance for any help.




Jon Scottorn
Systems Administrator
The Possibility Forge, Inc.
http://www.possibilityforge.com
435.635.0591 x.1004





___
--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 RPM?

2006-06-14 Thread Mimmus
festival.i386   1.4.2-25 

Too older.

And does anyone know if I can add Festival voices to Flite (slightly
off-topic... sorry...)?

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Colin Anderson
 Sent: Tuesday, June 13, 2006 5:56 PM
 To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
 Subject: RE: [Asterisk-Users] Festival RPM?
 
 um, yum install festival worked for me. 
 
 -Original Message-
 From: Mimmus [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, June 13, 2006 9:47 AM
 To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
 Subject: [Asterisk-Users] Festival RPM?
 
 
 Hi,
 is there a RHEL4 RPM for the Festival text-to-speech system?
 
 Thanks
 --
 Domenico Viggiani
 
 ___
 --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
 ___
 --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
 

___
--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


[Asterisk-Users] Festival RPM?

2006-06-13 Thread Mimmus
Hi,
is there a RHEL4 RPM for the Festival text-to-speech system?

Thanks
-- 
Domenico Viggiani

___
--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 RPM?

2006-06-13 Thread Colin Anderson
um, yum install festival worked for me. 

-Original Message-
From: Mimmus [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 13, 2006 9:47 AM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: [Asterisk-Users] Festival RPM?


Hi,
is there a RHEL4 RPM for the Festival text-to-speech system?

Thanks
-- 
Domenico Viggiani

___
--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
___
--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 , Cannot hear the words after ,

2006-05-05 Thread Giorgio Incantalupo

Hi John,
are using enclosing in quotation mark your statement? (festival('text to 
speech') )


Giorgio



John Joseph wrote:
Hi 
  I am trying to use festivall with asterisk , I am
using RHEL4 , asterisk1.2.7.1 and festival-1.95-beta 
, I am able to hear the voice form the text file ,

when I dial to the extension, but when I  have ,  in
my text file , it plays only the text upto ,  
  and in the CLI  , the , is shown as |

  I had cut and pasted CLI messages for
reference 


-- Executing Answer(SIP/326-78c7, ) in new
stack
-- Executing Festival(SIP/326-78c7, Hello |
This is Joseph | How are  U  ) in new stack
  == Parsing '/etc/asterisk/festival.conf': Found
-- Executing Hangup(SIP/326-78c7, ) in new
stack
  == Spawn extension (from-internal, 555, 3) exited
non-zero on 'SIP/326-78c7'
-- Executing Macro(SIP/326-78c7, hangupcall)
in new stack

 I had followed the link 
http://www.voip-info.org/wiki/view/Asterisk+festival+installation

for the installation
 		Thanks 
 			Joseph John 



Send instant messages to your online friends http://uk.messenger.yahoo.com 
___

--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

  


___
--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


[Asterisk-Users] Festival , Cannot hear the words after ,

2006-04-25 Thread John Joseph
Hi 
  I am trying to use festivall with asterisk , I am
using RHEL4 , asterisk1.2.7.1 and festival-1.95-beta 
, I am able to hear the voice form the text file ,
when I dial to the extension, but when I  have “,”  in
my text file , it plays only the text upto “,”  
  and in the CLI  , the “,” is shown as “|”
  I had cut and pasted CLI messages for
reference 

-- Executing Answer(SIP/326-78c7, ) in new
stack
-- Executing Festival(SIP/326-78c7, Hello |
This is Joseph | How are  U  ) in new stack
  == Parsing '/etc/asterisk/festival.conf': Found
-- Executing Hangup(SIP/326-78c7, ) in new
stack
  == Spawn extension (from-internal, 555, 3) exited
non-zero on 'SIP/326-78c7'
-- Executing Macro(SIP/326-78c7, hangupcall)
in new stack

 I had followed the link 
http://www.voip-info.org/wiki/view/Asterisk+festival+installation
for the installation
Thanks 
Joseph John 


Send instant messages to your online friends http://uk.messenger.yahoo.com 
___
--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


[Asterisk-Users] Festival tts

2006-03-09 Thread Steven

Hi I have installed Festival on the same box as asterisk and followed the
instructions to integrate it with asterisk.
Festival seems to work fine on its own performing text to speech from the
command line or via a file.
Asterisk answers the call but there is no speech. I can see no errors in the
Festival log file 

The asterisk console shows
--Executing Answer(SIP/81801-c091, ) in a  new stack
--Executing Festival(SIP/81801-c091, mary had a little lamb) in a  new
stack
==Parsing '/etc/asterisk/festival.conf':Found
there is nothing else after this

If I start festival as festival --server I can see the output 

Server 11:39:14 : Festival server started on port 1314
Client(1) 11:39:21 : accepted from localhost
Client(1) 11:39:21 : disconnected

Initially I added the code to festival.scm for * but later patched the
Festival code and re-complied it.

For every test I have restarted * after Festival

Any help appreciated

Thanks
Steven

Steven Jack
Videoconferencing Manager
University of Glasgow
Computing Service
Glasgow G12 8QQ
UK
Tel +44(0)1413303828 Fax +44(0)1413303820
Email: [EMAIL PROTECTED]



___
--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 tts

2006-03-09 Thread Antoine Megalla

I tried doing the same things as you to make Festival
work with Asterisk, 
but I had a small problem with Festival only prducing
the sound if the text 
was tess than 14 characters 

So I used the other approach and used the text2wave
utility instead (I saw 
on some postings that people recommended it) and it
wrols like a charm now.

Here is the complete macro I used for TTS:

[macro-sandtts]
exten = s,1,Set(FNAME=${EPOCH})
exten = s,2,System(echo ${ARG1} |
/usr/bin/text2wave -scale 1.5 -F 
000  -o /tmp/${FNAME}.wav)
exten = s,3,Playback(/tmp/${FNAME})
exten = s,4,System(rm /tmp/${FNAME}.wav)

First we creat ann (almost) unique file name
Next we call the text2wave utility with correct
switches and passing the 
text we need to pronounce as input to the utility.
then we playback the generated wave file.
Finally we remove the generated wave file.

Just call the macro with the text you want to say and
it will work for you.


 Message: 28
 Date: Thu, 9 Mar 2006 11:43:56 -
 From: Steven [EMAIL PROTECTED]
 Subject: [Asterisk-Users] Festival tts
 To: asterisk-users@lists.digium.com
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=us-ascii


 Hi I have installed Festival on the same box as
asterisk and followed the
 instructions to integrate it with asterisk.
 Festival seems to work fine on its own performing
text to speech from the
 command line or via a file.
 Asterisk answers the call but there is no speech. I
can see no errors in 
 the
 Festival log file

 The asterisk console shows
 --Executing Answer(SIP/81801-c091, ) in a  new
stack
 --Executing Festival(SIP/81801-c091, mary had a
little lamb) in a  new
 stack
 ==Parsing '/etc/asterisk/festival.conf':Found
 there is nothing else after this

 If I start festival as festival --server I can see
the output

 Server 11:39:14 : Festival server started on port
1314
 Client(1) 11:39:21 : accepted from localhost
 Client(1) 11:39:21 : disconnected

 Initially I added the code to festival.scm for * but
later patched the
 Festival code and re-complied it.

 For every test I have restarted * after Festival

 Any help appreciated

 Thanks
 Steven

 Steven Jack
 Videoconferencing Manager
 University of Glasgow
 Computing Service
 Glasgow G12 8QQ
 UK
 Tel +44(0)1413303828 Fax +44(0)1413303820
 Email: [EMAIL PROTECTED]



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
--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 tts

2006-03-09 Thread Adam Robins
Can someone tell me what I'm doing wrong here?  I'm trying this from the
command prompt.

# echo Hello World | /usr/bin/text2wave -scale 1.5 -F 000 -o
/tmp/1141915933.wav
rateconv: failed to convert from 16000 to 0
doing v
# 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Antoine
Megalla
Sent: Thursday, March 09, 2006 8:27 AM
To: asterisk-users@lists.digium.com
Subject: Re: [Asterisk-Users] Festival tts


I tried doing the same things as you to make Festival work with
Asterisk, but I had a small problem with Festival only prducing the
sound if the text was tess than 14 characters 

So I used the other approach and used the text2wave utility instead (I
saw on some postings that people recommended it) and it wrols like a
charm now.

Here is the complete macro I used for TTS:

[macro-sandtts]
exten = s,1,Set(FNAME=${EPOCH})
exten = s,2,System(echo ${ARG1} |
/usr/bin/text2wave -scale 1.5 -F
000  -o /tmp/${FNAME}.wav)
exten = s,3,Playback(/tmp/${FNAME})
exten = s,4,System(rm /tmp/${FNAME}.wav)

First we creat ann (almost) unique file name Next we call the text2wave
utility with correct switches and passing the text we need to pronounce
as input to the utility.
then we playback the generated wave file.
Finally we remove the generated wave file.

Just call the macro with the text you want to say and it will work for
you.


 Message: 28
 Date: Thu, 9 Mar 2006 11:43:56 -
 From: Steven [EMAIL PROTECTED]
 Subject: [Asterisk-Users] Festival tts
 To: asterisk-users@lists.digium.com
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=us-ascii


 Hi I have installed Festival on the same box as
asterisk and followed the
 instructions to integrate it with asterisk.
 Festival seems to work fine on its own performing
text to speech from the
 command line or via a file.
 Asterisk answers the call but there is no speech. I
can see no errors in 
 the
 Festival log file

 The asterisk console shows
 --Executing Answer(SIP/81801-c091, ) in a  new
stack
 --Executing Festival(SIP/81801-c091, mary had a
little lamb) in a  new
 stack
 ==Parsing '/etc/asterisk/festival.conf':Found
 there is nothing else after this

 If I start festival as festival --server I can see
the output

 Server 11:39:14 : Festival server started on port
1314
 Client(1) 11:39:21 : accepted from localhost
 Client(1) 11:39:21 : disconnected

 Initially I added the code to festival.scm for * but
later patched the
 Festival code and re-complied it.

 For every test I have restarted * after Festival

 Any help appreciated

 Thanks
 Steven

 Steven Jack
 Videoconferencing Manager
 University of Glasgow
 Computing Service
 Glasgow G12 8QQ
 UK
 Tel +44(0)1413303828 Fax +44(0)1413303820
 Email: [EMAIL PROTECTED]



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com ___
--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

The contents of this email message and any attachments are confidential and are 
intended solely for addressee. The information may also be legally privileged. 
This transmission is sent in trust, for the sole purpose of delivery to the 
intended recipient. If you have received this transmission in error, any use, 
reproduction or dissemination of this transmission is strictly prohibited. If 
you are not the intended recipient, please immediately notify the sender by 
reply email and delete this message and its attachments, if any.


___
--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 tts

2006-03-09 Thread Robert La Ferla

Steven [EMAIL PROTECTED] wrote:


Hi I have installed Festival on the same box as asterisk and followed the
instructions to integrate it with asterisk.
Festival seems to work fine on its own performing text to speech from the
command line or via a file.
Asterisk answers the call but there is no speech. I can see no errors in the
Festival log file 

I asked the same question to this list a while back but got no replies.  What 
OS are you using?  How did you install Festival?  What version of *?


___
--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 tts

2006-03-09 Thread Vladimir Montealegre

hey, how i do to do that with php agi's?



Este Mensaje Esta Hecho 100% con Electrones Reciclados
- Original Message - 
From: Adam Robins [EMAIL PROTECTED]
To: Asterisk Users Mailing List - Non-Commercial Discussion 
asterisk-users@lists.digium.com

Sent: Thursday, March 09, 2006 10:04 AM
Subject: RE: [Asterisk-Users] Festival tts


Can someone tell me what I'm doing wrong here?  I'm trying this from the
command prompt.

# echo Hello World | /usr/bin/text2wave -scale 1.5 -F 000 -o
/tmp/1141915933.wav
rateconv: failed to convert from 16000 to 0
doing v
#

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Antoine
Megalla
Sent: Thursday, March 09, 2006 8:27 AM
To: asterisk-users@lists.digium.com
Subject: Re: [Asterisk-Users] Festival tts


I tried doing the same things as you to make Festival work with
Asterisk, but I had a small problem with Festival only prducing the
sound if the text was tess than 14 characters 

So I used the other approach and used the text2wave utility instead (I
saw on some postings that people recommended it) and it wrols like a
charm now.

Here is the complete macro I used for TTS:

[macro-sandtts]
exten = s,1,Set(FNAME=${EPOCH})
exten = s,2,System(echo ${ARG1} |
/usr/bin/text2wave -scale 1.5 -F
000  -o /tmp/${FNAME}.wav)
exten = s,3,Playback(/tmp/${FNAME})
exten = s,4,System(rm /tmp/${FNAME}.wav)

First we creat ann (almost) unique file name Next we call the text2wave
utility with correct switches and passing the text we need to pronounce
as input to the utility.
then we playback the generated wave file.
Finally we remove the generated wave file.

Just call the macro with the text you want to say and it will work for
you.



Message: 28
Date: Thu, 9 Mar 2006 11:43:56 -
From: Steven [EMAIL PROTECTED]
Subject: [Asterisk-Users] Festival tts
To: asterisk-users@lists.digium.com
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii


Hi I have installed Festival on the same box as

asterisk and followed the

instructions to integrate it with asterisk.
Festival seems to work fine on its own performing

text to speech from the

command line or via a file.
Asterisk answers the call but there is no speech. I

can see no errors in

the
Festival log file

The asterisk console shows
--Executing Answer(SIP/81801-c091, ) in a  new

stack

--Executing Festival(SIP/81801-c091, mary had a

little lamb) in a  new

stack
==Parsing '/etc/asterisk/festival.conf':Found
there is nothing else after this

If I start festival as festival --server I can see

the output


Server 11:39:14 : Festival server started on port

1314

Client(1) 11:39:21 : accepted from localhost
Client(1) 11:39:21 : disconnected

Initially I added the code to festival.scm for * but

later patched the

Festival code and re-complied it.

For every test I have restarted * after Festival

Any help appreciated

Thanks
Steven

Steven Jack
Videoconferencing Manager
University of Glasgow
Computing Service
Glasgow G12 8QQ
UK
Tel +44(0)1413303828 Fax +44(0)1413303820
Email: [EMAIL PROTECTED]




__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com ___
--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

The contents of this email message and any attachments are confidential and 
are intended solely for addressee. The information may also be legally 
privileged. This transmission is sent in trust, for the sole purpose of 
delivery to the intended recipient. If you have received this transmission 
in error, any use, reproduction or dissemination of this transmission is 
strictly prohibited. If you are not the intended recipient, please 
immediately notify the sender by reply email and delete this message and its 
attachments, if any.



___
--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

__
Visita http://www.tutopia.com y comienza a navegar más rápido en Internet. 
Tutopia es Internet para todos.
___
--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 tts

2006-03-09 Thread Adam Robins
No, I did not install Festival, but I saw that the text2wave module is
in the usr/bin directory.

I'm running RH Ent 2.4 kernel

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert La
Ferla
Sent: Thursday, March 09, 2006 10:17 AM
To: asterisk-users@lists.digium.com
Subject: Re: [Asterisk-Users] Festival tts

Steven [EMAIL PROTECTED] wrote:

 Hi I have installed Festival on the same box as asterisk and followed 
 the instructions to integrate it with asterisk.
 Festival seems to work fine on its own performing text to speech from 
 the command line or via a file.
 Asterisk answers the call but there is no speech. I can see no errors 
 in the Festival log file
I asked the same question to this list a while back but got no replies.
What OS are you using?  How did you install Festival?  What version of
*?


___
--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

The contents of this email message and any attachments are confidential and are 
intended solely for addressee. The information may also be legally privileged. 
This transmission is sent in trust, for the sole purpose of delivery to the 
intended recipient. If you have received this transmission in error, any use, 
reproduction or dissemination of this transmission is strictly prohibited. If 
you are not the intended recipient, please immediately notify the sender by 
reply email and delete this message and its attachments, if any.


___
--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 tts

2006-03-09 Thread Rusty Dekema
On 3/9/06, Adam Robins [EMAIL PROTECTED] wrote:
 Can someone tell me what I'm doing wrong here?  I'm trying this from the
 command prompt.

 # echo Hello World | /usr/bin/text2wave -scale 1.5 -F 000 -o
 /tmp/1141915933.wav
 rateconv: failed to convert from 16000 to 0
 doing v
 #


I think your problem is that you are using -F 000 when you should be
using -F 8000 (8KHz, not 0KHz). Give that a try and I bet it will
work.

-Rusty
___
--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 tts

2006-03-09 Thread Adam Robins
I figured it out. It should read:

# echo Hello World | /usr/bin/text2wave -scale 1.5 -F 8000 -o
/tmp/1141915933.wav

The 8 was missing in front of the 000'.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adam
Robins
Sent: Thursday, March 09, 2006 12:04 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: RE: [Asterisk-Users] Festival tts

No, I did not install Festival, but I saw that the text2wave module is
in the usr/bin directory.

I'm running RH Ent 2.4 kernel

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert La
Ferla
Sent: Thursday, March 09, 2006 10:17 AM
To: asterisk-users@lists.digium.com
Subject: Re: [Asterisk-Users] Festival tts

Steven [EMAIL PROTECTED] wrote:

 Hi I have installed Festival on the same box as asterisk and followed 
 the instructions to integrate it with asterisk.
 Festival seems to work fine on its own performing text to speech from 
 the command line or via a file.
 Asterisk answers the call but there is no speech. I can see no errors 
 in the Festival log file
I asked the same question to this list a while back but got no replies.
What OS are you using?  How did you install Festival?  What version of
*?


___
--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

The contents of this email message and any attachments are confidential
and are intended solely for addressee. The information may also be
legally privileged. This transmission is sent in trust, for the sole
purpose of delivery to the intended recipient. If you have received this
transmission in error, any use, reproduction or dissemination of this
transmission is strictly prohibited. If you are not the intended
recipient, please immediately notify the sender by reply email and
delete this message and its attachments, if any.


___
--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
___
--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 and Asterisk - different voices?

2006-02-17 Thread Philip Edelbrock


Michael Collins wrote:
Just curious to know if anyone uses Festival with * and whether or not 
you’ve got a different voice than the default.  I’m looking at doing a 
commercial application but my boss doesn’t want to shell out the $ 
before we do some real world testing of * and Festival.  Specifically, 
I’m looking for a female voice, preferably US English.




You can change the voice by editing the asterisk function.  I think you 
want 'voice_cmu_us_slt_arctic_hts':


;;; Command for Asterisk begin
(define (tts_textasterisk string mode)
(tts_textasterisk STRING MODE)
  Apply tts to STRING.  This function is specifically designed for
  use in server mode so a single function call may synthesize the string.
  This function name may be added to the server safe functions.
; different voices, uncomment the one you want:
;(voice_cmu_us_awb_arctic_hts)
;(voice_cmu_us_bdl_arctic_hts)
;(voice_cmu_us_jmk_arctic_hts)
(voice_cmu_us_slt_arctic_hts)
;uk voices
;(voice_kal_diphone)
;(voice_ked_diphone)
  (utt.send.wave.client (utt.wave.resample (utt.wave.rescale 
(utt.synth

(eval (list 'Utterance 'Text string))) 5) 8000)))
;;; Command for Asterisk end
___
--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


[Asterisk-Users] Festival and Asterisk - different voices? = SOLVED!

2006-02-17 Thread Michael Collins
FYI,

I found a workaround with this.  Festival w/ [EMAIL PROTECTED] comes with 4 
voices.
Here's a snippet from the siteinit.scm file:

;(set! voice_default 'voice_cmu_us_bdl_arctic_hts)
(set! voice_default 'voice_cmu_us_slt_arctic_hts)
;(set! voice_default 'voice_cmu_us_jmk_arctic_hts)
;(set! voice_default 'voice_cmu_us_awb_arctic_hts)


The default is to have the first line uncommented and the rest commented
out.  I changed that to have the cmu_us_slt_arctic_hts voice as the
default.  Now when Asterisk (or anything else) calls festival, it uses
the female voice.  If you install or create other voices in festival
then you can specify the default voice here in siteinit.scm.

-MC

P.S. - Special thanks to Philip Edelbrock for allowing me to ask a
hundred questions about festival!
___
--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


[Asterisk-Users] Festival and Asterisk - different voices?

2006-02-16 Thread Michael Collins








Just curious to know if anyone uses Festival with * and
whether or not youve got a different voice than the default. Im
looking at doing a commercial application but my boss doesnt want to
shell out the $ before we do some real world testing of * and Festival. Specifically,
Im looking for a female voice, preferably US English.



Any suggestions?



Thanks,

MC






___
--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-script.pl... howto change language?

2006-02-09 Thread kevin ling

FYI, 

http://www.cepstral.com/  

You can download the english and spanish voice files for test first. And
modify the festival-script.pl to using cepstral swift program.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David Otero
Sent: Thursday, January 19, 2006 8:58 AM
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] festival-script.pl... howto change language?

excuse for to find a desperate solution... but i'm boried to spent hours... 
;)
not in asterisk !!! ;)

i use the festial-script.pl of Donny Kavanagh... but i want to change the
language that festival uses, depending on a variable for the callerid.

English/Spanish

How i can tell the script the correct voice that festival needs to use?¿
like --language spanish --language english ...in normal cmd


Can you help me?
Realy thanks

_
Acepta el reto MSN Premium: Correos más divertidos con fotos y textos
increíbles en MSN Premium. Descárgalo y pruébalo 2 meses gratis. 
http://join.msn.com?XAPID=1697DI=1055HL=Footer_mailsenviados_correosmasdiv
ertidos

___
--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


___
--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


[Asterisk-Users] festival-script.pl... howto change language?

2006-01-18 Thread David Otero
excuse for to find a desperate solution... but i'm boried to spent hours... 
;)

not in asterisk !!! ;)

i use the festial-script.pl of Donny Kavanagh... but i want to change the
language that festival uses, depending on a variable for the callerid.

English/Spanish

How i can tell the script the correct voice that festival needs to use?¿
like --language spanish --language english ...in normal cmd


Can you help me?
Realy thanks

_
Acepta el reto MSN Premium: Correos más divertidos con fotos y textos 
increíbles en MSN Premium. Descárgalo y pruébalo 2 meses gratis. 
http://join.msn.com?XAPID=1697DI=1055HL=Footer_mailsenviados_correosmasdivertidos


___
--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


[Asterisk-Users] Festival issues

2006-01-02 Thread Andrew Nowrot
Hi,I'm trying to set up asterisk 1,2 with Festival and everything works fine until I  install additional languages. When I dial appropriate extension I get something like this:Jan 2 10:43:06 WARNING[836]: app_festival.c:484 festival_exec: Festival returned LP : cstr_pl_em_diphone
Does anyone know what to do?I checked the app_festival.c. What does  Festival returned LP /* receive an s-expr */ mean?CheersAndrew
___
--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


[Asterisk-Users] Festival clicks instead of sound and disconnects.

2006-01-02 Thread Robert La Ferla
When I dial a festival extension (1222), all I hear is a series of fast 
clicks and then it hangups.  I do not have a sound card installed but I 
would think I don't need one.  Is a sound card necessary?  Should I use 
a script instead of the scheme code?  Can someone who has this working 
send me their festival configuration?


Thanks!

CONFIG INFO:

I have festival 1.95 installed on Fedora Core 4.

% rpm -qa | grep fest
festival-1.95-3

% cat festival.conf
[general]
host=localhost
port=1314
usecache=yes
cachedir=/var/lib/asterisk/festivalcache/
festivalcommand=(tts_textasterisk %s 'file)(quit)\n

I added this to the festival.scm:

;;; Command for Asterisk begin
(define (tts_textasterisk string mode)
  (tts_textasterisk STRING MODE)
Apply tts to STRING.  This function is specifically designed for
use in server mode so a single function call may synthesize the string.
This function name may be added to the server safe functions.
(utt.send.wave.client (utt.wave.resample (utt.wave.rescale (utt.synth 
  (eval (list 'Utterance 'Text string))) 5) 8000)))

;;; Command for Asterisk end

I start the festival server BEFORE Asterisk on the same server:

% festival_server -p 1314 -l /tmp 

I added this test extension:

; testing festival (text-to-speech app)
exten = 1222,1,Answer()
exten = 1222,n,Wait(1)
exten = 1222,n,Festival(mary had a little lamb)  ; do NOT use quotes 
around the string! if you use commas, you will have to escape them with 
a \ (backslash).

exten = 1222,n,Hangup()

When I dial 1222, all I hear is a click and then hangup.

% festival --server /etc/myfestconfig
serverMon Jan  2 15:27:37 2006 : Festival server started on port 1314
client(1) Mon Jan  2 15:27:51 2006 : accepted from localhost
client(1) Mon Jan  2 15:27:51 2006 : disconnected
___
--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 clicks instead of sound and disconnects.

2006-01-02 Thread Robert La Ferla
Let me add that text2wave works fine.  Something is wrong with the 
Asterisk = Festival server communications.  Ideas?


___
--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


[Asterisk-Users] Festival Sound Quality

2005-11-07 Thread Marcus Deluigi \(intern\)

Hi!

I installed Asterisk and Festival on a Intel Pentium 4 CPU 1.70GHz and
500 MB Ram.
Whenever Asterisk calls the Festival(..) Application, it seems that a
lot of UDP packets get lost or are corrupt (although the festival server
is running on the same machine). 
(ast_rtp_read:  RTP: Received packet with bad UDP checksum). 
The resulting sound quality is really poor.
Did anyone encounter the same problem and knows a workaround for it?

I tried to pre-recording the Festival-Text and to do just a simple
playback. Unfortunately, the Asterisk-Text itself is clicky and noise. A
web site tells me, I can get good results if I use a multiband EQ to
filter out the undesired freqs.
Did anyone do this before, so that he can recommend me a program and the
freqs?
(a simple command-line instruction for sox or audacity 'filter -f blah
in out' would be great... ).

Greetings,
Marcus

 
___
--Bandwidth and Colocation sponsored by Easynews.com --

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() works fine when I call from PSTN and not when I call from XLite... What's going on?

2005-10-25 Thread Leo Burd

Hello there,

For some reason, Festival() works fine when I call from PSTN (via an IAX 
connection that I've got from Voice Pulse), but does not produce any 
sound when I call from my X-Lite SIP phone.  However, if I use text2wave 
instead of Festival(), both my PSTN and my X-Lite connections seem to 
work fine.  Does anyone know what is going on?


Note that the Festival server is being called in both cases without any 
noticeable problems.


Thanks in advance for any lead,

Leo

___
--Bandwidth and Colocation sponsored by Easynews.com --

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 error

2005-08-18 Thread Innocent Evil
Hello,

I have installed festival (the rpm package came with fc4).
But getting this:
client(1) : rejected from myserver not in access list
whenever I try to access it from asterisk .

I found in documentation:
If you see a message such as:
 client(1) : rejected from myserver.mydomain.com not in access list
then edit the festival/bin/festival_server startup script to include that
FQDM in the line with localhost.*.

but I dont see any file named 'festival_server' in my fc4 box.

How can I get arround this issue?

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


RE: [Asterisk-Users] Festival error

2005-08-18 Thread Innocent Evil
Sorry, the file I am talking about is in right place !!
but not sure what to add in festival_server script.

Thanks,




 Hello,

 I have installed festival (the rpm package came with fc4).
 But getting this:
 client(1) : rejected from myserver not in access list
 whenever I try to access it from asterisk .

 I found in documentation:
 If you see a message such as:
  client(1) : rejected from myserver.mydomain.com not in access list
 then edit the festival/bin/festival_server startup script to include that
 FQDM in the line with localhost.*.

 but I dont see any file named 'festival_server' in my fc4 box.

 How can I get arround this issue?

 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


Re: [Asterisk-Users] Festival error

2005-08-18 Thread Michael Welter

festival_server.scm -- should be in /usr/share/festival

grep for '(localhost) and replace with nil (don't use double quotes).



Innocent Evil wrote:

Hello,

I have installed festival (the rpm package came with fc4).
But getting this:
client(1) : rejected from myserver not in access list
whenever I try to access it from asterisk .

I found in documentation:
If you see a message such as:
 client(1) : rejected from myserver.mydomain.com not in access list
then edit the festival/bin/festival_server startup script to include that
FQDM in the line with localhost.*.

but I dont see any file named 'festival_server' in my fc4 box.

How can I get arround this issue?

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


Re: [Asterisk-Users] Festival error

2005-08-18 Thread Innocent Evil
 From: [EMAIL PROTECTED]
 Sent: Thu, 18 Aug 2005 08:23:45 -0600
 To: asterisk-users@lists.digium.com
 Subject: Re: [Asterisk-Users] Festival error

 festival_server.scm -- should be in /usr/share/festival

 grep for '(localhost) and replace with nil (don't use double quotes).


Isn't this change going to make my festival server accept connect from
anybody?
If it is, I dont want to do that.
I just want to add my asterisk sever to festival's client list.

Thanks,




 Innocent Evil wrote:
  Hello,
 
  I have installed festival (the rpm package came with fc4).
  But getting this:
  client(1) : rejected from myserver not in access list
  whenever I try to access it from asterisk .
 
  I found in documentation:
  If you see a message such as:
   client(1) : rejected from myserver.mydomain.com not in access list
  then edit the festival/bin/festival_server startup script to include
 that
  FQDM in the line with localhost.*.
 
  but I dont see any file named 'festival_server' in my fc4 box.
 
  How can I get arround this issue?
 
  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 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 sounds too wired !!

2005-08-18 Thread Innocent Evil
Hello,

I was just able to connect to my festival server.. but the voice generated
by festival sounds too wired ..really.
I installed only festival, i didn't install speech_tools and couple progams
as  was documented in voip-info.org

How can I tune up festival to have better voice (not as good as like human
speech!)

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


Re: [Asterisk-Users] Festival Problem

2005-08-14 Thread Kris Edwards
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 ATT 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

2005-08-12 Thread Michael Welter
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 not working with Asterisk 1.0.7_7

2005-08-02 Thread Marc


I've tried getting Festival working with Asterisk.


Here is what debugging from asterisk says:

-- Executing Festival(SIP/VoIP-e576, please record your message) in new 
stack
  == Parsing '/usr/local/etc/asterisk/festival.conf': Found
Aug  2 07:14:49 WARNING[49829]: app_festival.c:444 festival_exec: Festival 
returned ER
  == Spawn extension (mvp-line2, 2101, 1) exited non-zero on 'SIP/VoIP-e576'


And here's the snippit from the festival server:

client(5) Tue Aug  2 07:14:49 2005 : accepted from localhost
SIOD ERROR: unbound variable 
tts_textasterisk
client(5) Tue Aug  2 07:14:49 2005 : disconnected


And grep -v ^\; festival.conf
[general]
host=localhost
port=1314
festivalcommand=(tts_textasterisk %s 'file)(quit)\n


___
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


RE: [Asterisk-Users] Festival questions

2005-07-14 Thread Jason Walker


Has anyone had any luck in changing the voices for Festival and Asterisk?

I have Festival installed and working, but can not get the voice different
from the default.

Thanks,

Jason 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jim Archer
Sent: Wednesday, July 13, 2005 10:21 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] Festival questions

I'm working on this now.  I don't expect it to be too useful though.


--On Wednesday, July 13, 2005 3:47 PM -0400 [EMAIL PROTECTED] wrote:

 Hi,

 Is it possible to setup an Asterisk system that can allow someone to 
 dial in using a DID and listen to their e-mail? Has anyone done this?


 Thanks,


 Mike C.
 ___
 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 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


RE: [Asterisk-Users] Festival questions

2005-07-14 Thread Seth Remington
On Wed, 2005-07-13 at 23:34 -0700, Jason Walker wrote:
 
 Has anyone had any luck in changing the voices for Festival and Asterisk?
 
 I have Festival installed and working, but can not get the voice different
 from the default.
 
 Thanks,
 
 Jason

Well, it's been a while since I had to do this so I'm going from memory,
but I think you can change the default voice to a different one
(assuming you have the voices installed correctly) from the voices.scm
file. Look for default-voice-priority-list in that file. The first one
in the list is the default.

-Seth


___
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


Re: [Asterisk-Users] Festival questions

2005-07-14 Thread Chris Albertson

I was working on something like this.  There are a few
isues:

(1) First off yes you have to have access to the tesxt of the
e-mail.  Notice the word test we don't want html or
MS word atachments.

(2) Next look below nice al the silly junk like quotes are
indicated by  marks.  This has to be converted.
The the ascii art in the sig line.   OK this is not hard
just a whole bunch of Perl scripting or if you are really nuts
like me try lex/yaac to define an e-mail grammer
There is much to be done here basically we are building a
script that any reader (human or machine) would be able
to read into a telephone.  The BEST format to use a voice
markup language not plain text.  Festival can read the
markup language

(3) Finally you spimply scrip it and run it on as command
line application on _many_ test emails and listen.

(4) assuming #3 above is done integrating it into * is very
easy.  One interrresting idea would be to automaticaly
drop email into voice boxes oruswer could us a menu tree


If anyone seriouly wants to work on the above isues please CC
me directly about it.  Im my opinion most of the work is
in #2 which would be implemented outside of the * code base
as a stand alone application.




--- Tzafrir Cohen [EMAIL PROTECTED] wrote:

 On Wed, Jul 13, 2005 at 03:47:53PM -0400, [EMAIL PROTECTED]
 wrote:
  Hi,
  
  Is it possible to setup an Asterisk system that can allow someone
 to 
  dial in using a DID and listen to their e-mail? Has anyone done
 this? 
 
 It seems that basically yes, but quite depends on your local
 settings.
 
 For instance, is Asterisk allowed to read users' mails?
 
 As for a user interface, consider the one of the original berkeley
 mail.
 It was designed to work in very simple terminals.
 
 -- 
 Tzafrir Cohen | [EMAIL PROTECTED] | VIM is
 http://tzafrir.org.il |   | a Mutt's  
 [EMAIL PROTECTED] |   |  best
 ICQ# 16849755 |   | friend
 ___
 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
 


Chris Albertson
  Home:   310-376-1029  [EMAIL PROTECTED]
  Cell:   310-990-7550
  Office: 310-336-5189  [EMAIL PROTECTED]
  KG6OMK

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
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


Re: [Asterisk-Users] Festival questions

2005-07-14 Thread Tzafrir Cohen
On Thu, Jul 14, 2005 at 03:58:12PM -0700, Chris Albertson wrote:
 
 I was working on something like this.  There are a few
 isues:
 
 (1) First off yes you have to have access to the tesxt of the
 e-mail.  Notice the word test we don't want html or
 MS word atachments.

If you really must face those, you can identify them by mime type and
apply a proper filter. 'lynx -dump' for html, antiword for ms-word, etc.

For OpenOffice docs it is quite easy to extract all the text, at the
cost of losing all the formatting:

#!/bin/sh

tmpfile=`mktemp` || exit 1

cat $tmpfile

unzip -p $tmpfile content.xml \
|  sed -e 's|text:p |\n\n|g' -e 's|[^]*||g' \
| sed -e 's|\quot;||g'

rm $tmpfile



 
 (2) Next look below nice al the silly junk like quotes are
 indicated by  marks.  This has to be converted.
 The the ascii art in the sig line.   OK this is not hard
 just a whole bunch of Perl scripting or if you are really nuts
 like me try lex/yaac to define an e-mail grammer
 There is much to be done here basically we are building a
 script that any reader (human or machine) would be able
 to read into a telephone.  The BEST format to use a voice
 markup language not plain text.  Festival can read the
 markup language

Heer's something to get you started:

$ apt-cache show t-prot
[snip]
Depends: perl (= 5.6.0-16), libgetopt-mixed-perl, liblocale-gettext-perl
[snip]
Description: display filter for RFC822 messages
 This program is a filter which shall improve the readability for messages
 (email and posts) by *hiding* some annoying parts, e.g. mailing list footers,
 signatures and TOFU as well as squeezing sequences of blank lines or
 punctuation.
 .
 TOFU is an acronym that stands for Text oben, Fullquote unten (german
 language) which means the style of sadly so many people that just leave all
 the quotes in a reply and add some own lines above. This acronym is what gave
 the script its name - TOFU Protection.
 .
 It currently offers hints how to include it within mutt, slrn or inn2. It
 should be possible to do similars with other programs that allow to have a
 message run through a filter before it's displayed. If you use such a program
 we'd be interested if you could let us know of your setup.

-- 
Tzafrir Cohen | [EMAIL PROTECTED] | VIM is
http://tzafrir.org.il |   | a Mutt's  
[EMAIL PROTECTED] |   |  best
ICQ# 16849755 |   | friend
___
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 questions

2005-07-13 Thread mchapman2
Hi,

Is it possible to setup an Asterisk system that can allow someone to 
dial in using a DID and listen to their e-mail? Has anyone done this? 


Thanks,


Mike C.
___
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


Re: [Asterisk-Users] Festival questions

2005-07-13 Thread Tzafrir Cohen
On Wed, Jul 13, 2005 at 03:47:53PM -0400, [EMAIL PROTECTED] wrote:
 Hi,
 
 Is it possible to setup an Asterisk system that can allow someone to 
 dial in using a DID and listen to their e-mail? Has anyone done this? 

It seems that basically yes, but quite depends on your local settings.

For instance, is Asterisk allowed to read users' mails?

As for a user interface, consider the one of the original berkeley mail.
It was designed to work in very simple terminals.

-- 
Tzafrir Cohen | [EMAIL PROTECTED] | VIM is
http://tzafrir.org.il |   | a Mutt's  
[EMAIL PROTECTED] |   |  best
ICQ# 16849755 |   | friend
___
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


Re: [Asterisk-Users] Festival questions

2005-07-13 Thread Jim Archer

I'm working on this now.  I don't expect it to be too useful though.


--On Wednesday, July 13, 2005 3:47 PM -0400 [EMAIL PROTECTED] wrote:


Hi,

Is it possible to setup an Asterisk system that can allow someone to
dial in using a DID and listen to their e-mail? Has anyone done this?


Thanks,


Mike C.
___
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 problems

2005-07-12 Thread Ronald_Wiplinger
I have installed festival a while ago and it could say Mary had a 
little lamb


When I changed the text, it kept silence. Changed back the text and it 
worked.


Now it does not say anything anymore!!!

festival.conf:
[general]
usecache=yes
cachedir=/var/cache/asterisk/festival/
festivalcommand=(tts_textasterisk %s 'file)(quit)\n

ls -l /var/cache/asterisk/festival/
total 8
-rwxr-xr-x  1 root root 25 Jul  8 11:25 AD54B7C2BB46EBD196EFECC64330735D
-rwxr-xr-x  1 root root 26 Jul  8 11:26 FA198D47557433B6B99E8AC6D3CCA6EB

Note the file length of 8 


*CLI
   -- Executing Answer(SIP/6002-a3f3, ) in new stack
   -- Executing Festival(SIP/6002-a3f3, mary had a little lamb) in 
new stack

 == Parsing '/etc/asterisk/festival.conf': Found


What is wrong?


bye

Ronald





___
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 long starting time

2005-07-02 Thread Ronald Wiplinger
I have installed festival and it works, but it takes a long time, till 
it starts. People hang up before they can listen the info.


Q:

1. How can I shorten this time?
2. If two people call this extension, the second one must wait till the 
first one is finished. Is there a way to serve multiple poeple?
3. I have setup festival as explained in the first example. What are the 
advantages / disadvantages of the three methodes?

4. How long can a info be?
5. Besides weather.agi, what other application exist or what could be 
useful to use festival within asterisk



bye

Ronald

___
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

2005-03-22 Thread Gareth Blades
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

2005-03-10 Thread Henry Devito








Hi does anyone know how to get festival to run on the latest
[EMAIL PROTECTED] 0.6. Is there a mailing list for [EMAIL PROTECTED]






___
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

Re: [Asterisk-Users] Festival

2005-03-10 Thread Robert Webb
On Thu, 10 Mar 2005 11:03:44 -0600
 Henry Devito [EMAIL PROTECTED] wrote:
Hi does anyone know how to get festival to run on the 
latest [EMAIL PROTECTED]
0.6.  Is there a mailing list for [EMAIL PROTECTED]

THere is a forum section on SourceForge where you 
downloaded the ISO from. Try there...

Here is the link:
http://sourceforge.net/forum/?group_id=123387
___
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 - Asterisk@home

2005-02-25 Thread Wiley Siler
Title: Festival - [EMAIL PROTECTED]






Hello All,


I installed [EMAIL PROTECTED] with no problems whatsoever. All features so far work great.


However, I have been trying to setup the festivval weather AGI script and it won't work.


I see the script fire off in the CLI and it completes with no errors.

However, I never hear anything on the extension.


Does anyone know if there is something undocumented that I should have done?


Thanks,

Wiley



___
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

Re: [Asterisk-Users] Festival - Asterisk@home

2005-02-25 Thread Jonathan Hobbs
Title: Festival - [EMAIL PROTECTED]



Does your Festival installation work ok? (run the 
tests/example scripts that came with the installation). I installed 
Festival, and according to the installation scripts all went well, however none 
of the tests/example routines would work - I kept getting 'Segmentation Faults' 
whenever I ran them.

I gave up on Festival (unable to resolve the segmentation 
faults in a reasonable number of hours of effort), but if you manage to get it 
running letme know how!

Jonathan



  - Original Message - 
  From: 
  Wiley 
  Siler 
  To: Asterisk Users Mailing List - 
  Non-Commercial Discussion 
  Sent: February 25, 2005 3:13 PM
  Subject: [Asterisk-Users] Festival - 
  [EMAIL PROTECTED]
  
  Hello All, 
  I installed [EMAIL PROTECTED] with no problems 
  whatsoever. All features so far work great. 
  However, I have been trying to setup the festivval 
  weather AGI script and it won't work. 
  I see the script fire off in the CLI and it 
  completes with no errors. However, I never 
  hear anything on the extension. 
  Does anyone know if there is something undocumented 
  that I should have done? 
  Thanks, Wiley 
  
  

  ___Asterisk-Users 
  mailing 
  listAsterisk-Users@lists.digium.comhttp://lists.digium.com/mailman/listinfo/asterisk-usersTo 
  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

RE: [Asterisk-Users] Festival - Asterisk@home

2005-02-25 Thread Wiley Siler
Title: Festival - [EMAIL PROTECTED]



figured it out. Stopped using the example 
festival-weather.script.pl and used the festival-script.pl that is in the 
directory already.

Works good. Is the voice customizable? Does 
memory on the box play a part in quality?

Thanks,
Wiely



From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Jonathan 
HobbsSent: Friday, February 25, 2005 1:19 PMTo: Asterisk 
Users Mailing List - Non-Commercial DiscussionSubject: Re: 
[Asterisk-Users] Festival - [EMAIL PROTECTED]

Does your Festival installation work ok? (run the 
tests/example scripts that came with the installation). I installed 
Festival, and according to the installation scripts all went well, however none 
of the tests/example routines would work - I kept getting 'Segmentation Faults' 
whenever I ran them.

I gave up on Festival (unable to resolve the segmentation 
faults in a reasonable number of hours of effort), but if you manage to get it 
running letme know how!

Jonathan



  - Original Message - 
  From: 
  Wiley 
  Siler 
  To: Asterisk Users Mailing List - 
  Non-Commercial Discussion 
  Sent: February 25, 2005 3:13 PM
  Subject: [Asterisk-Users] Festival - 
  [EMAIL PROTECTED]
  
  Hello All, 
  I installed [EMAIL PROTECTED] with no problems 
  whatsoever. All features so far work great. 
  However, I have been trying to setup the festivval 
  weather AGI script and it won't work. 
  I see the script fire off in the CLI and it 
  completes with no errors. However, I never 
  hear anything on the extension. 
  Does anyone know if there is something undocumented 
  that I should have done? 
  Thanks, Wiley 
  
  

  ___Asterisk-Users 
  mailing 
  listAsterisk-Users@lists.digium.comhttp://lists.digium.com/mailman/listinfo/asterisk-usersTo 
  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

RE: [Asterisk-Users] Festival - Asterisk@home

2005-02-25 Thread dean collins
Title: Festival - [EMAIL PROTECTED]








Wiley, if you follow the instructions as
listed it will work.



Can you post more information about what
actually isnt working? can you post the output of your cli.





Cheers,

Dean













From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wiley Siler
Sent: Friday, February 25, 2005
3:13 PM
To: Asterisk Users Mailing List -
Non-Commercial Discussion
Subject: [Asterisk-Users] Festival
- [EMAIL PROTECTED]





Hello
All, 

I
installed [EMAIL PROTECTED] with no problems whatsoever. All features so far
work great. 

However,
I have been trying to setup the festivval weather AGI script and it won't work.


I
see the script fire off in the CLI and it completes with no errors.

However,
I never hear anything on the extension. 

Does
anyone know if there is something undocumented that I should have done?


Thanks,

Wiley







___
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 and french language

2005-02-17 Thread Jean-Louis curty
Anybody has experirence with Festival + french voice ?

I read 2.1.3  .--The French language
Festival does not (at the moment) implement yet the French language
but it's not difficult to make it work with the Mbrola synthesizer
which offers high quality French voices.

from the website
http://www.pollock-nageoire.net/festival/festival-english003.html#toc5

but not difficult has not the same meaning for everybody

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


Re: [Asterisk-Users] festival text for weather report

2005-02-17 Thread Ernie Ankele
Dean,
Here is a rough starting point for you.
Put this into your /var/lib/asterisk/agi-bin/  directory. I used the  
name getforecast. (Change the ZIP code info, line 29) and make it  
executable.
 - FILE BEGIN -
#!/bin/bash
# I grab the data from asterisk even though I don't use it
while read -e ARG  [ $ARG ] ; do
array=(` echo $ARG | sed -e 's/://'`)
export ${array[0]}=${array[1]}
done

checkresults()
{
while read line
do
case ${line:0:4} in
200  ) echo $line 2
return;;
510  ) echo $line 2
return;;
520  ) echo $line 2
return;;
*  ) echo $line 2;;
esac
done
}
# answer the line and give some preliminary feedback
echo ANSWER 
checkresults
echo STREAM FILE national-weather-service \\ 
checkresults
# Grab the forecast info page -- 80003 is MY zipcode, CHANGE TO YOUR  
ZIPCODE!
tempstr=` curl -s http://weather.toolbot.com/?where=80003RSS; `
# Cleanup the results, get rid of html tags etc. (Could probably be  
condensed)
tempstr=` echo $tempstr | sed 's:?.*lt;h3gt;::g' | sed 's:=lt.*$::'  
| sed 's:lt;br /gt;:~:g'|\
sed 's:lt;[br /h3]*gt;::g' | sed 's:nbsp;: :g' | sed  
's:amp;::g' | sed 's:mph:miles per hour:g' `
# Create 'EOF' Mark in tempstr
tempstr=`echo $tempstr ~XOX `
# Loop through string, echoing to file, convert to wave, speak them,  
etc.
until [ $tempstr == XOX ]
do
lineout=`echo $tempstr | cut -f1 -d~ `
echo $lineout  /tmp/linetospeak.txt
text2wave -f 8000 -o /tmp/forecastline.wav /tmp/linetospeak.txt
echo STREAM FILE /tmp/forecastline \1\
checkresults
tempstr=` echo $tempstr | cut -f2- -d~ `
done
echo STREAM FILE goodbye \\
checkresults
rm /tmp/linetospeak.txt
rm /tmp/forecastline.wav
echo HANGUP 
checkresults
- FILE END -

I have the following in my extensions.conf:
exten = 2996,1,Answer
exten = 2996,2,wait(1)
exten = 2996,3,agi,getforecast
exten = 2996,4,Hangup
I'm not sure how you enter the extension.conf in [EMAIL PROTECTED]
NOTE: I am still LEARNING shell scripting  AGI, so the above may be  
kind of hack-ish. Helpful suggestions/advice very welcome!
Ernie Ankele

On Feb 16, 2005, at 9:24 PM, dean collins wrote:
http://www.srh.noaa.gov/fwd/productviewnation.php? 
pil=OKXZFPOKXversion=0


can anyone suggest how I could set up [EMAIL PROTECTED] to read out  
allowed the following text when I dial extension 850?


815 PM EST WED FEB 16 2005

.OVERNIGHT...MOSTLY CLEAR. LOWS 30 TO 35. NORTHWEST WINDS 15 TO 20
MPH WITH GUSTS UP TO 30 MPH...DIMINISHING TO 10 TO 15 MPH LATE.
.THURSDAY...PARTLY CLOUDY. COOLER WITH HIGHS AROUND 40. NORTHWEST
WINDS AROUND 15 MPH.
.THURSDAY NIGHT...PARTLY CLOUDY. LOWS IN THE MID 20S. WEST WINDS
AROUND 15 MPH.
.FRIDAY...PARTLY CLOUDY AND BRISK. HIGHS IN THE MID 30S. NORTHWEST
WINDS 15 TO 25 MPH.
.FRIDAY NIGHT...PARTLY CLOUDY AND BRISK. LOWS AROUND 17. NORTHWEST
WINDS 15 TO 25 MPH.




Theres $20 via paypal to the first person to help me complete this  
(Ill then post it on the the wiki so anyone can replicate it)

(anyone wanting to add to that bounty email me)

Also if it is not too difficult Id like it to skip to the next block  
each time you press 1 (eg go from overnight to Thursday)


Also it doesnt need to be this particular web page that it connects  
to but something with current weather etc.




Cheers,
Dean

___
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


RE: [Asterisk-Users] festival text for weather report

2005-02-17 Thread dean collins
Hi Ernie,
Man I hope you didn't write all of that for me, I feel really bad now, someone 
posted to the list about 15 mins after I posted with the solution lol- I've 
already been playing with it for hours working out what other sites I can get 
it to read from as well.

Thanks anyway - good practive I guess.

I'm modifying the festival wikki page once I work out how.


Cheers,
Dean


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ernie Ankele
Sent: Thursday, February 17, 2005 5:39 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] festival text for weather report

Dean,
Here is a rough starting point for you.
Put this into your /var/lib/asterisk/agi-bin/  directory. I used the  
name getforecast. (Change the ZIP code info, line 29) and make it  
executable.
 - FILE BEGIN -
#!/bin/bash
# I grab the data from asterisk even though I don't use it
while read -e ARG  [ $ARG ] ; do
 array=(` echo $ARG | sed -e 's/://'`)
 export ${array[0]}=${array[1]}
done

checkresults()
{
 while read line
 do
 case ${line:0:4} in
 200  ) echo $line 2
 return;;
 510  ) echo $line 2
 return;;
 520  ) echo $line 2
 return;;
 *  ) echo $line 2;;
 esac
 done
}
# answer the line and give some preliminary feedback
echo ANSWER 
checkresults
echo STREAM FILE national-weather-service \\ 
checkresults
# Grab the forecast info page -- 80003 is MY zipcode, CHANGE TO YOUR  
ZIPCODE!
tempstr=` curl -s http://weather.toolbot.com/?where=80003RSS; `
# Cleanup the results, get rid of html tags etc. (Could probably be  
condensed)
tempstr=` echo $tempstr | sed 's:?.*lt;h3gt;::g' | sed 's:=lt.*$::'  
| sed 's:lt;br /gt;:~:g'|\
 sed 's:lt;[br /h3]*gt;::g' | sed 's:nbsp;: :g' | sed  
's:amp;::g' | sed 's:mph:miles per hour:g' `
# Create 'EOF' Mark in tempstr
tempstr=`echo $tempstr ~XOX `
# Loop through string, echoing to file, convert to wave, speak them,  
etc.
until [ $tempstr == XOX ]
do
 lineout=`echo $tempstr | cut -f1 -d~ `
 echo $lineout  /tmp/linetospeak.txt
 text2wave -f 8000 -o /tmp/forecastline.wav /tmp/linetospeak.txt
 echo STREAM FILE /tmp/forecastline \1\
 checkresults
 tempstr=` echo $tempstr | cut -f2- -d~ `
done
echo STREAM FILE goodbye \\
checkresults
rm /tmp/linetospeak.txt
rm /tmp/forecastline.wav
echo HANGUP 
checkresults
- FILE END -

I have the following in my extensions.conf:
exten = 2996,1,Answer
exten = 2996,2,wait(1)
exten = 2996,3,agi,getforecast
exten = 2996,4,Hangup

I'm not sure how you enter the extension.conf in [EMAIL PROTECTED]

NOTE: I am still LEARNING shell scripting  AGI, so the above may be  
kind of hack-ish. Helpful suggestions/advice very welcome!
Ernie Ankele

On Feb 16, 2005, at 9:24 PM, dean collins wrote:

 http://www.srh.noaa.gov/fwd/productviewnation.php? 
 pil=OKXZFPOKXversion=0

  

 can anyone suggest how I could set up [EMAIL PROTECTED] to read out  
 allowed the following text when I dial extension 850?

  
 815 PM EST WED FEB 16 2005
  
 .OVERNIGHT...MOSTLY CLEAR. LOWS 30 TO 35. NORTHWEST WINDS 15 TO 20
 MPH WITH GUSTS UP TO 30 MPH...DIMINISHING TO 10 TO 15 MPH LATE.
 .THURSDAY...PARTLY CLOUDY. COOLER WITH HIGHS AROUND 40. NORTHWEST
 WINDS AROUND 15 MPH.
 .THURSDAY NIGHT...PARTLY CLOUDY. LOWS IN THE MID 20S. WEST WINDS
 AROUND 15 MPH.
 .FRIDAY...PARTLY CLOUDY AND BRISK. HIGHS IN THE MID 30S. NORTHWEST
 WINDS 15 TO 25 MPH.
 .FRIDAY NIGHT...PARTLY CLOUDY AND BRISK. LOWS AROUND 17. NORTHWEST
 WINDS 15 TO 25 MPH.

  

  

  

  

 There's $20 via paypal to the first person to help me complete this  
 (I'll then post it on the the wiki so anyone can replicate it)

 (anyone wanting to add to that bounty email me)

  

 Also if it is not too difficult I'd like it to skip to the next block  
 each time you press '1' (eg go from overnight to Thursday)

  

 Also it doesn't need to be this particular web page that it connects  
 to but something with current weather etc.

  

  

  

 Cheers,

 Dean

  
 ___
 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 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


Re: [Asterisk-Users] festival text for weather report

2005-02-17 Thread Ernie Ankele
Dean, No problem, Its actually what I am already using. I just finally 
got around to answering the email.
Glad you got it all figured out.
Ernie

On Feb 17, 2005, at 4:07 PM, dean collins wrote:
Hi Ernie,
Man I hope you didn't write all of that for me, I feel really bad now, 
someone posted to the list about 15 mins after I posted with the 
solution lol- I've already been playing with it for hours working out 
what other sites I can get it to read from as well.

Thanks anyway - good practive I guess.
I'm modifying the festival wikki page once I work out how.
Cheers,
Dean
-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Ernie 
Ankele
Sent: Thursday, February 17, 2005 5:39 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] festival text for weather report

Dean,
Here is a rough starting point for you.
Put this into your /var/lib/asterisk/agi-bin/  directory. I used the
name getforecast. (Change the ZIP code info, line 29) and make it
executable.
 - FILE BEGIN -
#!/bin/bash
# I grab the data from asterisk even though I don't use it
while read -e ARG  [ $ARG ] ; do
 array=(` echo $ARG | sed -e 's/://'`)
 export ${array[0]}=${array[1]}
done
checkresults()
{
 while read line
 do
 case ${line:0:4} in
 200  ) echo $line 2
 return;;
 510  ) echo $line 2
 return;;
 520  ) echo $line 2
 return;;
 *  ) echo $line 2;;
 esac
 done
}
# answer the line and give some preliminary feedback
echo ANSWER 
checkresults
echo STREAM FILE national-weather-service \\ 
checkresults
# Grab the forecast info page -- 80003 is MY zipcode, CHANGE TO YOUR
ZIPCODE!
tempstr=` curl -s http://weather.toolbot.com/?where=80003RSS; `
# Cleanup the results, get rid of html tags etc. (Could probably be
condensed)
tempstr=` echo $tempstr | sed 's:?.*lt;h3gt;::g' | sed 's:=lt.*$::'
| sed 's:lt;br /gt;:~:g'|\
 sed 's:lt;[br /h3]*gt;::g' | sed 's:nbsp;: :g' | sed
's:amp;::g' | sed 's:mph:miles per hour:g' `
# Create 'EOF' Mark in tempstr
tempstr=`echo $tempstr ~XOX `
# Loop through string, echoing to file, convert to wave, speak them,
etc.
until [ $tempstr == XOX ]
do
 lineout=`echo $tempstr | cut -f1 -d~ `
 echo $lineout  /tmp/linetospeak.txt
 text2wave -f 8000 -o /tmp/forecastline.wav 
/tmp/linetospeak.txt
 echo STREAM FILE /tmp/forecastline \1\
 checkresults
 tempstr=` echo $tempstr | cut -f2- -d~ `
done
echo STREAM FILE goodbye \\
checkresults
rm /tmp/linetospeak.txt
rm /tmp/forecastline.wav
echo HANGUP 
checkresults
- FILE END -

I have the following in my extensions.conf:
exten = 2996,1,Answer
exten = 2996,2,wait(1)
exten = 2996,3,agi,getforecast
exten = 2996,4,Hangup
I'm not sure how you enter the extension.conf in [EMAIL PROTECTED]
NOTE: I am still LEARNING shell scripting  AGI, so the above may be
kind of hack-ish. Helpful suggestions/advice very welcome!
Ernie Ankele
On Feb 16, 2005, at 9:24 PM, dean collins wrote:
http://www.srh.noaa.gov/fwd/productviewnation.php?
pil=OKXZFPOKXversion=0
 
can anyone suggest how I could set up [EMAIL PROTECTED] to read out
allowed the following text when I dial extension 850?
 
815 PM EST WED FEB 16 2005
 
.OVERNIGHT...MOSTLY CLEAR. LOWS 30 TO 35. NORTHWEST WINDS 15 TO 20
MPH WITH GUSTS UP TO 30 MPH...DIMINISHING TO 10 TO 15 MPH LATE.
.THURSDAY...PARTLY CLOUDY. COOLER WITH HIGHS AROUND 40. NORTHWEST
WINDS AROUND 15 MPH.
.THURSDAY NIGHT...PARTLY CLOUDY. LOWS IN THE MID 20S. WEST WINDS
AROUND 15 MPH.
.FRIDAY...PARTLY CLOUDY AND BRISK. HIGHS IN THE MID 30S. NORTHWEST
WINDS 15 TO 25 MPH.
.FRIDAY NIGHT...PARTLY CLOUDY AND BRISK. LOWS AROUND 17. NORTHWEST
WINDS 15 TO 25 MPH.
 
 
 
 
There's $20 via paypal to the first person to help me complete this
(I'll then post it on the the wiki so anyone can replicate it)
(anyone wanting to add to that bounty email me)
 
Also if it is not too difficult I'd like it to skip to the next block
each time you press '1' (eg go from overnight to Thursday)
 
Also it doesn't need to be this particular web page that it connects
to but something with current weather etc.
 
 
 
Cheers,
Dean
 
___
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 mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit

Re: [Asterisk-Users] festival text for weather report

2005-02-17 Thread Steve Prior
dean collins wrote:
Hi Ernie,
Man I hope you didn't write all of that for me, I feel really bad now, someone 
posted to the list about 15 mins after I posted with the solution lol- I've 
already been playing with it for hours working out what other sites I can get 
it to read from as well.
Thanks anyway - good practive I guess.
I'm modifying the festival wikki page once I work out how.
Please add what you ended up with sooner rather than later.  I'm interested 
in
the same weather forecast as you (in fact I'm in the same forecast region as 
you),
but I've also been wondering what's around in terms of traffic information.
http://www.hudsonvalleytraveler.com/perl/IncidentCongestionRpt.pl
Might be of interest to you as well, but unfortunatly they only provide the
data in HTML format - I've already emailed them about how easy and useful it
would be to provide XML as well...
My future hope is that I'd set up a DID that I could call from my cell phone
headset using the voice dialing built into the phone, and then get a traffic
report read to me without pressing any phone buttons.  That either means using
a dedicated phone number or getting even a very primitive speech recognition 
going
to chose between a very limited number of options.
The speech recognition part seems like it's going to be a while (I'd love it
if someone else figures this part out before I get there...)
Steve
___
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


RE: [Asterisk-Users] festival text for weather report

2005-02-17 Thread dean collins
Hi Steve,
Already in and working

I'll forward the email to you that solved it for me but I'll update the
wiki later this evening

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steve
Prior
Sent: Thursday, February 17, 2005 6:10 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] festival text for weather report

dean collins wrote:

 Hi Ernie,
 Man I hope you didn't write all of that for me, I feel really bad now,
someone posted to the list about 15 mins after I posted with the
solution lol- I've already been playing with it for hours working out
what other sites I can get it to read from as well.
 
 Thanks anyway - good practive I guess.
 
 I'm modifying the festival wikki page once I work out how.

Please add what you ended up with sooner rather than later.  I'm
interested in
the same weather forecast as you (in fact I'm in the same forecast
region as you),
but I've also been wondering what's around in terms of traffic
information.

http://www.hudsonvalleytraveler.com/perl/IncidentCongestionRpt.pl

Might be of interest to you as well, but unfortunatly they only provide
the
data in HTML format - I've already emailed them about how easy and
useful it
would be to provide XML as well...

My future hope is that I'd set up a DID that I could call from my cell
phone
headset using the voice dialing built into the phone, and then get a
traffic
report read to me without pressing any phone buttons.  That either means
using
a dedicated phone number or getting even a very primitive speech
recognition going
to chose between a very limited number of options.

The speech recognition part seems like it's going to be a while (I'd
love it
if someone else figures this part out before I get there...)

Steve
___
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


Re: [Asterisk-Users] festival text for weather report

2005-02-17 Thread Robert Rozman
Hi,

I could recomend GEO::Weather or some similar CPAN module that already
connects to proper source and parses info to well organized data structures
for weather info . Same could be applied to other sources (News, ...).

Regards,

Rob.

- Original Message - 
From: Ernie Ankele [EMAIL PROTECTED]
To: Asterisk Users Mailing List - Non-Commercial Discussion
asterisk-users@lists.digium.com
Sent: Thursday, February 17, 2005 11:38 PM
Subject: Re: [Asterisk-Users] festival text for weather report


Dean,
Here is a rough starting point for you.
Put this into your /var/lib/asterisk/agi-bin/  directory. I used the
name getforecast. (Change the ZIP code info, line 29) and make it
executable.
 - FILE BEGIN -
#!/bin/bash
# I grab the data from asterisk even though I don't use it
while read -e ARG  [ $ARG ] ; do
 array=(` echo $ARG | sed -e 's/://'`)
 export ${array[0]}=${array[1]}
done

checkresults()
{
 while read line
 do
 case ${line:0:4} in
 200  ) echo $line 2
 return;;
 510  ) echo $line 2
 return;;
 520  ) echo $line 2
 return;;
 *  ) echo $line 2;;
 esac
 done
}
# answer the line and give some preliminary feedback
echo ANSWER 
checkresults
echo STREAM FILE national-weather-service \\ 
checkresults
# Grab the forecast info page -- 80003 is MY zipcode, CHANGE TO YOUR
ZIPCODE!
tempstr=` curl -s http://weather.toolbot.com/?where=80003RSS; `
# Cleanup the results, get rid of html tags etc. (Could probably be
condensed)
tempstr=` echo $tempstr | sed 's:?.*lt;h3gt;::g' | sed 's:=lt.*$::'
| sed 's:lt;br /gt;:~:g'|\
 sed 's:lt;[br /h3]*gt;::g' | sed 's:nbsp;: :g' | sed
's:amp;::g' | sed 's:mph:miles per hour:g' `
# Create 'EOF' Mark in tempstr
tempstr=`echo $tempstr ~XOX `
# Loop through string, echoing to file, convert to wave, speak them,
etc.
until [ $tempstr == XOX ]
do
 lineout=`echo $tempstr | cut -f1 -d~ `
 echo $lineout  /tmp/linetospeak.txt
 text2wave -f 8000 -o /tmp/forecastline.wav /tmp/linetospeak.txt
 echo STREAM FILE /tmp/forecastline \1\
 checkresults
 tempstr=` echo $tempstr | cut -f2- -d~ `
done
echo STREAM FILE goodbye \\
checkresults
rm /tmp/linetospeak.txt
rm /tmp/forecastline.wav
echo HANGUP 
checkresults
- FILE END -

I have the following in my extensions.conf:
exten = 2996,1,Answer
exten = 2996,2,wait(1)
exten = 2996,3,agi,getforecast
exten = 2996,4,Hangup

I'm not sure how you enter the extension.conf in [EMAIL PROTECTED]

NOTE: I am still LEARNING shell scripting  AGI, so the above may be
kind of hack-ish. Helpful suggestions/advice very welcome!
Ernie Ankele

On Feb 16, 2005, at 9:24 PM, dean collins wrote:

 http://www.srh.noaa.gov/fwd/productviewnation.php?
 pil=OKXZFPOKXversion=0



 can anyone suggest how I could set up [EMAIL PROTECTED] to read out
 allowed the following text when I dial extension 850?


 815 PM EST WED FEB 16 2005

 .OVERNIGHT...MOSTLY CLEAR. LOWS 30 TO 35. NORTHWEST WINDS 15 TO 20
 MPH WITH GUSTS UP TO 30 MPH...DIMINISHING TO 10 TO 15 MPH LATE.
 .THURSDAY...PARTLY CLOUDY. COOLER WITH HIGHS AROUND 40. NORTHWEST
 WINDS AROUND 15 MPH.
 .THURSDAY NIGHT...PARTLY CLOUDY. LOWS IN THE MID 20S. WEST WINDS
 AROUND 15 MPH.
 .FRIDAY...PARTLY CLOUDY AND BRISK. HIGHS IN THE MID 30S. NORTHWEST
 WINDS 15 TO 25 MPH.
 .FRIDAY NIGHT...PARTLY CLOUDY AND BRISK. LOWS AROUND 17. NORTHWEST
 WINDS 15 TO 25 MPH.









 Theres $20 via paypal to the first person to help me complete this
 (Ill then post it on the the wiki so anyone can replicate it)

 (anyone wanting to add to that bounty email me)



 Also if it is not too difficult Id like it to skip to the next block
 each time you press 1 (eg go from overnight to Thursday)



 Also it doesnt need to be this particular web page that it connects
 to but something with current weather etc.







 Cheers,

 Dean


 ___
 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 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 text for weather report

2005-02-16 Thread dean collins








http://www.srh.noaa.gov/fwd/productviewnation.php?pil=OKXZFPOKXversion=0



can anyone suggest how I could set up [EMAIL PROTECTED] to read
out allowed the following text when I dial extension 850?



815 PM EST WED FEB 16 2005.OVERNIGHT...MOSTLY CLEAR. LOWS 30 TO 35. NORTHWEST WINDS 15 TO 20 MPH WITH GUSTS UP TO 30 MPH...DIMINISHING TO 10 TO 15 MPH LATE..THURSDAY...PARTLY CLOUDY. COOLER WITH HIGHS AROUND 40. NORTHWESTWINDS AROUND 15 MPH. .THURSDAY NIGHT...PARTLY CLOUDY. LOWS IN THE MID 20S. WEST WINDSAROUND 15 MPH. .FRIDAY...PARTLY CLOUDY AND BRISK. HIGHS IN THE MID 30S. NORTHWESTWINDS 15 TO 25 MPH. .FRIDAY NIGHT...PARTLY CLOUDY AND BRISK. LOWS AROUND 17. NORTHWESTWINDS 15 TO 25 MPH. 









Theres $20 via paypal to the first person to help me
complete this (Ill then post it on the the wiki so anyone can replicate
it)

(anyone wanting to add to that bounty email me)



Also if it is not too difficult Id like it to skip to
the next block each time you press 1 (eg go from overnight to Thursday)



Also it doesnt need to be this particular web page
that it connects to but something with current weather etc.







Cheers,

Dean








___
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

Re: [Asterisk-Users] festival text for weather report

2005-02-16 Thread Howard Lowndes
On Thu, 2005-02-17 at 15:24, dean collins wrote:
 http://www.srh.noaa.gov/fwd/productviewnation.php?pil=OKXZFPOKXversion=0
 
  
 
 can anyone suggest how I could set up [EMAIL PROTECTED] to read out
 allowed the following text when I dial extension 850?
 
  
 
 815 PM EST WED FEB 16 2005
  
 .OVERNIGHT...MOSTLY CLEAR. LOWS 30 TO 35. NORTHWEST WINDS 15 TO 20 
 MPH WITH GUSTS UP TO 30 MPH...DIMINISHING TO 10 TO 15 MPH LATE.
 .THURSDAY...PARTLY CLOUDY. COOLER WITH HIGHS AROUND 40. NORTHWEST
 WINDS AROUND 15 MPH. 
 .THURSDAY NIGHT...PARTLY CLOUDY. LOWS IN THE MID 20S. WEST WINDS
 AROUND 15 MPH. 
 .FRIDAY...PARTLY CLOUDY AND BRISK. HIGHS IN THE MID 30S. NORTHWEST
 WINDS 15 TO 25 MPH. 
 .FRIDAY NIGHT...PARTLY CLOUDY AND BRISK. LOWS AROUND 17. NORTHWEST
 WINDS 15 TO 25 MPH. 
 

Basically you are going to have to parse this text with something (Perl
springs to mind) so that you can break it into separate files in order
to move back  firth in it.

Then you are going to need to adjust it so that MPH reads miles per
hour etc.

Goodluck. :)

  
 
  
 
  
 
  
 
 Theres $20 via paypal to the first person to help me complete this
 (Ill then post it on the the wiki so anyone can replicate it)
 
 (anyone wanting to add to that bounty email me)
 
  
 
 Also if it is not too difficult Id like it to skip to the next block
 each time you press 1 (eg go from overnight to Thursday)
 
  
 
 Also it doesnt need to be this particular web page that it connects
 to but something with current weather etc.
 
  
 
  
 
  
 
 Cheers,
 
 Dean
 
  
 
 
 
 __
 ___
 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
-- 
Howard.
LANNet Computing Associates;
Your Linux people http://www.lannetlinux.com
--
When you just want a system that works, you choose Linux;
when you want a system that just works, you choose Microsoft.
--
Flatter government, not fatter government;
Get rid of the Australian states.


___
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 patch

2005-02-07 Thread Isaac McDonald
Anyone know where I can get the patch described here:
http://lists.digium.com/pipermail/asterisk-users/2004-May/045134.html
I am getting compile errors when trying to compile speechtools...
Any help would be greatly appreciated,
Isaac
___
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


Re: [Asterisk-Users] Festival patch

2005-02-07 Thread Seth Remington
They are at the bottom of that post... or, make it easy on yourself and
just get them from me:

http://sremington.zapto.org/weblog/2004-07-04_14.52.21.html

-Seth

On Mon, 2005-02-07 at 07:48 -0600, Isaac McDonald wrote:
 Anyone know where I can get the patch described here:
 http://lists.digium.com/pipermail/asterisk-users/2004-May/045134.html
 
 I am getting compile errors when trying to compile speechtools...
 
 Any help would be greatly appreciated,
 
 Isaac

-- 
Seth Remington
SaberLogic, LLC
661-B Weber Drive
Wadsworth, Ohio 44281
Phone: (330)335-6442
Fax: (330)336-8559

___
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 Jittery (bad udp checksum)

2005-01-28 Thread Manjit Riat








Just installed festival from source and the voice is very
jittery and I get this a lot in the asterisk CLI (at least once on every call)



NOTICE[3236]:
rtp.c:430 ast_rtp_read: RTP: Received packet with bad
UDP checksum



Maybe the packets are malformed so I get the jittery sound.






___
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

Re: [Asterisk-Users] Festival Jittery (bad udp checksum)

2005-01-28 Thread Howard Lowndes
On Sat, 2005-01-29 at 05:50, Manjit Riat wrote:
 Just installed festival from source and the voice is very jittery and
 I get this a lot in the asterisk CLI (at least once on every call)
 
  
 
 NOTICE[3236]: rtp.c:430 ast_rtp_read: RTP: Received packet with bad
 UDP checksum

I get that also, but the stutters seem to have gone now that I have
upgraded the CPU.

One problem I do get is that it drops out when reading a long script,
typically after 15-20 seconds, and then goes on the the next line in the
dialplan.

 
  
 
 Maybe the packets are malformed so I get the jittery sound.
 
 
 
 __
 ___
 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
-- 
Howard.
LANNet Computing Associates;
Your Linux people http://www.lannetlinux.com
--
When you just want a system that works, you choose Linux;
when you want a system that just works, you choose Microsoft.
--
Flatter government, not fatter government;
Get rid of the Australian states.


___
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


RE: [Asterisk-Users] Festival as background

2005-01-27 Thread Alexander Lopez
I think not since the audio is coming from the festival command not
asterisk.

I would try this,

Exten = s,1,SetVar(FILENAME=FESTIVAL-${EPOCH})
Exten = s,2,AGI(festival-bg|${FILENAME}|Text for festival to speak)
Exten = s,3,BackGround(${FILENAME})


The AGI script would take two args, the filename to put the sound file
in and then pass the phrase to festival.

I don't know what format festival outputs to file in but you could then
run the output thru sox to convert it to gsm.

Alex


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Howard
Lowndes
Sent: Thursday, January 27, 2005 2:21 AM
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] Festival as background

Is it possible to run the Festival command in the same manner as the
Background command so that it can be interrupted by caller key presses?

-- 
Howard.
LANNet Computing Associates;
Your Linux people http://www.lannetlinux.com
--
When you just want a system that works, you choose Linux;
when you want a system that just works, you choose Microsoft.
--
Flatter government, not fatter government;
Get rid of the Australian states.


___
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 Error

2005-01-27 Thread Manjit Riat








Just installed festival and I get this error in asterisk CLI



SIOD ERROR: wrong type of argument to car
: wholeutt

Jan 27 11:46:09 WARNING[25917]:
app_festival.c:444 festival_exec: Festival returned
ER










___
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 as background

2005-01-26 Thread Howard Lowndes
Is it possible to run the Festival command in the same manner as the
Background command so that it can be interrupted by caller key presses?

-- 
Howard.
LANNet Computing Associates;
Your Linux people http://www.lannetlinux.com
--
When you just want a system that works, you choose Linux;
when you want a system that just works, you choose Microsoft.
--
Flatter government, not fatter government;
Get rid of the Australian states.


___
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


Re: [Asterisk-Users] Festival as background

2005-01-26 Thread Gary
On Thu, 27 Jan 2005 18:20:32 +1100, Howard Lowndes wrote:

Is it possible to run the Festival command in the same manner as the
Background command so that it can be interrupted by caller key presses?

I can think of a round about way,

run festival and create wav/gsm and play resultant output as background
:-)

GS
.


___
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


Re: [Asterisk-Users] Festival

2005-01-24 Thread Howard Lowndes
On Mon, 2005-01-24 at 14:45, Gary wrote:
 On Mon, 24 Jan 2005 14:57:06 +1300, Matt Riddell wrote:
 
 Howard Lowndes wrote:
  Is it possible to get the Festival command to read the text from a
  system file rather than having it input as a text string?
  
  Is this a case of having to use AGI, or is there a simpler way?
 
 Most people would use AGI for that (combined with the text2wave or 
 whatever program).  In fact there may even be an example on the wiki.
 
 I might also add that if you look in the wiki for cepstral as well some
 good examples.
 
 And cepstral voices sound much nicer than festival :-)

Never heard of it.  Tks for the lead.

 .
 
 
 ___
 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
-- 
Howard.
LANNet Computing Associates;
Your Linux people http://www.lannetlinux.com
--
When you just want a system that works, you choose Linux;
when you want a system that just works, you choose Microsoft.
--
Flatter government, not fatter government;
Get rid of the Australian states.


___
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

2005-01-23 Thread Howard Lowndes
Is it possible to get the Festival command to read the text from a
system file rather than having it input as a text string?

I suppose I could put the text string into an Asterisk variable and
reference that in the Festival command, but then, how do I get the
contents of the file into the Asterisk variable?

Is this a case of having to use AGI, or is there a simpler way?

-- 
Howard.
LANNet Computing Associates;
Your Linux people http://www.lannetlinux.com
--
When you just want a system that works, you choose Linux;
when you want a system that just works, you choose Microsoft.
--
Flatter government, not fatter government;
Get rid of the Australian states.


___
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


Re: [Asterisk-Users] Festival

2005-01-23 Thread Matt Riddell
Howard Lowndes wrote:
Is it possible to get the Festival command to read the text from a
system file rather than having it input as a text string?
Is this a case of having to use AGI, or is there a simpler way?
Most people would use AGI for that (combined with the text2wave or 
whatever program).  In fact there may even be an example on the wiki.

--
Cheers,
Matt Riddell
___
http://www.sineapps.com/news.php (Daily Asterisk News - html)
http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)
___
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


Re: [Asterisk-Users] Festival

2005-01-23 Thread Gary
On Mon, 24 Jan 2005 14:57:06 +1300, Matt Riddell wrote:

Howard Lowndes wrote:
 Is it possible to get the Festival command to read the text from a
 system file rather than having it input as a text string?
 
 Is this a case of having to use AGI, or is there a simpler way?

Most people would use AGI for that (combined with the text2wave or 
whatever program).  In fact there may even be an example on the wiki.

I might also add that if you look in the wiki for cepstral as well some
good examples.

And cepstral voices sound much nicer than festival :-)
.


___
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 Woes

2005-01-10 Thread Brian Dingman
Asterisk v1.0 is running on RH 9. I installed festival RPM
(festival-1.4.2-16.i386.rpm) and edited the festival.scm file to add:
(define (tts_textasterisk string mode)
 (tts_textasterisk STRING MODE)
 Apply tts to STRING. This function is specifically designed for
 use in server mode so a single function call may synthesize the string.
 This function name may be added to the server safe functions.
 (let wholeutt (utt.synth (eval (list 'Utterance 'Text string)))
 (utt.wave.resample wholeutt 8000)
 (utt.wave.rescale wholeutt 5)
 (utt.send.wave.client wholeutt)))

I am getting the following error in the CLI:
-- Executing Answer(SIP/phone1-e5f4, ) in new stack
-- Executing Festival(SIP/phone1-e5f4, Please record your message)
in new stack
== Parsing '/etc/asterisk/festival.conf': Found
Jan 10 13:34:23 WARNING[4509]: app_festival.c:444 festival_exec:
Festival returned ER

Here is what is in the festival_server.log:
Load server start ./festival_server.scm
 festival port=1314
wrapper Mon Jan 10 13:33:57 EST 2005 : USING DEFAULT CONFIGURATION
wrapper Mon Jan 10 13:33:57 EST 2005 : waiting
serverMon Jan 10 13:33:57 2005 : Festival server started on port 1314
client(1) Mon Jan 10 13:34:23 2005 : accepted from localhost
client(1) Mon Jan 10 13:34:23 2005 : disconnected

extensions.conf
; Record Message
exten = _*500,1,Answer
exten = _*500,2,Festival('Please record your message')
exten = _*500,3,Record(mymessage:gsm)
exten = _*500,4,Festival('You said')
exten = _*500,5,Playback(mymessage)

festival.conf
[general]
host=asterisk
port=1314
usecache=yes
cachedir=/var/lib/asterisk/festivalcache/
festivalcommand=(tts_textasterisk %s 'file)(quit)\n

Any ideas?
___
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 1.95 on 64 bit linux 2.6 FC3

2004-12-14 Thread C F
I wasn't able to compile any other version of festival so I compiled
version 1.95 didnt have a problem. I followed the following
instructions:
http://www.voip-info.org/wiki-Asterisk+festival+installation
now I get an error in festival:
***begin screen shot *
[EMAIL PROTECTED] ~]# festival --server
serverTue Dec 14 22:56:56 2004 : Festival server started on port 1314
client(1) Tue Dec 14 22:56:59 2004 : accepted from localhost
SIOD ERROR: wrong type of argument to car : wholeutt
client(1) Tue Dec 14 22:56:59 2004 : disconnected
**end screen shot
Please help email: [EMAIL PROTECTED]
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
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

2004-09-13 Thread Rich Allen
iH

have trouble getting the festival command to work. when i dial 
extension i have set up i get

Sep 13 11:25:33 WARNING[344080]: app_festival.c:440 festival_exec: Festival 
returned ER

festival does work correctly when i use it from the unix command line. my 
festival.conf file is set up per the wiki

thanks,
- hcir
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] festival

2004-09-13 Thread Seth Remington
On Mon, 2004-09-13 at 15:31, Rich Allen wrote:
 iH
 
 have trouble getting the festival command to work. when i dial 
 extension i have set up i get
 
 Sep 13 11:25:33 WARNING[344080]: app_festival.c:440 festival_exec: Festival 
 returned ER
 
 festival does work correctly when i use it from the unix command line. my 
 festival.conf file is set up per the wiki

Did you apply the patch in /usr/src/asterisk/contrib? The
/usr/src/asterisk/contrib/README.festival document might have some info
to help you.

-Seth

-- 
Seth Remington
SaberLogic, LLC
661-B Weber Drive
Wadsworth, Ohio 44281
Phone: (330)335-6442
Fax: (330)336-8559

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
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 Speech Synthesis 1.95:beta July 2004 Eval

2004-09-09 Thread Steve Murphy




Hello--

In the interests of playing around and wasting time, I've installed the latest version of the
Festival stuff, 1.95beta.

And, in the interests of future Asterisk-Festival connectivity, I applied the 1.4.3 patch to put in the
asterisk related routines. I did it by hand, but, it looks like the patch will apply with no comment.
Asterisk works with the new server...

BUT

the speed of what's played over the speaker vs. what you hear over the phone is off by maybe 2x.
The voice isn't shifted in frequency at all. On Asterisk, the voice just speaks twice as fast as it does 
coming from festival over the speakers. And, if you are having it say jokes at double speed, well, it reminds me of speed reading.

There must be some lever or pulley or switch or something to modify the speed.

AND

Hoo boy, try putting this in your siteinit.scm file:

(set! voice_default 'voice_cstr_us_awb_arctic_multisyn)

and listen to this:

 (SayText Hello there, kyootee pie.)
(SayText Don't you just love the sound of my voice.)
(SayText My wife, Sonya, Makes the best bread there ever was)

Best synthetic voice I've ever heard.

murf





-- 
Steve Murphy 
Electronic Tools Company






___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [Asterisk-Users] Festival Speech Synthesis 1.95:beta July 2004 Eval

2004-09-09 Thread hank smith



do you got a number I can call to take a 
listen?

  - Original Message - 
  From: 
  Steve Murphy 
  
  To: [EMAIL PROTECTED] 
  
  Sent: Thursday, September 09, 2004 12:06 
  PM
  Subject: [Asterisk-Users] Festival Speech 
  Synthesis 1.95:beta July 2004 Eval
  Hello--In the interests of playing around and wasting 
  time, I've installed the latest version of theFestival stuff, 
  1.95beta.And, in the interests of future Asterisk-Festival 
  connectivity, I applied the 1.4.3 patch to put in theasterisk related 
  routines. I did it by hand, but, it looks like the patch will apply with no 
  comment.Asterisk works with the new server...BUTthe speed 
  of what's played over the speaker vs. what you hear over the phone is off by 
  maybe 2x.The voice isn't shifted in frequency at all. On Asterisk, the 
  voice just speaks twice as fast as it does coming from festival over the 
  speakers. And, if you are having it say jokes at double speed, well, it 
  reminds me of speed reading.There must be some lever or pulley or 
  switch or something to modify the speed.ANDHoo boy, try 
  putting this in your siteinit.scm file:(set! voice_default 
  'voice_cstr_us_awb_arctic_multisyn)and listen to this:(SayText 
  "Hello there, kyootee pie.")(SayText "Don't you just love the sound of my 
  voice.")(SayText "My wife, Sonya, Makes the best bread there ever 
  was")Best synthetic voice I've ever heard.murf
  


  -- Steve Murphy Electronic Tools Company 

  
  

  ___Asterisk-Users 
  mailing 
  list[EMAIL PROTECTED]http://lists.digium.com/mailman/listinfo/asterisk-usersTo 
  UNSUBSCRIBE or update options visit: 
  http://lists.digium.com/mailman/listinfo/asterisk-users

My Inbox is protected by SPAMfighter1037 spam mails have been blocked so far.Download free SPAMfighter today!___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [Asterisk-Users] Festival TTS mbrola ?

2004-09-02 Thread Eric Bart
I have tested positively mbrola with lliaphon for the french language.
I'm using it within an agi script.

for lliaphon go :
http://www.culte.org/projets/biglux/install/lao/lliaphon.shtml

for other languages try :
http://tcts.fpms.ac.be/synthesis/mbrola/mbrtts.html

Regards
Eric
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re[2]: [Asterisk-Users] Festival TTS mbrola ?

2004-09-02 Thread Danny Zak
Hello Eric,

thanks for the information

i have everything installed .. but can't seem to get the voice to get
into asterisk

i tried

System(/usr/local/play_ola /tmp/dino.ola)

as a test .. but it times out ..

any solutions ?


-- 
Best regards,
 Dannymailto:[EMAIL PROTECTED]

belGOnet.com  a  Euro-pictures  division - internet solutions
place princesse elisabeth 9/11   -   1030 Brussels  - Belgium
Tel : +32-(0)2-215.67.65  -  Fax : +32-(0)2-215.66.65

domains - hosting - hardware - VoiP - consultancy - backuping
CISCO - HP/COMPAQ - SUN - EMC - JUNIPER - IBM - DELL - NORTEL


No  legal  consequences  can be derived from the contents of the email
neither  is  belGOnet.com committed to them. The content of this email
is  exclusively  intended  for  adressee(s)  and information purposes.
belGOnet.com  accepts  no  liability for any damage resulting from the
use and/or acceptation of the content of this email.


Thursday, September 2, 2004, 9:44:00 AM, you wrote:

EB I have tested positively mbrola with lliaphon for the french language.
EB I'm using it within an agi script.

EB for lliaphon go :
EB http://www.culte.org/projets/biglux/install/lao/lliaphon.shtml

EB for other languages try :
EB http://tcts.fpms.ac.be/synthesis/mbrola/mbrtts.html

EB Regards
EB Eric
EB ___
EB Asterisk-Users mailing list
EB [EMAIL PROTECTED]
EB http://lists.digium.com/mailman/listinfo/asterisk-users
EB To UNSUBSCRIBE or update options visit:
EBhttp://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: Re[2]: [Asterisk-Users] Festival TTS mbrola ?

2004-09-02 Thread Eric Bart
I use the Background command from the agi. The audio file
has to be in the proper directory, i.e. /var/lib/asterisk/sounds/fr

here's excerpt from a bash script

# phonetize
lliaphon $filetxt  # creates the ola file

# pronounce
$mbrolaprog -e -f 1.0 -t 0.6 -I $mbrolainitfile $mbrolavoice $fileola $filetmpsnd

# sampling conversion
sox $filetmpsnd -r 8000 -c 1 $filesnd resample -ql  . 

# copy
cp -f $filesnd $directory

Then use Background ...


It should be possible to use mbrola at the right sampling rate, making
it faster. Please let me know if you solve this.

Regards
Eric
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
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 TTS mbrola ?

2004-09-01 Thread Danny Zak
Hello Asterisk,

  noticed that the mbrola really adds a extra dimension to tts; anyone
  got any experience with running this together with the festival and
  * ?

-- 
Best regards,
 Danny  mailto:[EMAIL PROTECTED]

belGOnet.com  a  Euro-pictures  division - internet solutions
place princesse elisabeth 9/11   -   1030 Brussels  - Belgium
Tel : +32-(0)2-215.67.65  -  Fax : +32-(0)2-215.66.65

domains - hosting - hardware - VoiP - consultancy - backuping
CISCO - HP/COMPAQ - SUN - EMC - JUNIPER - IBM - DELL - NORTEL


No  legal  consequences  can be derived from the contents of the email
neither  is  belGOnet.com committed to them. The content of this email
is  exclusively  intended  for  adressee(s)  and information purposes.
belGOnet.com  accepts  no  liability for any damage resulting from the
use and/or acceptation of the content of this email.

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
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 Issues

2004-08-19 Thread Darryl Ross
Hey All,
I now have Festival compiled, installed and running using the instructions on the Wiki 
page.
When I try to change the voice that is being used however, I am running into a problem. I get 
the following in the festival server log:

Cannot open file /tmp/est_10877_0/utt.wav as tokenstream
Wave load: can't open file /tmp/est_10877_0/utt.wav
Cannot load wavefile: /tmp/est_10877_0/utt.wav
When I look in the /tmp/est_10877_0 folder, while the sound file is still playing according 
to Asterisk, the following seems to be created:

total 56
drwxr-xr-x2 darryl   users4096 Aug 19 16:28 .
drwxr-xr-x   29 root root 4096 Aug 19 16:28 ..
-rw-r--r--1 darryl   users   0 Aug 19 16:28 tmp.f0
-rw-r--r--1 darryl   users   22365 Aug 19 16:28 tmp.lab
-rw-r--r--1 darryl   users   0 Aug 19 16:28 tmp.mcep
-rw-r--r--1 darryl   users   0 Aug 19 16:28 tmp.raw
-rw-r--r--1 darryl   users   23411 Aug 19 16:28 utt.feats
I've tried setting a number of different voices. Some don't give any audio and some only seem 
to give a small 'blip' of sound.

Does anyone have any ideas?
Thanks in advance
Darryl
--
Darryl Ross
Senior Network Engineer
OEG Australia
Email: [EMAIL PROTECTED]
Phone: 08 81228363
Office: 08 81226361
If you want to live up to the whole There is more than one way to
do it slogan, you have to give someone a swiss army chainsaw ...
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
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 Installation - Asterisk 1.0-RC2 Debian Woody

2004-08-18 Thread Darryl Ross
Hey All,
Thought I'd take a bash at trying to get Festival to work here on my lab 
system with the aim of using it to create our IVR menu prompts. I've 
spent most of the afternoon searching through the Wiki, the Festival 
website and Google and I've got a couple of questions.

First one is that the 'Asterisk+festival+installation' page on the Wiki 
mentions the RedHat 9 RPMs for Festival 1.4.2 will not work with 
asterisk. Is this also the case with the deb files in Woody? (1.4.2-2.1)

I have tried to use the debian provided package, but I get the following 
in the Asterisk console (I've obtusified the phone IP address...):

-- Endpoint 'aaln/[EMAIL PROTECTED]' observed 'hd'
-- MGCP mgcp_new(MGCP/aaln/[EMAIL PROTECTED]) created in state: Down
-- Endpoint 'aaln/[EMAIL PROTECTED]' observed '*'
-- Endpoint 'aaln/[EMAIL PROTECTED]' observed '1'
-- Endpoint 'aaln/[EMAIL PROTECTED]' observed '4'
-- Executing Answer(MGCP/aaln/[EMAIL PROTECTED], ) in new stack
-- MGCP mgcp_answer(MGCP/aaln/[EMAIL PROTECTED]) on 
aaln/[EMAIL PROTECTED]
-- Executing Festival(MGCP/aaln/[EMAIL PROTECTED], This is only 
a test) in new stack
  == Parsing '/etc/asterisk/festival.conf': Found
Aug 18 16:28:17 WARNING[491537]: app_festival.c:440 festival_exec: 
Festival returned ER
  == Spawn extension (local-clients, *14, 2) exited non-zero on 
'MGCP/aaln/[EMAIL PROTECTED]'
-- Executing Hangup(MGCP/aaln/[EMAIL PROTECTED], ) in new stack
  == Spawn extension (local-clients, h, 1) exited non-zero on 
'MGCP/aaln/[EMAIL PROTECTED]'
-- No command found on [203.33.246.xx] for transaction 168. Ignoring...
-- Endpoint 'aaln/[EMAIL PROTECTED]' observed 'hu'
-- MGCP handle_request(aaln/[EMAIL PROTECTED]) ast_channel already 
destroyed
-- MGCP handle_request(aaln/[EMAIL PROTECTED]) set vmwi(-)

In the festival server log I get:
client(8) Wed Aug 18 16:28:17 2004 : accepted from localhost
client(8) Wed Aug 18 16:28:17 2004 : disconnected
Assuming that the debian packages are not compatible, which version of 
Festival do I need? The Wiki page mentioned above says to grab the 
tarball of 1.4.3, which is no longer available from the website. Only 
1.95 is available. Will that work? Does it need the patch mentioned on 
the Wiki page?

Does anyone have an apt compatible repository of everything needed to 
get Festival working with Asterisk under Debian Woody?

Thanks in advance
Darryl
--
Darryl Ross
Senior Network Engineer
OEG Australia
Email: [EMAIL PROTECTED]
Phone: 08 81228363
Office: 08 81226361
If you want to live up to the whole There is more than one way to
do it slogan, you have to give someone a swiss army chainsaw ...
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Festival Installation - Asterisk 1.0-RC2 Debian Woody

2004-08-18 Thread Sebastian Sporleder
Darryl Ross wrote:
Hey All,
Thought I'd take a bash at trying to get Festival to work here on my 
lab system with the aim of using it to create our IVR menu prompts. 
I've spent most of the afternoon searching through the Wiki, the 
Festival website and Google and I've got a couple of questions.

First one is that the 'Asterisk+festival+installation' page on the 
Wiki mentions the RedHat 9 RPMs for Festival 1.4.2 will not work with 
asterisk. Is this also the case with the deb files in Woody? (1.4.2-2.1)

I have tried to use the debian provided package, but I get the 
following in the Asterisk console (I've obtusified the phone IP 
address...):

-- Endpoint 'aaln/[EMAIL PROTECTED]' observed 'hd'
-- MGCP mgcp_new(MGCP/aaln/[EMAIL PROTECTED]) created in state: Down
-- Endpoint 'aaln/[EMAIL PROTECTED]' observed '*'
-- Endpoint 'aaln/[EMAIL PROTECTED]' observed '1'
-- Endpoint 'aaln/[EMAIL PROTECTED]' observed '4'
-- Executing Answer(MGCP/aaln/[EMAIL PROTECTED], ) in new stack
-- MGCP mgcp_answer(MGCP/aaln/[EMAIL PROTECTED]) on 
aaln/[EMAIL PROTECTED]
-- Executing Festival(MGCP/aaln/[EMAIL PROTECTED], This is only 
a test) in new stack
  == Parsing '/etc/asterisk/festival.conf': Found
Aug 18 16:28:17 WARNING[491537]: app_festival.c:440 festival_exec: 
Festival returned ER
  == Spawn extension (local-clients, *14, 2) exited non-zero on 
'MGCP/aaln/[EMAIL PROTECTED]'
-- Executing Hangup(MGCP/aaln/[EMAIL PROTECTED], ) in new stack
  == Spawn extension (local-clients, h, 1) exited non-zero on 
'MGCP/aaln/[EMAIL PROTECTED]'
-- No command found on [203.33.246.xx] for transaction 168. 
Ignoring...
-- Endpoint 'aaln/[EMAIL PROTECTED]' observed 'hu'
-- MGCP handle_request(aaln/[EMAIL PROTECTED]) ast_channel already 
destroyed
-- MGCP handle_request(aaln/[EMAIL PROTECTED]) set vmwi(-)

In the festival server log I get:
client(8) Wed Aug 18 16:28:17 2004 : accepted from localhost
client(8) Wed Aug 18 16:28:17 2004 : disconnected
Assuming that the debian packages are not compatible, which version of 
Festival do I need? The Wiki page mentioned above says to grab the 
tarball of 1.4.3, which is no longer available from the website. Only 
1.95 is available. Will that work? Does it need the patch mentioned on 
the Wiki page?

Of course it is available on theri website!
Have a look here: http://festvox.org/packed/festival/
I have installed it from souce yesterday and there are also patches for 
1.4.1 and 1.4.2 in the CVS contrib folder!

Greetz
Sebastian
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] Festival Installation - Asterisk 1.0-RC2 Debian Woody

2004-08-18 Thread Darryl Ross
Sebastian Sporleder wrote:
Darryl Ross wrote:
Assuming that the debian packages are not compatible, which version of 
Festival do I need? The Wiki page mentioned above says to grab the 
tarball of 1.4.3, which is no longer available from the website. Only 
1.95 is available. Will that work? Does it need the patch mentioned on 
the Wiki page?
Of course it is available on theri website!
Have a look here: http://festvox.org/packed/festival/
I have installed it from souce yesterday and there are also patches for 
1.4.1 and 1.4.2 in the CVS contrib folder!
Doh, I must have missed that one. The site I found for it was at 
http://www.cstr.ed.ac.uk/projects/festival/

Thanks!
Darryl
--
Darryl Ross
Senior Network Engineer
OEG Australia
Email: [EMAIL PROTECTED]
Phone: 08 81228363
Office: 08 81226361
If you want to live up to the whole There is more than one way to
do it slogan, you have to give someone a swiss army chainsaw ...
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
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 2.0

2004-07-20 Thread Steve Woolley
According to the Festival website
(http://www.cstr.ed.ac.uk/projects/festival/), a new version of festival
version 2.0 should be showing up soon (end of July). There is even a
Beta version (Festival 1.95) available for download. Supposedly, the new
version has many bug fixes as well as a new HTS and Multisyn synthesis
engines. The site also states backward compatibility with 1.4.3 as well
as a host of other features.

I know that part of Festival installation process includes a patch from
the /usr/src/asterisk/contrib directory that is needed for asterisk to
use festival. I have not tried using the festival-1.4.3 patch file on
this beta version, but I can only assume that with the extensive changes
that this would not be to successful.

Has anyone toyed with this new version of Festival and integrating it
into asterisk?

 
--
Steve Woolley
IT Manager
ADS Telecom, Inc.
59 Skyline Drive
Suite 1250
Lake Mary, Florida 32746

Phone: (407)682-6226 x1110
Fax:   (407)682-3455
Cell:  (321)229-5311

[EMAIL PROTECTED]
www.adstelecom.com  .diff
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


  1   2   >