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

Tony Tin tony.tin at noahmedia.com.hk
Thu Jul 8 06:34:34 PDT 2010


Thanks for replies, really appreciated !

Tony


On Thu, Jul 8, 2010 at 9:20 PM, Anthony Minessale <
anthony.minessale at gmail.com> wrote:

> 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
>
>
> _______________________________________________
> 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/e0c748b2/attachment.html 


More information about the FreeSWITCH-users mailing list