{"id":27215985,"url":"https://github.com/antirek/ding-dong","last_synced_at":"2025-04-10T04:46:28.574Z","repository":{"id":22351263,"uuid":"25687201","full_name":"antirek/ding-dong","owner":"antirek","description":"Create AGI server on #Node.js for #Asterisk quickly!","archived":false,"fork":false,"pushed_at":"2019-05-04T14:37:02.000Z","size":53,"stargazers_count":53,"open_issues_count":14,"forks_count":25,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-05T07:17:53.839Z","etag":null,"topics":["agi","asterisk","ding-dong","javascript","nodejs","npm"],"latest_commit_sha":null,"homepage":"https://github.com/antirek/ding-dong","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/antirek.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-24T12:21:34.000Z","updated_at":"2024-11-30T05:58:17.000Z","dependencies_parsed_at":"2022-07-12T13:34:31.826Z","dependency_job_id":null,"html_url":"https://github.com/antirek/ding-dong","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antirek%2Fding-dong","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antirek%2Fding-dong/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antirek%2Fding-dong/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antirek%2Fding-dong/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antirek","download_url":"https://codeload.github.com/antirek/ding-dong/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248161238,"owners_count":21057552,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agi","asterisk","ding-dong","javascript","nodejs","npm"],"created_at":"2025-04-10T04:46:28.080Z","updated_at":"2025-04-10T04:46:28.564Z","avatar_url":"https://github.com/antirek.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ding-dong\n\n[![Build Status](https://travis-ci.org/antirek/ding-dong.svg?branch=master)](https://travis-ci.org/antirek/ding-dong)\n\nnode.js lib for Fast AGI (Asterisk Gateway Interface) server\n\n[Fork of node-agi](http://github.com/brianc/node-agi)\n\n\nUse ding-dong\n=============\n\n[voicer](http://github.com/antirek/voicer) - AGI voice recognizer for Asterisk (use Yandex and Google speech recognizers)\n\n[agi-number-archer](http://github.com/antirek/agi-number-archer) - AGI server for find region code of phone number (Russia)\n\n[lcr-finder](http://github.com/antirek/lcr-finder) - least cost router for Asterisk\n\n\n## Install\n\n```\nnpm install ding-dong\n\n```\n\n`````javascript\n\nconst AGIServer = require('ding-dong');\n\nconst handler = (context) =\u003e {\n    context.onEvent('variables')\n        .then((vars) =\u003e {\n            return context.streamFile('beep');\n        })\n        .then((result) =\u003e {\n            return context.setVariable('RECOGNITION_RESULT', 'I\\'m your father, Luc');\n        })\n        .then((result) =\u003e {\n            return context.close();\n        });\n};\n\nvar agi = new AGIServer(handler, {port: 3000});\nagi.init();\n\n`````\n\n### Add to Asterisk extensions.conf\n\n`````\n[default]\nexten = \u003e 1000,1,AGI(agi://localhost:3000)\n`````\n\n## API \n\nsee [API.md](API.md)\n\n\n## Links\n\n[Asterisk AGI](https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+AGI+Commands)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantirek%2Fding-dong","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantirek%2Fding-dong","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantirek%2Fding-dong/lists"}