[Freeswitch-users] Help regard to park_timeout
Michael Collins
msc at freeswitch.org
Mon Jan 24 23:16:20 MSK 2011
Do a uuid_dump on the channel and see what all is there. Also, try doing
this:
eval uuid:9b59d172-2781-11e0-8586-8390cbcc860f ${park_timeout}
See what happens.
-MC
On Sun, Jan 23, 2011 at 10:21 PM, lakshmanan ganapathy <lakindia89 at gmail.com
> wrote:
> Hi all,
> I've done a further experimentation and I need a clarification.
>
> From CLI>
> originate {ignore_early_media=true,park_timeout=50,api_hangup_hook='perl
> /root/a.pl',exec_after_bridge_app=park}freetdm/grp1/a/9952248266 &park()
>
> Then I executed the following commands from CLI.
> uuid_getvar 9b59d172-2781-11e0-8586-8390cbcc860f park_timeout
> _undef_
> uuid_getvar 9b59d172-2781-11e0-8586-8390cbcc860f api_hangup_hook
> perl /root/a.pl
>
> I don't know why uuid_getvar, returns undef for park_timeout variable. But
> the call is hangup once 50 seconds is reached. Can some one pls explain what
> it is printing as __undef__
>
>
>
> On Fri, Jan 21, 2011 at 6:37 PM, lakshmanan ganapathy <
> lakindia89 at gmail.com> wrote:
>
>> Dear all,
>> I was using park_timeout and I come across the following scenario which I
>> felt something is missing.
>> I've originated a call as follows.
>>
>> originate
>> {ignore_early_media=true,exec_after_bridge_app=park,park_timeout=60,api_hangup_hook='perl
>> /root/a.pl'}freetdm/grp1/a/9952248266 &park()
>>
>> Once the call is answered I originated another call.
>> originate {ignore_early_media=true,park_timeout=60,api_hangup_hook='perl
>> /root/a.pl'}freetdm/grp1/a/9843171457 &park()
>>
>> Once this call is also answered, I said "uuid_bridge <uuid1> <uuid2>".
>> Both call gets bridged. After some time, I hangup the second call
>> (9843171457). Now the first call goes into park().
>>
>> I expect that the first call will hangup after 60 seconds, but it didn't.
>>
>> The freeswitch log is here
>> http://pastebin.freeswitch.org/15099
>>
>> When I start to use the park_timeout, I thought once a leg is in park,
>> then the timer will start, and once it is unparked for various reason the
>> timer will be reseted. After sometime, when the leg again comes in park, the
>> timer will start. Is this correct?
>>
>>
>>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110124/0dffcc4c/attachment.html
More information about the FreeSWITCH-users
mailing list