radius auth fix
This commit is contained in:
@@ -78,7 +78,7 @@
|
||||
"*default": "CGRateS.org"
|
||||
},
|
||||
"client_dictionaries": {
|
||||
"*default": ["/usr/share/cgrates/radius/dict/", "/etc/cgrates/dictionary.mikrotik"]
|
||||
"*default": ["/usr/share/cgrates/radius/dict/"]
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
@@ -4,21 +4,21 @@
|
||||
{
|
||||
"id": "MikrotikPPPoEAcctOn",
|
||||
"filters": ["*string:~*req.Acct-Status-Type:Accounting-On"],
|
||||
"flags": ["*none", "*log"],
|
||||
"flags": ["*log", "*none"],
|
||||
"request_fields": [],
|
||||
"reply_fields": []
|
||||
},
|
||||
{
|
||||
"id": "MikrotikPPPoEAcctOff",
|
||||
"filters": ["*string:~*req.Acct-Status-Type:Accounting-Off"],
|
||||
"flags": ["*none", "*log"],
|
||||
"flags": ["*log", "*none"],
|
||||
"request_fields": [],
|
||||
"reply_fields": []
|
||||
},
|
||||
{
|
||||
"id": "MikrotikPPPoEAcctStart",
|
||||
"filters": ["*string:~*req.Acct-Status-Type:Start"],
|
||||
"flags": ["*initiate", "*attributes", "*resources", "*accounts"],
|
||||
"flags": ["*log", "*initiate", "*attributes", "*resources", "*accounts"],
|
||||
"request_fields": [
|
||||
{"tag": "ToR", "path": "*cgreq.ToR", "type": "*constant", "value": "*data"},
|
||||
{"tag": "Category", "path": "*cgreq.Category", "type": "*constant", "value": "generic"},
|
||||
@@ -50,7 +50,7 @@
|
||||
{
|
||||
"id": "MikrotikPPPoEAcctInterim",
|
||||
"filters": ["*string:~*req.Acct-Status-Type:Interim-Update"],
|
||||
"flags": ["*update", "*accounts"],
|
||||
"flags": ["*log", "*update", "*accounts"],
|
||||
"request_fields": [
|
||||
{"tag": "ToR", "path": "*cgreq.ToR", "type": "*constant", "value": "*data"},
|
||||
{"tag": "Category", "path": "*cgreq.Category", "type": "*constant", "value": "generic"},
|
||||
@@ -80,7 +80,7 @@
|
||||
{
|
||||
"id": "MikrotikPPPoEAcctStop",
|
||||
"filters": ["*string:~*req.Acct-Status-Type:Stop"],
|
||||
"flags": ["*terminate", "*resources", "*accounts", "*cdrs"],
|
||||
"flags": ["*log", "*terminate", "*resources", "*accounts", "*cdrs"],
|
||||
"request_fields": [
|
||||
{"tag": "ToR", "path": "*cgreq.ToR", "type": "*constant", "value": "*data"},
|
||||
{"tag": "Category", "path": "*cgreq.Category", "type": "*constant", "value": "generic"},
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"filters": [
|
||||
"*string:~*vars.*radReqType:*radAuth"
|
||||
],
|
||||
"flags": ["*authorize", "*attributes", "*accounts", "*continue"],
|
||||
"flags": ["*log", "*authorize", "*attributes", "*accounts", "*continue"],
|
||||
"request_fields": [
|
||||
{"tag": "ToR", "path": "*cgreq.ToR", "type": "*constant", "value": "*data"},
|
||||
{"tag": "Category", "path": "*cgreq.Category", "type": "*constant", "value": "generic"},
|
||||
|
||||
Reference in New Issue
Block a user