Messages in JS

From Yate Documentation
(Difference between revisions)
Jump to: navigation, search
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 [[Install handler for using Yate's messages in Javascript|install a handler]].
+
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">&nbsp;</div><font class="yate-page-title">[[MessageQueue]]</font><br/>
 
<div class="bullet">&nbsp;</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">&nbsp;</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 18: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
 
MessageQueue
The MessageQueue is a mechanism for organizing Yate's messages in different queues.
 
Install handler for using Yate's messages in Javascript
How to install handler fot messages from Javascript.


See also

Personal tools
Namespaces

Variants
Actions
Preface
Configuration
Administrators
Developers