An asterisk ami connector
An extremely lightweight Asterisk AMI connector
npm install asterisk-ami
var AsteriskAmi = ;var ami = host: 'hostname' username: 'username' password: 'secret' ;ami;ami;//connect creates a socket connection and sends the login actionami;
(AMI Data) These give you AMI specific information
(net socket events) Use these events to determine the status of the socket connection, as if the socket is disconnected, you would need to add your .on('close') events again, this was a bug in the previous version of asterisk-ami, use these new events instead which will always be called, even if the connection has died and been reconnected.
AsteriskAmi has preset/configurable options, you can set these via an object passed in to AsteriskAmi
The npm module for this library is maintained by:
asterisk-ami is licensed under the MIT license.