[Freeswitch-users] hangup does not break the Lua loop

Anthony Minessale anthony.minessale at gmail.com
Thu Jul 8 06:20:57 PDT 2010


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
periodicly throughout your script and exit asap if it returns false.

On Jul 8, 2010 7:13 AM, "Javier Aristizábal" <javieraristizabal at gmail.com>
wrote:

Tony, you can try:

while (var and session:ready) do
     ........
end





On Thu, Jul 8, 2010 at 4:37 AM, Steven Ayre <steveayre at gmail.com> wrote:
>
> session:ready - checks...
-- 
Javier Aristizábal


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100708/3ec28bcf/attachment.html 


More information about the FreeSWITCH-users mailing list