<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div></div><div>You could serialize the data as json prior to writing to the channel variable.   Dkjson works well in lua for that. </div><div><br></div><div>Chris</div><div><br></div><div><br>On Apr 5, 2018, at 09:45, Michael Jerris <<a href="mailto:mike@jerris.com">mike@jerris.com</a>> wrote:<br><br></div><blockquote type="cite"><div><br><div class="gmail_quote"><div dir="auto">On Thu, Apr 5, 2018 at 9:39 AM Eugene Prokopiev <<a href="mailto:enp@itx.ru">enp@itx.ru</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Channel variables can be used while call executing, right? So,<br>
impossible to share them between calls. I guess global_setvar in<br>
startup script and global_getvar in dialplan can helps, but anyway I<br>
can store only some value, not reference to some lua object with<br>
methods, right?</blockquote><div dir="auto"><br></div><div dir="auto">Correct </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"></blockquote></div>
</div></blockquote><blockquote type="cite"><div><span>_________________________________________________________________________</span><br><span>Professional FreeSWITCH Consulting Services:</span><br><span><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a></span><br><span><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a></span><br><span></span><br><span>Official FreeSWITCH Sites</span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br><span><a href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a></span><br><span><a href="http://www.cluecon.com">http://www.cluecon.com</a></span><br><span></span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span></div></blockquote></body></html>