[Freeswitch-users] Invalid speech module [cepstral] error on Flite

Nitin Tomer ntomer at newgen.co.in
Tue Aug 21 14:58:33 MSD 2012


Hi,

 

I am trying to make tts work using flite on freeswitch (installed/configured
using this guide - http://wiki.freeswitch.org/wiki/Installation_Guide) on
Ubuntu 12.04.

 

I configured a sample IVR menu using this -
<http://wiki.freeswitch.org/wiki/Examples_ivrmenu_js>
http://wiki.freeswitch.org/wiki/Examples_ivrmenu_js

 

I created a file ivrmenu.js in usr/local/freeswitch/scripts/; and made the
following entry in usr/local/freeswitch/conf/dialplan/default.xml:
 
<extension name="1200">
        <condition field="destination_number" expression="^1200$">
               <action application="javascript" data="ivrmenu.js"/>
        </condition>
</extension>
 

I added the following macro entry in
usr/local/freeswitch/conf/lang/en/en.xml

 

<macro name="mainmenu">
       <input pattern="0">
           <match>
               <action function="speak-text" data="Press 0 for the
Operator."/>
           </match>
       </input>
   
       <input pattern="1">
           <match>
               <action function="speak-text" data="Press 1 for
Accounting."/>
           </match>
       </input>
   
       <input pattern="2">
           <match>
               <action function="speak-text" data="Press 2 for Sales."/>
           </match>
       </input>
   
       <input pattern="3">
           <match>
               <action function="speak-text" data="Press 3 for Support."/>
           </match>
       </input>
   
       <input pattern="4">
           <match>
               <action function="speak-text" data="Press 4 for The
Janitor."/>
           </match>
       </input>
   
       <input pattern="5">
           <match>
               <action function="speak-text" data="Press 5 for The Smoking
Lounge."/>
           </match>
       </input>
   
       <input pattern="6">
           <match>
               <action function="speak-text" data="Press 6 for the men's
bathroom."/>
           </match>
       </input>
   
       <input pattern="7">
           <match>
               <action function="speak-text" data="Press 7 for the women's
powder room."/>
           </match>
       </input>
   
       <input pattern="8">
           <match>
               <action function="speak-text" data="Press 8 for no special
reason."/>
           </match>
       </input>
   
       <input pattern="9">
           <match>
               <action function="speak-text" data="Press 9 for a good
time."/>
           </match>
       </input>
   
       <input pattern="\*">
           <match>
               <action function="speak-text" data="Press star for good
luck."/>
           </match>
       </input>
   
       <input pattern="\#">
           <match>
               <action function="speak-text" data="Press pound for
psychological counseling."/>
           </match>
       </input>
   </macro>
   
   <macro name="saydigits">
       <input pattern="(.*)">
           <match>
               <action function="speak-text" data="You pressed $1"/>
           </match>
       </input>
   </macro>

 

Now when I dial extension 1200, following error is printed on Freeswitch
console -

 

2012-08-21 15:02:16.257525 [NOTICE] switch_channel.c:941 New Channel
sofia/internal/1000 at 192.168.6.109 [187ff238-eb73-11e1-a3ef-ed1990e665f3]

2012-08-21 15:02:16.257525 [INFO] mod_dialplan_xml.c:485 Processing 1000
<1000>->1200 in context default

2012-08-21 15:02:16.297537 [NOTICE] sofia_glue.c:4176 Pre-Answer
sofia/internal/1000 at 192.168.6.109!

2012-08-21 15:02:16.317513 [NOTICE] mod_spidermonkey.c:2098 Channel
[sofia/internal/1000 at 192.168.6.109] has been answered

2012-08-21 15:02:16.341524 [ERR] switch_core_speech.c:61 Invalid speech
module [cepstral]!

2012-08-21 15:02:16.341524 [ERR] switch_ivr_play_say.c:2466 Invalid TTS
module!

2012-08-21 15:02:21.625528 [ERR] switch_core_speech.c:61 Invalid speech
module [cepstral]!

2012-08-21 15:02:21.625528 [ERR] switch_ivr_play_say.c:2466 Invalid TTS
module!

2012-08-21 15:02:21.737528 [NOTICE] switch_core_state_machine.c:249
sofia/internal/1000 at 192.168.6.109 has executed the last dialplan
instruction, hanging up.

2012-08-21 15:02:21.737528 [NOTICE] switch_core_state_machine.c:251 Hangup
sofia/internal/1000 at 192.168.6.109 [CS_EXECUTE] [NORMAL_CLEARING]

2012-08-21 15:02:21.917533 [NOTICE] switch_core_session.c:1447 Session 1
(sofia/internal/1000 at 192.168.6.109) Ended

2012-08-21 15:02:21.917533 [NOTICE] switch_core_session.c:1449 Close Channel
sofia/internal/1000 at 192.168.6.109 [CS_DESTROY]

2012-08-21 15:02:32.957527 [NOTICE] switch_channel.c:941 New Channel
sofia/internal/1000 at 192.168.6.109 [2274b6a2-eb73-11e1-a3f5-ed1990e665f3]

2012-08-21 15:02:32.957527 [INFO] mod_dialplan_xml.c:485 Processing 1000
<1000>->1200 in context default

2012-08-21 15:02:32.978655 [NOTICE] sofia_glue.c:4176 Pre-Answer
sofia/internal/1000 at 192.168.6.109!

2012-08-21 15:02:32.978655 [NOTICE] mod_spidermonkey.c:2098 Channel
[sofia/internal/1000 at 192.168.6.109] has been answered

2012-08-21 15:02:33.005538 [ERR] switch_core_speech.c:61 Invalid speech
module [cepstral]!

2012-08-21 15:02:33.005538 [ERR] switch_ivr_play_say.c:2466 Invalid TTS
module!

2012-08-21 15:02:39.124530 [ERR] switch_core_speech.c:61 Invalid speech
module [cepstral]!

2012-08-21 15:02:39.124530 [ERR] switch_ivr_play_say.c:2466 Invalid TTS
module!

2012-08-21 15:02:45.265517 [ERR] switch_core_speech.c:61 Invalid speech
module [cepstral]!

2012-08-21 15:02:45.265517 [ERR] switch_ivr_play_say.c:2466 Invalid TTS
module!

2012-08-21 15:02:51.385575 [ERR] switch_core_speech.c:61 Invalid speech
module [cepstral]!

2012-08-21 15:02:51.385575 [ERR] switch_ivr_play_say.c:2466 Invalid TTS
module!

2012-08-21 15:02:51.497528 [NOTICE] switch_core_state_machine.c:249
sofia/internal/1000 at 192.168.6.109 has executed the last dialplan
instruction, hanging up.

2012-08-21 15:02:51.497528 [NOTICE] switch_core_state_machine.c:251 Hangup
sofia/internal/1000 at 192.168.6.109 [CS_EXECUTE] [NORMAL_CLEARING]

2012-08-21 15:02:51.497528 [NOTICE] switch_core_session.c:1447 Session 2
(sofia/internal/1000 at 192.168.6.109) Ended

2012-08-21 15:02:51.497528 [NOTICE] switch_core_session.c:1449 Close Channel
sofia/internal/1000 at 192.168.6.109 [CS_DESTROY]

 

What seems to be the problem here? Am I missing something? Please help.

 

Thanks

 

Nitin

 


Disclaimer :- This e-mail and any attachment may contain confidential, proprietary or legally privileged information. If you are not the original intended recipient and have erroneously received this message, you are prohibited from using, copying, altering or disclosing the content of this message. Please delete it immediately and notify the sender. Newgen Software Technologies Ltd (NSTL)  accepts no responsibilities for loss or damage arising from the use of the information transmitted by this email including damages from virus and further acknowledges that no binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of NSTL.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120821/b8c9d7a0/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list