Yate server > Yate IVR

Nodejs library compatible to javascript.yate

(1/3) > >>

Anton:
Maybe someone will be useful
https://github.com/0LEG0/next-yate
Best regards,
Anton

Anton:
Library are published as npm module now.
to install run:

--- Code: ---npm install next-yate

--- End code ---
Best regards,
Anton

P.S.
Any suggestions and criticism are welcome

cc08:
Anton, can you suggest more complex use cases that reveal the benefits of this module.
Waht differens from others ?

Anton:
Hello.

This library does not have obvious advantages over libraries in python, php or perl.
All advantages only over the javascript.yate module.
At the moment, I see the following problems with the javascript.yate module:
1. Low performance: slow arrays and operations with them, it is almost impossible to work with> 200 simultaneous calls.
2. Poor language constructs: it is impossible to call the function returned by the expression in without intermediate storage of the result in variable; lack of syntactic sugar.
3. There is no way to go beyond the yate sandbox.
All of these shortcomings motivated me to take up the development of a full-fledged javascript library, while the idea to preserve the original javascript.yate API seemed interesting to me.
Inside my library, all entities are connected by events and promises. Perhaps as one of the advantages over libraries in php and perl there will be no need to develop your own event reading / processing loop. This simplifies the code a bit.
Otherwise, as I said, there are no advantages over other external libraries.

Best regards,
Anton

Anton:
Dear Community.

"Channel" support was added.
Here is example of adapted welcome.js script:
https://github.com/0LEG0/next-yate/blob/master/examples/welcome.js

Best regards,
Anton

Navigation

[0] Message Index

[#] Next page

Go to full version