<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hmm, not sure if I understand what exactly you need but here is how I send three parms/vars to lua:<div><br></div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 11px/normal Menlo; color: rgb(148, 49, 192); "><span style="color: #b72800">&lt;</span><span style="color: #000000">action application=</span>"lua"<span style="color: #000000"> data=</span>"/usr/local/FreeSwitch-scripts/known-people.lua CALLIN ${caller_id_number} ${mvsounds}"<span style="color: #b72800">/&gt;</span></div><div><span style="color: #b72800"><br></span></div><div><span style="color: #b72800">And I return 3 vars from lua to FS:</span></div><div><span style="color: #b72800"><div>&nbsp; &nbsp;session:setVariable("lua_ringback",ringback)</div><div>&nbsp; &nbsp;session:setVariable("lua_vmmsg",vmmsg)</div><div>&nbsp; &nbsp;session:setVariable("lua_ringtone",ringtone)</div><div><br></div><div>FS then uses $lua_ringback, etc...</div><div><br></div><div>Mario G</div></span></div><div><span style="color: #b72800"><br></span></div><div><div>On Feb 20, 2013, at 7:19 AM, Steven Ayre wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Return a single string of "name1=value1 name2=value2"<br><br>-Steve<br><br><br>On 20 February 2013 15:06, Mimiko &lt;<a href="mailto:vbvbrj@gmail.com">vbvbrj@gmail.com</a>&gt; wrote:<br><blockquote type="cite">On 20.02.2013 16:14, Abaci wrote:<br></blockquote><blockquote type="cite"><blockquote type="cite">or use the multiset application<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="http://wiki.freeswitch.org/wiki/Multiset">http://wiki.freeswitch.org/wiki/Multiset</a><br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">How it can set values to two variables calling one lua script only and<br></blockquote><blockquote type="cite">only once?<br></blockquote><blockquote type="cite">Doesn't seems to be so.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">--<br></blockquote><blockquote type="cite">Mimiko desu.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_________________________________________________________________________<br></blockquote><blockquote type="cite">Professional FreeSWITCH Consulting Services:<br></blockquote><blockquote type="cite"><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br></blockquote><blockquote type="cite"><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br></blockquote><blockquote type="cite"><a href="http://www.cudatel.com">http://www.cudatel.com</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Official FreeSWITCH Sites<br></blockquote><blockquote type="cite"><a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br></blockquote><blockquote type="cite"><a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><br></blockquote><blockquote type="cite"><a href="http://www.cluecon.com">http://www.cluecon.com</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">FreeSWITCH-users mailing list<br></blockquote><blockquote type="cite"><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br></blockquote><blockquote type="cite"><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br></blockquote><blockquote type="cite">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br></blockquote><blockquote type="cite"><a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br></blockquote><br>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>http://www.freeswitchsolutions.com<br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>http://www.cudatel.com<br><br>Official FreeSWITCH Sites<br>http://www.freeswitch.org<br>http://wiki.freeswitch.org<br>http://www.cluecon.com<br><br>FreeSWITCH-users mailing list<br>FreeSWITCH-users@lists.freeswitch.org<br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></div></blockquote></div><br></div></body></html>