Is $session already answered?


On 15 October 2013 15:59, Samir Doshi <smrdoshi@gmail.com> wrote:
Hi Guys,

I am using perl session to handle call flow.
I need to hangup call at exact 1 minute. For that i have set below line, but
somehow its not working. Call keeps running.
$session->execute( "set", "execute_on_answer=sched_hangup +60" );

Can anybody please point out the issue or something I missing.

Thanks in advance.





-----
Thanks,
Samir
--
View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Call-hangup-not-working-in-perl-session-tp7595714.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