<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>
</p><p style="margin-bottom: 0in;"><br>
</p>
<p style="margin-bottom: 0in;">Hi,</p>
<p style="margin-bottom: 0in;"><br>
</p>
<p style="margin-bottom: 0in;"><br>
</p>
<p style="margin-bottom: 0in;"><br>
</p>
<p style="margin-bottom: 0in;"> I noticed that when dial terminates it
does not return to the dialplan, and therefore can not execute any
entry after Dial().</p>
<p style="margin-bottom: 0in;"><br>
</p>
<p style="margin-bottom: 0in;"> Is there any trick to overcome this
limitation ?</p>
<p style="margin-bottom: 0in;"><br>
</p>
<p style="margin-bottom: 0in;"><br>
</p>
<p style="margin-bottom: 0in;"> How I am supposed to handle the
returned vales DIALEDTIME, ANSWEREDTIME if I can not execute anything
after Dial()?</p>
<p style="margin-bottom: 0in;"><br>
</p>
<p style="margin-bottom: 0in;"><br>
</p>
<p style="margin-bottom: 0in;"> I made a workaround with DeadAGI
(below) but it is unreliable: if 2 calls end nearly at the same time
I do not know to whom belongs the ANSWEREDTIME value :</p>
<p style="margin-bottom: 0in;"><br>
</p>
<p style="margin-bottom: 0in;"> exten =&gt;
h,1,DeadAGI(myagi.agi,0,${DIALEDTIME},${ANSWEREDTIME},00)</p>
<p style="margin-bottom: 0in;"><br>
</p>
<p style="margin-bottom: 0in;"> Any comments?</p>
<p style="margin-bottom: 0in;"><br>
</p>
<span></span><p><span style="font-size: 12px;"><br></span></p><br><font size="2"></font></body></html>