landrews33 / asteriskmqtt Goto Github PK
View Code? Open in Web Editor NEWAsterisk AMI to MQTT Bridge
License: GNU General Public License v3.0
Asterisk AMI to MQTT Bridge
License: GNU General Public License v3.0
Hi,
It doesn't seem to run...
root@fileserver:/usr/local/share/asteriskmqtt # uname -a
FreeBSD fileserver.flissinger.local 12.0-RELEASE-p10 FreeBSD 12.0-RELEASE-p10 GENERIC amd64
root@fileserver:/usr/local/share/asteriskmqtt # node -v
v13.0.1
root@fileserver:/usr/local/share # git clone https://github.com/landrews33/asteriskmqtt.git
Cloning into 'asteriskmqtt'...
remote: Enumerating objects: 147, done.
remote: Total 147 (delta 0), reused 0 (delta 0), pack-reused 147
Receiving objects: 100% (147/147), 34.41 KiB | 367.00 KiB/s, done.
Resolving deltas: 100% (47/47), done.
root@fileserver:/usr/local/share # cd asteriskmqtt/
root@fileserver:/usr/local/share/asteriskmqtt # npm install
npm notice created a lockfile as package-lock.json. You should commit this file.
added 111 packages from 86 contributors and audited 442 packages in 6.86s
found 0 vulnerabilities
root@fileserver:/usr/local/share/asteriskmqtt # node ./asterisk.js
/usr/local/share/asteriskmqtt/asterisk.js:5
var consoleLog = new (winston.Logger) ({
^
TypeError: winston.Logger is not a constructor
at Object.<anonymous> (/usr/local/share/asteriskmqtt/asterisk.js:5:18)
at Module._compile (internal/modules/cjs/loader.js:971:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1011:10)
at Module.load (internal/modules/cjs/loader.js:822:32)
at Function.Module._load (internal/modules/cjs/loader.js:730:14)
at Function.Module.runMain (internal/modules/cjs/loader.js:1051:12)
at internal/main/run_main_module.js:16:11
root@fileserver:/usr/local/share/asteriskmqtt #
any idea?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.