Skip to content

Implement presence REST API as an informational pull service (not pub/sub push) #380

@ivelin

Description

@ivelin

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions