Hi Anonymous,

Check the events interface in OpenSIPS [1]. Different modules (see their documentation) may raise different events, like when a user is registered, when a call is placed, etc.

[1] https://www.opensips.org/Documentation/Interface-Events-3-2

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com
OpenSIPS Bootcamp 5-16 Dec 2022, online
  https://www.opensips.org/training/OpenSIPS_eBootcamp_2022/

On 10/19/22 9:32 AM, ideanet help wrote:
Hi all,

I am looking for a way to use WebSocket with opensips. Basically, I want to show my all sip users statuses/activity on a web page. I am currently using an API, which is called after a few seconds so this is a bit slow. I am looking for a way that opensips sends event to the socket and on the other hand, my webpage will be connected to a WebSocket server. This way I can show all the events instantly. For example, If a user receives a call I will have it on the web page straight away. if a user gets unregistered i will see on my page that users sent Expiry 0 something like that.

Will it be possible with the proto_wss module. any pointers will help. I saw what proto_wss can do but I did not understand it properly. it will send traces to a server i don't need. I just need it if a user is busy or idle. or he gets unregistered that's all.

Thanks

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to