> As for finding out how many minutes, this is easy with Asterisk & a SQL
> CDR database:
> SELECT SUM( `billsec` ) /60 AS Minutes
> FROM `cdr`
> WHERE `dstchannel` LIKE 'SIP/voipcheap%'
> AND `calldate` > DATE_SUB( CURDATE( ) , INTERVAL 7
> DAY )
....easy if you've actually logged the CDR to SQL in the first place. Some
distributions log to CSV, which is easily imported into SQL with
PHPMyAdmin, for example.
<http://ale.cx/> (AIM:troffasky) ((E-Mail Removed))
13:59:56 up 15 days, 17:42, 2 users, load average: 0.00, 0.01, 0.00
This is my BOOOOOOOOOOOOOOOOOOOOOMSTICK