Picture of iqbal
Registered 5 years 278 days
iqbal Thursday, 7 September 2023, 04:33 PM
Problem using RCC Api. After Initilisation I am not becoming UserInfo Events for all users
I have little Problem using RCC Api in my C++ App . After Initilisation I am not becoming UserInfo Events for all users. how can i have UserInfo Events for users after initilisation if anything change on user.
As example if somebody opens softphone, UserInfo Event is with regs sent. but for some users i am not getting this Event.
What is the correct Flow for RCC Api to get these events.

Here my current API Flow:

AppWebsocketSend: {"mt":"Initialize","api":"RCC","src":"RCCApiSession"}
AppWebsocketRecvResult: {"mt":"InitializeResult","api":"RCC","src":"RCCApiSession"}
AppWebsocketRecvResult:{"mt":"UserInfo","api":"RCC","src":"",....} // works for some users

If softphone app opened
AppWebsocketRecvResult: {"mt":"UserInfo","api":"RCC",...,"regs":[{"hw":"my_test_softphone_1"}]} :// works for some users


AppWebsocketSend:{"mt":"UserInitialize","src":"","cn":"Iqbal","hw":"my_test_softphone_1","api":"RCC"}
....

why highlighted events works for some users. how can I get events for all users correctly?
Regards
Iqbal
Andreas Fink
Moderator Registered 13 years 109 days
Andreas Fink (innovaphone) Monday, 11 September 2023, 11:09 AM
1 of 1 users consider this post helpful
Re: Problem using RCC Api. After Initilisation I am not becoming UserInfo Events for all users
Hello Iqbal,

there are two approaches to select users for monitoring, by app assignement to the user and by group:


As i can see in the Initialize message, you send no grp property. This means only users that have your app assigned will be visible to the RCC.

Please check if all users you would like to monitor are assigned to your app.

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