This repository is deprecated; please follow the mainΒ search pageΒ or use the β€˜Related code repos’ widget on the right side of the current page.

node-cisco-axl

Cisco Unified Communications Manager has been the gold standard in enterprise unified communication for years, but using it's Administrative XML or AXL toolkit can be a beast. It changes frequently, uses SOAP rather than REST, and returns XML not JSON.

The goal of this project is to make it easier for people to use AXL, focusing on top use cases, not all functions!

Cisco Developer Docs for AXL

Installation

npm install node-cisco-axl

Usage

Require AXL, add options, and pass options as new object:

var AXL = require('node-cisco-axl');

var axlOptions = {
    host: process.env.CUCM,
    user: process.env.AXLUSER,
    pass: process.env.AXLPASS,
    version: process.env.AXLVERSION
}

const axl = new AXL(axlOptions);

axl.listTransPattern('9109200040')
    .then(uuid => {
        console.log('uuid =', uuid);
    });
});

1.0.1 update: Now parses and returns JSON object instead of XML!

Methods

axL.listRoutePlan(pattern) β‡’ Promise.<Response>

Kind: instance method of AXL
Returns: Promise.<Response> - Response promise

Param Type
pattern any

axL.listTransPattern(pattern) β‡’ Promise.<Response>

Kind: instance method of AXL
Returns: Promise.<Response> - Response promise

Param Type
pattern any

axL.listLdapDirectory() β‡’ Promise.<Response>

Kind: instance method of AXL
Returns: Promise.<Response> - Response promise

axL.getPhoneByUUID(uuid) β‡’ Promise.<Response>

Kind: instance method of AXL
Returns: Promise.<Response> - Response promise

Param Type
uuid any

axL.getPhoneByName(name) β‡’ Promise.<Response>

Kind: instance method of AXL
Returns: Promise.<Response> - Response promise

Param Type
name any

axL.getLine(pattern) β‡’ Promise.<Response>

Kind: instance method of AXL
Returns: Promise.<Response> - Response promise

Param Type
pattern any

axL.getTransPattern(uuid) β‡’ Promise.<Response>

Kind: instance method of AXL
Returns: Promise.<Response> - Response promise

Param Type
uuid any

axL.updatePhoneByName(name) β‡’ Promise.<Response>

Kind: instance method of AXL
Returns: Promise.<Response> - Response promise

Param Type
name any

axL.updatePhoneByUUID(uuid) β‡’ Promise.<Response>

Kind: instance method of AXL
Returns: Promise.<Response> - Response promise

Param Type
uuid any

axL.updateLineByNumber(number) β‡’ Promise.<Response>

Kind: instance method of AXL
Returns: Promise.<Response> - Response promise

Param Type
number any

axL.updateLineByUUID(number) β‡’ Promise.<Response>

Kind: instance method of AXL
Returns: Promise.<Response> - Response promise

Param Type
number any

axL.doLdapSync(uuid) β‡’ Promise.<Response>

Kind: instance method of AXL
Returns: Promise.<Response> - Response promise

Param Type
uuid any

axL.updateUserPin(user, pin) β‡’ Promise.<Response>

Kind: instance method of AXL
Returns: Promise.<Response> - Response promise

Param Type
user any
pin any

Getting support

You can find me on Cisco Spark: jlevensailor@presidio.com

But if you know you really found a bug, feel free to open an issue instead.

node-cisco-axl

View code on GitHub
  • Owner

  • Contributors

    +2Github contributors
  • Categories

  • Programming Languages

    JavaScript
  • License

    MIT License

Code Exchange Community

Get help, share code, and collaborate with other developers in the Code Exchange community.View Community
Disclaimer:
Cisco provides Code Exchange for convenience and informational purposes only, with no support of any kind. This page contains information and links from third-party websites that are governed by their own separate terms. Reference to a project or contributor on this page does not imply any affiliation with or endorsement by Cisco.