Messages in JS
From Yate Documentation
(Difference between revisions)
Line 1: | Line 1: | ||
From Javascript module (the same goes for external scripts) you can have access to all Yate's messages. | 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 | + | 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. | 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. | ||
Line 12: | Line 12: | ||
<div class="bullet"> </div><font class="yate-page-title">[[MessageQueue]]</font><br/> | <div class="bullet"> </div><font class="yate-page-title">[[MessageQueue]]</font><br/> | ||
<div class="yate-page-desc">The MessageQueue is a mechanism for organizing Yate's messages in different queues.</div> | <div class="yate-page-desc">The MessageQueue is a mechanism for organizing Yate's messages in different queues.</div> | ||
+ | <div class="bullet"> </div><font class="yate-page-title">[[Install handler for using Yate's messages in Javascript]]</font><br/> | ||
+ | <div class="yate-page-desc">How to install handler fot messages from Javascript.</div> | ||
|} | |} | ||
Revision as of 17:16, 12 April 2013
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 |
The MessageQueue is a mechanism for organizing Yate's messages in different queues.
How to install handler fot messages from Javascript.
|
See also