Picture of JiangNan
Registered 6 years 73 days
JiangNan Thursday, 27 June 2019, 04:04 AM
The application Initialzation completion event
Hi there,
The application is written using RCC via websocket. It is a CC solution.
When all users/devices are initialized on Innovaphone, we need a event to tell the rest system that the application initialization complete and start up successfully.
Currently we don't have a mechanism for us to reliably detect Innovaphone initialization completes. Could you please advise how to do it? We are looking for an event to indication all user initialization completes or number of users this app user monitors so that we can track it ourselves.
many thanks
Josie
Picture of JiangNan
Registered 6 years 73 days
JiangNan Monday, 1 July 2019, 03:15 AM
Re: The application Initialzation completion event
Hi there,

Any help is appreciated. We are kind of desperate to get it going
Picture of Daniel Deterding (innovaphone)
Moderator Registered 15 years 178 days
Daniel Deterding (innovaphone) Monday, 1 July 2019, 08:11 AM in response to JiangNan
Re: The application Initialzation completion event
I'm not sure if I understand your question correctly, but once you trigger the Initialize message on your RCC session, you get one UserInfo message for every user and afterwards an InitializeResult message.

So with this InitializeResult message you know, that you know all current users and that you're ready to start.

New/deleted users are reported with further UserInfo messages.

Greetings,
Daniel
2013
Moderator Registered 16 years 72 days
Guntram Diehl (innovaphone) Monday, 1 July 2019, 08:40 AM in response to JiangNan
Re: The application Initialzation completion event
As Daniel said, with the InitializeResult message you get the notification that all the current users are sent to you. If you restart the PBX and at the same time you send Initialize, it may happen that you get InitializeResult, when the PBX has not yet read all the users. The other users are then sent later on.

So you application should be able to dynamically adapt to changes of the users.
Picture of JiangNan
Registered 6 years 73 days
JiangNan Monday, 1 July 2019, 09:51 PM
Re: The application Initialzation completion event
Here is how the application works:
At the app start, we would like to get a snapshot for all the user/devices monitored by the app user. Once all users are initialized by "UserInitialize", the application will notify the rest system it is ready for operation. That is the reason we need to have some indication how many users/devices we are expecting or a notification to our application that all users are initialized
During run time, we would like to get dynamical notifications for the following event:
-Existing user/device removed
-Add new user/device
-A device is out of service due to network connection(eg unplug cable) etc.
-A device is back in service
-Call diversion(forwarding) setting changes
Picture of JiangNan
Registered 6 years 73 days
JiangNan Tuesday, 2 July 2019, 01:20 AM
Re: The application Initialzation completion event
Here is the most serious scenario, we don't receive notification when a user is deleted from innovaphone web admin.
According to the documentation, we should receive a "UserInfo" with "update" field set to "del":
UserInfo
 

This message is used to send update to users

 
update:string
Present if not the initial transmition. A value of "del" indicates a deleted user.
As minimum, we need this notification going at least to notify the user is out of service
2013
Moderator Registered 16 years 72 days
Guntram Diehl (innovaphone) Friday, 5 July 2019, 02:04 PM in response to JiangNan
Re: The application Initialzation completion event
In 13r1 sr4, (and maybe in 13r1 sr3 if it is delay for other reasons) we put in a fix, which should solve these problems: 59032 - Monitoring users with RCC Initialize did not cover some aspects

With this we hope to address all the issues of monitoring users:
  1. Existing user deleted so that we can put the user out of service and no call will be delivered to this device. - A UserInfo with update:"del" is sent in this case
  2. Existing registered device/endpoint(physical phone or softphone etc.) removed from a monitored so that we can keep track which device is out of service and raise notification to rest system hence no call will be delivered to this device. - When the App Object is removed from the user the user is indicated as deleted as well
  3. Existing device is out of service due to network connection(eg unplug cable) etc. hence no call will be delivered to this device. - There is an array "regs" a property of the UserInfo message. If this is empty, there is no registration
  4. Existing device/endpoint(physical phone or softphone etc.) is back in service and start delivering calls to this device again. - An UserInfo update with a new regs array is sent
  5. Add new user so that we can put the user in service and calls will be delivered to the user if he/she has registered device. - UserInfo with update:"add"
  6. Add device/endpoint(physical phone or softphone etc.) and it is registered to the Innovaphone pbx. Need it to put the specific device in service. UserInfo with updated regs
  7. Call diversion(forwarding) setting changes. Need it to block call delivery when this user has Fwd/all setting enabled. - UserInfo with cfg:true property. Then GetObject from the PbxAdminApi can be used to retrieve config

Picture of JiangNan
Registered 6 years 73 days
JiangNan Monday, 8 July 2019, 02:43 AM
Re: The application Initialzation completion event
Thank you very much for the update!
However, we are having trouble to get hold of that version of firmware:
  • https://store.innovaphone.com/release/download/ returns 404 error
  • The only version available to us is https://store.innovaphone.com/release/131957/download.htm but this is sr2.
Could you please point me to the correct location of v13r1sr4 so we can upgrade and test?
Thanks
2013
Moderator Registered 16 years 72 days
Guntram Diehl (innovaphone) Monday, 8 July 2019, 11:51 AM
Re: The application Initialzation completion event
sr3 is now online on http://store.innovaphone.com/release/download.htm. Unfortunatly this is the build 131962 and the above fixes are included in 131064.

We are discussing the idea of using http://store.innovaphone.com/beta/download.htm to publish the latest development build, but this will take a couple of days. If this is a real urgent issue, I could mail the right build. You need ipva.bin, right?
Picture of JiangNan
Registered 6 years 73 days
JiangNan Monday, 8 July 2019, 12:13 PM
Re: The application Initialzation completion event
I’m very new on the deployment of innovaphone so I’m not really sure what we need for upgrade if you mail us. We have a ipva and another physical switch as well. If you mail me, could you please let me know how to install it as well? Otherwise we wait for the beta link.

Thanks
Picture of JiangNan
Registered 6 years 73 days
JiangNan Friday, 12 July 2019, 10:25 AM
Re: The application Initialzation completion event
Hi,

Any updates on the sr4 beta version?

Thanks
2013
Moderator Registered 16 years 72 days
Guntram Diehl (innovaphone) Friday, 12 July 2019, 01:23 PM
Re: The application Initialzation completion event
Sorry have no process yet to publish the beta. I will send ipva.bin by email
Picture of JiangNan
Registered 6 years 73 days
JiangNan Thursday, 18 July 2019, 11:13 PM
Re: The application Initialzation completion event
Thanks. I have tested the new firmware and it works
← You can define your color theme preference here