<br><br><div class="gmail_quote">On Mon, Mar 7, 2011 at 10:01 AM, Johan Helsingius <span dir="ltr">&lt;<a href="mailto:julf@julf.com">julf@julf.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi, guru,<br>
<div class="im"><br>
&gt; Another way would be to use the tone_detect application.<br>
&gt; <a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_tone_detect" target="_blank">http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_tone_detect</a><br>
<br>
</div>The problem is that I don&#39;t seem to get my DECT phone<br>
to generate anything before it gets a dial tone.<br>
<div class="im"><br>
&gt; I found this handy as well<br>
&gt; <a href="http://www.3amsystems.com/wireline/tone-search.htm" target="_blank">http://www.3amsystems.com/wireline/tone-search.htm</a><br>
<br>
</div>That is helpful - but is the tones.conf format documented anywhere?<br></blockquote><div><br></div><div>The format is not &quot;documented&quot; per se, but the format can be inferred by looking at the existing entries:</div>
<div><br></div><div><div>generate-dial =&gt; v=-7;%(1000,0,350,440)</div><div>detect-dial =&gt; 350,440</div><div><br></div><div>generate-ring =&gt; v=-7;%(2000,4000,440,480)</div><div>detect-ring =&gt; 440,480</div><div>
<br></div><div>generate-busy =&gt; v=-7;%(500,500,480,620)</div><div>detect-busy =&gt; 480,620</div></div><div><br></div><div>&quot;generate-dial&quot; means &quot;generate dial tone&quot; and uses the TGML. (Look up TGML on the wiki) </div>
<div>&quot;detect-dial&quot; means the frequenc(y|ies) to detect a dial tone.</div><div><br></div><div>If I read the interwebs correct then NL uses 150Hz + 450Hz for dialtone, 425Hz (.5 sec on, .5 sec off) for busy, and 425Hz (1 sec on, 4 secs off) for ringing.</div>
<div><br></div><div>Try these values:</div><div><br></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">[nl]</font></div><div><meta charset="utf-8"><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">generate-dial =&gt; v=-7;%(1000,0,150,450)</font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">detect-dial =&gt; 150,450</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br></font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">generate-ring =&gt; v=-7;%(1000,4000,425)</font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">detect-ring =&gt; 425</font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace"><br></font></div><div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">generate-busy =&gt; v=-7;%(500,500,425)</font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">detect-busy =&gt; 425</font></div></div><div><br></div><div>If they work then let us know and we&#39;ll add them to the tones.conf file. FYI, I&#39;ll let you research the &quot;attn&quot; &quot;call-waiting&quot; and &quot;detect-failX&quot; tones for your country. :)</div>
<div><br></div><div>-MC</div></div>