Picture of JirkaZidek
Registered 4 years 13 days
JirkaZidek Monday, 29 March 2021, 05:32 PM
WebSocket API - How to some points
Hi, I'm using RCC WebSocket API for our application on IP411 with Innovaphone physical phones. I have not found how to accomplish these tasks. Any ideas ?

Jiri

  1. How to correctly alternate two calls ? Hold active, Unhold original does not work since there is no phonie.
  2. Is there some way to explicitly check, whether a call with parameters (int user, int call) does exist in the PBX ?
  3. Is there a way how to monitor registration of devices to an extension number ? I specifically need to monitor transition between states “no devices” and “at least one device”.
  4. Is there a way to monitor logon/logoff of an extension to a group ? Is there a way to command logon/logoff ?

2013
Moderator Registered 16 years 15 days
Guntram Diehl (innovaphone) Wednesday, 31 March 2021, 07:01 PM
Re: WebSocket API - How to some points
1. You can user UserConnect on the held call. This should connect the call and put the active on hold 2. I don't understand this. The int user and int call are only valid within your RCC session. Another session would use different ids for the same user/call. The only way to identify any given call is by conference id (conf) 3. You should get this as part of the UserInfo 4. You could try an "Initialize" with "grp". Then you should receive UserInfo for all members of the group.
Picture of Tomas 1082
Registered 11 years 342 days
Tomas 1082 Thursday, 15 April 2021, 07:05 AM
Re: WebSocket API - How to some points
Hi. I have a question related to #2 above.

How to check if a user id still works in the same session? There seems to be a timeout

Br,

Tomas
2013
Moderator Registered 16 years 15 days
Guntram Diehl (innovaphone) Thursday, 10 June 2021, 04:49 PM
Re: WebSocket API - How to some points
Can you reproduce this? As long as the Websocket connection is established, user and call will be valid.
← You can define your color theme preference here