mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-19 22:28:45 +05:00
Cache RADIUS packets during accounting instead of auth
This commit is contained in:
committed by
Dan Christian Bogos
parent
c9b6c1fbb7
commit
03eff44767
@@ -25,7 +25,9 @@
|
||||
{"tag": "AnswerTime", "path": "*cgreq.AnswerTime", "type": "*composed",
|
||||
"value": "~*req.Event-Timestamp", "mandatory": true},
|
||||
{"tag": "RemoteAddr" , "path": "*cgreq.RemoteAddr", "type": "*variable",
|
||||
"value": "~*vars.RemoteHost:s/(.*):\\d+/${1}/"}
|
||||
"value": "~*vars.RemoteHost:s/(.*):\\d+/${1}/"},
|
||||
{"tag": "SessionID", "path": "*vars.*sessionID", "type": "*variable",
|
||||
"value": "~*req.Acct-Session-Id;-;modified"}
|
||||
],
|
||||
"reply_fields":[]
|
||||
}
|
||||
|
||||
@@ -24,9 +24,7 @@
|
||||
{"tag": "AnswerTime", "path": "*cgreq.AnswerTime", "type": "*composed",
|
||||
"value": "~*req.Event-Timestamp", "mandatory": true},
|
||||
{"tag": "PasswordFromAttributes", "path": "*cgreq.PasswordFromAttributes", "type": "*constant",
|
||||
"value": "*attributes"},
|
||||
{"tag": "SessionID", "path": "*vars.*sessionID", "type": "*variable",
|
||||
"value": "~*req.Acct-Session-Id;-;modified"}
|
||||
"value": "*attributes"}
|
||||
],
|
||||
"reply_fields":[
|
||||
{"tag": "MaxUsage", "path": "*rep.SIP-AVP", "type": "*composed",
|
||||
|
||||
Reference in New Issue
Block a user