[OpenSIPS-Users] SIP user statuses to websocket
Bogdan-Andrei Iancu
bogdan at opensips.org
Fri Oct 21 07:11:04 UTC 2022
Fixed !
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/21/22 4:39 AM, ideanet help wrote:
> Hi Bogdan,
>
> 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.
> The document for jsonrpc event is broken. If you go to Transport
> Protocols and click on event_jsonrpc
> <http://www.opensips.org/html/docs/modules/3.2.x/event_jsonrpc>it says
> Not Found. can someone fix this link, please? I just want to look at
> the json rpc events. Thank you.
>
> Regards,
> Jazzi
>
>
>
>
> On Fri, Oct 21, 2022 at 1:47 AM Bogdan-Andrei Iancu
> <bogdan at opensips.org <mailto:bogdan at opensips.org>> wrote:
>
> 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
> <https://www.opensips.org/Documentation/Interface-Events-3-2>
>
> Regards,
>
> Bogdan-Andrei Iancu
>
> OpenSIPS Founder and Developer
> https://www.opensips-solutions.com <https://www.opensips-solutions.com>
> OpenSIPS Bootcamp 5-16 Dec 2022, online
> https://www.opensips.org/training/OpenSIPS_eBootcamp_2022/ <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
>> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20221021/1dafa1b4/attachment.html>
More information about the Users
mailing list