Implement a REST API that informs about the last time a Restcomm user has been known to be active. Similar to the way presence is implemented in popular messaging apps. Unlike the pub/sub presence suggested by standards like RCS, which cause unnecessary N^2 waves of traffic that jam the network and are a terrible design for deployments at scale.
Restcomm would have to keep a state map for each active Restcomm user. An active user can be considered one that has sent any kind of SIP message to the Restcomm server from any of the user's registered client end-points. SIP messages that count against activity could be: REGISTER, INVITE, MESSAGE, INFO, BYE and others.
Restcomm does not need to keep a map of inactive users.
When a certain app is interested to know the presence status of a user, it could use this API to obtain in.
Implement a REST API that informs about the last time a Restcomm user has been known to be active. Similar to the way presence is implemented in popular messaging apps. Unlike the pub/sub presence suggested by standards like RCS, which cause unnecessary N^2 waves of traffic that jam the network and are a terrible design for deployments at scale.
Restcomm would have to keep a state map for each active Restcomm user. An active user can be considered one that has sent any kind of SIP message to the Restcomm server from any of the user's registered client end-points. SIP messages that count against activity could be: REGISTER, INVITE, MESSAGE, INFO, BYE and others.
Restcomm does not need to keep a map of inactive users.
When a certain app is interested to know the presence status of a user, it could use this API to obtain in.