NumminorihSF / ami-io

Use node.js or io.js to manage Asterisk through AMI
MIT License
30 stars 16 forks source link

use this in VueJs #34

Closed msadeghyan1996 closed 4 years ago

msadeghyan1996 commented 4 years ago

hi. i have a question. can i use this package in vuejs?

NumminorihSF commented 4 years ago

Hi, it's a server-side library. If you check the lib's code, you'll find that there is another nodejs' internal module (net), so I don't think it's easy to use this lib in browser. And I also don't think that it's a good idea to send ami's creds to anyone's browser.

msadeghyan1996 commented 4 years ago

thanks for fast replay. i want show realtime ami data's on wallboard and use with pusher for show in vuejs. now i want give data's from ami-io module and send to vuejs for show in wallboard. is it a good way for this work or no?