<div dir="ltr">Yes running from h<div><br></div><div><br></div><div><div>exten => _X.,1,Dial(SIP/1*100)</div><div>exten => h,1,AGI(cdr.php,11)</div><div><br></div><div dir="ltr">Regards,<br>Zohair Raza<div><br></div>
<div><div> <br></div></div></div><br>
<br><br><div class="gmail_quote">On Fri, Dec 16, 2011 at 6:42 PM, Danny Nicholas <span dir="ltr"><<a href="mailto:danny@debsinc.com">danny@debsinc.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">You are running the AGI from the h() exten? Otherwise I wouldn’t expect CDR(end) to populated or correct.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a> [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" target="_blank">asterisk-users-bounces@lists.digium.com</a>] <b>On Behalf Of </b>Zohair Raza<br>
<b>Sent:</b> Friday, December 16, 2011 8:38 AM<br><b>To:</b> Asterisk Users Mailing List - Non-Commercial Discussion<br><b>Subject:</b> [asterisk-users] CDR END TIME in correct in 1.8+<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">Hi,<u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">I've tested 1.8.6.0, 1.8.4.0 and 1.8.0 <u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">I can get proper start and answer time but not the end time of call <u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p>
</div>
<div><div><div><p class="MsoNormal"><SIP/11-00000000>AGI Rx << GET VARIABLE CDR(start)<u></u><u></u></p></div><div><p class="MsoNormal"><SIP/11-00000000>AGI Tx >> 200 result=1 (2011-12-16 18:34:48)<u></u><u></u></p>
</div><div><p class="MsoNormal"><SIP/11-00000000>AGI Rx << GET VARIABLE CDR(end)<u></u><u></u></p></div><div><p class="MsoNormal"><SIP/11-00000000>AGI Tx >> 200 result=1 (2011 12-16 18:34:48)<u></u><u></u></p>
</div></div><div><div><p class="MsoNormal"><SIP/11-00000000>AGI Rx << GET VARIABLE CDR(answer)<u></u><u></u></p></div><div><p class="MsoNormal"><SIP/11-00000000>AGI Tx >> 200 result=1 (2011-12-16 18:34:50)<u></u><u></u></p>
</div></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">In 1.8.6.0, there was no end time and in the other two it's present but neither in correct format nor exact time.<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Is it something related to system or a bug?<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">
Regards,<br>Zohair Raza<u></u><u></u></p><div><p class="MsoNormal"> <u></u><u></u></p></div></div><p class="MsoNormal"><u></u> <u></u></p></div></div></div></div></div></div><br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br></div></div>