[Freeswitch-users] set variable at te chatplan with Lua
Yuriy Gorlichenko
ovoshlook at gmail.com
Tue Oct 10 09:43:32 UTC 2017
Hi
In dialplan i can set veriable via
session:execute ("set",<do what i need>)
or
session:setVariable (<varname>,<var value>)
In chat plan exists only "set" application but in can not bee executed via
message (analog of session)
how to set variables here?
I tried to use api:chat({<variables setup>} proto|sender|receiver|message)
But it is does not work
I exepted because of chat function description but tried anywhay.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20171010/05a8385b/attachment.html>
More information about the FreeSWITCH-users
mailing list