Stas Kobzar
Stas Kobzar
Hello, The javascript is an example on how to use the utility and it is not supposed to be used in production. It was not updated for a long time...
Hello, You can send commands to Asterisk whenever you want. it is AMI proxy, so you need to send AMI commands. Here is an example: https://github.com/staskobzar/amiws_queue/blob/master/src/store/mutations.js#L107
Yes, you can send commands from browser with javascript. How to do this is your choice of implementation. ``` ws.send(JSON.stringify({ Action: 'QueueAdd', AMIServerID: queue.sid, Queue: queue.name, Interface: member.interface, Penalty: member.penalty,...
Here is example project: https://github.com/staskobzar/amiws_queue
May you can just implement delay to connect and send in your javascript? I am sorry, but I probably do not understand what you are trying to do. Javascript is...
I was using mongoose library for the networking (https://github.com/cesanta/mongoose/) you can see for helper function there. There are plenty of other C libraries which can help parse URI.
Hi, I think, the only way for now would be to filter on client (javascript) side. Just ignore message for 'AMIServerID': 1 in javascript websocket connection.
I am sorry, but I am not sure I will have a time to work on amiws in near future due to my work load. But I am not sure...
what you describe is more like rabbitmq queue messages system with topic or direct exchange. Maybe you need better tool for your task, with more powerful features. Not trying to...
Hello, Thank you for good words. It's been a long time I haven't work with this project. I think it is possible to do but I am not sure when...