I cannot find any abandon information in the MySQL database we have our CDR data logging to. I haven’t found any explicit answers anywhere on the asterik, trixbox or freepbx forums. Though you guys gave me some good leads. I discovered that doing a cdr status from the asterisk CLI gives me the following info:
trix*CLI> cdr status
CDR logging: enabled
CDR mode: simple
CDR output unanswered calls: no
CDR registered backend: mysql
trix*CLI>
I’m guessing that changing the option “CDR output unanswered calls” to yes may give me what I need? I don’t know what the CDR Mode reffers to or even if there is an option other than simple?
I also found a log file that has abandon info not in the mysql database
# grep -i abandon /var/log/asterisk/queue_log
1219322000|1219321989.19963|20|NONE|ABANDON|1|1|5
1219325581|1219325508.20134|30|NONE|ABANDON|1|1|53
1219325792|1219325732.20170|10|NONE|ABANDON|1|1|51
1219327084|1219327036.20247|10|NONE|ABANDON|2|2|40
1219328877|1219328596.20381|10|NONE|ABANDON|1|2|270
1219333839|1219333779.20829|10|NONE|ABANDON|1|1|49
1219335285|1219335068.20904|10|NONE|ABANDON|1|2|202
1219340971|1219340893.21283|10|NONE|ABANDON|3|3|28
[#
The numbers after the first “|” are in the same format as the uniquid field in the cdr database. searching on those numbers returns no results… though other stuff in that log does match up with the cdr database.
I guess the questions I’m hoping someone can answer are
[list]
[]How do I change “CDR output unanswered calls”, and what does it control?
[]How do I change “CDR mode”, do I want to, and what does it control?
[*]What’s logging to the /var/log/asterisk/queue_log, and can I get that into mysql?
[/list]
Any help on any part would be appreciated.