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-090cd790","","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
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users