Messages in JS

From Yate Documentation
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
In Yate, you can have access to any message. Only a handler must be installed.
+
From Javascript module (the same goes for external scripts) you can have access to all Yate's messages.
  
For example, for routing you need a handler installed for ''call.route'' message.
+
In order to do that a handler must be installed.
  
In Javascript you have to install handler for ''MessageQueue'' message.
+
From Javascript you can start a MesageQueue in order to organize messages in queues.
  
 
{|class="yate-table"
 
{|class="yate-table"
Line 10: Line 10:
 
|class="yate-content-right"|
 
|class="yate-content-right"|
 
<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 MessageQueues is used to create a mechanism for organizing Yate's messages in different queues.</div>
+
<div class="yate-page-desc">The MessageQueues is a mechanism for organizing Yate's messages in different queues.</div>
 
|}
 
|}
  

Revision as of 10:56, 11 April 2013

From Javascript module (the same goes for external scripts) you can have access to all Yate's messages.

In order to do that a handler must be installed.

From Javascript you can start a MesageQueue in order to organize messages in queues.

YATE's Messages in JavaScript
 
MessageQueue
The MessageQueues is a mechanism for organizing Yate's messages in different queues.


See also

Personal tools
Namespaces

Variants
Actions
Preface
Configuration
Administrators
Developers