1.0.10 • Published 6 years ago

node-cisco-axl v1.0.10

Weekly downloads
5
License
MIT
Repository
github
Last release
6 years ago

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

ParamType
patternany

axL.listTransPattern(pattern) ⇒ Promise.<Response>

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

ParamType
patternany

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

ParamType
uuidany

axL.getPhoneByName(name) ⇒ Promise.<Response>

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

ParamType
nameany

axL.getLine(pattern) ⇒ Promise.<Response>

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

ParamType
patternany

axL.getTransPattern(uuid) ⇒ Promise.<Response>

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

ParamType
uuidany

axL.updatePhoneByName(name) ⇒ Promise.<Response>

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

ParamType
nameany

axL.updatePhoneByUUID(uuid) ⇒ Promise.<Response>

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

ParamType
uuidany

axL.updateLineByNumber(number) ⇒ Promise.<Response>

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

ParamType
numberany

axL.updateLineByUUID(number) ⇒ Promise.<Response>

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

ParamType
numberany

axL.doLdapSync(uuid) ⇒ Promise.<Response>

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

ParamType
uuidany

axL.updateUserPin(user, pin) ⇒ Promise.<Response>

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

ParamType
userany
pinany

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

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.0.1

6 years ago