Messages in JS
From Yate Documentation
You can have access to any message in Yate, but you have to install the specific handler.
For example for routing you need to call.route message handler installed.
In Javascript you have to install handler for MessageQueue message.
YATE's Messages in JavaScript: