Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Cannot choose Cepstral voice from dialplan


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
pauld at versafon.com
Guest





PostPosted: Sun Feb 08, 2009 12:06 am    Post subject: [Freeswitch-users] Cannot choose Cepstral voice from dialpla Reply with quote

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.

_______________________________________________
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
Back to top
msc at freeswitch.org
Guest





PostPosted: Sun Feb 08, 2009 5:15 pm    Post subject: [Freeswitch-users] Cannot choose Cepstral voice from dialpla Reply with quote

Sent from my iPhone

On Feb 7, 2009, at 9:03 PM, "Paul D." <pauld@versafon.com> wrote:

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

Quote:
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
Back to top
pauld at versafon.com
Guest





PostPosted: Sun Feb 08, 2009 6:15 pm    Post subject: [Freeswitch-users] Cannot choose Cepstral voice from dialpla Reply with quote

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:
Quote:
Sent from my iPhone

On Feb 7, 2009, at 9:03 PM, "Paul D." <pauld@versafon.com> wrote:


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


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




_______________________________________________
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
Back to top
intralanman at freeswi...
Guest





PostPosted: Mon Feb 09, 2009 11:17 am    Post subject: [Freeswitch-users] Cannot choose Cepstral voice from dialpla Reply with quote

pauld wrote:
Quote:
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

_______________________________________________
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
Back to top
msc at freeswitch.org
Guest





PostPosted: Mon Feb 09, 2009 12:09 pm    Post subject: [Freeswitch-users] Cannot choose Cepstral voice from dialpla Reply with quote

On Sun, Feb 8, 2009 at 3:14 PM, pauld <pauld@versafon.com> wrote:
Quote:
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
Back to top
pauld at versafon.com
Guest





PostPosted: Wed Feb 11, 2009 11:41 pm    Post subject: [Freeswitch-users] Cannot choose Cepstral voice from dialpla Reply with quote

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:
Quote:
On Sun, Feb 8, 2009 at 3:14 PM, pauld <pauld@versafon.com> wrote:

Quote:
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
Back to top
brian at freeswitch.org
Guest





PostPosted: Wed Feb 11, 2009 11:44 pm    Post subject: [Freeswitch-users] Cannot choose Cepstral voice from dialpla Reply with quote

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:

Quote:
"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
Back to top
pauld at versafon.com
Guest





PostPosted: Thu Feb 12, 2009 9:14 am    Post subject: [Freeswitch-users] Cannot choose Cepstral voice from dialpla Reply with quote

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


Quote:
"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




_______________________________________________
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
Back to top
brian at freeswitch.org
Guest





PostPosted: Thu Feb 12, 2009 10:14 am    Post subject: [Freeswitch-users] Cannot choose Cepstral voice from dialpla Reply with quote

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:

Quote:
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
Back to top
anthony.minessale at g...
Guest





PostPosted: Thu Feb 12, 2009 4:02 pm    Post subject: [Freeswitch-users] Cannot choose Cepstral voice from dialpla Reply with quote

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 (pauld@versafon.com)> wrote:
Quote:
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:
Quote:
On Sun, Feb 8, 2009 at 3:14 PM, pauld <pauld@versafon.com (pauld@versafon.com)> wrote:

Quote:
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 (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 (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 ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
pauld at versafon.com
Guest





PostPosted: Thu Feb 12, 2009 7:37 pm    Post subject: [Freeswitch-users] Cannot choose Cepstral voice from dialpla Reply with quote

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


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




_______________________________________________
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services