<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><title></title><head><meta http-equiv="Content-type" content="text/html; charset=UTF-8" /><style type="text/css"> html, body {overflow-x: hidden; } html { width:100%; height:100%;margin:0px; padding:0px; overflow-y: auto; overflow-x: hidden; }body { font-size: 100.01%; font-family : Verdana, Geneva, Arial, Helvetica, sans-serif; background-color:transparent; overflow:show; background-image:none; margin:0px; padding:5px; }p { margin:0px; padding:0px; } body { font-size: 12px; font-family : Verdana, Geneva, Arial, Helvetica, sans-serif; } p { margin: 0; padding: 0; } blockquote { padding-left: 5px; margin-left: 5px; margin-bottom: 0px; margin-top: 0px; } blockquote.quote { border-left: 1px solid #CCC; padding-left: 5px; margin-left: 5px; } .misspelled { background: transparent url(//images.gmx.net/images/outsource/application/mailclient/com/gb/resource_1.29.5/mailclient/widgets/basic/parts/maileditor/spellchecking_underline.gif) repeat-x scroll center bottom; } .correct {} .unknown {} .ignored {}</style></head><body id="bodyElement" style="">
<span></span><p><span style="font-size: 12px;">Thank you for your answer,</span><span></span></p><p><span></span><span style="font-size: 12px;"></span><br></p><p><span></span><span style="font-size: 12px;"></span><span></span></p><p><span></span><span style="font-size: 12px;"></span><br></p><p><span></span><span style="font-size: 12px;"></span><span style="font-size: 13px;">Is the </span><font><font size="2">call tracknum stored in some variable?</font></font></p><p><span style="font-size: 12px;"><br></span></p><p><span style="font-size: 12px;">Could you let me know how to </span><font><font size="2"> pass a call tracknum to an AGI. </font></font><span></span></p><p><span></span><span style="font-size: 13px;"></span><br></p><p><span style="font-size: 13px;"></span><br><span></span></p><p><span></span><span style="font-size: 13px;"></span>Se.-<br></p><p><span style="font-size: 13px;"><br></span></p><br><font size="2"><br><blockquote class="quote" style="font-size: 12px;" face="Verdana" type="cite">----- Original Message -----<br>From: Ruddy Gbaguidi<br><br><div style="">
First, if you want to use that, you may want pass the call tracknum to <br>the myagi.agi,<br>so you will know which call the dialedtime and answeredtime belongs to.<br><br>But you can use the Dial 'g' option that doesn't hangup up both legs of <br>the call when the called party hangs up.<br><br><br><br>selmak se wrote:<br>&gt;<br>&gt;<br>&gt; Hi,<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; I noticed that when dial terminates it does not return to the <br>&gt; dialplan, and therefore can not execute any entry after Dial().<br>&gt;<br>&gt;<br>&gt; Is there any trick to overcome this limitation ?<br>&gt;<br>&gt;<br>&gt;<br>&gt; How I am supposed to handle the returned vales DIALEDTIME, <br>&gt; ANSWEREDTIME if I can not execute anything after Dial()?<br>&gt;<br>&gt;<br>&gt;<br>&gt; I made a workaround with DeadAGI (below) but it is unreliable: if 2 <br>&gt; calls end nearly at the same time I do not know to whom belongs the <br>&gt; ANSWEREDTIME value :<br>&gt;<br>&gt;<br>&gt; exten =&gt; h,1,DeadAGI(myagi.agi,0,${DIALEDTIME},${ANSWEREDTIME},00)<br>&gt;<br>&gt;<br>&gt; Any comments?<br>&gt;<br>&gt;<br><a href="http://lists.digium.com/mailman/listinfo/asterisk-users"></a><br>

</div></blockquote></font></body></html>