From 751723ee48d0dcf42716c7d1a95c0550686af066 Mon Sep 17 00:00:00 2001 From: Junaid Saeed Uppal Date: Tue, 23 Dec 2025 19:56:17 +0500 Subject: [PATCH] radius auth fix --- cgrates.json | 2 +- pppoe_accounting.json | 10 +++++----- pppoe_auth.json | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/cgrates.json b/cgrates.json index 095ea82..7914cdc 100644 --- a/cgrates.json +++ b/cgrates.json @@ -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/"] } }, diff --git a/pppoe_accounting.json b/pppoe_accounting.json index 80045be..6332856 100644 --- a/pppoe_accounting.json +++ b/pppoe_accounting.json @@ -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"}, diff --git a/pppoe_auth.json b/pppoe_auth.json index f8f82ba..1befa74 100644 --- a/pppoe_auth.json +++ b/pppoe_auth.json @@ -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"},