Messages in JS
From Yate Documentation
(Difference between revisions)
Line 11: | Line 11: | ||
|class="yate-content-right"| | |class="yate-content-right"| | ||
* [[Install handler for using Yate's messages in Javascript]] | * [[Install handler for using Yate's messages in Javascript]] | ||
− | How to install handler | + | How to install handler for messages from Javascript. |
+ | * [[Singleton (separate) message handler context in Javascript]] | ||
+ | How to install a message handler using a separate context in Javascript. | ||
* [[MessageQueue]] | * [[MessageQueue]] | ||
The MessageQueue is a mechanism for organizing Yate's messages in different queues. | The MessageQueue is a mechanism for organizing Yate's messages in different queues. |
Revision as of 15:15, 29 August 2024
From Javascript module (the same goes for external scripts) you can have access to all Yate's messages.
In order to receive a message you must install a handler.
You can also create, a custom MessageQueue, to avoid usage of internal Yate's message queue, if you need to handle a specific message, that takes too long to be processed by Yate.
YATE's Messages in JavaScript |
How to install handler for messages from Javascript. How to install a message handler using a separate context in Javascript. The MessageQueue is a mechanism for organizing Yate's messages in different queues. |
See also