[Freeswitch-users] Help with tone detection

Jean-Marc Hyppolite jean.marc.hyppolite at gmail.com
Mon Apr 16 03:02:42 MSD 2012

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 Starting tone detection for

2012-04-09 16:03:22.550303 [INFO] mod_spandsp_dsp.c:411
(sofia/internal/sip:1000 at 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

2012-04-09 16:03:22.590301 [DEBUG] switch_core_io.c:340 Setting BUG Codec

2012-04-09 16:03:22.590301 [INFO] mod_spandsp_dsp.c:422
(sofia/internal/sip:1000 at error reading frame

2012-04-09 16:03:22.590301 [INFO] mod_spandsp_dsp.c:447
(sofia/internal/sip:1000 at destroying tone detector



My spandsp.conf.xml file:



<configuration name="spandsp.conf" description="Tone detector 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 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 name="REORDER_TONE">

         <element freq1="480" freq2="620" min="224" max="272"/>

         <element freq1="0" freq2="0" min="224" max="272"/>


       <tone name="BUSY_TONE">

         <element freq1="480" freq2="620" min="464" max="516"/>

         <element freq1="0" freq2="0" min="464" max="516"/>







Thank you for your help.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120415/c8fde870/attachment-0001.html 

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