Chatd presence support SIP multi-contact
Description
Zendesk Ticket IDs
None
relates to
Activity
Show:
Clément Bourgeois March 10, 2020 at 2:50 PM
Grooming
Done
Created March 10, 2020 at 2:49 PM
Updated June 8, 2020 at 1:08 PM
Resolved June 2, 2020 at 10:03 PM
Purpose:
Support multi calls and call relocalisation
Scenario:
Given I have a web application and a mobile application both using the same WebRTC SIP line
Given my mobile application is disconnected from Wazo
When I call someone with my web application
Then my presence status is On call
When I connect my mobile application
Then my presence status is Available
Expected: my presence status is still On call
Technical details:
Presence status is linked to the AMI event DeviceStateChanged
This event does not account for multi-contact SIP endpoints and sends “Available” whenever a new SIP contact is connected
Another way to implement presence status is by listing the current channels of the SIP endpoint and only send the Available presence status when there are no channels left.