Commit cee6140a authored by Dmitriev Sergey's avatar Dmitriev Sergey

Update README.md

parent 5e1de5f7
# ding-dong
Create AGI server with ding-dong. Use with Asterisk for fast telephony apps. (Fork of node-agi)[http://github.com/brianc/node-agi]
Create AGI server with ding-dong. Use with Asterisk for fast telephony apps. [Fork of node-agi](http://github.com/brianc/node-agi)
## install
......@@ -17,8 +17,6 @@ Returns a new net.Server instance. The _listener_ will be called on a new agi c
```js
var ding = require('ding-dong');
ding.createServer(function(context) {
//context is a new instance of agi.Context for each new agi session
//immedately after asterisk connects to the node process
context.on('variables', function(vars) {
console.log('received new call from: ' + vars.agi_callerid + ' with uniqueid: ' + vars.agi_uniqueid);
});
......@@ -62,8 +60,8 @@ context.hangup(function(err, res) {
## Projects
(Voicer)[http://github.com/antirek/voicer] - AGI yandex voice recognizer for Asterisk
[Voicer](http://github.com/antirek/voicer) - AGI yandex voice recognizer for Asterisk
## Links
(Asterisk AGI)[https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+AGI+Commands]
\ No newline at end of file
[Asterisk AGI](https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+AGI+Commands)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment