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!
npm install node-cisco-axl
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!
- AXL
- new AXL(options)
- .listRoutePlan(pattern) ⇒
Promise.<Response>
- .listTransPattern(pattern) ⇒
Promise.<Response>
- .listLdapDirectory() ⇒
Promise.<Response>
- .getPhoneByUUID(uuid) ⇒
Promise.<Response>
- .getPhoneByName(name) ⇒
Promise.<Response>
- .getLine(pattern) ⇒
Promise.<Response>
- .getTransPattern(uuid) ⇒
Promise.<Response>
- .updatePhoneByName(name) ⇒
Promise.<Response>
- .updatePhoneByUUID(uuid) ⇒
Promise.<Response>
- .updateLineByNumber(number) ⇒
Promise.<Response>
- .updateLineByUUID(number) ⇒
Promise.<Response>
- .doLdapSync(uuid) ⇒
Promise.<Response>
- .updateUserPin(user, pin) ⇒
Promise.<Response>
Kind: instance method of AXL
Returns: Promise.<Response>
- Response promise
Param | Type |
---|---|
pattern | any |
Kind: instance method of AXL
Returns: Promise.<Response>
- Response promise
Param | Type |
---|---|
pattern | any |
Kind: instance method of AXL
Returns: Promise.<Response>
- Response promise
Kind: instance method of AXL
Returns: Promise.<Response>
- Response promise
Param | Type |
---|---|
uuid | any |
Kind: instance method of AXL
Returns: Promise.<Response>
- Response promise
Param | Type |
---|---|
name | any |
Kind: instance method of AXL
Returns: Promise.<Response>
- Response promise
Param | Type |
---|---|
pattern | any |
Kind: instance method of AXL
Returns: Promise.<Response>
- Response promise
Param | Type |
---|---|
uuid | any |
Kind: instance method of AXL
Returns: Promise.<Response>
- Response promise
Param | Type |
---|---|
name | any |
Kind: instance method of AXL
Returns: Promise.<Response>
- Response promise
Param | Type |
---|---|
uuid | any |
Kind: instance method of AXL
Returns: Promise.<Response>
- Response promise
Param | Type |
---|---|
number | any |
Kind: instance method of AXL
Returns: Promise.<Response>
- Response promise
Param | Type |
---|---|
number | any |
Kind: instance method of AXL
Returns: Promise.<Response>
- Response promise
Param | Type |
---|---|
uuid | any |
Kind: instance method of AXL
Returns: Promise.<Response>
- Response promise
Param | Type |
---|---|
user | any |
pin | any |
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.