Coder Social home page Coder Social logo

svitlana1209 / cucm_sample Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 2.0 688 KB

The program forms a sample from Cisco Call Manager using AXL. The result is saved in XLSX format.

License: MIT License

Python 100.00%
axl cucm iphone pandas xlsx cisco informix sql

cucm_sample's Introduction

CUCM_sample

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

Use

Two working options are presented for unloading information from CUCM:

  1. 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:

  1. 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.

Prerequisites

  1. Enable the AXL SOAP Service on CUCM.
  2. 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.
  3. Create a user and add it to the above created access control group so that it can query AXL.
  4. 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.
  5. Install the SOAP client:
pip install zeep

License

This project is licensed under the MIT License.

cucm_sample's People

Contributors

svitlana1209 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.