<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Changed to indicate milliseconds for relative and seconds for the absolute option as I assume the absolute option is for a unix timestamp which is, indeed, seconds.<div><br></div><div>-Troy</div><div><br>
<br><div><div>On Feb 18, 2010, at 10:43 AM, Michael Collins wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><br><br><div class="gmail_quote">On Wed, Feb 17, 2010 at 4:44 PM, Troy Anderson <span dir="ltr"><<a href="mailto:troy@tlainvestments.com">troy@tlainvestments.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
In the wiki about tone_detect, the docs state that the timeout is in seconds (e.g. +2 for 2 seconds from now), but all the examples have +5000, suggesting that it may really be milliseconds. I'd be happy to update the wiki if someone could say if it's seconds or millisconds or otherwise.<br>
<br>
I tried tracing it back in the code, but got lost looking for the definition of switch_media_bug_t!<br>
<br>
<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>
Thanks!<br>
Troy<br></blockquote><div><br>Troy,<br><br>Good catch. It is definitely milliseconds. Please update the wiki. You get a gold star for taking the initiative. BTW, it's okay to make the change if you're reasonably certain it's correct and then update us here. It's easy to undo a wiki edit.<br>
<br>-MC<br></div></div><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>