<div dir="ltr">Hi Bogdan,<div><br></div><div>Thank you so much for the guidance. I have gone through the link and added some custom events. I am able to subscribe and send them to an interface. </div><div>The document for jsonrpc event is broken. If you go to Transport Protocols and click on <a class="gmail-urllink" href="http://www.opensips.org/html/docs/modules/3.2.x/event_jsonrpc" rel="nofollow" style="font-family:"Trebuchet MS",sans-serif,Verdana,Arial;color:rgb(24,86,98);font-weight:bold;text-decoration-line:none;width:100px;font-size:13.008px">event_jsonrpc</a><span style="font-size:13.008px"> </span>it says Not Found. can someone fix this link, please? I just want to look at the json rpc events. Thank you.</div><div><br></div><div>Regards,</div><div>Jazzi</div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Oct 21, 2022 at 1:47 AM Bogdan-Andrei Iancu <<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<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 href="https://www.opensips.org/Documentation/Interface-Events-3-2" target="_blank">https://www.opensips.org/Documentation/Interface-Events-3-2</a><br>
<br>
Regards,<br>
</font>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="https://www.opensips-solutions.com" target="_blank">https://www.opensips-solutions.com</a>
OpenSIPS Bootcamp 5-16 Dec 2022, online
<a href="https://www.opensips.org/training/OpenSIPS_eBootcamp_2022/" target="_blank">https://www.opensips.org/training/OpenSIPS_eBootcamp_2022/</a></pre>
<div>On 10/19/22 9:32 AM, ideanet help
wrote:<br>
</div>
<blockquote type="cite">
<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></fieldset>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</blockquote></div>