<div dir="ltr">The main thing you need to look out for is that your registrar supports the Path and Outbound specifications in order to correctly route INVITEs to your WebSocket clients via the edge proxy. I'm in a situation right now where I'm having some difficulty getting a Kamailio WebSocket edge proxy playing nice with an Asterisk 1.4 registrar, which doesn't support those specs. If anyone has any tips, I'd love to hear them.</div><div class="gmail_extra"><br><div class="gmail_quote">On 27 November 2014 at 10:45, Camille Oudot <span dir="ltr"><<a href="mailto:camille.oudot@orange.com" target="_blank">camille.oudot@orange.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<span class=""><br>
> a) Can kamailio be used as sip-proxy while using WebRTC based UA<br>
> calling to plain UAC/WebRTC based UAC ?<br>
<br>
</span>Yes, kamailio can do SIP over websocket, so all you need is a<br>
javascript SIP stack (e.g. JsSIP, jain-sip JS, ...) on your WebRTC<br>
enabled client.<br>
<span class=""><br>
> b) What to use for media proxying (this really baffles me..) rtpproxy<br>
> or rtpengine (?) or mediaproxy or rtpproxy-ng ? Is there any relation<br>
> between them anywhere?<br>
<br>
</span>you will need to be able to translate WebRTC RTP (RTP/SAVPF) to other<br>
RTP profiles like RTP/AVP. Only rtpengine can do this (note that<br>
mediaproxy-ng is the old name for rtpengine).<br>
<span class=""><br>
> c) I am not behind NAT and do not want secure web-sockets, so any<br>
> sample config I can refer to ?<br>
<br>
</span>If you familiar with kamailio cfg scripting you can try to start<br>
something from scratch (building a simple proxy is quite<br>
straightforward). Otherwise i don't know any example file that does all<br>
you need.<br>
<br>
See examples/websocket.cfg for websocket handling. You can disable the<br>
registrar and the NAT stuff in it if you don't need them.<br>
<br>
Cheers,<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Camille<br>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a 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><br>
</font></span></blockquote></div><br></div>