[Freeswitch-users] Help with tone detection

Michael Collins msc at freeswitch.org
Tue Apr 17 02:32:03 MSD 2012


I haven't been able to reproduce this issue. Can you post the dialplan that
you are using?
-MC

On Sun, Apr 15, 2012 at 4:02 PM, Jean-Marc Hyppolite <
jean.marc.hyppolite at gmail.com> wrote:

> Hello everyone,****
>
> ** **
>
> Is it possible to have some help in setting up mod_spandsp for call
> progress tone detection? I have not been successful thus far. I keep
> getting an “error reading frame” message like this one below.****
>
> ** **
>
>
> ===============================================================================================
> ****
>
> 2012-04-09 16:03:22.550303 [DEBUG] mod_spandsp_dsp.c:379 (sofia/internal/
> sip:1000 at 184.162.247.104:32986) Starting tone detection for '1'****
>
> 2012-04-09 16:03:22.550303 [INFO] mod_spandsp_dsp.c:411 (sofia/internal/
> sip:1000 at 184.162.247.104:32986) initializing tone detector****
>
> 2012-04-09 16:03:22.550303 [DEBUG] switch_core_media_bug.c:462 Attaching
> BUG to sofia/internal/sip:1000 at 184.162.247.104:32986****
>
> 2012-04-09 16:03:22.590301 [DEBUG] switch_core_io.c:340 Setting BUG Codec
> PCMU:0****
>
> 2012-04-09 16:03:22.590301 [INFO] mod_spandsp_dsp.c:422 (sofia/internal/
> sip:1000 at 184.162.247.104:32986) error reading frame****
>
> 2012-04-09 16:03:22.590301 [INFO] mod_spandsp_dsp.c:447 (sofia/internal/
> sip:1000 at 184.162.247.104:32986) destroying tone detector****
>
>
> ===============================================================================================
> ****
>
> ** **
>
> My spandsp.conf.xml file:****
>
> ** **
>
>
> ===============================================================================================
> ****
>
> <configuration name=*"spandsp.conf"* description=*"Tone detector
> descriptors"*>****
>
>    <descriptors>****
>
>      <!-- These tones are defined in Annex to ITU Operational Bulletin
> No. 781 - 1.II.2003 -->****
>
>      <!-- Various Tones Used in National Networks (According to ITU-T
> Recommendation E.180)(03/1998) -->****
>
> ** **
>
>      <!-- North America -->****
>
>      <descriptor name=*"1"*>****
>
>        <tone name=*"CED_TONE"*>****
>
>          <element freq1=*"2100"* freq2=*"0"* min=*"500"* max=*"0"*/>****
>
>        </tone>****
>
>        <tone name=*"SIT"*>****
>
>          <element freq1=*"950"* freq2=*"0"* min=*"256"* max=*"400"*/>****
>
>          <element freq1=*"1400"* freq2=*"0"* min=*"256"* max=*"400"*/>****
>
>          <element freq1=*"1800"* freq2=*"0"* min=*"256"* max=*"400"*/>****
>
>        </tone>****
>
>        <tone name=*"REORDER_TONE"*>****
>
>          <element freq1=*"480"* freq2=*"620"* min=*"224"* max=*"272"*/>***
> *
>
>          <element freq1=*"0"* freq2=*"0"* min=*"224"* max=*"272"*/>****
>
>        </tone>****
>
>        <tone name=*"BUSY_TONE"*>****
>
>          <element freq1=*"480"* freq2=*"620"* min=*"464"* max=*"516"*/>***
> *
>
>          <element freq1=*"0"* freq2=*"0"* min=*"464"* max=*"516"*/>****
>
>        </tone>****
>
>      </descriptor>****
>
>    </descriptors>****
>
> </configuration>****
>
>
> ===============================================================================================
> ****
>
> ** **
>
> Thank you for your help.****
>
> ** **
>
> Jean-Marc.****
>
> ** **
>
> _________________________________________________________________________
> 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
>
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120416/e306b802/attachment.html 


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