From c5e40efb9dffedf9b5e9c4c4729b5740108c3e8d Mon Sep 17 00:00:00 2001 From: Trial97 Date: Wed, 29 Jan 2020 17:52:59 +0200 Subject: [PATCH] Updated default config --- data/conf/cgrates/cgrates.json | 288 ++++++++++++++++----------------- 1 file changed, 143 insertions(+), 145 deletions(-) diff --git a/data/conf/cgrates/cgrates.json b/data/conf/cgrates/cgrates.json index 139436f0d..c39a21cf9 100755 --- a/data/conf/cgrates/cgrates.json +++ b/data/conf/cgrates/cgrates.json @@ -16,6 +16,7 @@ // "tpexport_dir": "/var/spool/cgrates/tpe", // path towards export folder for offline TariffPlans // "poster_attempts": 3, // number of attempts before considering post request failed (eg: *http_post, CDR exports) // "failed_posts_dir": "/var/spool/cgrates/failed_posts", // directory path where we store failed requests +// "failed_posts_ttl": "5s", // time to wait before writing the failed posts in a single file // "default_request_type": "*rated", // default request type to consider when missing from requests: <""|*prepaid|*postpaid|*pseudoprepaid|*rated> // "default_category": "call", // default category to consider when missing from requests // "default_tenant": "cgrates.org", // default tenant to consider when missing from requests @@ -213,6 +214,7 @@ // "enabled": false, // enable Rating/Accounting service: // "thresholds_conns": [], // connections to ThresholdS for account/balance updates, empty to disable thresholds functionality: <""|*internal|x.y.z.y:1234> // "stats_conns": [], // connections to StatS for account/balance updates, empty to disable stats functionality: <""|*internal|x.y.z.y:1234> +// "caches_conns":["*internal"], // connections to CacheS for account/balance updates // "rp_subject_prefix_matching": false, // enables prefix matching for the rating profile subject // "remove_expired":true, // enables automatic removal of expired balances // "max_computed_usage": { // do not compute usage higher than this, prevents memory overload @@ -257,24 +259,22 @@ // "attempts": 1, // export attempts // "field_separator": ",", // used field separator in some export formats, eg: *file_csv // "attributes_context": "", // attributes context - empty disables attributes processing -// "header_fields": [], // template of the exported header fields -// "content_fields": [ // template of the exported content fields -// {"tag": "CGRID", "type": "*composed", "value": "~CGRID"}, -// {"tag":"RunID", "type": "*composed", "value": "~RunID"}, -// {"tag":"ToR", "type": "*composed", "value": "~ToR"}, -// {"tag":"OriginID", "type": "*composed", "value": "~OriginID"}, -// {"tag":"RequestType", "type": "*composed", "value": "~RequestType"}, -// {"tag":"Tenant", "type": "*composed", "value": "~Tenant"}, -// {"tag":"Category", "type": "*composed", "value": "~Category"}, -// {"tag":"Account", "type": "*composed", "value": "~Account"}, -// {"tag":"Subject", "type": "*composed", "value": "~Subject"}, -// {"tag":"Destination", "type": "*composed", "value": "~Destination"}, -// {"tag":"SetupTime", "type": "*composed", "value": "~SetupTime", "layout": "2006-01-02T15:04:05Z07:00"}, -// {"tag":"AnswerTime", "type": "*composed", "value": "~AnswerTime", "layout": "2006-01-02T15:04:05Z07:00"}, -// {"tag":"Usage", "type": "*composed", "value": "~Usage"}, -// {"tag":"Cost", "type": "*composed", "value": "~Cost", "rounding_decimals": 4}, +// "fields": [ // template of the exported content fields +// {"path": "*exp.CGRID", "type": "*composed", "value": "~*req.CGRID"}, +// {"path": "*exp.RunID", "type": "*composed", "value": "~*req.RunID"}, +// {"path": "*exp.ToR", "type": "*composed", "value": "~*req.ToR"}, +// {"path": "*exp.OriginID", "type": "*composed", "value": "~*req.OriginID"}, +// {"path": "*exp.RequestType", "type": "*composed", "value": "~*req.RequestType"}, +// {"path": "*exp.Tenant", "type": "*composed", "value": "~*req.Tenant"}, +// {"path": "*exp.Category", "type": "*composed", "value": "~*req.Category"}, +// {"path": "*exp.Account", "type": "*composed", "value": "~*req.Account"}, +// {"path": "*exp.Subject", "type": "*composed", "value": "~*req.Subject"}, +// {"path": "*exp.Destination", "type": "*composed", "value": "~*req.Destination"}, +// {"path": "*exp.SetupTime", "type": "*composed", "value": "~*req.SetupTime", "layout": "2006-01-02T15:04:05Z07:00"}, +// {"path": "*exp.AnswerTime", "type": "*composed", "value": "~*req.AnswerTime", "layout": "2006-01-02T15:04:05Z07:00"}, +// {"path": "*exp.Usage", "type": "*composed", "value": "~*req.Usage"}, +// {"path": "*exp.Cost", "type": "*composed", "value": "~*req.Cost", "rounding_decimals": 4}, // ], -// "trailer_fields": [], // template of the exported trailer fields // }, // }, @@ -292,26 +292,24 @@ // "source_path": "/var/spool/cgrates/cdrc/in", // read data from this path // "processed_path": "/var/spool/cgrates/cdrc/out", // move processed data here // "xml_root_path": "", // path towards one event in case of XML CDRs -// "source_id": "ers_csv", // free form field, tag identifying the source of the CDRs within CDRS database // "tenant": "", // tenant used by import // "timezone": "", // timezone for timestamps where not specified <""|UTC|Local|$IANA_TZ_DB> // "filters": [], // limit parsing based on the filters // "flags": [], // flags to influence the event processing // "header_fields": [], // template of the import header fields // "content_fields":[ // import content_fields template, tag will match internally CDR field, in case of .csv value will be represented by index of the field value -// {"tag": "ToR", "field_id": "ToR", "type": "*variable", "value": "~*req.2", "mandatory": true}, -// {"tag": "OriginID", "field_id": "OriginID", "type": "*variable", "value": "~*req.3", "mandatory": true}, -// {"tag": "RequestType", "field_id": "RequestType", "type": "*variable", "value": "~*req.4", "mandatory": true}, -// {"tag": "Tenant", "field_id": "Tenant", "type": "*variable", "value": "~*req.6", "mandatory": true}, -// {"tag": "Category", "field_id": "Category", "type": "*variable", "value": "~*req.7", "mandatory": true}, -// {"tag": "Account", "field_id": "Account", "type": "*variable", "value": "~*req.8", "mandatory": true}, -// {"tag": "Subject", "field_id": "Subject", "type": "*variable", "value": "~*req.9", "mandatory": true}, -// {"tag": "Destination", "field_id": "Destination", "type": "*variable", "value": "~*req.10", "mandatory": true}, -// {"tag": "SetupTime", "field_id": "SetupTime", "type": "*variable", "value": "~*req.11", "mandatory": true}, -// {"tag": "AnswerTime", "field_id": "AnswerTime", "type": "*variable", "value": "~*req.12", "mandatory": true}, -// {"tag": "Usage", "field_id": "Usage", "type": "*variable", "value": "~*req.13", "mandatory": true}, +// {"tag": "ToR", "path": "ToR", "type": "*variable", "value": "~*req.2", "mandatory": true}, +// {"tag": "OriginID", "path": "OriginID", "type": "*variable", "value": "~*req.3", "mandatory": true}, +// {"tag": "RequestType", "path": "RequestType", "type": "*variable", "value": "~*req.4", "mandatory": true}, +// {"tag": "Tenant", "path": "Tenant", "type": "*variable", "value": "~*req.6", "mandatory": true}, +// {"tag": "Category", "path": "Category", "type": "*variable", "value": "~*req.7", "mandatory": true}, +// {"tag": "Account", "path": "Account", "type": "*variable", "value": "~*req.8", "mandatory": true}, +// {"tag": "Subject", "path": "Subject", "type": "*variable", "value": "~*req.9", "mandatory": true}, +// {"tag": "Destination", "path": "Destination", "type": "*variable", "value": "~*req.10", "mandatory": true}, +// {"tag": "SetupTime", "path": "SetupTime", "type": "*variable", "value": "~*req.11", "mandatory": true}, +// {"tag": "AnswerTime", "path": "AnswerTime", "type": "*variable", "value": "~*req.12", "mandatory": true}, +// {"tag": "Usage", "path": "Usage", "type": "*variable", "value": "~*req.13", "mandatory": true}, // ], -// "trailer_fields": [], // template of the import trailer fields // "continue": false, // continue to the next template if executed // }, // ], @@ -399,45 +397,45 @@ // "asr_template": "", // enable AbortSession message being sent to client on DisconnectSession // "templates":{ // default message templates // "*err": [ -// {"tag": "SessionId", "field_id": "Session-Id", "type": "*variable", +// {"tag": "SessionId", "path": "Session-Id", "type": "*variable", // "value": "~*req.Session-Id", "mandatory": true}, -// {"tag": "OriginHost", "field_id": "Origin-Host", "type": "*variable", +// {"tag": "OriginHost", "path": "Origin-Host", "type": "*variable", // "value": "~*vars.OriginHost", "mandatory": true}, -// {"tag": "OriginRealm", "field_id": "Origin-Realm", "type": "*variable", +// {"tag": "OriginRealm", "path": "Origin-Realm", "type": "*variable", // "value": "~*vars.OriginRealm", "mandatory": true}, // ], // "*cca": [ -// {"tag": "SessionId", "field_id": "Session-Id", "type": "*variable", +// {"tag": "SessionId", "path": "Session-Id", "type": "*variable", // "value": "~*req.Session-Id", "mandatory": true}, -// {"tag": "ResultCode", "field_id": "Result-Code", "type": "*constant", +// {"tag": "ResultCode", "path": "Result-Code", "type": "*constant", // "value": "2001"}, -// {"tag": "OriginHost", "field_id": "Origin-Host", "type": "*variable", +// {"tag": "OriginHost", "path": "Origin-Host", "type": "*variable", // "value": "~*vars.OriginHost", "mandatory": true}, -// {"tag": "OriginRealm", "field_id": "Origin-Realm", "type": "*variable", +// {"tag": "OriginRealm", "path": "Origin-Realm", "type": "*variable", // "value": "~*vars.OriginRealm", "mandatory": true}, -// {"tag": "AuthApplicationId", "field_id": "Auth-Application-Id", "type": "*variable", +// {"tag": "AuthApplicationId", "path": "Auth-Application-Id", "type": "*variable", // "value": "~*vars.*appid", "mandatory": true}, -// {"tag": "CCRequestType", "field_id": "CC-Request-Type", "type": "*variable", +// {"tag": "CCRequestType", "path": "CC-Request-Type", "type": "*variable", // "value": "~*req.CC-Request-Type", "mandatory": true}, -// {"tag": "CCRequestNumber", "field_id": "CC-Request-Number", "type": "*variable", +// {"tag": "CCRequestNumber", "path": "CC-Request-Number", "type": "*variable", // "value": "~*req.CC-Request-Number", "mandatory": true}, // ], // "*asr": [ -// {"tag": "SessionId", "field_id": "Session-Id", "type": "*variable", +// {"tag": "SessionId", "path": "Session-Id", "type": "*variable", // "value": "~*req.Session-Id", "mandatory": true}, -// {"tag": "OriginHost", "field_id": "Origin-Host", "type": "*variable", +// {"tag": "OriginHost", "path": "Origin-Host", "type": "*variable", // "value": "~*req.Destination-Host", "mandatory": true}, -// {"tag": "OriginRealm", "field_id": "Origin-Realm", "type": "*variable", +// {"tag": "OriginRealm", "path": "Origin-Realm", "type": "*variable", // "value": "~*req.Destination-Realm", "mandatory": true}, -// {"tag": "DestinationRealm", "field_id": "Destination-Realm", "type": "*variable", +// {"tag": "DestinationRealm", "path": "Destination-Realm", "type": "*variable", // "value": "~*req.Origin-Realm", "mandatory": true}, -// {"tag": "DestinationHost", "field_id": "Destination-Host", "type": "*variable", +// {"tag": "DestinationHost", "path": "Destination-Host", "type": "*variable", // "value": "~*req.Origin-Host", "mandatory": true}, -// {"tag": "AuthApplicationId", "field_id": "Auth-Application-Id", "type": "*variable", +// {"tag": "AuthApplicationId", "path": "Auth-Application-Id", "type": "*variable", // "value": "~*vars.*appid", "mandatory": true}, -// {"tag": "UserName", "field_id": "User-Name", "type": "*variable", +// {"tag": "UserName", "path": "User-Name", "type": "*variable", // "value": "~*req.User-Name", "mandatory": true}, -// {"tag": "OriginStateID", "field_id": "Origin-State-Id", "type": "*constant", +// {"tag": "OriginStateID", "path": "Origin-State-Id", "type": "*constant", // "value": "1"}, // ] // }, @@ -561,147 +559,147 @@ // "type": "*attributes", // data source type // "file_name": "Attributes.csv", // file name in the tp_in_dir // "fields": [ -// {"tag": "TenantID", "field_id": "Tenant", "type": "*variable", "value": "~0", "mandatory": true}, -// {"tag": "ProfileID", "field_id": "ID", "type": "*variable", "value": "~1", "mandatory": true}, -// {"tag": "Contexts", "field_id": "Contexts", "type": "*variable", "value": "~2"}, -// {"tag": "FilterIDs", "field_id": "FilterIDs", "type": "*variable", "value": "~3"}, -// {"tag": "ActivationInterval", "field_id": "ActivationInterval", "type": "*variable", "value": "~4"}, -// {"tag": "AttributeFilterIDs", "field_id": "AttributeFilterIDs", "type": "*variable", "value": "~5"}, -// {"tag": "Path", "field_id": "Path", "type": "*variable", "value": "~6"}, -// {"tag": "Type", "field_id": "Type", "type": "*variable", "value": "~7"}, -// {"tag": "Value", "field_id": "Value", "type": "*variable", "value": "~8"}, -// {"tag": "Blocker", "field_id": "Blocker", "type": "*variable", "value": "~9"}, -// {"tag": "Weight", "field_id": "Weight", "type": "*variable", "value": "~10"}, +// {"tag": "TenantID", "path": "Tenant", "type": "*variable", "value": "~0", "mandatory": true}, +// {"tag": "ProfileID", "path": "ID", "type": "*variable", "value": "~1", "mandatory": true}, +// {"tag": "Contexts", "path": "Contexts", "type": "*variable", "value": "~2"}, +// {"tag": "FilterIDs", "path": "FilterIDs", "type": "*variable", "value": "~3"}, +// {"tag": "ActivationInterval", "path": "ActivationInterval", "type": "*variable", "value": "~4"}, +// {"tag": "AttributeFilterIDs", "path": "AttributeFilterIDs", "type": "*variable", "value": "~5"}, +// {"tag": "Path", "path": "Path", "type": "*variable", "value": "~6"}, +// {"tag": "Type", "path": "Type", "type": "*variable", "value": "~7"}, +// {"tag": "Value", "path": "Value", "type": "*variable", "value": "~8"}, +// {"tag": "Blocker", "path": "Blocker", "type": "*variable", "value": "~9"}, +// {"tag": "Weight", "path": "Weight", "type": "*variable", "value": "~10"}, // ], // }, // { // "type": "*filters", // data source type // "file_name": "Filters.csv", // file name in the tp_in_dir // "fields": [ -// {"tag": "Tenant", "field_id": "Tenant", "type": "*variable", "value": "~0", "mandatory": true}, -// {"tag": "ID", "field_id": "ID", "type": "*variable", "value": "~1", "mandatory": true}, -// {"tag": "Type", "field_id": "Type", "type": "*variable", "value": "~2"}, -// {"tag": "Element", "field_id": "Element", "type": "*variable", "value": "~3"}, -// {"tag": "Values", "field_id": "Values", "type": "*variable", "value": "~4"}, -// {"tag": "ActivationInterval", "field_id": "ActivationInterval", "type": "*variable", "value": "~5"}, +// {"tag": "Tenant", "path": "Tenant", "type": "*variable", "value": "~0", "mandatory": true}, +// {"tag": "ID", "path": "ID", "type": "*variable", "value": "~1", "mandatory": true}, +// {"tag": "Type", "path": "Type", "type": "*variable", "value": "~2"}, +// {"tag": "Element", "path": "Element", "type": "*variable", "value": "~3"}, +// {"tag": "Values", "path": "Values", "type": "*variable", "value": "~4"}, +// {"tag": "ActivationInterval", "path": "ActivationInterval", "type": "*variable", "value": "~5"}, // ], // }, // { // "type": "*resources", // data source type // "file_name": "Resources.csv", // file name in the tp_in_dir // "fields": [ -// {"tag": "Tenant", "field_id": "Tenant", "type": "*variable", "value": "~0", "mandatory": true}, -// {"tag": "ID", "field_id": "ID", "type": "*variable", "value": "~1", "mandatory": true}, -// {"tag": "FilterIDs", "field_id": "FilterIDs", "type": "*variable", "value": "~2"}, -// {"tag": "ActivationInterval", "field_id": "ActivationInterval", "type": "*variable", "value": "~3"}, -// {"tag": "TTL", "field_id": "UsageTTL", "type": "*variable", "value": "~4"}, -// {"tag": "Limit", "field_id": "Limit", "type": "*variable", "value": "~5"}, -// {"tag": "AllocationMessage", "field_id": "AllocationMessage", "type": "*variable", "value": "~6"}, -// {"tag": "Blocker", "field_id": "Blocker", "type": "*variable", "value": "~7"}, -// {"tag": "Stored", "field_id": "Stored", "type": "*variable", "value": "~8"}, -// {"tag": "Weight", "field_id": "Weight", "type": "*variable", "value": "~9"}, -// {"tag": "ThresholdIDs", "field_id": "ThresholdIDs", "type": "*variable", "value": "~10"}, +// {"tag": "Tenant", "path": "Tenant", "type": "*variable", "value": "~0", "mandatory": true}, +// {"tag": "ID", "path": "ID", "type": "*variable", "value": "~1", "mandatory": true}, +// {"tag": "FilterIDs", "path": "FilterIDs", "type": "*variable", "value": "~2"}, +// {"tag": "ActivationInterval", "path": "ActivationInterval", "type": "*variable", "value": "~3"}, +// {"tag": "TTL", "path": "UsageTTL", "type": "*variable", "value": "~4"}, +// {"tag": "Limit", "path": "Limit", "type": "*variable", "value": "~5"}, +// {"tag": "AllocationMessage", "path": "AllocationMessage", "type": "*variable", "value": "~6"}, +// {"tag": "Blocker", "path": "Blocker", "type": "*variable", "value": "~7"}, +// {"tag": "Stored", "path": "Stored", "type": "*variable", "value": "~8"}, +// {"tag": "Weight", "path": "Weight", "type": "*variable", "value": "~9"}, +// {"tag": "ThresholdIDs", "path": "ThresholdIDs", "type": "*variable", "value": "~10"}, // ], // }, // { // "type": "*stats", // data source type // "file_name": "Stats.csv", // file name in the tp_in_dir // "fields": [ -// {"tag": "Tenant", "field_id": "Tenant", "type": "*variable", "value": "~0", "mandatory": true}, -// {"tag": "ID", "field_id": "ID", "type": "*variable", "value": "~1", "mandatory": true}, -// {"tag": "FilterIDs", "field_id": "FilterIDs", "type": "*variable", "value": "~2"}, -// {"tag": "ActivationInterval", "field_id": "ActivationInterval", "type": "*variable", "value": "~3"}, -// {"tag": "QueueLength", "field_id": "QueueLength", "type": "*variable", "value": "~4"}, -// {"tag": "TTL", "field_id": "TTL", "type": "*variable", "value": "~5"}, -// {"tag": "MinItems", "field_id": "MinItems", "type": "*variable", "value": "~6"}, -// {"tag": "MetricIDs", "field_id": "MetricIDs", "type": "*variable", "value": "~7"}, -// {"tag": "MetricFilterIDs", "field_id": "MetricFilterIDs", "type": "*variable", "value": "~8"}, -// {"tag": "Blocker", "field_id": "Blocker", "type": "*variable", "value": "~9"}, -// {"tag": "Stored", "field_id": "Stored", "type": "*variable", "value": "~10"}, -// {"tag": "Weight", "field_id": "Weight", "type": "*variable", "value": "~11"}, -// {"tag": "ThresholdIDs", "field_id": "ThresholdIDs", "type": "*variable", "value": "~12"}, +// {"tag": "Tenant", "path": "Tenant", "type": "*variable", "value": "~0", "mandatory": true}, +// {"tag": "ID", "path": "ID", "type": "*variable", "value": "~1", "mandatory": true}, +// {"tag": "FilterIDs", "path": "FilterIDs", "type": "*variable", "value": "~2"}, +// {"tag": "ActivationInterval", "path": "ActivationInterval", "type": "*variable", "value": "~3"}, +// {"tag": "QueueLength", "path": "QueueLength", "type": "*variable", "value": "~4"}, +// {"tag": "TTL", "path": "TTL", "type": "*variable", "value": "~5"}, +// {"tag": "MinItems", "path": "MinItems", "type": "*variable", "value": "~6"}, +// {"tag": "MetricIDs", "path": "MetricIDs", "type": "*variable", "value": "~7"}, +// {"tag": "MetricFilterIDs", "path": "MetricFilterIDs", "type": "*variable", "value": "~8"}, +// {"tag": "Blocker", "path": "Blocker", "type": "*variable", "value": "~9"}, +// {"tag": "Stored", "path": "Stored", "type": "*variable", "value": "~10"}, +// {"tag": "Weight", "path": "Weight", "type": "*variable", "value": "~11"}, +// {"tag": "ThresholdIDs", "path": "ThresholdIDs", "type": "*variable", "value": "~12"}, // ], // }, // { // "type": "*thresholds", // data source type // "file_name": "Thresholds.csv", // file name in the tp_in_dir // "fields": [ -// {"tag": "Tenant", "field_id": "Tenant", "type": "*variable", "value": "~0", "mandatory": true}, -// {"tag": "ID", "field_id": "ID", "type": "*variable", "value": "~1", "mandatory": true}, -// {"tag": "FilterIDs", "field_id": "FilterIDs", "type": "*variable", "value": "~2"}, -// {"tag": "ActivationInterval", "field_id": "ActivationInterval", "type": "*variable", "value": "~3"}, -// {"tag": "MaxHits", "field_id": "MaxHits", "type": "*variable", "value": "~4"}, -// {"tag": "MinHits", "field_id": "MinHits", "type": "*variable", "value": "~5"}, -// {"tag": "MinSleep", "field_id": "MinSleep", "type": "*variable", "value": "~6"}, -// {"tag": "Blocker", "field_id": "Blocker", "type": "*variable", "value": "~7"}, -// {"tag": "Weight", "field_id": "Weight", "type": "*variable", "value": "~8"}, -// {"tag": "ActionIDs", "field_id": "ActionIDs", "type": "*variable", "value": "~9"}, -// {"tag": "Async", "field_id": "Async", "type": "*variable", "value": "~10"}, +// {"tag": "Tenant", "path": "Tenant", "type": "*variable", "value": "~0", "mandatory": true}, +// {"tag": "ID", "path": "ID", "type": "*variable", "value": "~1", "mandatory": true}, +// {"tag": "FilterIDs", "path": "FilterIDs", "type": "*variable", "value": "~2"}, +// {"tag": "ActivationInterval", "path": "ActivationInterval", "type": "*variable", "value": "~3"}, +// {"tag": "MaxHits", "path": "MaxHits", "type": "*variable", "value": "~4"}, +// {"tag": "MinHits", "path": "MinHits", "type": "*variable", "value": "~5"}, +// {"tag": "MinSleep", "path": "MinSleep", "type": "*variable", "value": "~6"}, +// {"tag": "Blocker", "path": "Blocker", "type": "*variable", "value": "~7"}, +// {"tag": "Weight", "path": "Weight", "type": "*variable", "value": "~8"}, +// {"tag": "ActionIDs", "path": "ActionIDs", "type": "*variable", "value": "~9"}, +// {"tag": "Async", "path": "Async", "type": "*variable", "value": "~10"}, // ], // }, // { // "type": "*suppliers", // data source type // "file_name": "Suppliers.csv", // file name in the tp_in_dir // "fields": [ -// {"tag": "Tenant", "field_id": "Tenant", "type": "*variable", "value": "~0", "mandatory": true}, -// {"tag": "ID", "field_id": "ID", "type": "*variable", "value": "~1", "mandatory": true}, -// {"tag": "FilterIDs", "field_id": "FilterIDs", "type": "*variable", "value": "~2"}, -// {"tag": "ActivationInterval", "field_id": "ActivationInterval", "type": "*variable", "value": "~3"}, -// {"tag": "Sorting", "field_id": "Sorting", "type": "*variable", "value": "~4"}, -// {"tag": "SortingParamameters", "field_id": "SortingParamameters", "type": "*variable", "value": "~5"}, -// {"tag": "SupplierID", "field_id": "SupplierID", "type": "*variable", "value": "~6"}, -// {"tag": "SupplierFilterIDs", "field_id": "SupplierFilterIDs", "type": "*variable", "value": "~7"}, -// {"tag": "SupplierAccountIDs", "field_id": "SupplierAccountIDs", "type": "*variable", "value": "~8"}, -// {"tag": "SupplierRatingPlanIDs", "field_id": "SupplierRatingPlanIDs", "type": "*variable", "value": "~9"}, -// {"tag": "SupplierResourceIDs", "field_id": "SupplierResourceIDs", "type": "*variable", "value": "~10"}, -// {"tag": "SupplierStatIDs", "field_id": "SupplierStatIDs", "type": "*variable", "value": "~11"}, -// {"tag": "SupplierWeight", "field_id": "SupplierWeight", "type": "*variable", "value": "~12"}, -// {"tag": "SupplierBlocker", "field_id": "SupplierBlocker", "type": "*variable", "value": "~13"}, -// {"tag": "SupplierParameters", "field_id": "SupplierParameters", "type": "*variable", "value": "~14"}, -// {"tag": "Weight", "field_id": "Weight", "type": "*variable", "value": "~15"}, +// {"tag": "Tenant", "path": "Tenant", "type": "*variable", "value": "~0", "mandatory": true}, +// {"tag": "ID", "path": "ID", "type": "*variable", "value": "~1", "mandatory": true}, +// {"tag": "FilterIDs", "path": "FilterIDs", "type": "*variable", "value": "~2"}, +// {"tag": "ActivationInterval", "path": "ActivationInterval", "type": "*variable", "value": "~3"}, +// {"tag": "Sorting", "path": "Sorting", "type": "*variable", "value": "~4"}, +// {"tag": "SortingParamameters", "path": "SortingParamameters", "type": "*variable", "value": "~5"}, +// {"tag": "SupplierID", "path": "SupplierID", "type": "*variable", "value": "~6"}, +// {"tag": "SupplierFilterIDs", "path": "SupplierFilterIDs", "type": "*variable", "value": "~7"}, +// {"tag": "SupplierAccountIDs", "path": "SupplierAccountIDs", "type": "*variable", "value": "~8"}, +// {"tag": "SupplierRatingPlanIDs", "path": "SupplierRatingPlanIDs", "type": "*variable", "value": "~9"}, +// {"tag": "SupplierResourceIDs", "path": "SupplierResourceIDs", "type": "*variable", "value": "~10"}, +// {"tag": "SupplierStatIDs", "path": "SupplierStatIDs", "type": "*variable", "value": "~11"}, +// {"tag": "SupplierWeight", "path": "SupplierWeight", "type": "*variable", "value": "~12"}, +// {"tag": "SupplierBlocker", "path": "SupplierBlocker", "type": "*variable", "value": "~13"}, +// {"tag": "SupplierParameters", "path": "SupplierParameters", "type": "*variable", "value": "~14"}, +// {"tag": "Weight", "path": "Weight", "type": "*variable", "value": "~15"}, // ], // }, // { // "type": "*chargers", // data source type // "file_name": "Chargers.csv", // file name in the tp_in_dir // "fields": [ -// {"tag": "Tenant", "field_id": "Tenant", "type": "*variable", "value": "~0", "mandatory": true}, -// {"tag": "ID", "field_id": "ID", "type": "*variable", "value": "~1", "mandatory": true}, -// {"tag": "FilterIDs", "field_id": "FilterIDs", "type": "*variable", "value": "~2"}, -// {"tag": "ActivationInterval", "field_id": "ActivationInterval", "type": "*variable", "value": "~3"}, -// {"tag": "RunID", "field_id": "RunID", "type": "*variable", "value": "~4"}, -// {"tag": "AttributeIDs", "field_id": "AttributeIDs", "type": "*variable", "value": "~5"}, -// {"tag": "Weight", "field_id": "Weight", "type": "*variable", "value": "~6"}, +// {"tag": "Tenant", "path": "Tenant", "type": "*variable", "value": "~0", "mandatory": true}, +// {"tag": "ID", "path": "ID", "type": "*variable", "value": "~1", "mandatory": true}, +// {"tag": "FilterIDs", "path": "FilterIDs", "type": "*variable", "value": "~2"}, +// {"tag": "ActivationInterval", "path": "ActivationInterval", "type": "*variable", "value": "~3"}, +// {"tag": "RunID", "path": "RunID", "type": "*variable", "value": "~4"}, +// {"tag": "AttributeIDs", "path": "AttributeIDs", "type": "*variable", "value": "~5"}, +// {"tag": "Weight", "path": "Weight", "type": "*variable", "value": "~6"}, // ], // }, // { // "type": "*dispatchers", // data source type // "file_name": "DispatcherProfiles.csv", // file name in the tp_in_dir // "fields": [ -// {"tag": "Tenant", "field_id": "Tenant", "type": "*variable", "value": "~0", "mandatory": true}, -// {"tag": "ID", "field_id": "ID", "type": "*variable", "value": "~1", "mandatory": true}, -// {"tag": "Contexts", "field_id": "Contexts", "type": "*variable", "value": "~2"}, -// {"tag": "FilterIDs", "field_id": "FilterIDs", "type": "*variable", "value": "~3"}, -// {"tag": "ActivationInterval", "field_id": "ActivationInterval", "type": "*variable", "value": "~4"}, -// {"tag": "Strategy", "field_id": "Strategy", "type": "*variable", "value": "~5"}, -// {"tag": "StrategyParameters", "field_id": "StrategyParameters", "type": "*variable", "value": "~6"}, -// {"tag": "ConnID", "field_id": "ConnID", "type": "*variable", "value": "~7"}, -// {"tag": "ConnFilterIDs", "field_id": "ConnFilterIDs", "type": "*variable", "value": "~8"}, -// {"tag": "ConnWeight", "field_id": "ConnWeight", "type": "*variable", "value": "~9"}, -// {"tag": "ConnBlocker", "field_id": "ConnBlocker", "type": "*variable", "value": "~10"}, -// {"tag": "ConnParameters", "field_id": "ConnParameters", "type": "*variable", "value": "~11"}, -// {"tag": "Weight", "field_id": "Weight", "type": "*variable", "value": "~12"}, +// {"tag": "Tenant", "path": "Tenant", "type": "*variable", "value": "~0", "mandatory": true}, +// {"tag": "ID", "path": "ID", "type": "*variable", "value": "~1", "mandatory": true}, +// {"tag": "Contexts", "path": "Contexts", "type": "*variable", "value": "~2"}, +// {"tag": "FilterIDs", "path": "FilterIDs", "type": "*variable", "value": "~3"}, +// {"tag": "ActivationInterval", "path": "ActivationInterval", "type": "*variable", "value": "~4"}, +// {"tag": "Strategy", "path": "Strategy", "type": "*variable", "value": "~5"}, +// {"tag": "StrategyParameters", "path": "StrategyParameters", "type": "*variable", "value": "~6"}, +// {"tag": "ConnID", "path": "ConnID", "type": "*variable", "value": "~7"}, +// {"tag": "ConnFilterIDs", "path": "ConnFilterIDs", "type": "*variable", "value": "~8"}, +// {"tag": "ConnWeight", "path": "ConnWeight", "type": "*variable", "value": "~9"}, +// {"tag": "ConnBlocker", "path": "ConnBlocker", "type": "*variable", "value": "~10"}, +// {"tag": "ConnParameters", "path": "ConnParameters", "type": "*variable", "value": "~11"}, +// {"tag": "Weight", "path": "Weight", "type": "*variable", "value": "~12"}, // ], // }, // { // "type": "*dispatcher_hosts", // data source type // "file_name": "DispatcherHosts.csv", // file name in the tp_in_dir // "fields": [ -// {"tag": "Tenant", "field_id": "Tenant", "type": "*variable", "value": "~0", "mandatory": true}, -// {"tag": "ID", "field_id": "ID", "type": "*variable", "value": "~1", "mandatory": true}, -// {"tag": "Address", "field_id": "Address", "type": "*variable", "value": "~2"}, -// {"tag": "Transport", "field_id": "Transport", "type": "*variable", "value": "~3"}, -// {"tag": "TLS", "field_id": "TLS", "type": "*variable", "value": "~4"}, +// {"tag": "Tenant", "path": "Tenant", "type": "*variable", "value": "~0", "mandatory": true}, +// {"tag": "ID", "path": "ID", "type": "*variable", "value": "~1", "mandatory": true}, +// {"tag": "Address", "path": "Address", "type": "*variable", "value": "~2"}, +// {"tag": "Transport", "path": "Transport", "type": "*variable", "value": "~3"}, +// {"tag": "TLS", "path": "TLS", "type": "*variable", "value": "~4"}, // ], // }, // ], @@ -728,10 +726,10 @@ // "response_group": "03", // determines how taxes are grouped for the response <03|13> // "response_type": "D4", // determines the granularity of taxes and (optionally) the decimal precision for the tax calculations and amounts in the response // "regulatory_code": "03", // provider type -// "client_tracking": "~CGRID", // template extracting client information out of StoredCdr; -// "customer_number": "~Subject", // template extracting customer number out of StoredCdr; -// "orig_number": "~Subject", // template extracting origination number out of StoredCdr; -// "term_number": "~Destination", // template extracting termination number out of StoredCdr; +// "client_tracking": "~*req.CGRID", // template extracting client information out of StoredCdr; +// "customer_number": "~*req.Subject", // template extracting customer number out of StoredCdr; +// "orig_number": "~*req.Subject", // template extracting origination number out of StoredCdr; +// "term_number": "~*req.Destination", // template extracting termination number out of StoredCdr; // "bill_to_number": "", // template extracting billed to number out of StoredCdr; // "zipcode": "", // template extracting billing zip code out of StoredCdr; // "plus4": "", // template extracting billing zip code extension out of StoredCdr;