[Asterisk-Users] Adding Cepstral to Asterisk

Wojciech Tryc wojtek at VoIPMan.ORG
Mon Oct 3 08:34:44 MST 2005


I am not following...
Why would you need to integrate Cepstral directly into Asterisk? Just to be 
able to call it as Asterisk app from your dialplan? I am running Cepstral 
and calling it through the System call.
Thanks,
Wojtek
----- Original Message ----- 
From: <pbx at itsngroup.com>
To: "Asterisk Users Mailing List - Non-Commercial Discussion" 
<asterisk-users at lists.digium.com>
Sent: Monday, October 03, 2005 11:27 AM
Subject: Re: [Asterisk-Users] Adding Cepstral to Asterisk


Then did you do a make clean / make / make install?

Then do "show applications" at the CLI prompt after you have restarted
asterisk.

"service asterisk stop"
"service asterisk start"

...

> I downloaded Cepstral to my Asterisk Box.  I did the install and let it
> install to /opt/swift.
>
> I brought down a new CVS-HEAD as of today 10/1.
>
> I added APPS+=app_cepstral.so into the Makefile in
> /usr/src/asterisk/apps/Makefile
>
> Like:
>
> # Obsolete things...
> #
> #APPS+=app_sql_postgres.so
> #APPS+=app_sql_odbc.so
> APPS+=app_cepstral.so
> #
>
> I did this piece but wasn't sure exactly what part of the Makefile I was
> to
> add it in so I added it in here:
>
> Towards the top of the file where it talks obsolete programs are commented
> out.
> And then after the section that compiles voicemail add:
>
> app_cepstral.so: app_cepstral.c
> $(CC) -D_GNU_SOURCE -shared -Xlinker -x -o $@ $< -lz -lm -lswift
> -lceplex_us -lceplang_en -lz -ldl -L/opt/swift/lib -I/opt/swift/include
>
> Make sure the $(CC) line starts with a tab, not spaces.
>
>
> I didn't see a lot about voicemail:
>
> app_sql_odbc.so: app_sql_odbc.o
>         $(CC) $(SOLINK) -o $@ $< -lodbc
>
> app_cepstral.so: app_cepstral.c
>         $(CC) -D_GNU_SOURCE -shared -Xlinker -x -o $@ $< -lz -lm -lswift
> -lceplex_us -lceplang_en -lz -ldl -L/opt/swift/lib -I/opt/swift/include
>
> look:   look.c
>         $(CC) -pipe -O6 -g look.c -o look -lncurses
>
>
> I checked the /etc/ld.so.conf file for a line like: opt/swift/lib in the
> file.  It wasn't there so I added it:
>
> include ld.so.conf.d/*.conf
> /opt/swift/lib
>
>
> I ran ldconfig when I was done.
>
> I can't see that Cepstral was added into Asterisk and I was wondering what
> I
> have done wrong that it doesn't work.
>
> Thanks.
>
>
>
>
>
>
>
>
>
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com --
>
> Asterisk-Users mailing list
> Asterisk-Users at 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
>


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

Asterisk-Users mailing list
Asterisk-Users at 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




More information about the asterisk-users mailing list