hi
i try to learn CDRTool,
i config the global.inc with
# Normalize engine settings
$CDRTool['normalize']['defaultCountryCode'] = "84";
the cdr_generic.php
class CDRS {
var $CDR_class = 'CDR';
var $intAccessCode = '00';
var $natAccessCode = '0';
var $maxrowsperpage = 15;
var $status = array();
var $normalizedField = 'Normalized';
var $DestinationIdField = 'DestinationId';
var $BillingIdField = 'UserName';
i config in web
the destination
Ops,Reseller,Trusted
peer,Domain,Subscriber,Destination,Region,Description,Incr,Min Dur,Max Dur,Max
Price
2,0,,,,84,,vietnam,6,6,0,
rate
Ops,Reseller,Rate,Destination,App,Connect,Duration,Conn In,Duration In
2,0,84,84,audio,0,998,,
profile
Ops,Reseller,Profile,Rate 1,00-H1,Rate 2,H1-H2,Rate 3,H2-H3,Rate 4,H3-24
2,0,84,84,24,0,0,,0,,0
when i make call and get the syslog of cdrtool
Nov 11 06:20:57 opensips cdrtool[2312]: MaxSessionTime Duration=36000
[email protected] From=sip:[email protected]
Gateway=192.168.1.36 To=sip:[email protected]
Nov 11 06:20:57 opensips cdrtool[2312]: MaxSessionTime=unlimited Type=postpaid
[email protected] [email protected]
get the log from callcontrol
Call id [email protected] of [email protected] to
sip:[email protected] is postpaid not limited
what do i miss thing to make CDRTool rating a call, please help
Thank you
Ha`
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users