Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Problem with a hang up event on transfer.


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
mszlazak at aol.com
Guest





PostPosted: Mon Apr 27, 2009 3:34 pm    Post subject: [Freeswitch-users] Problem with a hang up event on transfer. Reply with quote

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





PostPosted: Mon Apr 27, 2009 3:42 pm    Post subject: [Freeswitch-users] Problem with a hang up event on transfer. Reply with quote

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





PostPosted: Mon Apr 27, 2009 4:00 pm    Post subject: [Freeswitch-users] Problem with a hang up event on transfer. Reply with quote

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:
Quote:
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











_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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/

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





PostPosted: Mon Apr 27, 2009 4:45 pm    Post subject: [Freeswitch-users] Problem with a hang up event on transfer. Reply with quote

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:
Quote:
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











_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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/

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

Quote:
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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

Can't afford a new spring wardrobe? Go shopping in your closet instead!
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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

VoiceMeUp - Corporate & Wholesale VoIP Services