VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
mszlazak at aol.com Guest
|
Posted: Mon Apr 27, 2009 3:34 pm Post subject: [Freeswitch-users] Problem with a hang up event on transfer. |
|
|
Using 13157 and some prior builds, I'm having a problem with the hang up hook activating on a transfer at the end of the script. The hook is suppose to fire with hang ups except when the transfer occurs and I thought setAutoHangup(false) would prevent this but it doesn't. Here is how things are set up.
session.setHangupHook(on_hangup);
....
....
session.setAutoHangup(false);
session.execute("transfer", "NOTIFY_ME XML default");
session = undefined;
If setAutoHangup(false) is working correctly then is there a method to "unset" the hang up hook before the transfer?
Mark.
Can't afford a new spring wardrobe? Go shopping in your closet instead! |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Mon Apr 27, 2009 3:42 pm Post subject: [Freeswitch-users] Problem with a hang up event on transfer. |
|
|
This only makes the call not hangup when the script exits.
/b
On Apr 27, 2009, at 3:29 PM, mszlazak@aol.com (mszlazak@aol.com) wrote:
Quote: | If setAutoHangup(false) is working correctly then is there a method to "unset" the hang up hook before the transfer?
Mark. |
Brian West
brian@freeswitch.org (brian@freeswitch.org)
-- Meet us at ClueCon! http://www.cluecon.com |
|
Back to top |
|
|
anthony.minessale at g... Guest
|
Posted: Mon Apr 27, 2009 4:00 pm Post subject: [Freeswitch-users] Problem with a hang up event on transfer. |
|
|
it happens on both hangup and transfer
you look at the arg to the hangup hook to tell if it was transfer or hangup and act accordingly
On Mon, Apr 27, 2009 at 3:40 PM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400 |
|
Back to top |
|
|
mszlazak at aol.com Guest
|
Posted: Mon Apr 27, 2009 4:45 pm Post subject: [Freeswitch-users] Problem with a hang up event on transfer. |
|
|
Got it. Thanks Tony.
-----Original Message-----
From: Anthony Minessale <anthony.minessale@gmail.com>
To: freeswitch-users@lists.freeswitch.org
Sent: Mon, 27 Apr 2009 1:59 pm
Subject: Re: [Freeswitch-users] Problem with a hang up event on transfer.
it happens on both hangup and transfer
you look at the arg to the hangup hook to tell if it was transfer or hangup and act accordingly
On Mon, Apr 27, 2009 at 3:40 PM, Brian West <brian@freeswitch.org (brian@freeswitch.org)> wrote:
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Can't afford a new spring wardrobe? Go shopping in your closet instead! |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|