From 6fdacaf9aa57b358c6ee5115a46b846b254f14de Mon Sep 17 00:00:00 2001 From: rinor Date: Sun, 15 Nov 2015 22:27:46 +0100 Subject: [PATCH] config: config_defaults.go - sm_generic section config_defaults.go - debit_interval, set default value to uniform format like other SM config_defaults.go - min_call_duration, set default value to uniform format like other SM --- config/config_defaults.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/config_defaults.go b/config/config_defaults.go index 777ba966a..a2c37f229 100644 --- a/config/config_defaults.go +++ b/config/config_defaults.go @@ -203,8 +203,8 @@ const CGRATES_CFG_JSON = ` "listen_bijson": "127.0.0.1:2014", // address where to listen for bidirectional JSON-RPC requests "rater": "internal", // address where to reach the Rater <""|internal|127.0.0.1:2013> "cdrs": "internal", // address where to reach CDR Server <""|internal|x.y.z.y:1234> - "debit_interval": "0", // interval to perform debits on. - "min_call_duration": "0", // only authorize calls with allowed duration higher than this + "debit_interval": "0s", // interval to perform debits on. + "min_call_duration": "0s", // only authorize calls with allowed duration higher than this "max_call_duration": "3h", // maximum call duration a prepaid call can last },