the leg you are running the script on is not hungup, the other leg of the call is.<br><br>If it was hungup you would not be executing the script.<br><br>Asterisk and the h ext and the whole dead-agi thing are all poor design showing it&#39;s teeth.<br>

We do not support anything like it.<br><br><br>You can however try this: (see the link below)<br><br><a href="http://www.nabble.com/Re:-Conference-javascript-and-hanuphooks-giving-me-headaches-p21614840.html">http://www.nabble.com/Re:-Conference-javascript-and-hanuphooks-giving-me-headaches-p21614840.html</a><br>
<br><br><br><div class="gmail_quote">On Mon, Feb 2, 2009 at 6:53 AM, shehzad p <span dir="ltr">&lt;<a href="mailto:pmhshz@gmail.com" target="_blank">pmhshz@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;"><br>
Is there any settings that when call hangup control can be transferred to<br>
another context and these CDR values can be accessible there? (just like in<br>
Asterisk, h extension)<br>
<div><br>
shehzad p wrote:<br>
&gt;<br>
&gt; Hi all,<br>
&gt;<br>
&gt; I need to process some CDR variables in Dialplan, like call duration,<br>
&gt; Answered time etc.<br>
&gt; but when I place info application after bridge, it is not listing them<br>
&gt; properly as below:<br>
&gt; ===========================================<br>
&gt; Caller-Channel-Created-Time: [1233573341672157]<br>
&gt; Caller-Channel-Answered-Time: [1233573342712939]<br>
&gt; Caller-Channel-Hangup-Time: [0]<br>
&gt; ==========================================<br>
&gt; Here Hangup time is 0, So how can I find actual values?<br>
&gt;<br>
&gt; --I know that we can use xml_cdr or cdr_csv, but my current need is to get<br>
&gt; those values from dialplan itself so that can be passed to some script...<br>
&gt;<br>
&gt;<br>
&gt; thanks,<br>
&gt; msp<br>
&gt;<br>
<br>
--<br>
</div>View this message in context: <a href="http://www.nabble.com/Call-Variable-not-available-when-call-hangup-tp21788550p21789152.html" target="_blank">http://www.nabble.com/Call-Variable-not-available-when-call-hangup-tp21788550p21789152.html</a><br>


<div><div></div><div>Sent from the Freeswitch-users mailing list archive at Nabble.com.<br>
<br>
<br>
_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>

<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>

IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>
<a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>