On Mon, Dec 8, 2008 at 8:57 AM, Joe Bain <mrjoebain@gmail.com> wrote:
Hi,
I'm writing an IVR in Lua and am having problems dealing with hangups cleanly. Very often session:ready() reports true long after I have hung up and the hangup hook function I have set doesn't get called either. It seems to report that the session is active indefinitely in some cases where a loop keeps trying to get some dtmf key presses. Is there any trick to using session:ready() or the hangup hook that I might have missed?
On a slightly related point I can't seem to access the session properties, e.g. session.caller_id_num has a value of nil. Any thoughts here?
Thanks in advance,
Joe Bain _______________________________________________ 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
_______________________________________________ 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 2008/12/8 Michael Collins <msc@freeswitch.org>
Joe,
A few questions... what svn rev are you running? Which operating system? Finally, is it possible for you to put your dialplan and Lua script up at pastebin.freeswitch.org?
Thanks, MC
Hi, I'm running "FreeSWITCH Version 1.0.trunk (10175M)" on Windows. I can post the dialplan and lua script though at the moment I can't seem to log in to the pastebin, I just became a member on the freeswitch homepage but the pass/username isn't being accepted. Joe