Can you supply a console log of these calls? -MC On Wed, Jun 30, 2010 at 7:37 AM, Nagalenoj H. <nagalenoj@gmail.com> wrote:
Dear Anthony, I've tried using the group_confirm_cancel_timeout as per the discussion we had in IRC. You wanted to used it as part of dial string and not as a channel variable. But, It doesn't work for me.
Here is how I've given the commands and the script I've executed. Even when I give group_confirm_cancel_timeout, the callee's leg is getting disconnected after legtimeout.
connect
sendmsg call-command: execute execute-app-name:answer
sendmsg call-command: execute execute-app-name: set execute-app-arg: group_confirm_key=exec
sendmsg call-command: execute execute-app-name: set execute-app-arg: group_confirm_file=perl /root/bridge.pl
sendmsg call-command: execute execute-app-name: bridge execute-app-arg: {group_confirm_cancel_timeout=1}[leg_timeout=10]user/1005
bridge.pl: #!/usr/bin/perl use freeswitch;
our $session; freeswitch::consoleLog("info","Goint to get the digits"); # To simulate the scenario I used sleep here. sleep(30); 1;
Kindly tell me whats wrong in the above.