staskobzar / amiws_queue Goto Github PK
View Code? Open in Web Editor NEWAsterisk Queues Dashboard with amiws
License: GNU General Public License v3.0
Asterisk Queues Dashboard with amiws
License: GNU General Public License v3.0
I've installed amiws and amiws_queue.
Open http://ip-address:8000
Asterisk 15.6.1. What should I check?
All queues are shown, but a red window appears for serveral seconds:
Invalid/unknown command: Queues. Use Action: ListCommands to show available commands.
Error:
npm WARN tarball tarball data for [email protected] (sha512-vEAit4rVgufCAyaqQ6Cxs29A9cBNEKeXxWcPFXrG/AOp+19Vz2K6shoNTwpbdNpDDbp7Pjy1YnvjlG9aQrCsmQ==) seems to be corrupted. Trying one more time.
npm WARN tarball tarball data for [email protected] (sha1-yPxiAcf0DdCJQbh8CFdnOGpnmsw=) seems to be corrupted. Trying one more time.
npm WARN tarball tarball data for [email protected] (sha1-6Wrw6WmBmWodR/iOrY908evEQis=) seems to be corrupted. Trying one more time.
npm WARN tarball tarball data for [email protected] (sha512-mFbcWoDIJi0w0Za4emyLiW72Jae0yjANHbCVquMKijcavBGypqlF7zHRgMa5k4sesdv7hv2rB4JPdZfR+TPfhQ==) seems to be corrupted. Trying one more time.
...
PhantomJS not found on PATH
Downloading https://github.com/Medium/phantomjs/releases/download/v2.1.1/phantomjs-2.1.1-linux-x86_64.tar.bz2
Saving to /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2
Receiving...
[==============--------------------------] 35%
Error making request.
Error: read ECONNRESET
at TLSWrap.onStreamRead (internal/stream_base_commons.js:111:27)
Please report this full log at https://github.com/Medium/phantomjs
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-11-08T15_53_19_537Z-debug.log
[root@localhost amiws_queue]#
hello sir,
I've a problem with the wallboard.
In fact, when there is many vue's instances, the data is cumulate.
For esample for total agent, if the value is 20 and if somebody open the instance, the value will change to 40.
Have you an idea to resolve this problem ?
Thanks in advance;
Hello Sir !
Beautiful project;
But to have callers in queues agents, you need to update a small part of you code.
In asterisk 14, there is three way to recuperate interface :
+>
constructor(msg) {
...
this.interface = data.Location || data.Interface || data.StateInterface
...
}
update (data) {
....
if (data.Location) this.interface = data.Location
else if (data.Interface) this.interface = data.Interface
else if (data.StateInterface) this.interface = data.StateInterface
...
}
And at the end you need to remove condition : !this.incall
if (data.Event === 'AgentCalled') {
...
}
This modifications will resolve CallerIDNum ; CallerIDName and remove agent
Have a nice day :)
"The configuration options eventwhencalled and eventmemberstatus have been removed. As a result, the AMI events QueueMemberStatus, AgentCalled, AgentConnect, AgentComplete, AgentDump, and AgentRingNoAnswer will always be sent. The Variable fields will also no longer exist on the Agent* events. These events can be filtered out from a connected AMI client using the eventfilter setting in manager.conf." Does amiws_queue work in Asterisk 15 and 16?
npm run build
[email protected] build /tmp/amiws_queue
node build/build.js
/tmp/amiws_queue/node_modules/webpack/lib/webpack.js:185
throw new RemovedPluginError(errorMessage);
^
Error: webpack.optimize.UglifyJsPlugin has been removed, please use config.optimization.minimize instead.
at Object.get [as UglifyJsPlugin] (/tmp/amiws_queue/node_modules/webpack/lib/webpack.js:185:10)
at Object. (/tmp/amiws_queue/build/webpack.prod.conf.js:36:26)
at Module._compile (internal/modules/cjs/loader.js:799:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:810:10)
at Module.load (internal/modules/cjs/loader.js:666:32)
at tryModuleLoad (internal/modules/cjs/loader.js:606:12)
at Function.Module._load (internal/modules/cjs/loader.js:598:3)
at Module.require (internal/modules/cjs/loader.js:705:19)
at require (internal/modules/cjs/helpers.js:14:16)
at Object. (/tmp/amiws_queue/build/build.js:12:23)
at Module._compile (internal/modules/cjs/loader.js:799:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:810:10)
at Module.load (internal/modules/cjs/loader.js:666:32)
at tryModuleLoad (internal/modules/cjs/loader.js:606:12)
at Function.Module._load (internal/modules/cjs/loader.js:598:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:862:12)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: node build/build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
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.