<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
<div class="moz-cite-prefix">On 18/09/14 17:12, Bruno Emer wrote:<br>
</div>
<blockquote
cite="mid:CANSN5OXJbKbCRgi73tVZ+Vv3sGh3d-LLM7KDv1CFe78tSAcL8Q@mail.gmail.com"
type="cite">
<div dir="ltr"><span
style="font-family:arial,sans-serif;font-size:13px">Hello!</span>
<div style="font-family:arial,sans-serif;font-size:13px"><br>
</div>
<div style="font-family:arial,sans-serif;font-size:13px">I am
relatively new to Kamailio and I'm trying to create a new
enviroment using it in my company. I am thinking about use
Amazon to host the servers and use OpsWorks to automatically
escalate then if necessary. To accomplish this, my idea is to
separate the servers, using one dedicated server to run as
WebSocket, one to run as proxy and one as a Registrar. I'll be
using just one database to store informations to all of my
servers. With this, if I need more resources later, I can just
create new servers with the specific roles (WebSockets, Proxy,
Registrar).</div>
</div>
</blockquote>
you must have in mind that you need to route between these servers
as well or share the data between them. However, sometime sharing
registrar data is not going to work if you have devices behind
symmetric nat. In the same situation, the proxy has to stay behind
the registrar, so it might be better not to split them, but keep one
instance. Or, add an edge proxy in front of registrar and proxy.
That is because of very restrictive rules with symmetric nat, where
the node on public internet can communicate with the node behind nat
only if it has received a packet from it.<br>
<blockquote
cite="mid:CANSN5OXJbKbCRgi73tVZ+Vv3sGh3d-LLM7KDv1CFe78tSAcL8Q@mail.gmail.com"
type="cite">
<div dir="ltr">
<div style="font-family:arial,sans-serif;font-size:13px"><br>
</div>
<div style="font-family:arial,sans-serif;font-size:13px">By now,
the idea is clear, but the point is that I don't know how to
separate the WebSockets server from the proxy server.
Actually, I can do this, but when I have one agent using a
regular softphone and one agent using WebSockets (with JSSIP)
they are not able to establish a session if the softphone user
starts it. </div>
</div>
</blockquote>
This seems to be a problem in your config, this case should be easy
to handle.<br>
<br>
A bit more complex will be when the calls comes from webrtc and you
don't know if it is going to return back to webrtc. See the recent
discussion on this mailing list with the subject
"NO_DTLS_FINGERPRINT when calling from webrtc to webrtc client".<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<br>
<blockquote
cite="mid:CANSN5OXJbKbCRgi73tVZ+Vv3sGh3d-LLM7KDv1CFe78tSAcL8Q@mail.gmail.com"
type="cite">
<div dir="ltr">
<div style="font-family:arial,sans-serif;font-size:13px">Now, I
want to know if is there a way to use two websockets servers,
register users using both of then and start sessions between
then, with a separated proxy and registrar.</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br>
</div>
<div style="font-family:arial,sans-serif;font-size:13px">Has
anyone done this before? Is possible to use kamailio like
this?</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br>
</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br>
</div>
<div style="font-family:arial,sans-serif;font-size:13px">Thanks.</div>
<div><br>
</div>
<div>Bruno Emer</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<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>
Next Kamailio Advanced Trainings 2014 - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
Sep 22-25, Berlin, Germany</pre>
</body>
</html>