[Freeswitch-docs] Lua - session:waitForAnswer

Ryan Harris ryharris at airmail.cc
Thu Jan 18 00:37:35 UTC 2018


On 01/17/2018 06:03 PM, Brian West wrote:
> If you use execute, callbacks won't work. So if you do execute
> playback vs streamFile, the DTMF callbacks just can't work.  Thats why
> the native method is different but the end results and functionality
> should be the same with the exception of the callbacks.
>
> /b

So since dptools wait_for_answer is blocking, it just needs to wait for
the channel state to change, right? switch_ivr_wait_for_answer seems /a
lot/ more involved, so that's what I'm going to study.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-docs/attachments/20180117/b45688b9/attachment.html>


More information about the Freeswitch-docs mailing list