<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
You need to add path with received on the websocket server between
browser and register. Also, on the websocket server you need to do
processing as for nat traversal.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 18/09/14 23:04, Bruno Emer wrote:<br>
</div>
<blockquote
cite="mid:CANSN5OXTjC2hw9ns=osQBx6f2DhYZTqORa0EvHKXET8yGQjAgQ@mail.gmail.com"
type="cite">
<div dir="ltr">Ok, Daniel!
<div><br>
</div>
<div>I am trying exactly what you said, but for some reason the
proxy server can't forward the message back to the WebSocket
server. I am getting "487 Unresolvable destination". Appears
that my Proxy Server can't get data from usrloc.</div>
<div><br>
</div>
<div>When I register an user using WebRTC I can see that the
system stores the information in kamailio database and in the
field "contact" it puts a string. The Proxy server is looking
in database and just find this information. Actually, I'm
trying to understand the entire process that envolves passing
information from an Edge Server to a Proxy server that sends
the Register information to another Registrar server (as I
described before). The database is shared between all the
servers, and they are in the same network. </div>
<div><br>
</div>
<div>I just read the information in another topic, as you said,
but I think that my case is a lil bit different from it. I you
agree, I can post my configuration files here. Maybe this can
help another users with the same problem!</div>
<div><br>
</div>
<div>Thanks again!!!</div>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div dir="ltr">
<div><span style="background-color:rgb(255,255,255)"><font
color="#000000"><strong style="font-family:Arial"><u><br>
</u></strong></font></span></div>
<div><span style="background-color:rgb(255,255,255)"><font
color="#000000"><strong style="font-family:Arial"><u><br>
</u></strong></font></span></div>
<div><span style="background-color:rgb(255,255,255)"><font
color="#000000"><strong style="font-family:Arial"><u>Bruno
Emer</u></strong></font></span></div>
<div><font style="font-size:small;font-family:sans-serif"
color="#00a1e6"><br>
</font></div>
<div>Mobile: +55 11 96540-0044 </div>
<div>email: <a moz-do-not-send="true"
href="mailto:brunoemer@gmail.com" target="_blank">brunoemer@gmail.com</a></div>
<div><span
style="color:rgb(0,0,0);font-family:Helvetica,Arial,sans-serif"></span>
<div
style="color:rgb(0,0,0);font-family:Helvetica,Arial,sans-serif;margin-top:5px"><a
moz-do-not-send="true"
href="https://www.facebook.com/bruno.emer.5"
style="font-size:small;outline:none" target="_blank"><img
moz-do-not-send="true"
src="http://images.wisestamp.com/facebook.png"
style="border:none" width="16"></a><span
style="font-size:small"> </span><a
moz-do-not-send="true"
href="https://www.linkedin.com/profile/view?id=86461237&trk=spm_pic"
style="font-size:small;outline:none" target="_blank"><img
moz-do-not-send="true"
src="http://images.wisestamp.com/linkedin.png"
style="border:none" width="16"></a><span
style="font-size:small"> </span><a
moz-do-not-send="true"
href="https://twitter.com/brunoemer_"
style="font-size:small;outline:none" target="_blank"><img
moz-do-not-send="true"
src="http://images.wisestamp.com/twitter.png"
style="border:none" width="16"></a><span
style="font-size:small"> </span><a
moz-do-not-send="true"
href="https://www.flickr.com/photos/122070309@N03/"
style="font-size:small;outline:none" target="_blank"><img
moz-do-not-send="true"
src="http://images.wisestamp.com/flickr.png"
style="border:none" width="16"></a><span
style="font-size:small"> </span><a
moz-do-not-send="true"
href="http://google.com/+BrunoEmer"
style="font-size:small;outline:none" target="_blank"><img
moz-do-not-send="true"
src="http://images.wisestamp.com/googleplus.png"
style="border:none" width="16"></a><span
style="font-size:small"> </span><a
moz-do-not-send="true"
href="http://instagram.com/brunoemer_"
style="font-size:small;outline:none" target="_blank"><img
moz-do-not-send="true"
src="http://images.wisestamp.com/instagram.png"
style="border:none" width="16"></a></div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">2014-09-17 9:13 GMT-03:00 Bruno Emer <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:brunoemer@gmail.com" target="_blank">brunoemer@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<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 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. 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>
<div dir="ltr">
<div><span style="background-color:rgb(255,255,255)"><font
color="#000000"><strong
style="font-family:Arial"><u><br>
</u></strong></font></span></div>
<div><span style="background-color:rgb(255,255,255)"><font
color="#000000"><strong
style="font-family:Arial"><u><br>
</u></strong></font></span></div>
<div><span style="background-color:rgb(255,255,255)"><font
color="#000000"><strong
style="font-family:Arial"><u>Bruno Emer</u></strong></font></span></div>
<div><font
style="font-size:small;font-family:sans-serif"
color="#00a1e6"><br>
</font></div>
<div>Mobile: <a moz-do-not-send="true"
href="tel:%2B55%2011%2096540-0044"
value="+5511965400044" target="_blank">+55 11
96540-0044</a> </div>
<div>email: <a moz-do-not-send="true"
href="mailto:brunoemer@gmail.com" target="_blank">brunoemer@gmail.com</a></div>
<div><span
style="color:rgb(0,0,0);font-family:Helvetica,Arial,sans-serif"></span>
<div
style="color:rgb(0,0,0);font-family:Helvetica,Arial,sans-serif;margin-top:5px"><a
moz-do-not-send="true"
href="https://www.facebook.com/bruno.emer.5"
style="font-size:small;outline:none"
target="_blank"><img moz-do-not-send="true"
src="http://images.wisestamp.com/facebook.png"
style="border:none" width="16"></a><span
style="font-size:small"> </span><a
moz-do-not-send="true"
href="https://www.linkedin.com/profile/view?id=86461237&trk=spm_pic"
style="font-size:small;outline:none"
target="_blank"><img moz-do-not-send="true"
src="http://images.wisestamp.com/linkedin.png"
style="border:none" width="16"></a><span
style="font-size:small"> </span><a
moz-do-not-send="true"
href="https://twitter.com/brunoemer_"
style="font-size:small;outline:none"
target="_blank"><img moz-do-not-send="true"
src="http://images.wisestamp.com/twitter.png"
style="border:none" width="16"></a><span
style="font-size:small"> </span><a
moz-do-not-send="true"
href="https://www.flickr.com/photos/122070309@N03/"
style="font-size:small;outline:none"
target="_blank"><img moz-do-not-send="true"
src="http://images.wisestamp.com/flickr.png"
style="border:none" width="16"></a><span
style="font-size:small"> </span><a
moz-do-not-send="true"
href="http://google.com/+BrunoEmer"
style="font-size:small;outline:none"
target="_blank"><img moz-do-not-send="true"
src="http://images.wisestamp.com/googleplus.png"
style="border:none" width="16"></a><span
style="font-size:small"> </span><a
moz-do-not-send="true"
href="http://instagram.com/brunoemer_"
style="font-size:small;outline:none"
target="_blank"><img moz-do-not-send="true"
src="http://images.wisestamp.com/instagram.png"
style="border:none" width="16"></a></div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</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>