Remove .debug in cdrc

This commit is contained in:
DanB
2016-08-15 15:05:06 +02:00
parent 81fa1d2f90
commit 550a1e1c2a
2 changed files with 1 additions and 2 deletions

View File

@@ -173,7 +173,6 @@ func (self *CsvRecordsProcessor) recordToStoredCdr(record []string, cdrcCfg *con
if cfgFieldRSR.IsStatic() {
fieldVal += cfgFieldRSR.ParseValue("")
} else { // Dynamic value extracted using index
utils.Logger.Debug(fmt.Sprintf("### Checking field with configuration: %+v", cfgFieldRSR))
if cfgFieldIdx, _ := strconv.Atoi(cfgFieldRSR.Id); len(record) <= cfgFieldIdx {
return nil, fmt.Errorf("Ignoring record: %v - cannot extract field %s", record, cdrFldCfg.Tag)
} else {

View File

@@ -140,7 +140,7 @@ route[CGR_AUTH_REQ] {
$json(cgr_auth/id) = "1";
$json(cgr_auth/method) = "ApierV1.GetMaxUsage";
$json(cgr_auth/params) := "[{}]";
$json(cgr_auth/params[0]/ReqType) = $avp(cgr_reqtype);
$json(cgr_auth/params[0]/RequestType) = $avp(cgr_reqtype);
$json(cgr_auth/params[0]/Account) = $avp(cgr_account);
$json(cgr_auth/params[0]/Destination) = $avp(cgr_destination);
$json(cgr_auth/params[0]/DialogId) = $DLG_did;