---------- Forwarded message ----------
From: "Wilmar Pérez" <ewdpb@yahoo.com>
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Cc:
Bcc:
Date: Thu, 5 Mar 2020 09:15:37 -0500
Subject: LUA Scripting - When to check session readiness?Hi all,I am coding and IVR on LUA. Based on the freeswitch books you have to check session readiness to avoid getting stack in a nasty error or infinite loop. That is OK. My question is: when should I do it? What I am doing now is to check it before asking caller for feedback or querying a Web Service. Does it make sense? It bothers me that the code gets really cluttered b the constant checking (LUA code layout does not help either).I am very aware this is not exact science, I just want to know the opinion of more experienced people out there.Thanks!Wilmar
---------- Forwarded message ----------
From: "Wilmar Pérez via FreeSWITCH-users" <freeswitch-users@lists.freeswitch.org>
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Cc:
Bcc:
Date: Thu, 05 Mar 2020 13:12:31 -0800 (PST)
Subject: [Freeswitch-users] LUA Scripting - When to check session readiness?
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com
Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com
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
https://freeswitch.com