That should work, its in the switch_cpp.cpp, What do you mean same thing?  There are differences in execute vs a native call.

Thanks,
/b


On Wed, Jan 17, 2018 at 3:28 PM, Ryan Harris <ryharris@airmail.cc> wrote:
Does anyone know if `session:waitForAnswer` is deprecated?

I haven't been able to get it to do the same thing as
`session:execute("wait_for_answer")`


_______________________________________________
Freeswitch-docs mailing list
Freeswitch-docs@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-docs



--

Brian West | Co-founder and Developer

Need Commercial support? email sales@freeswitch.com

FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045

Email: brian@freeswitch.com

Mobile: 918-424-9378

Website: https://www.FreeSWITCH.com

color-facebook-96.pngcolor-twitter-96.png