Thanks for the
reply. This is my first attempt at using a script.
I tried:
session:autoHangup(0)
or session:autoHangup(false)
but got an
error:
2009-07-23 07:19:09.652238 [ERR] mod_lua.cpp:182
/usr/local/freeswitch/scripts/inbound_calls.lua:29: attempt to call method
'autoHangup' (a nil value)
stack traceback:
/usr/local/freeswitch/scripts/inbound_calls.lua:29: in main chunk
I looked at the
documentation and tried:
session:setAutoHangup(false)
and the script
proceeded without error. However, looking at the log, I do not see the
setAutoHangup being called. Also, when pressing *, I get a fast, busy signal.
I have pasted
the script and log at http://pastebin.freeswitch.org/9836
Thanks again, Lars
From:
freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Anthony
Minessale
Sent: Wednesday, July 22, 2009 4:33 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Asterisk key during message hangs up
call
you are using a channel created
with a script and you did not set
js
session.autoHangup(0)
lua
session:autoHangup(0)
so when the * makes the call transfer the script kills the channel.
On Wed, Jul 22, 2009 at 3:13 PM, Lars Zeb <larclap@yahoo.com> wrote:
Brian,
When calling into FreeSWITCH
and pressing * during the greeting, the call immediately hangs up.
It used to ask for the mailbox
number to retrieve messages. It no longer works. I don’t know if my
dialplan is causing the error or something in FreeSWITCH has changed.
Any ideas?
http://pastebin.freeswitch.org/9803
Thanks, Lars
_______________________________________________
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
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:213-799-1400