<div>mod_lua was reloadable but when I found that long-running scripts cannot be easily stopped the developers changed it to un-reloadable.</div><div><br></div><div>I'd find some way to start/stop long-running scripts and I'd seen some implementations based on my example:</div><div><br></div><div><a href="http://fisheye.freeswitch.org/browse/freeswitch-contrib.git/seven/lua/gateway_report.lua?hb=true">http://fisheye.freeswitch.org/browse/freeswitch-contrib.git/seven/lua/gateway_report.lua?hb=true</a></div><div><div><br></div><div><br></div><div>There's also a blog page in Chinese explaining this: <a href="http://www.freeswitch.org.cn/2010/03/15/zai-freeswitchzhong-zhi-xing-chang-qi-yun-xing-de-qian-ru-shi-jiao-ben-luayu-yan-li-zi.html">http://www.freeswitch.org.cn/2010/03/15/zai-freeswitchzhong-zhi-xing-chang-qi-yun-xing-de-qian-ru-shi-jiao-ben-luayu-yan-li-zi.html</a></div><div><br></div><div><br></div><div>Hope this helps.</div><div><br></div><div><br></div></div>
<p style="color: #A0A0A8;">On Tuesday, January 22, 2013 at 3:40 PM, Mimiko wrote:</p>
<blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
<span><div><div><div>On 21.01.2013 23:47, William King wrote:</div><blockquote type="cite"><div><div>Interesting. A mod_lua api that would list the currently running lua</div><div>scripts with an id that could be used to kill off individual scripts.</div></div></blockquote><div><br></div><div>Lua scripts, started with FS on start-up must not be killed, but updated </div><div>when changing code of script. A killing command for a lua script is ok </div><div>for scripts that got in loop/.</div><div><br></div><div>-- </div><div>Mimiko desu.</div><div><br></div><div>_________________________________________________________________________</div><div>Professional FreeSWITCH Consulting Services:</div><div><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a></div><div><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a></div><div><br></div><div>FreeSWITCH-powered IP PBX: The CudaTel Communication Server</div><div><a href="http://www.cudatel.com">http://www.cudatel.com</a></div><div><br></div><div>Official FreeSWITCH Sites</div><div><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></div><div><a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a></div><div><a href="http://www.cluecon.com">http://www.cluecon.com</a></div><div><br></div><div>FreeSWITCH-users mailing list</div><div><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></div><div><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></div><div>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></div><div><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></div></div></div></span>
</blockquote>
<div>
<br>
</div>