I haven&#39;t been able to reproduce this issue. Can you post the dialplan that you are using?<br>-MC<br><br><div class="gmail_quote">On Sun, Apr 15, 2012 at 4:02 PM, Jean-Marc Hyppolite <span dir="ltr">&lt;<a href="mailto:jean.marc.hyppolite@gmail.com">jean.marc.hyppolite@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="blue" vlink="purple" lang="EN-CA"><div><p class="MsoNormal">Hello everyone,<u></u><u></u></p><p class="MsoNormal">
<u></u> <u></u></p><p class="MsoNormal">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.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">===============================================================================================<u></u><u></u></p><p class="MsoNormal">2012-04-09 16:03:22.550303 [DEBUG] mod_spandsp_dsp.c:379 (sofia/internal/<a href="http://sip:1000@184.162.247.104:32986" target="_blank">sip:1000@184.162.247.104:32986</a>) Starting tone detection for &#39;1&#39;<u></u><u></u></p>
<p class="MsoNormal">2012-04-09 16:03:22.550303 [INFO] mod_spandsp_dsp.c:411 (sofia/internal/<a href="http://sip:1000@184.162.247.104:32986" target="_blank">sip:1000@184.162.247.104:32986</a>) initializing tone detector<u></u><u></u></p>
<p class="MsoNormal">2012-04-09 16:03:22.550303 [DEBUG] switch_core_media_bug.c:462 Attaching BUG to sofia/internal/<a href="http://sip:1000@184.162.247.104:32986" target="_blank">sip:1000@184.162.247.104:32986</a><u></u><u></u></p>
<p class="MsoNormal">2012-04-09 16:03:22.590301 [DEBUG] switch_core_io.c:340 Setting BUG Codec PCMU:0<u></u><u></u></p><p class="MsoNormal">2012-04-09 16:03:22.590301 [INFO] mod_spandsp_dsp.c:422 (sofia/internal/<a href="http://sip:1000@184.162.247.104:32986" target="_blank">sip:1000@184.162.247.104:32986</a>) error reading frame<u></u><u></u></p>
<p class="MsoNormal">2012-04-09 16:03:22.590301 [INFO] mod_spandsp_dsp.c:447 (sofia/internal/<a href="http://sip:1000@184.162.247.104:32986" target="_blank">sip:1000@184.162.247.104:32986</a>) destroying tone detector<u></u><u></u></p>
<p class="MsoNormal">===============================================================================================<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">My spandsp.conf.xml file:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">===============================================================================================<u></u><u></u></p><p class="MsoNormal" style="text-autospace:none">
<span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3f7f7f;background:silver">configuration</span><span style="font-size:10.0pt;font-family:Consolas"> <span style="color:#7f007f">name</span><span style>=</span><i><span style="color:#2a00ff">&quot;spandsp.conf&quot;</span></i> <span style="color:#7f007f">description</span><span style>=</span><i><span style="color:#2a00ff">&quot;Tone detector descriptors&quot;</span></i><span style="color:teal">&gt;</span><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">   </span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3f7f7f">descriptors</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">     </span><span style="font-size:10.0pt;font-family:Consolas;color:#3f5fbf">&lt;!-- These tones are defined in Annex to ITU Operational Bulletin No. 781 - 1.II.2003 --&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">     </span><span style="font-size:10.0pt;font-family:Consolas;color:#3f5fbf">&lt;!-- Various Tones Used in National Networks (According to ITU-T Recommendation E.180)(03/1998) --&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas"><u></u> <u></u></span></p><p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">     </span><span style="font-size:10.0pt;font-family:Consolas;color:#3f5fbf">&lt;!-- North America --&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">     </span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3f7f7f">descriptor</span><span style="font-size:10.0pt;font-family:Consolas"> <span style="color:#7f007f">name</span><span style>=</span><i><span style="color:#2a00ff">&quot;1&quot;</span></i><span style="color:teal">&gt;</span><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">       </span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3f7f7f">tone</span><span style="font-size:10.0pt;font-family:Consolas"> <span style="color:#7f007f">name</span><span style>=</span><i><span style="color:#2a00ff">&quot;CED_TONE&quot;</span></i><span style="color:teal">&gt;</span><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">         </span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3f7f7f">element</span><span style="font-size:10.0pt;font-family:Consolas"> <span style="color:#7f007f">freq1</span><span style>=</span><i><span style="color:#2a00ff">&quot;2100&quot;</span></i> <span style="color:#7f007f">freq2</span><span style>=</span><i><span style="color:#2a00ff">&quot;0&quot;</span></i> <span style="color:#7f007f">min</span><span style>=</span><i><span style="color:#2a00ff">&quot;500&quot;</span></i> <span style="color:#7f007f">max</span><span style>=</span><i><span style="color:#2a00ff">&quot;0&quot;</span></i><span style="color:teal">/&gt;</span><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">       </span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;/</span><span style="font-size:10.0pt;font-family:Consolas;color:#3f7f7f">tone</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">       </span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3f7f7f">tone</span><span style="font-size:10.0pt;font-family:Consolas"> <span style="color:#7f007f">name</span><span style>=</span><i><span style="color:#2a00ff">&quot;SIT&quot;</span></i><span style="color:teal">&gt;</span><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">         </span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3f7f7f">element</span><span style="font-size:10.0pt;font-family:Consolas"> <span style="color:#7f007f">freq1</span><span style>=</span><i><span style="color:#2a00ff">&quot;950&quot;</span></i> <span style="color:#7f007f">freq2</span><span style>=</span><i><span style="color:#2a00ff">&quot;0&quot;</span></i> <span style="color:#7f007f">min</span><span style>=</span><i><span style="color:#2a00ff">&quot;256&quot;</span></i> <span style="color:#7f007f">max</span><span style>=</span><i><span style="color:#2a00ff">&quot;400&quot;</span></i><span style="color:teal">/&gt;</span><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">         </span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3f7f7f">element</span><span style="font-size:10.0pt;font-family:Consolas"> <span style="color:#7f007f">freq1</span><span style>=</span><i><span style="color:#2a00ff">&quot;1400&quot;</span></i> <span style="color:#7f007f">freq2</span><span style>=</span><i><span style="color:#2a00ff">&quot;0&quot;</span></i> <span style="color:#7f007f">min</span><span style>=</span><i><span style="color:#2a00ff">&quot;256&quot;</span></i> <span style="color:#7f007f">max</span><span style>=</span><i><span style="color:#2a00ff">&quot;400&quot;</span></i><span style="color:teal">/&gt;</span><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">         </span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3f7f7f">element</span><span style="font-size:10.0pt;font-family:Consolas"> <span style="color:#7f007f">freq1</span><span style>=</span><i><span style="color:#2a00ff">&quot;1800&quot;</span></i> <span style="color:#7f007f">freq2</span><span style>=</span><i><span style="color:#2a00ff">&quot;0&quot;</span></i> <span style="color:#7f007f">min</span><span style>=</span><i><span style="color:#2a00ff">&quot;256&quot;</span></i> <span style="color:#7f007f">max</span><span style>=</span><i><span style="color:#2a00ff">&quot;400&quot;</span></i><span style="color:teal">/&gt;</span><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">       </span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;/</span><span style="font-size:10.0pt;font-family:Consolas;color:#3f7f7f">tone</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">       </span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3f7f7f">tone</span><span style="font-size:10.0pt;font-family:Consolas"> <span style="color:#7f007f">name</span><span style>=</span><i><span style="color:#2a00ff">&quot;REORDER_TONE&quot;</span></i><span style="color:teal">&gt;</span><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">         </span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3f7f7f">element</span><span style="font-size:10.0pt;font-family:Consolas"> <span style="color:#7f007f">freq1</span><span style>=</span><i><span style="color:#2a00ff">&quot;480&quot;</span></i> <span style="color:#7f007f">freq2</span><span style>=</span><i><span style="color:#2a00ff">&quot;620&quot;</span></i> <span style="color:#7f007f">min</span><span style>=</span><i><span style="color:#2a00ff">&quot;224&quot;</span></i> <span style="color:#7f007f">max</span><span style>=</span><i><span style="color:#2a00ff">&quot;272&quot;</span></i><span style="color:teal">/&gt;</span><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">         </span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3f7f7f">element</span><span style="font-size:10.0pt;font-family:Consolas"> <span style="color:#7f007f">freq1</span><span style>=</span><i><span style="color:#2a00ff">&quot;0&quot;</span></i> <span style="color:#7f007f">freq2</span><span style>=</span><i><span style="color:#2a00ff">&quot;0&quot;</span></i> <span style="color:#7f007f">min</span><span style>=</span><i><span style="color:#2a00ff">&quot;224&quot;</span></i> <span style="color:#7f007f">max</span><span style>=</span><i><span style="color:#2a00ff">&quot;272&quot;</span></i><span style="color:teal">/&gt;</span><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">       </span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;/</span><span style="font-size:10.0pt;font-family:Consolas;color:#3f7f7f">tone</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">       </span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3f7f7f">tone</span><span style="font-size:10.0pt;font-family:Consolas"> <span style="color:#7f007f">name</span><span style>=</span><i><span style="color:#2a00ff">&quot;BUSY_TONE&quot;</span></i><span style="color:teal">&gt;</span><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">         </span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3f7f7f">element</span><span style="font-size:10.0pt;font-family:Consolas"> <span style="color:#7f007f">freq1</span><span style>=</span><i><span style="color:#2a00ff">&quot;480&quot;</span></i> <span style="color:#7f007f">freq2</span><span style>=</span><i><span style="color:#2a00ff">&quot;620&quot;</span></i> <span style="color:#7f007f">min</span><span style>=</span><i><span style="color:#2a00ff">&quot;464&quot;</span></i> <span style="color:#7f007f">max</span><span style>=</span><i><span style="color:#2a00ff">&quot;516&quot;</span></i><span style="color:teal">/&gt;</span><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">         </span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;</span><span style="font-size:10.0pt;font-family:Consolas;color:#3f7f7f">element</span><span style="font-size:10.0pt;font-family:Consolas"> <span style="color:#7f007f">freq1</span><span style>=</span><i><span style="color:#2a00ff">&quot;0&quot;</span></i> <span style="color:#7f007f">freq2</span><span style>=</span><i><span style="color:#2a00ff">&quot;0&quot;</span></i> <span style="color:#7f007f">min</span><span style>=</span><i><span style="color:#2a00ff">&quot;464&quot;</span></i> <span style="color:#7f007f">max</span><span style>=</span><i><span style="color:#2a00ff">&quot;516&quot;</span></i><span style="color:teal">/&gt;</span><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">       </span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;/</span><span style="font-size:10.0pt;font-family:Consolas;color:#3f7f7f">tone</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">     </span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;/</span><span style="font-size:10.0pt;font-family:Consolas;color:#3f7f7f">descriptor</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:10.0pt;font-family:Consolas">   </span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;/</span><span style="font-size:10.0pt;font-family:Consolas;color:#3f7f7f">descriptors</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;</span><span style="font-size:10.0pt;font-family:Consolas"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas;color:teal">&lt;/</span><span style="font-size:10.0pt;font-family:Consolas;color:#3f7f7f;background:silver">configuration</span><span style="font-size:10.0pt;font-family:Consolas;color:teal">&gt;<u></u><u></u></span></p>
<p class="MsoNormal">===============================================================================================<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Thank you for your help.<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></p>
<span class="HOEnZb"><font color="#888888"><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Jean-Marc.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p></font></span></div></div><br>_________________________________________________________________________<br>

Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>