Files
cgrates/data/conf/samples/multifiles/b/b.json
2025-10-28 20:31:36 +01:00

38 lines
936 B
JSON

{
// CGRateS Configuration file
// Used in multifile configuration tests
// Should be the second file loaded
"general": {
"default_request_type": "*pseudoprepaid", // default request type to consider when missing from requests: <""|*prepaid|*postpaid|*pseudoprepaid|*rated>
},
"http_agent": [
{
"id": "conecto1",
"url": "/newConecto",
"sessions_conns": ["*localhost"],
"request_payload": "*url",
"reply_payload": "*xml",
"request_processors": [
{
"id": "mtcall_cdr",
"filters": ["*string:~*req.request_type:MTCALL_CDR"],
"tenant": "cgrates.org",
"flags": ["*cdrs"],
"request_fields":[
{"tag": "RequestType", "path": "RequestType", "type": "*constant",
"value": "*pseudoprepaid", "mandatory": true},
],
"reply_fields":[
{"tag": "CDR_ID", "path": "CDR_RESPONSE.CDR_ID", "type": "*variable",
"value": "~*req.CDR_ID", "mandatory": true},
],
}
],
},
],
}