[asterisk-users] CDR Records are not working
Klaverstyn, David C
David.Klaverstyn at intergraph.com
Sun Oct 26 20:08:01 CDT 2008
I have the same problem for Disposition when I use call files. The
duration is correct but the Disposition is always NO ANSWER. I also am
using 1.6.0.1. I did not have the problem when I was using 1.4.21
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Pedram M
Sent: Monday, 27 October 2008 10:46 AM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] CDR Records are not working
Hello Asterisk-Users,
For some reason my CDR records for disposition and billsec are not
working correctly.
I always receive a 0 for billsec and the disposition is always at "NO
ANSWER', even when I grab the calls.
I experience this with Asterisk 1.6.0.1 and Asterisk 1.4.22.
Here is information on how I do the call:
-----------------------------------------------------------------
.call file contents:
-----------------------------------------------------------------
Channel: SIP/GAFACHI/18183455555
CallerID: 18183455512
MaxRetries: 0
RetryTime: 60
WaitTime: 30
Context: outboundmessage1
Extension: s
Priority: 1
Set: PassedInfo=18183453041-m1d
-----------------------------------------------------------------
extensions.conf for outboundmessage1 context:
-----------------------------------------------------------------
[outboundmessage1]
exten => s,1,Set(CDR(userfield)=${PassedInfo})
exten => s,2,Answer
exten => s,3,System(/opt/asterisk/scripts/custom/answer.sh ${CDR(clid)}
${CDR(dst)} ${CDR(billsec)})
exten => s,4,Background(/tmp/hello-world)
exten => s,5,WaitExten()
-----------------------------------------------------------------
Master.csv after picking up the line:
-----------------------------------------------------------------
"","1818345512","2","outboundmessage1","18183455555","SIP/GAFACHI-090cd7
90","","Hangup","","2008-10-27 00:19:08",,"2008-10-27 00:19:33",25,0,"NO
ANSWER","DOCUMENTATION","1225066748.1","18183453041-m1d"
Any insight would be appreciated.
Thanks,
Pedram
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081027/e435541b/attachment.htm
More information about the asterisk-users
mailing list