Comment out the $session->answer(); and try it. -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Samir Doshi Sent: Tuesday, October 15, 2013 1:08 PM To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Call hangup not working in perl session Yeah $session is already answered at the beginning of call. $session->answer(); I have placed it just before bridge application, like this $session->execute( "set", "execute_on_answer=sched_hangup +60" ); $session->execute( "bridge", "$data_string" ); ----- Thanks, Samir -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Call-hangup-not-working-in-per l-session-tp7595714p7595722.html Sent from the freeswitch-users mailing list archive at Nabble.com. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com 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