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: [email protected]
[mailto:[email protected]] On Behalf Of Anthony
Minessale
Sent: Wednesday, July 22, 2009 4:33 PM
To: [email protected]
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 <[email protected]> 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
[email protected]
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:[email protected]
<mailto:msn%[email protected]> 
GTALK/JABBER/PAYPAL:[email protected]
<mailto:paypal%[email protected]> 
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:[email protected]
<mailto:sip%[email protected]> 
iax:[email protected]/888
googletalk:[email protected]
<mailto:googletalk%3aconf%[email protected]> 
pstn:213-799-1400

_______________________________________________
FreeSWITCH-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to