From 550a1e1c2a788228391aafd02e84afe9dbd0b69f Mon Sep 17 00:00:00 2001 From: DanB Date: Mon, 15 Aug 2016 15:05:06 +0200 Subject: [PATCH] Remove .debug in cdrc --- cdrc/csv.go | 1 - data/tutorials/osips_async/opensips/etc/opensips/opensips.cfg | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/cdrc/csv.go b/cdrc/csv.go index c1249854d..d277275fc 100644 --- a/cdrc/csv.go +++ b/cdrc/csv.go @@ -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 { diff --git a/data/tutorials/osips_async/opensips/etc/opensips/opensips.cfg b/data/tutorials/osips_async/opensips/etc/opensips/opensips.cfg index 5bfac3ee6..9173b318e 100644 --- a/data/tutorials/osips_async/opensips/etc/opensips/opensips.cfg +++ b/data/tutorials/osips_async/opensips/etc/opensips/opensips.cfg @@ -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;