Messages in JS: Difference between revisions

From Yate Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
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 handler for using Yate's messages in Javascript|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.
 


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

Revision as of 13:50, 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.


See also