<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hello,</p>
<p>can you do some tests with send_data() function from corex
module?<br>
</p>
<p><a class="moz-txt-link-freetext" href="https://www.kamailio.org/docs/modules/stable/modules/corex.html#idp133544">https://www.kamailio.org/docs/modules/stable/modules/corex.html#idp133544</a></p>
<p>Might be helpful in the direction you want to go.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<div class="moz-cite-prefix">On 04/05/16 12:11, Yuriy Gorlichenko
wrote:<br>
</div>
<blockquote
cite="mid:CABSP_VewgJYg0tnnwh1dVzEs7BpHvJOEUhfpnTa6i_RX9nKjhg@mail.gmail.com"
type="cite">
<div dir="ltr">Hi. websockets module has only handshake and close
functions for now.<br>
Im asking the way about send function form server but not SIP
messagesĀ for handling it by callback at the client<br>
<br>
for example i a some client who was connected to kamailio and
want receive messages from websocket and handle it.<br>
<br>
for all events that sends through websocket at kamailio are SIP
signallig staff and it created by core as i see.<br>
<br>
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.<br>
<br>
More closr example<br>
Im a some manager and what to connect to Some web app and see
active calls that was made at this web app.<br>
So i as developer set at the kamailio configĀ <br>
<br>
send_from_ws("eventname:data")<br>
<br>
so for some call positions i set it and send it into subscribed
clients.<br>
<br>
THen at the client side i will handle it.<br>
<br>
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<br>
<br>
<br>
<br>
<br>
<br>
<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2016-05-04 9:48 GMT+03:00
Daniel-Constantin Mierla <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:miconda@gmail.com"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:miconda@gmail.com">miconda@gmail.com</a></a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<p>Hello,</p>
<p>what do you mean by websocket events? Can you give a
more specific example of what you want to do?</p>
<p>Cheers,<br>
Daniel<br>
</p>
<span class=""> <br>
<div>On 02/05/16 14:51, Yuriy Gorlichenko wrote:<br>
</div>
</span>
<blockquote type="cite"><span class="">
<div dir="ltr">Hi is there is a valy to send websocket
events (not only SIP) on remote subscribed client
from config file?<br>
<br>
I just want make shure that i need to use redis for
this staff insead of native websocket events</div>
<br>
<fieldset></fieldset>
<br>
</span>
<pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><span class="HOEnZb"><font color="#888888">
</font></span></pre>
<span class="HOEnZb"><font color="#888888"> </font></span></blockquote>
<span class="HOEnZb"><font color="#888888"> <br>
<pre cols="72">--
Daniel-Constantin Mierla
<a moz-do-not-send="true" href="http://www.asipto.com" target="_blank">http://www.asipto.com</a>
<a moz-do-not-send="true" href="http://twitter.com/#%21/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a>
Kamailio World Conference, Berlin, May 18-20, 2016 - <a moz-do-not-send="true" href="http://www.kamailioworld.com" target="_blank">http://www.kamailioworld.com</a></pre>
</font></span></div>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
mailing list<br>
<a moz-do-not-send="true"
href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a moz-do-not-send="true"
href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio World Conference, Berlin, May 18-20, 2016 - <a class="moz-txt-link-freetext" href="http://www.kamailioworld.com">http://www.kamailioworld.com</a></pre>
</body>
</html>