Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Action: Queues failed in 0.2.0, and can't be catched in 0.1.0 #10

Open
Seafnox opened this issue May 29, 2015 · 1 comment
Open

Action: Queues failed in 0.2.0, and can't be catched in 0.1.0 #10

Seafnox opened this issue May 29, 2015 · 1 comment

Comments

@Seafnox
Copy link

Seafnox commented May 29, 2015

When sending action 'Queues' on server, result are not comming because parsing are failed

Code:
ami.send({action: 'Ping'}, function(err, event){
if (err) {
console.log("ERROR ", err);
return;
}
console.log("Pinged. Answer - ", err, JSON.stringify(event));
});

Server answer:
QUEUE_NAME1 has 0 calls (max unlimited) in 'ringall' strategy (2s holdtime, 4s talktime), W:0, C:2, A:3, SL:100.0% within 60s
Members:
111 (Local/111@from-internal/n from Local/111@from-internal/n) with penalty 2 (ringinuse disabled) (realtime) (paused) (Not in use) has taken no calls yet
222 (Local/222@from-internal/n from Local/222@from-internal/n) with penalty 3 (ringinuse disabled) (realtime) (Not in use) has taken 2 calls (last was 10 secs ago)
No Callers

QUEUE_NAME2 has 0 calls (max unlimited) in 'ringall' strategy (0s holdtime, 0s talktime), W:0, C:0, A:0, SL:0.0% within 0s
No Members
No Callers

@danjenkins
Copy link
Owner

Hi @Seafnox ,

Not really sure how this got passed me. Could you try the beta version? https://github.com/holidayextras/node-asterisk-ami/tree/beta

I must admin I haven't been able to give this repo much love recently and I want to try and change that.

Dan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants