<b><span style="color: rgb(102, 51, 255);">Hi,</span><br style="color: rgb(102, 51, 255);"><br style="color: rgb(102, 51, 255);"><span style="color: rgb(102, 51, 255);"> This is my JavaScript for tone detect </span><br>
<br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">session1 = new Session();</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">session1.originate(session1, "{ignore_early_media=false}sofia/default/<a href="mailto:39841799874@172.20.191.228">39841799874@172.20.191.228</a>");</span><br style="color: rgb(204, 0, 0);">
<span style="color: rgb(204, 0, 0);">session1.execute("tone_detect", "test 400,25 r +1 hangup 'normal_clearing' 1");</span><br style="color: rgb(204, 0, 0);"><span style="color: rgb(204, 0, 0);">session1.execute("bridge", "sofia/default/<a href="mailto:39841799874@172.20.191.228">39841799874@172.20.191.228</a>");</span><br style="color: rgb(204, 0, 0);">
<span style="color: rgb(204, 0, 0);">session1.execute("transfer", "39841799874");</span><br style="color: rgb(204, 0, 0);"><br><span style="color: rgb(102, 51, 255);">But Tone Detect does not work at all Did i work wrongly, correct me where i am wrong</span><br style="color: rgb(102, 51, 255);">
<br style="color: rgb(102, 51, 255);"><span style="color: rgb(102, 51, 255);">Another question :</span><br style="color: rgb(102, 51, 255);"><br style="color: rgb(102, 51, 255);"><span style="color: rgb(102, 51, 255);">In api tone detect command i got api parameters like this</span><br>
<br>api tone_detect,Start Tone Detection on a channel,<uuid> <key> <tone_spec> [<flags> <timeout> <app> <args> <hits>]<br><br>In that I want to know what is <span style="color: rgb(204, 0, 0);"><tone_spec> ....</span><br>
I did not see any details in wiki.freeswitch site can any what should be passed in tone_spec</b>.<br><br><b>-- <br>Warm Regards,<br>N.Baskar</b><br><br>