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.

-Troy


On Feb 18, 2010, at 10:43 AM, Michael Collins wrote:



On Wed, Feb 17, 2010 at 4:44 PM, Troy Anderson <troy@tlainvestments.com> wrote:
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.

I tried tracing it back in the code, but got lost looking for the definition of switch_media_bug_t!

http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_tone_detect

Thanks!
Troy

Troy,

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.

-MC

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org