![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
The FreePBX connector for NodeJS modules. Allows NodeJS modules to access common functions in FreePBX systems. Also simulates the FreePBX boostrap
This module is used to connect a Node Process to the FreePBX ecosystem. It basic mysql and asterisk manager connections that you can interact with as well
npm install freepbx --save
You can utilize FreePBX like so:
var FreePBX = require("freepbx");
FreePBX.connect().then(function (pbx) {
//FreePBX is now ready
//pbx.ami == https://github.com/pipobscure/NodeJS-AsteriskManager
//pbx.db == https://github.com/mysqljs/mysql
//pbx.kvstore == FreePBX kvstore
//pbx.config == FreePBX Config
//Note these two are promised based libraries!!
//freepbx.config == see example below:
pbx.config.get("VALUE FROM ADVANCED SETTINGS")
.then(function(val) {
console.log(val);
}).catch(function(err) {
});;
//freepbx.kvstore == see examples below:
console.log("PBX is ready");
pbx.kvstore.setConfig('Dashboard','foo',"hello world")
.then(function(res) {
return pbx.kvstore.getConfig('Dashboard','foo')
})
.then(function(val) {
console.log(val)
}).catch(function(err) {
console.log(err);
});
});
All development should be done in the src/ directory. When finished editing/testing then execute the grunt file as so:
grunt
This will update the files in dist/ for distribution to npmjs.org
The repository is at: https://git.freepbx.org/projects/FL/repos/freepbx-nodejs/browse
FAQs
The FreePBX connector for NodeJS modules. Allows NodeJS modules to access common functions in FreePBX systems. Also simulates the FreePBX boostrap
We found that freepbx demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.