Cannot choose Cepstral voice from dialplan
Followed Wiki to install and configure mod_cepstral. The problem is FS always defaults to one voice, which I installed first, and ignores others. I did define SWIFT_HOME and added swift lib path to /etc/ld.so.conf. After I restart FS I see on FS console after dialing my test extension: Failed to load library libceplex_us.so due to: libceplex_us.so: cannot open shared object file: No such file or directory Failed to load language / lexical libraries for Callie-8kHz I do have this voice installed. This message does not appear after subsequent calls to the test extension, until next FS restart. I use this in my dialplan: <extension name="tts"> <condition field="destination_number" expression="^49999$"> <action application="answer"/> <action application="speak" data="cepstral|Callie-8kHz|Your call cannot be completed as dialed."/> <action application="hangup" data="SUCCESS"/> </condition> </extension> This is all under centos 5.2 64 bit. Any suggestions would be greatly appreciated.
Sent from my iPhone On Feb 7, 2009, at 9:03 PM, "Paul D." <pauld@versafon.com> wrote:
Followed Wiki to install and configure mod_cepstral. The problem is FS always defaults to one voice, which I installed first, and ignores others. I did define SWIFT_HOME and added swift lib path to /etc/ld.so.conf. After I restart FS I see on FS console after dialing my test extension:
Failed to load library libceplex_us.so due to: libceplex_us.so: cannot open shared object file: No such file or directory Failed to load language / lexical libraries for Callie-8kHz
Look in /opt/swift for the dir that has the lib files. Most likely you'll find that they have the files are but have more specific names, perhaps with a version number. If you create symlinks to the files in question it should work. -MC
I do have this voice installed. This message does not appear after subsequent calls to the test extension, until next FS restart. I use this in my dialplan:
<extension name="tts"> <condition field="destination_number" expression="^49999$"> <action application="answer"/> <action application="speak" data="cepstral|Callie-8kHz|Your call cannot be completed as dialed."/> <action application="hangup" data="SUCCESS"/> </condition> </extension>
This is all under centos 5.2 64 bit. Any suggestions would be greatly appreciated.
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
The libs are there with correct symlinks, see below. I tested both voices directly via swift command, works fine. Any other ideas? It's Cepstral 5.1, FS 1.0.2. ls -la /opt/swift/lib total 4352 drwxr-xr-x 2 root root 4096 Feb 7 22:59 . drwxr-xr-x 10 root root 4096 Feb 7 12:29 .. lrwxrwxrwx 1 999 20202 20 Feb 7 22:59 libceplang_en.so -> libceplang_en.so.5.1 lrwxrwxrwx 1 999 20202 20 Feb 7 22:59 libceplang_en.so.5 -> libceplang_en.so.5.1 -rwxrwxr-x 1 999 20202 412050 Jul 8 2008 libceplang_en.so.5.1 lrwxrwxrwx 1 999 20202 19 Feb 7 12:29 libceplex_uk.so -> libceplex_uk.so.5.1 lrwxrwxrwx 1 999 20202 19 Feb 7 12:29 libceplex_uk.so.5 -> libceplex_uk.so.5.1 -rwxrwxr-x 1 999 20202 904994 Jul 8 2008 libceplex_uk.so.5.1 lrwxrwxrwx 1 999 20202 19 Feb 7 22:59 libceplex_us.so -> libceplex_us.so.5.1 lrwxrwxrwx 1 999 20202 19 Feb 7 22:59 libceplex_us.so.5 -> libceplex_us.so.5.1 -rwxrwxr-x 1 999 20202 1009780 Jul 8 2008 libceplex_us.so.5.1 lrwxrwxrwx 1 999 20202 15 Feb 7 22:59 libswift.so -> libswift.so.5.1 lrwxrwxrwx 1 999 20202 15 Feb 7 22:59 libswift.so.5 -> libswift.so.5.1 -rwxrwxr-x 1 999 20202 2100418 Jul 8 2008 libswift.so.5.1 Michael S Collins wrote:
Sent from my iPhone
On Feb 7, 2009, at 9:03 PM, "Paul D." <pauld@versafon.com> wrote:
Followed Wiki to install and configure mod_cepstral. The problem is FS always defaults to one voice, which I installed first, and ignores others. I did define SWIFT_HOME and added swift lib path to /etc/ld.so.conf. After I restart FS I see on FS console after dialing my test extension:
Failed to load library libceplex_us.so due to: libceplex_us.so: cannot open shared object file: No such file or directory Failed to load language / lexical libraries for Callie-8kHz
Look in /opt/swift for the dir that has the lib files. Most likely you'll find that they have the files are but have more specific names, perhaps with a version number. If you create symlinks to the files in question it should work.
-MC
I do have this voice installed. This message does not appear after subsequent calls to the test extension, until next FS restart. I use this in my dialplan:
<extension name="tts"> <condition field="destination_number" expression="^49999$"> <action application="answer"/> <action application="speak" data="cepstral|Callie-8kHz|Your call cannot be completed as dialed."/> <action application="hangup" data="SUCCESS"/> </condition> </extension>
This is all under centos 5.2 64 bit. Any suggestions would be greatly appreciated.
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
pauld wrote:
The libs are there with correct symlinks, see below. I tested both voices directly via swift command, works fine. Any other ideas? It's Cepstral 5.1, FS 1.0.2.
Unpredictable issues have been reported using cepstral 5 with FreeSWITCH. I'd suggest using their 4.x release. If you have a really good reason to only use 5, then you might entice someone to work on reliable Cepstral 5 integration with a bounty... upgrade to FreeSWITCH trunk first though. -Ray
On Sun, Feb 8, 2009 at 3:14 PM, pauld <pauld@versafon.com> wrote:
The libs are there with correct symlinks, see below. I tested both voices directly via swift command, works fine. Any other ideas? It's Cepstral 5.1, FS 1.0.2.
Well, first I recommend getting on latest trunk if that's at all possible for you. The devs have made a ton of improvements in the last five weeks. Second, this might actually be an issue with FS looking in its own lib directory for these .so files. Try a symlink from /usr/local/freeswitch/lib to your /opt/swift/lib (or whatever the name is) dir for each .so file. However, I think Raymond is correct - some weirdness has been reported by some Cepstral users on 5.1. We'd definitely like to hear about your experiences if and when you get it running. -MC
The issue was resolved by creating symlinks to cepstral libs in FS lib directory. I tried that on 1.0.3, but most probably it would work on 1.0.2 as well. Thanks for help. BTW, without that FS would do a core dump (seg fault) on shutdown after TTS was invoked at least once. Looking at FS logs I see "TRANSCODING_NECESSARY" when executing dynamic text even with 8 kHz voice. Why would that be? Looks like it's PCMU/8000 what it's transcoding to what? Michael Collins wrote:
On Sun, Feb 8, 2009 at 3:14 PM, pauld <pauld@versafon.com> wrote:
The libs are there with correct symlinks, see below. I tested both voices directly via swift command, works fine. Any other ideas? It's Cepstral 5.1, FS 1.0.2.
Well, first I recommend getting on latest trunk if that's at all possible for you. The devs have made a ton of improvements in the last five weeks. Second, this might actually be an issue with FS looking in its own lib directory for these .so files. Try a symlink from /usr/local/freeswitch/lib to your /opt/swift/lib (or whatever the name is) dir for each .so file. However, I think Raymond is correct - some weirdness has been reported by some Cepstral users on 5.1. We'd definitely like to hear about your experiences if and when you get it running.
-MC
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Yes I am using 5.1, I haven't done anything special other than followed wiki and then the advice given here to create symlinks in FS lib dir to all cepstral libs. I have cepstral libs in a standard location /opt/swift/lib. I have given an example extension I used for testing earlier in this thread. Brian West wrote:
This is normal. Are you using 5.0? can you include examples of how you're doing this?
/b
On Feb 11, 2009, at 10:38 PM, pauld wrote:
"TRANSCODING_NECESSARY"
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
You still didn't answer my question. How are you trying to do this from the dialplan. /b On Feb 12, 2009, at 8:08 AM, pauld wrote:
Yes I am using 5.1, I haven't done anything special other than followed wiki and then the advice given here to create symlinks in FS lib dir to all cepstral libs. I have cepstral libs in a standard location /opt/ swift/lib. I have given an example extension I used for testing earlier in this thread
<extension name="tts"> <condition field="destination_number" expression="^69999$"> <action application="answer"/> <action application="speak" data="cepstral|Callie-8kHz|Your call cannot be completed"/> <action application="speak" data="cepstral|Callie|Your call cannot be completed."/> <action application="hangup" data="SUCCESS"/> </condition> </extension> Brian West wrote:
You still didn't answer my question. How are you trying to do this from the dialplan.
/b
On Feb 12, 2009, at 8:08 AM, pauld wrote:
Yes I am using 5.1, I haven't done anything special other than followed wiki and then the advice given here to create symlinks in FS lib dir to all cepstral libs. I have cepstral libs in a standard location /opt/ swift/lib. I have given an example extension I used for testing earlier in this thread
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
transcoding from PCMU (g711) to PCM (raw signed linear) the format that cepstral speaks. On Wed, Feb 11, 2009 at 10:38 PM, pauld <pauld@versafon.com> wrote:
The issue was resolved by creating symlinks to cepstral libs in FS lib directory. I tried that on 1.0.3, but most probably it would work on 1.0.2 as well. Thanks for help. BTW, without that FS would do a core dump (seg fault) on shutdown after TTS was invoked at least once. Looking at FS logs I see "TRANSCODING_NECESSARY" when executing dynamic text even with 8 kHz voice. Why would that be? Looks like it's PCMU/8000 what it's transcoding to what?
Michael Collins wrote:
On Sun, Feb 8, 2009 at 3:14 PM, pauld <pauld@versafon.com> wrote:
The libs are there with correct symlinks, see below. I tested both voices directly via swift command, works fine. Any other ideas? It's Cepstral 5.1, FS 1.0.2.
Well, first I recommend getting on latest trunk if that's at all possible for you. The devs have made a ton of improvements in the last five weeks. Second, this might actually be an issue with FS looking in its own lib directory for these .so files. Try a symlink from /usr/local/freeswitch/lib to your /opt/swift/lib (or whatever the name is) dir for each .so file. However, I think Raymond is correct - some weirdness has been reported by some Cepstral users on 5.1. We'd definitely like to hear about your experiences if and when you get it running.
-MC
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
participants (7)
-
Anthony Minessale
-
Brian West
-
Michael Collins
-
Michael S Collins
-
Paul D.
-
pauld
-
Raymond Chandler