Hello Asterisk-Users,<br><br>For some reason my CDR records for disposition and billsec are not working correctly.<br><br>I always receive a 0 for billsec and the disposition is always at "NO ANSWER', even when I grab the calls.<br>
<br>I experience this with Asterisk <a href="http://1.6.0.1">1.6.0.1</a> and Asterisk <a href="http://1.4.22.">1.4.22.</a><br><br>Here is information on how I do the call:<br><br>-----------------------------------------------------------------<br>
.call file contents:<br>-----------------------------------------------------------------<br>Channel: SIP/GAFACHI/18183455555<br>CallerID: 18183455512<br>MaxRetries: 0<br>RetryTime: 60<br>WaitTime: 30<br>Context: outboundmessage1<br>
Extension: s<br>Priority: 1<br>Set: PassedInfo=18183453041-m1d<br><br>-----------------------------------------------------------------<br>extensions.conf for outboundmessage1 context:<br>-----------------------------------------------------------------<br>
[outboundmessage1]<br>exten => s,1,Set(CDR(userfield)=${PassedInfo})<br>exten => s,2,Answer<br>exten => s,3,System(/opt/asterisk/scripts/custom/answer.sh ${CDR(clid)} ${CDR(dst)} ${CDR(billsec)})<br>exten => s,4,Background(/tmp/hello-world)<br>
exten => s,5,WaitExten()<br><br>-----------------------------------------------------------------<br>Master.csv after picking up the line:<br>-----------------------------------------------------------------<br>"","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"<br>
<br><br><br>Any insight would be appreciated.<br><br>Thanks,<br>Pedram<br>