Help save net neutrality! Learn more.

#17 Adding Acct-Seesion-ID to Access-Request (uri_radius)

modules (179)
Dror Wald

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
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).


  • Dror Wald

    Dror Wald - 2008-09-01

    checks.c.diff ( (based on trunk 31 Aug 08)

  • Dror Wald

    Dror Wald - 2008-09-01

    urirad_mod.c.diff (based on trunk 31 Aug 08)

  • Dror Wald

    Dror Wald - 2008-09-01

    Logged In: YES
    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,
    File Added: urirad_mod.c.diff

  • Dror Wald

    Dror Wald - 2008-09-01
    • labels: --> modules
    • assigned_to: nobody --> bogdan_iancu
  • Bogdan-Andrei Iancu

    • status: open --> closed-fixed
  • Bogdan-Andrei Iancu

    Hi Dror,

    Patch was uploaded on svn.

    Thanks and regards,


Log in to post a comment.