Files
cgrates/data/conf/samples/dnsagent_mongo/dryrun.json
2020-01-30 10:21:48 +01:00

24 lines
870 B
JSON

{
"dns_agent": {
"request_processors": [
{
"id": "DryRunNAPTR",
"filters": ["*string:~*vars.QueryType:NAPTR", "*string:~*vars.E164Address:4986517174963"],
"flags": ["*dryrun"],
"request_fields":[
{"tag": "ToR", "path": "ToR", "type": "*constant", "value": "*sms"},
],
"reply_fields":[
{"tag": "NAPTROrder", "path": "Order", "type": "*constant", "value": "100"},
{"tag": "NAPTRPreference", "path": "Preference", "type": "*constant", "value": "10"},
{"tag": "NAPTRFlags", "path": "Flags", "type": "*constant", "value": "U"},
{"tag": "NAPTRService", "path": "Service", "type": "*constant", "value": "E2U+SIP"},
{"tag": "NAPTRRegexp", "path": "Regexp", "type": "*constant", "value": "!^(.*)$!sip:\\1@172.16.1.10.!"},
{"tag": "NAPTRReplacement", "path": "Replacement", "type": "*constant", "value": "."},
],
},
],
},
}