[Freeswitch-users] Global object in startup lua script

Eugene Prokopiev enp at itx.ru
Wed Apr 4 17:57:09 UTC 2018


Channel variables can be used while call executing, right? So,
impossible to share them between calls. I guess global_setvar in
startup script and global_getvar in dialplan can helps, but anyway I
can store only some value, not reference to some lua object with
methods, right?

2018-04-04 17:59 GMT+03:00 Alexandr Popov <alexandr.popov at iqoption.com>:
> you can store any data in channel variables
>
> 2018-04-04 12:53 GMT+03:00 Eugene Prokopiev <enp at itx.ru>:
>>
>> Hi,
>>
>> Is it possible to create global object in startup lua script and use
>> it in other lua scripts in dialplan?
>>
>> --
>> WBR,
>> Eugene Prokopiev
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.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
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.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



-- 
WBR,
Eugene Prokopiev



More information about the FreeSWITCH-users mailing list