<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-CA link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hello everyone,<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></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 &#8220;error reading frame&#8221; message like this one below.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>===============================================================================================<o:p></o:p></p><p class=MsoNormal>2012-04-09 16:03:22.550303 [DEBUG] mod_spandsp_dsp.c:379 (sofia/internal/sip:1000@184.162.247.104:32986) Starting tone detection for '1'<o:p></o:p></p><p class=MsoNormal>2012-04-09 16:03:22.550303 [INFO] mod_spandsp_dsp.c:411 (sofia/internal/sip:1000@184.162.247.104:32986) initializing tone detector<o:p></o:p></p><p class=MsoNormal>2012-04-09 16:03:22.550303 [DEBUG] switch_core_media_bug.c:462 Attaching BUG to sofia/internal/sip:1000@184.162.247.104:32986<o:p></o:p></p><p class=MsoNormal>2012-04-09 16:03:22.590301 [DEBUG] switch_core_io.c:340 Setting BUG Codec PCMU:0<o:p></o:p></p><p class=MsoNormal>2012-04-09 16:03:22.590301 [INFO] mod_spandsp_dsp.c:422 (sofia/internal/sip:1000@184.162.247.104:32986) error reading frame<o:p></o:p></p><p class=MsoNormal>2012-04-09 16:03:22.590301 [INFO] mod_spandsp_dsp.c:447 (sofia/internal/sip:1000@184.162.247.104:32986) destroying tone detector<o:p></o:p></p><p class=MsoNormal>===============================================================================================<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>My spandsp.conf.xml file:<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>===============================================================================================<o:p></o:p></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;mso-highlight:silver'>configuration</span><span style='font-size:10.0pt;font-family:Consolas'> <span style='color:#7F007F'>name</span><span style='color:black'>=</span><i><span style='color:#2A00FF'>&quot;spandsp.conf&quot;</span></i> <span style='color:#7F007F'>description</span><span style='color:black'>=</span><i><span style='color:#2A00FF'>&quot;Tone detector descriptors&quot;</span></i><span style='color:teal'>&gt;</span><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Consolas;color:black'>&nbsp;&nbsp; </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'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Consolas;color:black'>&nbsp;&nbsp;&nbsp;&nbsp; </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'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Consolas;color:black'>&nbsp;&nbsp;&nbsp;&nbsp; </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'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Consolas'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Consolas;color:black'>&nbsp;&nbsp;&nbsp;&nbsp; </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'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Consolas;color:black'>&nbsp;&nbsp;&nbsp;&nbsp; </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='color:black'>=</span><i><span style='color:#2A00FF'>&quot;1&quot;</span></i><span style='color:teal'>&gt;</span><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Consolas;color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </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='color:black'>=</span><i><span style='color:#2A00FF'>&quot;CED_TONE&quot;</span></i><span style='color:teal'>&gt;</span><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Consolas;color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </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='color:black'>=</span><i><span style='color:#2A00FF'>&quot;2100&quot;</span></i> <span style='color:#7F007F'>freq2</span><span style='color:black'>=</span><i><span style='color:#2A00FF'>&quot;0&quot;</span></i> <span style='color:#7F007F'>min</span><span style='color:black'>=</span><i><span style='color:#2A00FF'>&quot;500&quot;</span></i> <span style='color:#7F007F'>max</span><span style='color:black'>=</span><i><span style='color:#2A00FF'>&quot;0&quot;</span></i><span style='color:teal'>/&gt;</span><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Consolas;color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </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'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Consolas;color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </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='color:black'>=</span><i><span style='color:#2A00FF'>&quot;SIT&quot;</span></i><span style='color:teal'>&gt;</span><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Consolas;color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </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='color:black'>=</span><i><span style='color:#2A00FF'>&quot;950&quot;</span></i> <span style='color:#7F007F'>freq2</span><span style='color:black'>=</span><i><span style='color:#2A00FF'>&quot;0&quot;</span></i> <span style='color:#7F007F'>min</span><span style='color:black'>=</span><i><span style='color:#2A00FF'>&quot;256&quot;</span></i> <span style='color:#7F007F'>max</span><span style='color:black'>=</span><i><span style='color:#2A00FF'>&quot;400&quot;</span></i><span style='color:teal'>/&gt;</span><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Consolas;color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </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='color:black'>=</span><i><span style='color:#2A00FF'>&quot;1400&quot;</span></i> <span style='color:#7F007F'>freq2</span><span style='color:black'>=</span><i><span style='color:#2A00FF'>&quot;0&quot;</span></i> <span style='color:#7F007F'>min</span><span style='color:black'>=</span><i><span style='color:#2A00FF'>&quot;256&quot;</span></i> <span style='color:#7F007F'>max</span><span style='color:black'>=</span><i><span style='color:#2A00FF'>&quot;400&quot;</span></i><span style='color:teal'>/&gt;</span><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Consolas;color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </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='color:black'>=</span><i><span style='color:#2A00FF'>&quot;1800&quot;</span></i> <span style='color:#7F007F'>freq2</span><span style='color:black'>=</span><i><span style='color:#2A00FF'>&quot;0&quot;</span></i> <span style='color:#7F007F'>min</span><span style='color:black'>=</span><i><span style='color:#2A00FF'>&quot;256&quot;</span></i> <span style='color:#7F007F'>max</span><span style='color:black'>=</span><i><span style='color:#2A00FF'>&quot;400&quot;</span></i><span style='color:teal'>/&gt;</span><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Consolas;color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </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'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Consolas;color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </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='color:black'>=</span><i><span style='color:#2A00FF'>&quot;REORDER_TONE&quot;</span></i><span style='color:teal'>&gt;</span><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Consolas;color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </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='color:black'>=</span><i><span style='color:#2A00FF'>&quot;480&quot;</span></i> <span style='color:#7F007F'>freq2</span><span style='color:black'>=</span><i><span style='color:#2A00FF'>&quot;620&quot;</span></i> <span style='color:#7F007F'>min</span><span style='color:black'>=</span><i><span style='color:#2A00FF'>&quot;224&quot;</span></i> <span style='color:#7F007F'>max</span><span style='color:black'>=</span><i><span style='color:#2A00FF'>&quot;272&quot;</span></i><span style='color:teal'>/&gt;</span><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Consolas;color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </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='color:black'>=</span><i><span style='color:#2A00FF'>&quot;0&quot;</span></i> <span style='color:#7F007F'>freq2</span><span style='color:black'>=</span><i><span style='color:#2A00FF'>&quot;0&quot;</span></i> <span style='color:#7F007F'>min</span><span style='color:black'>=</span><i><span style='color:#2A00FF'>&quot;224&quot;</span></i> <span style='color:#7F007F'>max</span><span style='color:black'>=</span><i><span style='color:#2A00FF'>&quot;272&quot;</span></i><span style='color:teal'>/&gt;</span><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Consolas;color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </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'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Consolas;color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </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='color:black'>=</span><i><span style='color:#2A00FF'>&quot;BUSY_TONE&quot;</span></i><span style='color:teal'>&gt;</span><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Consolas;color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </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='color:black'>=</span><i><span style='color:#2A00FF'>&quot;480&quot;</span></i> <span style='color:#7F007F'>freq2</span><span style='color:black'>=</span><i><span style='color:#2A00FF'>&quot;620&quot;</span></i> <span style='color:#7F007F'>min</span><span style='color:black'>=</span><i><span style='color:#2A00FF'>&quot;464&quot;</span></i> <span style='color:#7F007F'>max</span><span style='color:black'>=</span><i><span style='color:#2A00FF'>&quot;516&quot;</span></i><span style='color:teal'>/&gt;</span><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Consolas;color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </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='color:black'>=</span><i><span style='color:#2A00FF'>&quot;0&quot;</span></i> <span style='color:#7F007F'>freq2</span><span style='color:black'>=</span><i><span style='color:#2A00FF'>&quot;0&quot;</span></i> <span style='color:#7F007F'>min</span><span style='color:black'>=</span><i><span style='color:#2A00FF'>&quot;464&quot;</span></i> <span style='color:#7F007F'>max</span><span style='color:black'>=</span><i><span style='color:#2A00FF'>&quot;516&quot;</span></i><span style='color:teal'>/&gt;</span><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Consolas;color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </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'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Consolas;color:black'>&nbsp;&nbsp;&nbsp;&nbsp; </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'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:Consolas;color:black'>&nbsp;&nbsp; </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'><o:p></o:p></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;mso-highlight:silver'>configuration</span><span style='font-size:10.0pt;font-family:Consolas;color:teal'>&gt;<o:p></o:p></span></p><p class=MsoNormal>===============================================================================================<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Thank you for your help.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Jean-Marc.<o:p></o:p></p></div></body></html>