[Freeswitch-users] Reload mod_lua

Abaci abaci64 at gmail.com
Tue Jan 22 00:14:22 MSK 2013


or you can have your script listen for event or check a variable and 
exit the script as needed. and another background script which will 
start the script again if it's not running. not a simple solution but 
doable.

On 1/21/2013 1:52 PM, Michael Collins wrote:
> Lua is not "unloadable" and therefore you cannot do this the way you 
> are trying to. You'll need to restart FreeSWITCH.
> -MC
>
> On Mon, Jan 21, 2013 at 9:43 AM, Mimiko <vbvbrj at gmail.com 
> <mailto:vbvbrj at gmail.com>> wrote:
>
>     I want to reload mod_lua in order to reload lua scripts that a starte
>     automatically on start-up. But I get this:
>
>     freeswitch at internal> reload mod_lua
>     +OK Reloading XML
>     -ERR unloading module [Module is not unloadable]
>     -ERR loading module [Module already loaded]
>
>     [CRIT] switch_loadable_module.c:1451 Module is not unloadable.
>     [WARNING] switch_loadable_module.c:1400 Module mod_lua Already Loaded!
>     [INFO] mod_enum.c:872 ENUM Reloaded
>     [INFO] switch_time.c:1165 Timezone reloaded 530 definitions
>
>     How to refresh modified lua scripts without reloading FS with restart?
>     --
>     Mimiko desu.
>
>     _________________________________________________________________________
>     Professional FreeSWITCH Consulting Services:
>     consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>     http://www.freeswitchsolutions.com
>
>     
>     
>
>     Official FreeSWITCH Sites
>     http://www.freeswitch.org
>     http://wiki.freeswitch.org
>     http://www.cluecon.com
>
>     FreeSWITCH-users mailing list
>     FreeSWITCH-users at lists.freeswitch.org
>     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>     http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>     UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>     http://www.freeswitch.org
>
>
>
>
> -- 
> Michael S Collins
> Twitter: @mercutioviz
> http://www.FreeSWITCH.org
> http://www.ClueCon.com
> http://www.OSTAG.org
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130121/5715d214/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list