I'm looking for some information about how best to monitor presence events within kamailio? Ideally I'd be writing a python application that will monitor specific endpoints within kamailio and once there state changes I do my thing.
I know tapping into the database is an option, but figure I see if there is another method. EG: Opening a websocket to stream events?