[Freeswitch-users] Check session ready after session transfer
zvi at lexifone.com
Tue Jun 30 15:07:20 MSD 2015
Need some help regarding session state validation.
In documentation I see this:
- checks whether the session is still active (true anytime between call
starts and hangup)
- also session:ready will return false if the call is being transferred.
Bottom line is you should always be checking session:ready on any loops and
periodically throughout your script and exit asap if it returns false.
My experience is that after transfer the return value of session:ready() is
is not consistent - what is the correct way to check session state in that
email: zvi at lexifone.com
-------------- next part --------------
An HTML attachment was scrubbed...
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users