FYI, I've documented the msleep method here:<br><a href="http://wiki.freeswitch.org/wiki/Mod_lua#freeswitch.msleep">http://wiki.freeswitch.org/wiki/Mod_lua#freeswitch.msleep</a><br><br>I will work on better and more organized API documentation. If anyone out there has time/energy/knowledge of the scripting APIs and is willing to help out please email me off list.<br>
<br>-MC<br><br><div class="gmail_quote">2009/3/31 Brian West <span dir="ltr"><<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="">Lua has no sleep or pause ... if you read thru the lua wiki they show you various ways to accomplish that.<div><div class="im"><br><div><div>On Mar 31, 2009, at 10:50 AM, Matthew Fong wrote:</div><br><blockquote type="cite">
<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">I know before I asked about blocking for an event, and maybe I should have created a new topic..<div>
<br></div><div>but<span> </span><span style="font-weight: bold;"><span style="font-style: italic;">now<span> </span></span></span>I want to actually sleep (rather than block) for a set time frame...this app will not be consuming events.</div>
<div><br></div><div>can I get an example of how to use msleep in a lua script? This lua script will be running in the background, and not part of a session or event consumer. Thanks.</div><div><br></div><div>--ma</div></span></blockquote>
</div><br></div><div> <span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="">
<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="">
<div>Brian West</div><div><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></div><div><br></div></div></span>-- Meet us a ClueCon! <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a><br>
<div><br></div></div></span><br> </div><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>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>