add sip login tracking to usr_activity
Bug #1354144 reported by
Rogan Hamby
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Invalid
|
Wishlist
|
Unassigned | ||
SIPServer |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Wishlist item
I'd like to see a field added to the actor.usr_activity table to track SIP login credentials. Combined with setting service appropriate logins this would allow us to build reports specific to the kind of service used, e.g. reports of Overdrive checkouts, computer sessions, etc...
Changed in evergreen: | |
importance: | Undecided → Wishlist |
To post a comment you must log in.
I believe we can do this without modifying the database. The purpose of the config. usr_activity_ type "ewho" field ("Event Caller" in the admin UI) is to allow for just this kind of thing. I think it might work like this:
1. Add a new optional attribute to the <login...> element in the SIP configuration XML file to allow for specifying the "ewho" value. The value could be something like "overdrive", "computer-session", etc. It's configurable. I'm pretty sure SIPServer would pass this value through to the ILS plugin without caring or looking at it (needs confirmation).
2. Pass the "ewho" value into the login call made by the SIP Evergreen plugin.
3. The "etype" chosen for creating the usr_activity during login will be whichever matches the configured "ewho" value, making it easy to differentiate.