[Freeswitch-users] Dead lua scripts
Tim St. Pierre
fs-list at communicatefreely.net
Mon Oct 11 15:37:52 PDT 2010
Yes, I'm doing that in all scripts that loop from now on.
What I was trying to find out, was if there is some sort of fs_cli command that I can run to remove
all those calls, other than fsctl restart.
It likely won't be an issue in the future, now that I have the correct control flow, but just in
case - it helps to know these tricks.
I'm hoping to get the book ordered. I think it will be useful, and I do like books.
-Tim
Brian West wrote:
> Well anthony gave you a hint... wrap your whole loop in a while(session:ready) it will then end the script if the session hangs up.
>
> /b
>
> On Oct 7, 2010, at 9:15 PM, Tim St. Pierre wrote:
>
>> I had to completely restart freeswitch to make these calls go away. Is there a less disruptive way
>> to terminate the scripts?
>
>
> _______________________________________________
> 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
More information about the FreeSWITCH-users
mailing list