Need to know how long the user have been online and registred to server?

hi , im searching for a method for monitoring how long the user was registred and connecting to pbx , and monitor if the user off or not connected to server

now assume that i have a user and this user uses softphone for connecting the server , and this user will work only 5 hours .

now i want to monitor the time which he as online and connected to pbx."

as we know , from cli elastix , sip show peers command will give me the instantnous currently registred users .

but i need i report or any thing which describe if the user went offline or unregistered .
another question , is this feature found in snmp ???

do i need specific software ??


Check Asterisk Management Server events.