[Freeswitch-users] question about session:setInputCallback

Abaci B abaci64 at gmail.com
Thu Aug 3 01:02:20 UTC 2017


Hi,
>From what I understand based on the documentation at
https://freeswitch.org/confluence/display/FREESWITCH/Lua+API+Reference#LuaAPIReference-session:setInputCallback
you can pass an arg to the callback function in the second argument of
session:setInputCallback, however in my callback if I have function
my_cb(s, type, obj, arg) the value of arg is always nil, does anybody have
this working or can confirm if the documentation is correct?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170802/5faf1275/attachment.html>


More information about the FreeSWITCH-users mailing list