Messages in JS

From Yate Documentation
(Difference between revisions)
Jump to: navigation, search
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
You can have access to any message in Yate, but you have to install the specific handler.
+
From Javascript module (the same goes for external scripts) you can have access to all Yate's messages.
  
For example for routing you need to ''call.route'' message handler installed.
+
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.
  
In Javascript you have to install handler for '''MessageQueue''' message.
 
  
 
{|class="yate-table"
 
{|class="yate-table"
Line 9: Line 10:
 
|-
 
|-
 
|class="yate-content-right"|
 
|class="yate-content-right"|
<div class="bullet">&nbsp;</div><font class="yate-page-title">[[MessageQueue]]</font><br/>
+
* [[Install handler for using Yate's messages in Javascript]]
<div class="yate-page-desc">The MessageQueues is used to create a mechanism for organizing YATE's messages in different queues</div>
+
How to install handler fot messages from Javascript.
YATE's Messages in JavaScript:
+
* [[MessageQueue]]
 
+
The MessageQueue is a mechanism for organizing Yate's messages in different queues.
[[MessageQueue]]
+
|}
  
  
Line 19: Line 20:
  
 
* [[Messages]]
 
* [[Messages]]
 +
* [[Javascript]]
 +
 +
[[Category:Javascript]] [[Category:Programmers]]

Latest revision as of 14:54, 1 November 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

How to install handler fot messages from Javascript.

The MessageQueue is a mechanism for organizing Yate's messages in different queues.


See also

Personal tools
Namespaces

Variants
Actions
Preface
Configuration
Administrators
Developers