<b style="color: rgb(204, 0, 0);">Hi </b><b style="color: rgb(204, 0, 0);">Michael,</b><br><br><b>Steps I follow for the Tone Detect process</b><br><b> <br></b><b>Step1: </b><b><span style="color: rgb(255, 0, 0);">From X-lite i called my no (eg: 1007==>9841799874 )</span><br>
</b><b>Step2:<span style="color: rgb(255, 0, 0);"> Then i run the JavaScript in that also i have given same no (9841799874)</span><br></b>
<b>Step3: <span style="color: rgb(255, 0, 0);">While i run the JavaScript i should get the busy tone detect but i cant ???</span></b><br><br><b>INTERNATIONAL TELECOMMUNICATION UNION given all national frequency </b><br><br>
<b>For India they have given</b><br><br><b style="color: rgb(102, 51, 255);">India (Republic of)<br>Acceptance tone - 400 1.0 on 4.0 off<br>
Busy tone - 400 0.75 on 0.75 off<br>Congestion tone - 400 0.25 on 0.25 off<br>Dial tone - 400x25 continuous<br>Special dial tone - 400 2.8 on 0.2 off<br>
Holding tone - 400 0.25 on 0.25 off 0.25 on 3.25 off<br>Intrusion tone - 400 0.15 on 4.85 off<br>Refusal tone - 400 0.25 on 0.25 off<br>Ringing tone - I (local calls) 400x25 0.4 on 0.2 off 0.4 on 2..0 off<br>
Ringing tone - II (NSD/ISD calls) 400x25 1.0 on 2.0 off<br>Route tone - 400 0.1 on 0.9 off<br>Call waiting tone - 400 0.2 on 0.1 off 0.2 on 7.5 off </b><br><br><br><b>But in wiki.sangoma They have given frequency for india (openzap)</b><br>
<pre style="font-family: trebuchet ms,sans-serif;"><font size="2"><b><span style="font-size: xx-small;"></span><span style="color: rgb(102, 51, 255);">[in]</span><br style="color: rgb(102, 51, 255);"><span style="color: rgb(102, 51, 255);">generate-dial => v=-7;%(1000,0,375,425) </span><br style="color: rgb(102, 51, 255);">
<span style="color: rgb(102, 51, 255);">detect-dial => 375,425</span><br style="color: rgb(102, 51, 255);"><span style="color: rgb(102, 51, 255);">generate-ring => v=-7;%(2000,4000,440,480)</span><br style="color: rgb(102, 51, 255);">
<span style="color: rgb(102, 51, 255);">detect-ring => 440,480</span><br style="color: rgb(102, 51, 255);"><span style="color: rgb(102, 51, 255);">generate-busy => v=-7;%(500,500,480,620)</span><br style="color: rgb(102, 51, 255);">
<span style="color: rgb(102, 51, 255);">detect-busy => 480,620</span><br style="color: rgb(102, 51, 255);"><span style="color: rgb(102, 51, 255);">generate-attn => v=0;%(100,100,1400,2060,2450,</span><span style="color: rgb(102, 51, 255);">2600)</span><br style="color: rgb(102, 51, 255);">
<span style="color: rgb(102, 51, 255);">detect-attn => 1400,2060,2450,2600</span><br style="color: rgb(102, 51, 255);"><span style="color: rgb(102, 51, 255);">generate-callwaiting-sas => v=0;%(300,0,440)</span><br style="color: rgb(102, 51, 255);">
<span style="color: rgb(102, 51, 255);">detect-callwaiting-sas => 440</span><br style="color: rgb(102, 51, 255);"><span style="color: rgb(102, 51, 255);">generate-callwaiting-cas => v=0;%(80,0,2750,2130)</span><br style="color: rgb(102, 51, 255);">
<span style="color: rgb(102, 51, 255);">detect-callwaiting-cas => 2750,2130</span><br style="color: rgb(102, 51, 255);"><span style="color: rgb(102, 51, 255);">detect-fail1 => 913.8</span><br style="color: rgb(102, 51, 255);">
<span style="color: rgb(102, 51, 255);">detect-fail2 => 1370.6</span><br style="color: rgb(102, 51, 255);"><span style="color: rgb(102, 51, 255);">detect-fail3 => 776.7</span><br></b></font></pre>
<b style="color: rgb(255, 0, 0);"><br>In INTERNATIONAL TELECOMMUNICATION UNION they have given busy tone frequency is<br><span style="color: rgb(0, 0, 0);">Busy tone - 400 0.75 on 0.75 off</span><br>
<br>But in wiki.sangoma They have given<br><span style="color: rgb(0, 0, 0);">generate-busy => v=-7;%(500,500,480,620)</span><br style="color: rgb(0, 0, 0);"><font style="color: rgb(0, 0, 0);"><font size="2">detect-busy => 480,620</font></font></b>
<br><br><b style="color: rgb(255, 0, 0);">I have tried both <span style="color: rgb(0, 0, 0);">400 and 480,620</span> in JavaScript but still i cant detect tone.</b><br><br><b>Guide me Which Frequency Should i use and Another thing What steps Should be followed for the Tone Detect .<br>
<span style="color: rgb(102, 51, 255);">(i)Whether my step is correct .</span><br style="color: rgb(102, 51, 255);"><span style="color: rgb(102, 51, 255);"> </span><font style="color: rgb(102, 51, 255);" size="4"> OR</font><br style="color: rgb(102, 51, 255);">
<span style="color: rgb(102, 51, 255);">(ii)Should i follow in different method.If so how? Help To detect the tone .....</span></b><br><br><b style="color: rgb(255, 102, 0);"><br>Thanks for the reply,<br><br>-- <br>Warm Regards,<br>
N.Baskar<br></b><br>