Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
alvagi
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
alvagi
Commits
cee6140a
Commit
cee6140a
authored
Jan 10, 2015
by
Dmitriev Sergey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md
parent
5e1de5f7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
README.md
README.md
+3
-5
No files found.
README.md
View file @
cee6140a
# ding-dong
# 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
## install
...
@@ -17,8 +17,6 @@ Returns a new net.Server instance. The _listener_ will be called on a new agi c
...
@@ -17,8 +17,6 @@ Returns a new net.Server instance. The _listener_ will be called on a new agi c
```
js
```
js
var
ding
=
require
(
'
ding-dong
'
);
var
ding
=
require
(
'
ding-dong
'
);
ding
.
createServer
(
function
(
context
)
{
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
)
{
context
.
on
(
'
variables
'
,
function
(
vars
)
{
console
.
log
(
'
received new call from:
'
+
vars
.
agi_callerid
+
'
with uniqueid:
'
+
vars
.
agi_uniqueid
);
console
.
log
(
'
received new call from:
'
+
vars
.
agi_callerid
+
'
with uniqueid:
'
+
vars
.
agi_uniqueid
);
});
});
...
@@ -62,8 +60,8 @@ context.hangup(function(err, res) {
...
@@ -62,8 +60,8 @@ context.hangup(function(err, res) {
## Projects
## 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
## Links
(Asterisk AGI)
[
https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+AGI+Commands
]
[
Asterisk AGI
](
https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+AGI+Commands
)
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment