Asterisk Queue Call Detail Record Noise |
|
|
Written by Paul Winkeler
|
Sunday, 30 December 2007 |
With the advent of Asterisk version 1.4, users of the asterisk-stat CDR web front end likely noticed a marked increase in the number of CDRs, especially if they also made use of queues. Knowing which agents' phones rang for each call in the queue (assuming the ringall strategy is used) can be nice but mostly I really only want to know who, if anyone, picked up. So here is a quick edit to the call-log.php file to ignore the unwanted records. Change the line:
$FG_TABLE_CLAUSE .= " 1 = 1";
to
$FG_TABLE_CLAUSE .= " AND NOT ((dst = 's') AND (disposition = 'NO ANSWER'))";
|
Last Updated ( Sunday, 30 December 2007 )
|