No subject
Fri Sep 2 03:59:05 CDT 2011
<br>
; Normally, CDR's are not closed out until after all extensions are fin=
ished<br>
; executing. =A0By enabling this option, the CDR will be ended before execu=
ting<br>
; the "h" extension so that CDR values such as "end" an=
d "billsec" may be<br>
; retrieved inside of of this extension.<br>
;endbeforehexten=3Dno<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
-----Original Message-----<br>
From: <a href=3D"mailto:asterisk-users-bounces at lists.digium.com">asterisk-u=
sers-bounces at lists.digium.com</a> [mailto:<a href=3D"mailto:asterisk-users-=
bounces at lists.digium.com">asterisk-users-bounces at lists.digium.com</a>] On B=
ehalf Of Danny Nicholas<br>
Sent: Friday, December 16, 2011 9:57 AM<br>
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'<br>
Subject: Re: [asterisk-users] CDR END TIME in correct in 1.8+<br>
<br>
Try this<br>
<br>
exten =3D> _X.,1,Dial(SIP/1*100)<br>
<br>
exten =3D> h,1,wait(10)<br>
<br>
exten =3D> h,n,AGI(cdr.php,11)<br>
<br>
<br>
<br>
Don't know how long after hangup this information gets updated, but wou=
ld be shocked if 10 seconds doesn't cover it.<br>
<br>
<br>
<br>
<br>
<br>
From: <a href=3D"mailto:asterisk-users-bounces at lists.digium.com">asterisk-u=
sers-bounces at lists.digium.com</a> [mailto:<a href=3D"mailto:asterisk-users-=
bounces at lists.digium.com">asterisk-users-bounces at lists.digium.com</a>] On B=
ehalf Of Zohair Raza<br>
Sent: Friday, December 16, 2011 8:51 AM<br>
To: Asterisk Users Mailing List - Non-Commercial Discussion<br>
Subject: Re: [asterisk-users] CDR END TIME in correct in 1.8+<br>
<br>
<br>
<br>
Yes running from h<br>
<br>
<br>
<br>
<br>
<br>
exten =3D> _X.,1,Dial(SIP/1*100)<br>
<br>
exten =3D> h,1,AGI(cdr.php,11)<br>
<br>
<br>
<br>
Regards,<br>
Zohair Raza<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
On Fri, Dec 16, 2011 at 6:42 PM, Danny Nicholas <<a href=3D"mailto:danny=
@debsinc.com">danny at debsinc.com</a>> wrote:<br>
<br>
You are running the AGI from the h() exten? =A0Otherwise I wouldn't exp=
ect CDR(end) to populated or correct.<br>
<br>
<br>
<br>
From: <a href=3D"mailto:asterisk-users-bounces at lists.digium.com">asterisk-u=
sers-bounces at lists.digium.com</a> [mailto:<a href=3D"mailto:asterisk-users-=
bounces at lists.digium.com">asterisk-users-bounces at lists.digium.com</a>] On B=
ehalf Of Zohair Raza<br>
Sent: Friday, December 16, 2011 8:38 AM<br>
To: Asterisk Users Mailing List - Non-Commercial Discussion<br>
Subject: [asterisk-users] CDR END TIME in correct in 1.8+<br>
<br>
<br>
<br>
Hi,<br>
<br>
<br>
<br>
I've tested 1.8.6.0, 1.8.4.0 and 1.8.0<br>
<br>
<br>
<br>
I can get proper start and answer time but not the end time of call<br>
<br>
<br>
<br>
<SIP/11-00000000>AGI Rx << GET VARIABLE CDR(start)<br>
<br>
<SIP/11-00000000>AGI Tx >> 200 result=3D1 (2011-12-16 18:34:48)=
<br>
<br>
<SIP/11-00000000>AGI Rx << GET VARIABLE CDR(end)<br>
<br>
<SIP/11-00000000>AGI Tx >> 200 result=3D1 (2011 12-16 18:34:48)=
<br>
<br>
<SIP/11-00000000>AGI Rx << GET VARIABLE CDR(answer)<br>
<br>
<SIP/11-00000000>AGI Tx >> 200 result=3D1 (2011-12-16 18:34:50)=
<br>
<br>
<br>
<br>
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.<br>
<br>
<br>
<br>
Is it something related to system or a bug?<br>
<br>
<br>
<br>
Regards,<br>
Zohair Raza<br>
<br>
<br>
<br>
<br>
<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href=3D"http://www.api-digital.c=
om" target=3D"_blank">http://www.api-digital.com</a> -- New to Asterisk? Jo=
in us for a live introductory webinar every Thurs:<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0<a href=3D"http://www.asterisk.org/hello" targe=
t=3D"_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
=A0<a href=3D"http://lists.digium.com/mailman/listinfo/asterisk-users" tar=
get=3D"_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><=
br>
<br>
<br>
<br>
<br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href=3D"http://www.api-digital.c=
om" target=3D"_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 <a href=3D"http://www.asterisk.org/hello" targ=
et=3D"_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
=A0 <a href=3D"http://lists.digium.com/mailman/listinfo/asterisk-users" ta=
rget=3D"_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a>=
<br>
</div></div></blockquote></div><br></div></div>
--0015175ce226aa32e004b4371bf0--
More information about the asterisk-users
mailing list