<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<font face="monospace">Hi Anonymous,<br>
<br>
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.<br>
<br>
[1] <a class="moz-txt-link-freetext" href="https://www.opensips.org/Documentation/Interface-Events-3-2">https://www.opensips.org/Documentation/Interface-Events-3-2</a><br>
<br>
Regards,<br>
</font>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
OpenSIPS Bootcamp 5-16 Dec 2022, online
<a class="moz-txt-link-freetext" href="https://www.opensips.org/training/OpenSIPS_eBootcamp_2022/">https://www.opensips.org/training/OpenSIPS_eBootcamp_2022/</a></pre>
<div class="moz-cite-prefix">On 10/19/22 9:32 AM, ideanet help
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAHApk2t2RsDLZ_oTyNGzMjLrwS9N212-Cy8bNKmXNWYUgTDNQg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Hi all,
<div><br>
</div>
<div>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. </div>
<div>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. </div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>Thanks</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>