Messages in JS: Difference between revisions

From Yate Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
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 a handler.
In order to receive a message you must [[Install handler for using Yate's messages in Javascript|install a handler]].


You can also create a custom MessageQueue.
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 it's taken too long to be processed by Yate.


{|class="yate-table"
{|class="yate-table"

Revision as of 13:09, 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 it's taken 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.


See also