I haven'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"><<a href="mailto:jean.marc.hyppolite@gmail.com">jean.marc.hyppolite@gmail.com</a>></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 '1'<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"><</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">"spandsp.conf"</span></i> <span style="color:#7f007f">description</span><span style>=</span><i><span style="color:#2a00ff">"Tone detector descriptors"</span></i><span style="color:teal">></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"><</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">></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"><!-- These tones are defined in Annex to ITU Operational Bulletin No. 781 - 1.II.2003 --></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"><!-- Various Tones Used in National Networks (According to ITU-T Recommendation E.180)(03/1998) --></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"><!-- North America --></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"><</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">"1"</span></i><span style="color:teal">></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"><</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">"CED_TONE"</span></i><span style="color:teal">></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"><</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">"2100"</span></i> <span style="color:#7f007f">freq2</span><span style>=</span><i><span style="color:#2a00ff">"0"</span></i> <span style="color:#7f007f">min</span><span style>=</span><i><span style="color:#2a00ff">"500"</span></i> <span style="color:#7f007f">max</span><span style>=</span><i><span style="color:#2a00ff">"0"</span></i><span style="color:teal">/></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"></</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">></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"><</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">"SIT"</span></i><span style="color:teal">></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"><</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">"950"</span></i> <span style="color:#7f007f">freq2</span><span style>=</span><i><span style="color:#2a00ff">"0"</span></i> <span style="color:#7f007f">min</span><span style>=</span><i><span style="color:#2a00ff">"256"</span></i> <span style="color:#7f007f">max</span><span style>=</span><i><span style="color:#2a00ff">"400"</span></i><span style="color:teal">/></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"><</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">"1400"</span></i> <span style="color:#7f007f">freq2</span><span style>=</span><i><span style="color:#2a00ff">"0"</span></i> <span style="color:#7f007f">min</span><span style>=</span><i><span style="color:#2a00ff">"256"</span></i> <span style="color:#7f007f">max</span><span style>=</span><i><span style="color:#2a00ff">"400"</span></i><span style="color:teal">/></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"><</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">"1800"</span></i> <span style="color:#7f007f">freq2</span><span style>=</span><i><span style="color:#2a00ff">"0"</span></i> <span style="color:#7f007f">min</span><span style>=</span><i><span style="color:#2a00ff">"256"</span></i> <span style="color:#7f007f">max</span><span style>=</span><i><span style="color:#2a00ff">"400"</span></i><span style="color:teal">/></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"></</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">></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"><</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">"REORDER_TONE"</span></i><span style="color:teal">></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"><</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">"480"</span></i> <span style="color:#7f007f">freq2</span><span style>=</span><i><span style="color:#2a00ff">"620"</span></i> <span style="color:#7f007f">min</span><span style>=</span><i><span style="color:#2a00ff">"224"</span></i> <span style="color:#7f007f">max</span><span style>=</span><i><span style="color:#2a00ff">"272"</span></i><span style="color:teal">/></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"><</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">"0"</span></i> <span style="color:#7f007f">freq2</span><span style>=</span><i><span style="color:#2a00ff">"0"</span></i> <span style="color:#7f007f">min</span><span style>=</span><i><span style="color:#2a00ff">"224"</span></i> <span style="color:#7f007f">max</span><span style>=</span><i><span style="color:#2a00ff">"272"</span></i><span style="color:teal">/></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"></</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">></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"><</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">"BUSY_TONE"</span></i><span style="color:teal">></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"><</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">"480"</span></i> <span style="color:#7f007f">freq2</span><span style>=</span><i><span style="color:#2a00ff">"620"</span></i> <span style="color:#7f007f">min</span><span style>=</span><i><span style="color:#2a00ff">"464"</span></i> <span style="color:#7f007f">max</span><span style>=</span><i><span style="color:#2a00ff">"516"</span></i><span style="color:teal">/></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"><</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">"0"</span></i> <span style="color:#7f007f">freq2</span><span style>=</span><i><span style="color:#2a00ff">"0"</span></i> <span style="color:#7f007f">min</span><span style>=</span><i><span style="color:#2a00ff">"464"</span></i> <span style="color:#7f007f">max</span><span style>=</span><i><span style="color:#2a00ff">"516"</span></i><span style="color:teal">/></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"></</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">></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"></</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">></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"></</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">></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"></</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">><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>