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.