Do a uuid_dump on the channel and see what all is there. Also, try doing this:<div>eval uuid:<meta charset="utf-8">9b59d172-2781-11e0-8586-8390cbcc860f ${park_timeout}</div><div><br></div><div>See what happens.</div><div><br>
</div><div>-MC<br><br><div class="gmail_quote">On Sun, Jan 23, 2011 at 10:21 PM, lakshmanan ganapathy <span dir="ltr">&lt;<a href="mailto:lakindia89@gmail.com">lakindia89@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi all,<br>I&#39;ve done a further experimentation and I need a clarification.<br><br>From CLI&gt;<br>originate {ignore_early_media=true,park_timeout=50,api_hangup_hook=&#39;perl /root/<a href="http://a.pl" target="_blank">a.pl</a>&#39;,exec_after_bridge_app=park}freetdm/grp1/a/9952248266 &amp;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" target="_blank">a.pl</a><br>

<br>I don&#39;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__<div><div></div><div class="h5"><br>
<br><br><div class="gmail_quote">
On Fri, Jan 21, 2011 at 6:37 PM, lakshmanan ganapathy <span dir="ltr">&lt;<a href="mailto:lakindia89@gmail.com" target="_blank">lakindia89@gmail.com</a>&gt;</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&#39;ve originated a call as follows.<br><br>originate {ignore_early_media=true,exec_after_bridge_app=park,park_timeout=60,api_hangup_hook=&#39;perl /root/<a href="http://a.pl" target="_blank">a.pl</a>&#39;}freetdm/grp1/a/9952248266 &amp;park()<br>


<br>Once the call is answered I originated another call.<br>originate {ignore_early_media=true,park_timeout=60,api_hangup_hook=&#39;perl /root/<a href="http://a.pl" target="_blank">a.pl</a>&#39;}freetdm/grp1/a/9843171457 &amp;park()<br>

<br>
Once this call is also answered, I said &quot;uuid_bridge &lt;uuid1&gt; &lt;uuid2&gt;&quot;. 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&#39;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>
</div></div><br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>