[Freeswitch-users] Testing iSAC

Martyn Davies martyn at magiccow.co.uk
Wed Jul 25 14:58:57 MSD 2012


I've now got:

global_codec_prefs=isac at 16000h,isac,PCMU,PCMA,GSM,G722

and I can connect in 16 and 32 modes (inbound to the freeswitch).

I haven't got outbound iSAC working from the FreeSwitch yet, but I'm
guessing that the client doesn't like the CNG SDP option (13). I've
added this to the dialplan:

<action application="export" data="suppress_cng=true"/>

and restarted, but still see the 13 option going out. How to disable this?


Regards,
Martyn




On 25 July 2012 08:45, <freeswitch-users-request at lists.freeswitch.org> wrote:
>
> Send FreeSWITCH-users mailing list submissions to
>         freeswitch-users at lists.freeswitch.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> or, via email, send a message with subject or body 'help' to
>         freeswitch-users-request at lists.freeswitch.org
>
> You can reach the person managing the list at
>         freeswitch-users-owner at lists.freeswitch.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of FreeSWITCH-users digest..."
>
> Today's Topics:
>
>    1. Re: No audio  after upgrade to F17 (Chris Mylonas)
>    2. Re: Testing iSAC (curriegrad2004)
>    3. mod_spandsp compilation error (Evgeniy Movlyan)
>    4. Re: mod_spandsp compilation error (Peter Olsson)
>    5. Re: mod_spandsp compilation error (Dmitry R)
>
>
> ---------- Forwarded message ----------
> From: Chris Mylonas <chris at opencsta.org>
> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> Cc:
> Date: Wed, 25 Jul 2012 09:23:47 +1000
> Subject: Re: [Freeswitch-users] No audio after upgrade to F17
> Further to Paul's comments
>
> In a terminal
> tail -f /var/log/messages
>
> In another terminal
> tail -f /path/to/your/freeswitch/log/freeswitch.log
>
> In another terminal, start freeswitch
>
>
> If it is an SELinux problem, which is probably suspected, there will be a kernel message stating something along the lines of a context is not allowed to do something.
> I had similar issues with openvpn and SELinux - this blog post may be useful in the process of keeping SELinux running and customising it's profile for running freeswitch.
> http://www.mrvoip.com.au/blog/selinux-openvpn
>
> Alternatively, look at ways of disabling SELinux - on other redhat related distros, it's a matter of editing a setting in a file to "disabled" and rebooting so the kernel doesn't load SELinux stuff.  Another alternative is to change SELinux's mode from "enforcing" to "permissive"
>
>
> Cheers
> Chris
>
>
>
>
>
> On 25/07/2012, at 3:56 AM, Paul Cupis wrote:
>
> On 24/07/12 17:21, Todd Bailey wrote:
>
> On Mon, 2012-07-23 at 12:20 -0700, Todd wrote:
>
> When I installed F17, I copied the FS installation directly
>
>
> Booting back to F14, every this works as expected, so it's not the
>
> spa3102 or config files.
>
>
> Thinking there might be a incompatibility issues,  I recompiled FS under
>
> F17, no change in operational behavior.
>
>
> Ideas where else to look ?
>
>
> Have a look at the "new features" in F15, F16 or F17, you'll probably
> find some security function (SElinux or similar) which may be blocking
> FreeSWITCH RTP traffic.
>
> Regards,
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
>
>
> ---------- Forwarded message ----------
> From: curriegrad2004 <curriegrad2004 at gmail.com>
> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> Cc:
> Date: Tue, 24 Jul 2012 20:45:34 -0700
> Subject: Re: [Freeswitch-users] Testing iSAC
>
> You might want to report this issue in the JIRA as a feature request.
>
> Iirc it doesn't support that yet.
>
> On Jul 24, 2012 6:26 AM, "Martyn Davies" <martyn at magiccow.co.uk> wrote:
>>
>> I have an iSAC client that I'm testing against FreeSwitch.
>>
>> Currently I have my vars.xml with:
>>
>> global_codec_prefs=isac,PCMU,PCMA,GSM,G722
>>
>> Which works, but only if the client specifies 32kHz mode. I want to test 16kHz mode, but FreeSwitch returns 'not acceptable here', and I can see that when Freeswitch offers iSAC in the SDP it says only isac/32000.
>>
>> So how to enable 16kHz mode for isac?
>>
>> I tried explicitly putting isac at 320000h30i, isac at 16000h30i into vars.xml, but this simply stops FreeSwitch from accepting anything.
>>
>> Hints gladly received.
>>
>> Regards,
>> Martyn
>>
>>
>>
>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> Join Us At ClueCon - Aug 7-9, 2012
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
>
> ---------- Forwarded message ----------
> From: Evgeniy Movlyan <evgeniy at bestnet.kharkov.ua>
> To: freeswitch-users at lists.freeswitch.org
> Cc:
> Date: Wed, 25 Jul 2012 10:12:18 +0300
> Subject: [Freeswitch-users] mod_spandsp compilation error
> Hi to all,
> i made make current command today, and got this:
>
> making all mod_spandsp
> make[5]: Entering directory `/usr/local/src/freeswitch/src/mod/applications/mod_spandsp'
> Creating mod_spandsp_la-mod_spandsp.lo
> quiet_libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../../src/include -I../../../../libs/xmlrpc-c -I/usr/local/src/freeswitch/libs/curl/include -I/usr/local/src/freeswitch/src/include -I/usr/local/src/freeswitch/src/include -I/usr/local/src/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -I/usr/local/src/freeswitch/libs/curl/include -I/usr/local/src/freeswitch/src/include -I/usr/local/src/freeswitch/src/include -I/usr/local/src/freeswitch/libs/libteletone/src -fPIC -Werror -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb -DHAVE_OPENSSL -Wall -std=c99 -pedantic -Wdeclaration-after-statement -I/usr/local/src/freeswitch/libs/spandsp/src -I/usr/local/src/freeswitch/libs/tiff-3.8.2/libtiff -I/usr/local/src/freeswitch/libs/spandsp/src -I/usr/local/src/freeswitch/libs/tiff-3.8.2/libtiff -I. -g -O2 -MT mod_spandsp_la-mod_spandsp.lo -MD -MP -MF .deps/mod_spandsp_la-mod_spandsp.Tpo -c mod_spandsp.c  -fPIC -DPIC -o .libs/mod_spandsp_la-mod_spandsp.o
> In file included from /usr/local/src/freeswitch/libs/spandsp/src/spandsp/expose.h:83,
>                  from /usr/local/src/freeswitch/libs/spandsp/src/spandsp.h:141,
>                  from mod_spandsp.h:50,
>                  from mod_spandsp.c:39:
> /usr/local/src/freeswitch/libs/spandsp/src/spandsp/private/t42.h:54: error: expected specifier-qualifier-list before ‘lab_params_t’
> /usr/local/src/freeswitch/libs/spandsp/src/spandsp/private/t42.h:72: error: expected specifier-qualifier-list before ‘lab_params_t’
> make[5]: *** [mod_spandsp_la-mod_spandsp.lo] Error 1
> make[5]: Leaving directory `/usr/local/src/freeswitch/src/mod/applications/mod_spandsp'
> make[4]: *** [mod_spandsp-all] Error 1
> make[4]: Leaving directory `/usr/local/src/freeswitch/src/mod'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/usr/local/src/freeswitch/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/local/src/freeswitch'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/usr/local/src/freeswitch'
> make: *** [current] Error 2
>
> Any ideas?
>
> --
> Evgeniy Movlyan,
> BestNet Ltd.
>
>
>
>
> ---------- Forwarded message ----------
> From: Peter Olsson <peter.olsson at visionutveckling.se>
> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
> Cc:
> Date: Wed, 25 Jul 2012 07:42:30 +0000
> Subject: Re: [Freeswitch-users] mod_spandsp compilation error
> 'make spandsp-reconf'. If it doesn't help, file a Jira.
>
> /Peter
>
> 25 jul 2012 kl. 09:19 skrev "Evgeniy Movlyan" <evgeniy at bestnet.kharkov.ua>:
>
> > Hi to all,
> > i made make current command today, and got this:
> >
> > making all mod_spandsp
> > make[5]: Entering directory
> > `/usr/local/src/freeswitch/src/mod/applications/mod_spandsp'
> > Creating mod_spandsp_la-mod_spandsp.lo
> > quiet_libtool: compile:  gcc -DHAVE_CONFIG_H -I.
> > -I../../../../src/include -I../../../../libs/xmlrpc-c
> > -I/usr/local/src/freeswitch/libs/curl/include
> > -I/usr/local/src/freeswitch/src/include
> > -I/usr/local/src/freeswitch/src/include
> > -I/usr/local/src/freeswitch/libs/libteletone/src -fPIC
> > -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1
> > -I/usr/local/src/freeswitch/libs/curl/include
> > -I/usr/local/src/freeswitch/src/include
> > -I/usr/local/src/freeswitch/src/include
> > -I/usr/local/src/freeswitch/libs/libteletone/src -fPIC -Werror
> > -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g
> > -ggdb -DHAVE_OPENSSL -Wall -std=c99 -pedantic
> > -Wdeclaration-after-statement
> > -I/usr/local/src/freeswitch/libs/spandsp/src
> > -I/usr/local/src/freeswitch/libs/tiff-3.8.2/libtiff
> > -I/usr/local/src/freeswitch/libs/spandsp/src
> > -I/usr/local/src/freeswitch/libs/tiff-3.8.2/libtiff -I. -g -O2 -MT
> > mod_spandsp_la-mod_spandsp.lo -MD -MP -MF
> > .deps/mod_spandsp_la-mod_spandsp.Tpo -c mod_spandsp.c  -fPIC -DPIC -o
> > .libs/mod_spandsp_la-mod_spandsp.o
> > In file included from
> > /usr/local/src/freeswitch/libs/spandsp/src/spandsp/expose.h:83,
> >                  from
> > /usr/local/src/freeswitch/libs/spandsp/src/spandsp.h:141,
> >                  from mod_spandsp.h:50,
> >                  from mod_spandsp.c:39:
> > /usr/local/src/freeswitch/libs/spandsp/src/spandsp/private/t42.h:54:
> > error: expected specifier-qualifier-list before ‘lab_params_t’
> > /usr/local/src/freeswitch/libs/spandsp/src/spandsp/private/t42.h:72:
> > error: expected specifier-qualifier-list before ‘lab_params_t’
> > make[5]: *** [mod_spandsp_la-mod_spandsp.lo] Error 1
> > make[5]: Leaving directory
> > `/usr/local/src/freeswitch/src/mod/applications/mod_spandsp'
> > make[4]: *** [mod_spandsp-all] Error 1
> > make[4]: Leaving directory `/usr/local/src/freeswitch/src/mod'
> > make[3]: *** [all-recursive] Error 1
> > make[3]: Leaving directory `/usr/local/src/freeswitch/src'
> > make[2]: *** [all-recursive] Error 1
> > make[2]: Leaving directory `/usr/local/src/freeswitch'
> > make[1]: *** [all] Error 2
> > make[1]: Leaving directory `/usr/local/src/freeswitch'
> > make: *** [current] Error 2
> >
> > Any ideas?
> >
> > --
> > Evgeniy Movlyan,
> > BestNet Ltd.
> >
> > _________________________________________________________________________
> > Professional FreeSWITCH Consulting Services:
> > consulting at freeswitch.org
> > http://www.freeswitchsolutions.com
> >
> > 
> > 
> >
> > Official FreeSWITCH Sites
> > http://www.freeswitch.org
> > http://wiki.freeswitch.org
> > http://www.cluecon.com
> >
> > Join Us At ClueCon - Aug 7-9, 2012
> >
> > FreeSWITCH-users mailing list
> > FreeSWITCH-users at lists.freeswitch.org
> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> > http://www.freeswitch.org
> >
> > !DSPAM:500f9ab132761590495690!
> >
>
>
>
>
> ---------- Forwarded message ----------
> From: "Dmitry R" <rdmitry0911 at gmail.com>
> To: "'FreeSWITCH Users Help'" <freeswitch-users at lists.freeswitch.org>
> Cc:
> Date: Wed, 25 Jul 2012 11:34:28 +0400
> Subject: Re: [Freeswitch-users] mod_spandsp compilation error
> I got the same problem. Solved after git pull && ./bootstrap.sh &&
> ./configure && make
>
> -----Original Message-----
> From: freeswitch-users-bounces at lists.freeswitch.org
> [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Evgeniy
> Movlyan
> Sent: Wednesday, July 25, 2012 11:12 AM
> To: freeswitch-users at lists.freeswitch.org
> Subject: [Freeswitch-users] mod_spandsp compilation error
>
> Hi to all,
> i made make current command today, and got this:
>
> making all mod_spandsp
> make[5]: Entering directory
> `/usr/local/src/freeswitch/src/mod/applications/mod_spandsp'
> Creating mod_spandsp_la-mod_spandsp.lo
> quiet_libtool: compile:  gcc -DHAVE_CONFIG_H -I.
> -I../../../../src/include -I../../../../libs/xmlrpc-c
> -I/usr/local/src/freeswitch/libs/curl/include
> -I/usr/local/src/freeswitch/src/include
> -I/usr/local/src/freeswitch/src/include
> -I/usr/local/src/freeswitch/libs/libteletone/src -fPIC -fvisibility=hidden
> -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1
> -I/usr/local/src/freeswitch/libs/curl/include
> -I/usr/local/src/freeswitch/src/include
> -I/usr/local/src/freeswitch/src/include
> -I/usr/local/src/freeswitch/libs/libteletone/src -fPIC -Werror
> -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -g -ggdb
> -DHAVE_OPENSSL -Wall -std=c99 -pedantic -Wdeclaration-after-statement
> -I/usr/local/src/freeswitch/libs/spandsp/src
> -I/usr/local/src/freeswitch/libs/tiff-3.8.2/libtiff
> -I/usr/local/src/freeswitch/libs/spandsp/src
> -I/usr/local/src/freeswitch/libs/tiff-3.8.2/libtiff -I. -g -O2 -MT
> mod_spandsp_la-mod_spandsp.lo -MD -MP -MF
> .deps/mod_spandsp_la-mod_spandsp.Tpo -c mod_spandsp.c  -fPIC -DPIC -o
> .libs/mod_spandsp_la-mod_spandsp.o
> In file included from
> /usr/local/src/freeswitch/libs/spandsp/src/spandsp/expose.h:83,
>                   from
> /usr/local/src/freeswitch/libs/spandsp/src/spandsp.h:141,
>                   from mod_spandsp.h:50,
>                   from mod_spandsp.c:39:
> /usr/local/src/freeswitch/libs/spandsp/src/spandsp/private/t42.h:54:
> error: expected specifier-qualifier-list before 'lab_params_t'
> /usr/local/src/freeswitch/libs/spandsp/src/spandsp/private/t42.h:72:
> error: expected specifier-qualifier-list before 'lab_params_t'
> make[5]: *** [mod_spandsp_la-mod_spandsp.lo] Error 1
> make[5]: Leaving directory
> `/usr/local/src/freeswitch/src/mod/applications/mod_spandsp'
> make[4]: *** [mod_spandsp-all] Error 1
> make[4]: Leaving directory `/usr/local/src/freeswitch/src/mod'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/usr/local/src/freeswitch/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/local/src/freeswitch'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/usr/local/src/freeswitch'
> make: *** [current] Error 2
>
> Any ideas?
>
> --
> Evgeniy Movlyan,
> BestNet Ltd.
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> Join Us At ClueCon - Aug 7-9, 2012
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



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