[Freeswitch-users] Behaviour of group_confirm_cancel_timeout

Michael Collins msc at freeswitch.org
Wed Jun 30 10:45:31 PDT 2010


Can you supply a console log of these calls?
-MC

On Wed, Jun 30, 2010 at 7:37 AM, Nagalenoj H. <nagalenoj at 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.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100630/750949fc/attachment.html 


More information about the FreeSWITCH-users mailing list