Andreas Fink
Moderator Registered 13 years 52 days
Andreas Fink (innovaphone) Wednesday, 3 November 2021, 06:34 PM in response to Richard 5560
Re: WebSockets: determine the active device when using hotdesking
Hello Richard,

with the current implementation of the APIs it is not possible to map default phone device of the myApps Client to an RCC device. The info about the default telephony device is not stored in the PBX and not signalled in any way to the PBX.

To summarize what exactly is required:

- your server application controls user phones via RCC API
- some users have multiple phones, so a correct phone must be used to setup an RCC session
- users want to switch between phones using myApps client (Office, Home, Mobile etc.)

Please correct me, if I'm wrong with my assumptions.


We see multiple approaches, that could guide to a solution.

First: implement a myApps App, that can be used by a User to select device for RCC. This should be not very complicated: fetch all devices of a user, render UI with a list of devices, store selected device in your application. This should work out of the box with current APIs.


Second approach: you could monitor via RCC the phones of a user and store last phone that was used/sent some signalling like going of hook. This phone/device should be used for RCC by your application. Here some changes in the RCC API of the PBX may be required in order to be able to monitor all devices of a user, before UserInitialize was done.

Can you imagine to use one of this approaches? Would it be a solution for your problem?

Best Regards
Andreas Fink
← You can define your color theme preference here