[Freeswitch-users] Typo in Lua API confluence page

Joel Serrano joel at gogii.net
Sat Jul 30 01:19:56 MSD 2016


Hi guys,

There is a little typo in this page:

https://freeswitch.org/confluence/display/FREESWITCH/Lua+API+Reference


session:execute
session:execute(app, data)
local mySound =
"/usr/local/freeswitch/sounds/music/16000/partita-no-3-in-e-major-bwv-1006-1-preludio.wav"
session:execute("playback", mySound)
NOTE: Callbacks (DTMF and friends) CAN NOT EXECUTE during an execute.


session:executeString
session:execute(api_string) *<<<< Shouldn't this be executeString???*
local mySound =
"/usr/local/freeswitch/sounds/music/16000/partita-no-3-in-e-major-bwv-1006-1-preludio.wav"
session:executeString("playback "..mySound)
Note: Callbacks (DTMF and friends) CAN NOT EXECUTE during an execute.


Can anybody update it please? Can lead to confusion.

Thanks!

Joel.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160729/df80a5a9/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list