03-08-2020 01:41 AM
Can Anybody help with correct AXL API's for Adding JABBERDevice (CSF) , LineNumber and Associating its Enduser-ID
thru AXL-API for cucm 12.5 in a single API Transaction.
I can add a single device and line numbers separately , but cannot associate it with both.
03-08-2020 08:55 PM
Hi Maqsood,
Just to clarify, your looking for a single call to the AXL-API that can do the following:
From looking at the Documentation I can't see a particular service that can do all 3 things for you. You could however build out a simple API Gateway and link all 3 seperate API calls off that? Here is an example:
1. Call the CSF Build API - https://yourbusiness.com/newstarter/deploysoftphone
2. /deploysoftphone then sends 3 calls to Create the CSF, Assign a Line Number then Associate the CSF with the end user.
If you haven't already done so, you can integrate common Enterprise Directories like Active Directory into CUCM so new users that are created in AD can be added to CUCM.
03-12-2020 03:00 AM
yes, u r two assumption is right but
This url doesn't work : https://yourbusiness.com/newstarter/deploysoftphone
03-09-2020 10:52 AM
03-17-2020 04:16 AM
Currently i am using 3 seperate API's to add device add update user .. i face a lot of issue like:
1. when i add device ,, it doesn't populate sip profile under device page ,
Example: <sipProfileName uuid="?">Jabber-For-Android-Sip-Profile</sipProfileName>
additionally i cannot associate a line index to the added device ,,
2. Still try to get a single API to add device and also associate a primary line to the added device
the only part working good for me is updateUser
Pls if u can show me the API with example..
thanks
03-18-2020 10:17 AM
I've added the sipProfileName field to the Python example here, if it helps: https://github.com/CiscoDevNet/axl-python-zeep-samples/blob/master/axl_add_User_Line_Phone.py
Its working for me on CUCM 12.5...
Unfortunately, creating each of the three objects you want to associate - line/phone/user - requires three separate AXL requests. Perhaps if we can understand your requirement to do it in 'one shot' in more detail we can make some alternate suggestions..?
Note, it may theoretically be possible to do something using multiple transactions in an <executeSqlUpdate> request, as you can include multiple SQL statements in one request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/12.5"> <soapenv:Header/> <soapenv:Body> <ns:executeSQLUpdate sequence="1"> <sql>insert into numplan... ; insert into device... ; insert into user... ; insert into devicenumplan map... ; insert into enduserdevicemap ...; </sql> </ns:executeSQLUpdate> </soapenv:Body> </soapenv:Envelope>
However this would require extensive knowledge of the CUCM database schema, the order/tables/fields and object relationships used when creating each type of object, and extensive SQL experience. The result would likely be difficult to maintain/expand, and could be brittle across CUCM versions.
01-21-2025 10:32 AM - edited 01-21-2025 10:33 AM
Hello
If you are still looking for a CUCM automation.
Please check my course
Cisco CUCM Automation (Bulk Provisioning) with Python Pandas
Course Link (with discount code)
Cisco CUCM Automation with Python (Zeep & Pandas)
New - Cisco UC | CUCM | CallManager Automation with Python - YouTube
Cisco CUCM v15.0 Automation with Python
Hope this helps
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide