<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Your still ignoring early media. Are you trying to detect the tone before or after answer?<div><br></div><div>Mike</div><div><br><div><div>On Dec 26, 2008, at 6:16 AM, Baskar wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><b><span style="color: rgb(204, 0, 0);">Hi Michael,</span><br style="color: rgb(204, 0, 0);"></b><br> <b> I have updated all the changes what u said, But still i did not get any tone detect in the script </b><br><br><b><span style="color: rgb(255, 0, 0);">session1 = new Session();</span><br style="color: rgb(255, 0, 0);"> <span style="color: rgb(255, 0, 0);">session1.originate(session1, "{ignore_early_media=True}sofia/default/<a href="mailto:39841799874@172.20.191.228">39841799874@172.20.191.228</a>");</span><br style="color: rgb(255, 0, 0);"> <span style="color: rgb(255, 0, 0);">session1.execute("tone_detect", "test 400 r +30 hangup 'normal_clearing' 3");</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 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(255, 0, 0);"> <span style="color: rgb(255, 0, 0);">session1.execute("transfer", "39841799874");</span><br style="color: rgb(255, 0, 0);"><br>Still i did not know what is the error in the script or some thing else.please guide me to run this tone detect process.<br> <br>I have tried through api command also i did not get any update.<br>I did not get any error also but the tone detect process is not working.<br><br>I have tried some combination's like this</b><br><br><b style="color: rgb(102, 0, 204);">api tone_detect 0b2eec58-cbb3-484e-bc60-e274a74337ca busy 400 r +30 transfer '1007 XML default' 3 </b><br> <b style="color: rgb(255, 0, 0);">Output:</b><br>Content-Type: api/response<br> Content-Length: 45<br> +OK Enabling tone detection 'test' '400' 'r'<br><br><b style="color: rgb(102, 0, 204);">api tone_detect 0b2eec58-cbb3-484e-bc60-e274a74337ca busy 400 r +30 transfer '1007' 3</b><br><b style="color: rgb(255, 0, 0);">Output:</b><br> Content-Type: api/response<br> Content-Length: 45<br> +OK Enabling tone detection 'test' '400' 'r'<br><br><br> <b style="color: rgb(102, 0, 204);">api tone_detect 0b2eec58-cbb3-484e-bc60-e274a74337ca busy 400 r +30 transfer '<a href="mailto:1007@172.20.201.67">1007@172.20.201.67</a>' 3</b><br> <b style="color: rgb(255, 0, 0);">Output:</b><br> Content-Type: api/response<br> Content-Length: 45<br> +OK Enabling tone detection 'test' '400' 'r'<br><b><br><span style="color: rgb(102, 0, 204);">api tone_detect 0b2eec58-cbb3-484e-bc60-e274a74337ca busy 400 r +1 hangup 'normal_clearing' 3</span></b><br> <b style="color: rgb(255, 0, 0);">Output:</b><br>Content-Type: api/response<br> Content-Length: 45<br> +OK Enabling tone detection 'test' '400' 'r'<br><br><b>I get output == OK but no detect of tone.</b><br><br><b style="color: rgb(255, 0, 0);">"Is there any modules for tone detect to be enabled" please assist me, so that it is useful for me!</b><br> <br><b style="color: rgb(255, 0, 0);">Thanks in Advance.</b><br> <b><br>Warm Regards,<br>N.Baskar<br></b><br> _______________________________________________<br>Freeswitch-users mailing list<br><a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></blockquote></div><br></div></body></html>