Picture of Wim 4127
Registered 6 years 309 days
Wim 4127 Wednesday, 11 October 2023, 11:09 AM
GetProvisioningCode returns code, but using code does not provision device for user
We use the devices API to get a provisioning code as described in innovaphone SDK - devices service api. We call the GetProvisioningCode function as described in the API and provide a user's sip name as well. When we enter the provisioning code ont the device, this works, but, the device itself is not assigned to the user.
Why is this? We would assume that if we launch this request with a user's sip name, this device is assigned to that user. Is this an issue with the provisioning process?

Please advise,

Wim
Andreas Fink
Moderator Registered 13 years 109 days
Andreas Fink (innovaphone) Wednesday, 11 October 2023, 04:17 PM
Re: GetProvisioningCode returns code, but using code does not provision device for user
Hello Wim,

the new Device is added to a User Object with basic configuration options by the Users App Service, adjusting a new Device of the User Object is done by the provisioning application.

The provisioning App Service:
- Receives "mt":"ProvisioningPhone" on the AppWebsocket to Users App Service
- Performs Device changes on the User Object
- Performs config changes on 3rd Party Phone
- Sends "mt":"ProvisioningPhoneResult" on the AppWebsocket to Users App Service

The Device changes on the User Object can be done by changing the User Object via PbxAdmin API or updating it via Replication API (this is in general a preferred method to keep User Objects on the PBX and App Service in sync).

Best Regards
Andreas Fink


← You can define your color theme preference here