[Freeswitch-users] Asterisk key during message hangs up call

Lars Zeb larclap at yahoo.com
Thu Jul 23 07:23:11 PDT 2009


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 at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Anthony
Minessale
Sent: Wednesday, July 22, 2009 4:33 PM
To: freeswitch-users at 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 at 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 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




-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com
<mailto:MSN%3Aanthony_minessale at hotmail.com> 
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
<mailto:PAYPAL%3Aanthony.minessale at gmail.com> 
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
<mailto:sip%3A888 at conference.freeswitch.org> 
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org
<mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org> 
pstn:213-799-1400

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090723/bea25341/attachment-0002.html 


More information about the FreeSWITCH-users mailing list