[SR-Users] Using websocket server for events
Daniel-Constantin Mierla
miconda at gmail.com
Wed May 4 19:01:31 CEST 2016
Hello,
can you do some tests with send_data() function from corex module?
https://www.kamailio.org/docs/modules/stable/modules/corex.html#idp133544
Might be helpful in the direction you want to go.
Cheers,
Daniel
On 04/05/16 12:11, Yuriy Gorlichenko wrote:
> Hi. websockets module has only handshake and close functions for now.
> Im asking the way about send function form server but not SIP
> messages for handling it by callback at the client
>
> for example i a some client who was connected to kamailio and want
> receive messages from websocket and handle it.
>
> for all events that sends through websocket at kamailio are SIP
> signallig staff and it created by core as i see.
>
> I what to know if it is possible to send some other messages
> (frames,events as you want) to subscribers that connected at the
> websocket.
>
> More closr example
> Im a some manager and what to connect to Some web app and see active
> calls that was made at this web app.
> So i as developer set at the kamailio config
>
> send_from_ws("eventname:data")
>
> so for some call positions i set it and send it into subscribed clients.
>
> THen at the client side i will handle it.
>
> Im understand that kamailio is a SIP server. But if it already have
> some websocket implementation i just asking it because it will be a
> cool to manage this staff from one server instead of sharing data at
> the redis for example? setting subscribing at the redis and then use
> another server for this staff
>
>
>
>
>
>
>
> 2016-05-04 9:48 GMT+03:00 Daniel-Constantin Mierla <miconda at gmail.com
> <mailto:miconda at gmail.com>>:
>
> Hello,
>
> what do you mean by websocket events? Can you give a more specific
> example of what you want to do?
>
> Cheers,
> Daniel
>
>
> On 02/05/16 14:51, Yuriy Gorlichenko wrote:
>> Hi is there is a valy to send websocket events (not only SIP) on
>> remote subscribed client from config file?
>>
>> I just want make shure that i need to use redis for this staff
>> insead of native websocket events
>>
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users at lists.sip-router.org <mailto:sr-users at lists.sip-router.org>
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
> --
> Daniel-Constantin Mierla
> http://www.asipto.com
> http://twitter.com/#!/miconda <http://twitter.com/#%21/miconda> - http://www.linkedin.com/in/miconda
> Kamailio World Conference, Berlin, May 18-20, 2016 - http://www.kamailioworld.com
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
> list
> sr-users at lists.sip-router.org <mailto:sr-users at lists.sip-router.org>
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
--
Daniel-Constantin Mierla
http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, Berlin, May 18-20, 2016 - http://www.kamailioworld.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160504/9399ce4b/attachment.html>
More information about the sr-users
mailing list