[Freeswitch-users] Behaviour of group_confirm_cancel_timeout

Nagalenoj H. nagalenoj at gmail.com
Thu Jul 1 22:25:36 PDT 2010


I've pasted the console log here,

http://pastebin.freeswitch.org/13333


On Wed, Jun 30, 2010 at 11:15 PM, Michael Collins <msc at freeswitch.org>wrote:

> 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.
>>
>>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>

-- 
Regards,
Nagalenoj H.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100702/bf1d7cb0/attachment.html 


More information about the FreeSWITCH-users mailing list