[Freeswitch-users] Reload mod_lua

Avi Marcus avi at avimarcus.net
Tue Jan 22 00:21:16 MSK 2013


A tool that can monitor Lua threads, and kill them, would come in useful
every so often...

-Avi

On Mon, Jan 21, 2013 at 11:14 PM, Abaci <abaci64 at gmail.com> wrote:

>  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> 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
>> 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
>>
>
>
>
> --
> Michael S Collins
> Twitter: @mercutioviz
> http://www.FreeSWITCH.org <http://www.freeswitch.org/>
> http://www.ClueCon.com <http://www.cluecon.com/>
> http://www.OSTAG.org <http://www.ostag.org/>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:consulting at freeswitch.orghttp://www.freeswitchsolutions.com
>
> FreeSWITCH-powered IP PBX: The CudaTel Communication Server
>
> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://wiki.freeswitch.orghttp://www.cluecon.com
>
> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.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/2d62d3d9/attachment.html 


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