CUCM AXL API addPhone failed with "Product Does Not support Activatio"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2024 08:30 AM
I'm using AXL API 12.5 with C# and ASP.NET Core.
Trying to add phone by calling the method addPhoneAsync.
Step 1): construct the XPhoneLine object with all necessary information
Step 2): construct the XPhone object with all necessary information
Step 3): construct the AddPhoneReq object
Step 4): calling addPhoneAsync with the above as input
the proxy added this <mraServiceDomain/> in the request body, which is causing the following error
- "Product Does Not support Activation Code Based Registration feature".
Tried the same request body in Postman and explicitly deleted the <mraServiceDomain/> tag, it worked fine.
If I call getPhone on the same phone added, i can see <mraServiceDomain/> in the response (together with a lot of other tags).
There seems no way I can control how the proxy forms the request body. Any suggestion how I can get the addPhoneAsync to work?
Thank you
- Labels:
-
Cisco Software
