This patch to uri_radius module adds Acct-Session-Id to Access-Request According to RFC2866.
It is similar to patch 2046495 that does the same for the auth_radius module, and to patch 2049305 for the avp_radius module, and to patch 2051073 for the group_radius module .
From RFC2866:
"
5.5. Acct-Session-Id
Description
This attribute is a unique Accounting ID to make it easy to match start and stop records in a log file. The start and stop records for a given session MUST have the same Acct-Session-Id. An Accounting-Request packet MUST have an Acct-Session-Id. An Access-Request packet MAY have an Acct-Session-Id; if it does, then the NAS MUST use the same Acct-Session-Id in the Accounting- Request packets for that session.
"
The purpose of this patch is to create a relationship between an auth and acct request, based on SIP CALL-ID value (Acct-Session-Id attribute).
checks.c.diff ( (based on trunk 31 Aug 08)
urirad_mod.c.diff (based on trunk 31 Aug 08)
Logged In: YES
user_id=2176865
Originator: YES
Hi Bogdan,
Thanks for applying the previous patches.
Following your question "shouldn't be the same change done for uri_radius module?" (in patch 2051073), here is a patch that does the same for the uri_radius module.
all the best,
Dror
File Added: urirad_mod.c.diff
Hi Dror,
Patch was uploaded on svn.
Thanks and regards,
Bogdan