Hello everyone. I am having problems getting speex support. It seems * is not loading speex. When i did a make in the codecs sub dir, the following error pops up when making speex: codec_speex.c:34:19: speex.h: No such file or directory is this file missing in the cvs as i just removed the whole * dir and did a new checkout and still seem to get this error, or do i need to get/install something before speex works ? Greetings, Tjardick
On Tue, Jun 17, 2003 at 02:27:38PM +0200, Tjardick van der Kraan wrote:> It seems * is not loading speex. When i did a make in the codecs sub dir, > the following error pops up when making speex: > > codec_speex.c:34:19: speex.h: No such file or directory > > is this file missing in the cvs as i just removed the whole * dir and did a > new checkout and still seem to get this error, or do i need to get/install > something before speex works ?Yes, you ought to install libspeex! It is probably installable by your distro (libspeex-dev in Debian, for example). Bye, -- Emanuele
U need to have speex libraries and header file allready installed on your box. otherwhiles * will not find it and not use it :) On Tuesday 17 Jun 2003 1:27 pm, Tjardick van der Kraan wrote:> Hello everyone. > > I am having problems getting speex support. > > It seems * is not loading speex. When i did a make in the codecs sub dir, > the following error pops up when making speex: > > codec_speex.c:34:19: speex.h: No such file or directory > > is this file missing in the cvs as i just removed the whole * dir and did a > new checkout and still seem to get this error, or do i need to get/install > something before speex works ? > > Greetings, > > Tjardick > > > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users
does anyone know what compression uses Speex ? and which gateways used it so they can work with Asterisk. Thanks, ----- Original Message ----- From: "Emanuele Pucciarelli" <ep@acm.org> To: <asterisk-users@lists.digium.com> Sent: Tuesday, June 17, 2003 8:49 AM Subject: Re: [Asterisk-Users] Speex> On Tue, Jun 17, 2003 at 02:27:38PM +0200, Tjardick van der Kraan wrote: > > > It seems * is not loading speex. When i did a make in the codecs subdir,> > the following error pops up when making speex: > > > > codec_speex.c:34:19: speex.h: No such file or directory > > > > is this file missing in the cvs as i just removed the whole * dir anddid a> > new checkout and still seem to get this error, or do i need toget/install> > something before speex works ? > > Yes, you ought to install libspeex! It is probably installable by your > distro (libspeex-dev in Debian, for example). > > Bye, > > -- > Emanuele > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >
On Tuesday 17 June 2003 08:49, Francisco Perez-Landaeta wrote:> does anyone know what compression uses Speex ? and which gateways > used it so they can work with Asterisk.Speex is a codec, not a protocol. It is analogous to the functionality of ulaw, gsm, and ilbc. -Tilghman
Just a suggestion to anyone using speex: Try running the 1.1.5 or svn code rather than 1.0.3. As a quick example, here are the show translation outputs from * on a 2.8 GHz P4 with speex 1.0.3 (from debian sid's .deb) and from 1.1.5 (compiled with CFLAGS=-march=pentium4 and --enable-sse). Note how encoding from slin went from 25 to 15 ms. That is from the re-write of the sse optimized routines in libspeex. The % change is similar to what I saw on my p3 notebook, where both 1.0.3 and 1.1.5 were compiled with --enable-sse and -march=pentium3. (As a side note, these were captured before Brian's ilbc Makefile patch made it to the anon cvs tree; that optimization shaved 5ms off the time to encode to iLBC on that box.) spx103*CLI> show translation Translation times between formats (in milliseconds) Source Format (Rows) Destination Format(Columns) G723 GSM ULAW ALAW G726 ADPCM SLINR LPC10 G729A SPEEX ILBC G723 - - - - - - - - - - - GSM - - 2 2 2 2 1 6 - 26 19 ULAW - 3 - 1 2 2 1 6 - 26 19 ALAW - 3 1 - 2 2 1 6 - 26 19 G726 - 3 2 2 - 2 1 6 - 26 19 ADPCM - 3 2 2 2 - 1 6 - 26 19 SLINR - 2 1 1 1 1 - 5 - 25 18 LPC10 - 4 3 3 3 3 2 - - 27 20 G729A - - - - - - - - - - - SPEEX - 3 2 2 2 2 1 6 - - 19 ILBC - 5 4 4 4 4 3 8 - 28 - spx115*CLI> show translation Translation times between formats (in milliseconds) Source Format (Rows) Destination Format(Columns) G723 GSM ULAW ALAW G726 ADPCM SLINR LPC10 G729A SPEEX ILBC G723 - - - - - - - - - - - GSM - - 2 2 2 2 1 6 - 16 19 ULAW - 3 - 1 2 2 1 6 - 16 19 ALAW - 3 1 - 2 2 1 6 - 16 19 G726 - 3 2 2 - 2 1 6 - 16 19 ADPCM - 3 2 2 2 - 1 6 - 16 19 SLINR - 2 1 1 1 1 - 5 - 15 18 LPC10 - 4 3 3 3 3 2 - - 17 20 G729A - - - - - - - - - - - SPEEX - 3 2 2 2 2 1 6 - - 19 ILBC - 5 4 4 4 4 3 8 - 18 - -JimC -- James H. Cloos, Jr. <cloos@jhcloos.com> <http://jhcloos.com/voip>
I am a new to asterisk, i wanted to test the opensource codec speex i have installed speex, and recompiled asterisk i can see the speex_codec.so getting loaded i have xten lite, i used the registry patch ( http://bugs.digium.com/bug_view_page.php?bug_id=0000918 ) but still when i use xten lite i get the following errors Jun 24 10:46:15 WARNING[-1305486416]: codec_speex.c:167 speextolin_framein: Out of buffer space Jun 24 10:46:15 WARNING[-1305486416]: dsp.c:1478 ast_dsp_process: Unable to process inband DTMF on 512 frames am i doing something wrong? any pointers is helpful thanx sriram -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040624/2c6c3a85/attachment.htm
Inband dtmf does not work with speex(only ulaw). Switch your dtmf mode to rfc2833. :) ________________________________________ From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Sola 2000 Sent: Thursday, June 24, 2004 11:16 AM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Speex I am a new to asterisk, i wanted to test the opensource codec speex i have installed speex, and recompiled asterisk ? i can see the speex_codec.so getting loaded ? i have xten lite, i used the registry patch? ( http://bugs.digium.com/bug_view_page.php?bug_id=0000918 ) ? but still when i use xten lite i get the following errors ? Jun 24 10:46:15 WARNING[-1305486416]: codec_speex.c:167 speextolin_framein: Out of buffer space Jun 24 10:46:15 WARNING[-1305486416]: dsp.c:1478 ast_dsp_process: Unable to process inband DTMF on 512 frames am i doing something wrong? ? any pointers is helpful ? thanx sriram
thanx that works here is wat i want to do sip (xlite)->*(iax2)(codec speex)-----internet----*(iax2)--pstn when i do that all i get is noise in the other end..am sure am doing something stupid... any help would be appreciated ( i want to meassure the bandwidth will be using the program called rate) sriram ----- Original Message ----- From: "Jon Radon" <jonrlists@comcast.net> To: <asterisk-users@lists.digium.com> Sent: Thursday, June 24, 2004 12:55 PM Subject: RE: [Asterisk-Users] Speex> Inband dtmf does not work with speex(only ulaw). Switch your dtmf mode to > rfc2833. :) > > ________________________________________ > From: asterisk-users-admin@lists.digium.com > [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Sola 2000 > Sent: Thursday, June 24, 2004 11:16 AM > To: asterisk-users@lists.digium.com > Subject: [Asterisk-Users] Speex > > I am a new to asterisk, i wanted to test the opensource codec speex > i have installed speex, and recompiled asterisk > > i can see the speex_codec.so getting loaded > > i have xten lite, i used the registry patch ( > http://bugs.digium.com/bug_view_page.php?bug_id=0000918 ) > > but still when i use xten lite i get the following errors > > Jun 24 10:46:15 WARNING[-1305486416]: codec_speex.c:167speextolin_framein:> Out of buffer space > Jun 24 10:46:15 WARNING[-1305486416]: dsp.c:1478 ast_dsp_process: Unableto> process inband DTMF on 512 frames > am i doing something wrong? > > any pointers is helpful > > thanx > sriram > > _______________________________________________ > 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
thanx that works here is wat i want to do sip (xlite)->*(iax2)(codec speex)-----internet----*(iax2)--pstn when i do that all i get is noise in the other end..am sure am doing something stupid... any help would be appreciated ( i want to meassure the bandwidth will be using the program called rate) sriram ----- Original Message ----- From: "Jon Radon" <jonrlists@comcast.net> To: <asterisk-users@lists.digium.com> Sent: Thursday, June 24, 2004 12:55 PM Subject: RE: [Asterisk-Users] Speex> Inband dtmf does not work with speex(only ulaw). Switch your dtmf mode to > rfc2833. :) > > ________________________________________ > From: asterisk-users-admin@lists.digium.com > [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Sola 2000 > Sent: Thursday, June 24, 2004 11:16 AM > To: asterisk-users@lists.digium.com > Subject: [Asterisk-Users] Speex > > I am a new to asterisk, i wanted to test the opensource codec speex > i have installed speex, and recompiled asterisk > > i can see the speex_codec.so getting loaded > > i have xten lite, i used the registry patch ( > http://bugs.digium.com/bug_view_page.php?bug_id=0000918 ) > > but still when i use xten lite i get the following errors > > Jun 24 10:46:15 WARNING[-1305486416]: codec_speex.c:167speextolin_framein:> Out of buffer space > Jun 24 10:46:15 WARNING[-1305486416]: dsp.c:1478 ast_dsp_process: Unableto> process inband DTMF on 512 frames > am i doing something wrong? > > any pointers is helpful > > thanx > sriram > > _______________________________________________ > 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
Does it work if you try ULAW or some other codec? -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Sola 2000 Sent: Friday, June 25, 2004 12:08 PM To: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] Speex thanx that works here is wat i want to do sip (xlite)->*(iax2)(codec speex)-----internet----*(iax2)--pstn when i do that all i get is noise in the other end..am sure am doing something stupid... any help would be appreciated ( i want to meassure the bandwidth will be using the program called rate) sriram ----- Original Message ----- From: "Jon Radon" <jonrlists@comcast.net> To: <asterisk-users@lists.digium.com> Sent: Thursday, June 24, 2004 12:55 PM Subject: RE: [Asterisk-Users] Speex> Inband dtmf does not work with speex(only ulaw). Switch your dtmf mode to > rfc2833. :) > > ________________________________________ > From: asterisk-users-admin@lists.digium.com > [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Sola 2000 > Sent: Thursday, June 24, 2004 11:16 AM > To: asterisk-users@lists.digium.com > Subject: [Asterisk-Users] Speex > > I am a new to asterisk, i wanted to test the opensource codec speex > i have installed speex, and recompiled asterisk > > i can see the speex_codec.so getting loaded > > i have xten lite, i used the registry patch ( > http://bugs.digium.com/bug_view_page.php?bug_id=0000918 ) > > but still when i use xten lite i get the following errors > > Jun 24 10:46:15 WARNING[-1305486416]: codec_speex.c:167speextolin_framein:> Out of buffer space > Jun 24 10:46:15 WARNING[-1305486416]: dsp.c:1478 ast_dsp_process: Unableto> process inband DTMF on 512 frames > am i doing something wrong? > > any pointers is helpful > > thanx > sriram > > _______________________________________________ > 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
yes, very well actually..i tried ulaw and gsm sriram ----- Original Message ----- From: "Jon Radon" <jonrlists@comcast.net> To: <asterisk-users@lists.digium.com> Sent: Friday, June 25, 2004 2:46 PM Subject: RE: [Asterisk-Users] Speex> Does it work if you try ULAW or some other codec? > > -----Original Message----- > From: asterisk-users-admin@lists.digium.com > [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Sola 2000 > Sent: Friday, June 25, 2004 12:08 PM > To: asterisk-users@lists.digium.com > Subject: Re: [Asterisk-Users] Speex > > thanx that works > here is wat i want to do > > sip (xlite)->*(iax2)(codec speex)-----internet----*(iax2)--pstn > when i do that all i get is noise in the other end..am sure am doing > something stupid... > > any help would be appreciated ( i want to meassure the bandwidth will be > using the program called rate) > > sriram > ----- Original Message ----- > From: "Jon Radon" <jonrlists@comcast.net> > To: <asterisk-users@lists.digium.com> > Sent: Thursday, June 24, 2004 12:55 PM > Subject: RE: [Asterisk-Users] Speex > > > > Inband dtmf does not work with speex(only ulaw). Switch your dtmf modeto> > rfc2833. :) > > > > ________________________________________ > > From: asterisk-users-admin@lists.digium.com > > [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Sola 2000 > > Sent: Thursday, June 24, 2004 11:16 AM > > To: asterisk-users@lists.digium.com > > Subject: [Asterisk-Users] Speex > > > > I am a new to asterisk, i wanted to test the opensource codec speex > > i have installed speex, and recompiled asterisk > > > > i can see the speex_codec.so getting loaded > > > > i have xten lite, i used the registry patch ( > > http://bugs.digium.com/bug_view_page.php?bug_id=0000918 ) > > > > but still when i use xten lite i get the following errors > > > > Jun 24 10:46:15 WARNING[-1305486416]: codec_speex.c:167 > speextolin_framein: > > Out of buffer space > > Jun 24 10:46:15 WARNING[-1305486416]: dsp.c:1478 ast_dsp_process: Unable > to > > process inband DTMF on 512 frames > > am i doing something wrong? > > > > any pointers is helpful > > > > thanx > > sriram > > > > _______________________________________________ > > 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