Skip to content

Cisco Unified Communications Manager (CUCM) Atomic Actions for SecureX Orchestrator

License

Notifications You must be signed in to change notification settings

ciscomanagedservices/sxo-ucm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SecureX Orchestrator Atomic Actions for Cisco Unified Communications Manager (CUCM)

published sxoanalyzed

Please update the namespaces and the SOAPAction Header based on the version & schema you're working with. At present, the atomic actions are setup & tested to work with UCM v12.5.

Resources:

  • AXL API Schema Reference: https://developer.cisco.com/docs/axl-schema-reference/
  • Many of the atomic actions available in this repository expect a JSON input payload - please refer to the examples provided in the input descriptions before use. We're also working on making it easier for you to generate JSON payloads from the UCM XML schema - stay tuned!

In this repository, you'll find the following atomics:

Purpose: Run an SQL Query via UCM's AXL API

Steps to use:

  1. Setup your UCM Target & Account Key as AXL Credential
  2. Provide SQL Query to run as input
  3. If the request is successful, the output of this atomic is an XML string w/ the rows as seen in the SQL response
  4. If the request is not successful, the output contains the error message

TIP: If you're doing a SELECT query, use 'Read Table from XML' w/ the XML output in your workflow to have a table object you can iterate over.


Purpose: Create a new phone via UCM's AXL API

Steps to use:

  1. Setup your UCM Target & Account Key as AXL Credential
  2. Provide a JSON input with one or more of the supported fields for the addPhone AXL method (refer to README on Git repo for steps on how to generate this)
  3. If the request is successful, the output of this atomic is the UID response string returned from UCM for the added phone
  4. If the request is not successful, the output contains the error message

Purpose: Create a new line via UCM's AXL API

Steps to use:

  1. Setup your UCM Target & Account Key as AXL Credential
  2. Provide a JSON input with one or more of the supported fields for the addLine AXL method (refer to README on Git repo for steps on how to generate this)
  3. If the request is successful, the output of this atomic is the UID response string returned from UCM for the added line
  4. If the request is not successful, the output contains the error message

Purpose: Retrieve details of a phone via UCM's AXL API

Steps to use:

  1. Setup your UCM Target & Account Key as AXL Credential
  2. Provide the Name or UUID of the phone to retrieve details. You must provide one of the two.
  3. You can also input a comma-separated list of what fields you'd like to have returned or leave the 'Fields to Return' input blank to return all fields
  4. If the request is successful, the output of this atomic is the XML response string returned from UCM for the searched
  5. If the request is not successful, the output contains the error message

Purpose: Retrieve details of a line via UCM's AXL API

Steps to use:

  1. Setup your UCM Target & Account Key as AXL Credential
  2. Provide the Pattern & Route Partition or UUID of the line to retrieve details. You must provide one of the two.
  3. You can also input a comma-separated list of what fields you'd like to have returned or leave the 'Fields to Return' input blank to return all fields
  4. If the request is successful, the output of this atomic is the XML response string returned from UCM for the searched. You can also choose to Output as JSON by setting the boolean input variable to 'true'.
  5. If the request is not successful, the output contains the error message

Purpose: Run a Terminal (CLI) Command on UCM/UCOS

Steps to use:

  1. Setup a Terminal Endpoint for your UC Application & Account Key as OS/Platform credential. Under 'Terminal Interaction Patterns (regex)', set the prompt to admin:.
  2. Provide a list of commands as input (one per line). It is recommended to send more than one command at once to avoid having to recreate separate SSH sessions.
  3. The output of this atomic action is a table with CLI Commands & their Outputs

Contributors:

  1. Aman Sardana (amasarda@cisco.com)
  2. Saurabh Khaneja (sakhanej@cisco.com)

Cisco CX Managed Services - Operate & CX Professional Services, May 2021

About

Cisco Unified Communications Manager (CUCM) Atomic Actions for SecureX Orchestrator

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks