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@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@gmail.com> wrote:
>
> session:ready - checks...

--
Javier Aristizábal


_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org