Yate Community Forum

General Category => Yate users hangout place => Topic started by: ganapathi on July 06, 2019, 11:52:56 PM

Title: WebSocket Handler
Post by: ganapathi on July 06, 2019, 11:52:56 PM
As i need to listen the websocket data which is running on particular port(ws or wss) through yate module. Any hint to start listen the data and use it.

Websocket required login authentication (port,username,password).

Ex: Asterisk ARI running on 8088 & 8089 port and need to put handler to handle channel event and process through yate messaging system through cpp module.

As i noticed socket binding and websocket module from yate-extra(https://github.com/vir/yate-extra) but don't have any clue to bind and run the loop continuously to handle the message.

Kindly help me out with possibility with any sample if possible.