node-shift8 is an asynchronous asterisk manager interface based on the powerful node.js. The library in essence is a port (or will be) of my PHP version of the library, but with the twist of EventEmitter
node-shift8's Introduction
Requirements:
libxmljs (npm install libxmljs)
winston (npm install winston) - Might be removed in future versions.
This is still a work in progress, see the tests.js for example on usage.
Events emited:
'event': When an event occurs on the remote asterisk
'connected': When the library connects
'disconnected': When the library disconnects
'error': When an error occurs
Asterisk has a bug on it's manager interface that normally crashes the node.js parser (thanks stagas). I've attached an 1.8.x patch on the repository and added a ticket on the asterisk issue system.
(https://issues.asterisk.org/jira/browse/ASTERISK-18064)