[asterisk-users] Call rating software

A J Stiles asterisk_list at earthshod.co.uk
Wed Jul 2 10:50:27 CDT 2014


On Wednesday 02 Jul 2014, Andrew Colin wrote:
> Can you try maybe assist with this, as I have tried for ages and still cant
> get it right.

Firstly, have you got CDR working and writing to some sort of database?  We 
use cdr_mysql; although the more modern recommendation is to use cdr_odbc  
(which is more generic, and will work with various database types)  even if 
you are using a MySQL database.


If you haven't got your CDR going into a database, then you need to sort that 
out *first*.

Once you have CDR working, then it's simply a question of determining what SQL 
queries you need to generate to produce your report; then writing a program to 
build up the queries, extract the results and present them in the form you 
want.


-- 
AJS

Note:  Originating address only accepts e-mail from list!  If replying off-
list, change address to asterisk1list at earthshod dot co dot uk .



More information about the asterisk-users mailing list