Hi all,<br>I've done a further experimentation and I need a clarification.<br><br>From CLI><br>originate {ignore_early_media=true,park_timeout=50,api_hangup_hook='perl /root/<a href="http://a.pl">a.pl</a>',exec_after_bridge_app=park}freetdm/grp1/a/9952248266 &park()<br>
<br>Then I executed the following commands from CLI.<br>uuid_getvar 9b59d172-2781-11e0-8586-8390cbcc860f park_timeout<br>_undef_<br>uuid_getvar 9b59d172-2781-11e0-8586-8390cbcc860f api_hangup_hook<br>perl /root/<a href="http://a.pl">a.pl</a><br>
<br>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__<br><br><br><div class="gmail_quote">
On Fri, Jan 21, 2011 at 6:37 PM, lakshmanan ganapathy <span dir="ltr"><<a href="mailto:lakindia89@gmail.com">lakindia89@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Dear all,<br>I was using park_timeout and I come across the following scenario which I felt something is missing.<br>I've originated a call as follows.<br><br>originate {ignore_early_media=true,exec_after_bridge_app=park,park_timeout=60,api_hangup_hook='perl /root/<a href="http://a.pl" target="_blank">a.pl</a>'}freetdm/grp1/a/9952248266 &park()<br>
<br>Once the call is answered I originated another call.<br>originate {ignore_early_media=true,park_timeout=60,api_hangup_hook='perl /root/<a href="http://a.pl" target="_blank">a.pl</a>'}freetdm/grp1/a/9843171457 &park()<br>
<br>
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(). <br><br>I expect that the first call will hangup after 60 seconds, but it didn't.<br>
<br>The freeswitch log is here<br><a href="http://pastebin.freeswitch.org/15099" target="_blank">http://pastebin.freeswitch.org/15099</a><br><br>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?<br>
<br><br>
</blockquote></div><br>