The program forms a sample from Cisco Call Manager using AXL. The result is saved in XLSX format.
Works on Linux, Windows.
Tested on CUCM v.12.5, v.14
Two working options are presented for unloading information from CUCM:
- By executing an SQL query against the Informix CUCM database.
To obtain a report run (for v.14):
./get_report_by_sql.py
As a result, an XLSX table is formed:
- Using the listPhone() function from the zeep.
To obtain a report run (for v.12.5):
./get_report.py
An XLSX table is also formed here, the set of columns will be different.
Before starting, you need to set the parameters.
The program reads the config file cucm_param.conf and establish the connection with CUCM for report generating.
If the config file is empty or does not exist, it must be created before run.
To create the config file run:
./set_config.py
and set parameters:
- CUCM IP address
- Name of user, which has AXL-access to CUCM
- User's password
The password in the config file is in encrypted form.
Warning! Storing a password, even in encrypted form, cannot guarantee complete security. Here, this option is used as a sample for test runs.
- Enable the AXL SOAP Service on CUCM.
- Create a group “AXLServiceUser”, which has the rights/permissions inside CUCM for allowing anyone that’s a member of this group access to the AXL information.
- Create a user and add it to the above created access control group so that it can query AXL.
- Download the CiscoAXL Toolkit (axlsqltoolkit.zip) from Cisco Unified CM Administration application (the complete schema definition for different versions of Cisco Unified CM) and unpack it to /resources folder of the project.
- Install the SOAP client:
pip install zeep
This project is licensed under the MIT License.