Skip to content

Create a Python application that sets up a phone and an end user via Soap and AXL

Notifications You must be signed in to change notification settings

emomeni/CUCM_Automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

Create a Python application that sets up a phone and an end user via Soap and AXL

Use Python and the Zeep library to create an AXL application to add a new phone, directory number (line), end user, and then associate the user with the phone and line.

Objectives

1- Set up Python with Zeep
2- Create a SOAP client with Python and Zeep
3- Set up a plugin for troubleshooting
4- Use the client session to add a new line (directory number)
5- Use the client session to add a new phone with this line
6- Use the client session to add a new end-user
7- Use the client session to associate the end user with the phone and the line
8- Learn a Zeep quirk and how to handle it
9- Review the complete script

Prerequisites

1-A client operating system like Windows, Mac or Linux
2-A CUCM server with an administrator account.
 You can use your own, or you can reserve a test server via the DevNet sandbox
3-The Cisco AXL Toolkit
4-Python
5-The Python package manager, or pip (The command pip may be pip3 on Mac and Linux)
6-Install OpenSSL if not already installed
7-Install the zeep library, which will install automatically all its dependencies
8-On Linux, zeep will attempt to install lxml automatically,
 but lxml requires libxml2 and libxslt, so you will need to install the libxml2-dev and libxslt-dev packages.

Installation

Use the package manager pip to install zeep.

$ pip install zeep
$ sudo apt-get install libxml2-dev libxslt-dev
$ sudo apt install libxml2-dev libxslt-dev

Reference

Cisco DevNet, Learning Labs Center

About

Create a Python application that sets up a phone and an end user via Soap and AXL

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages