<div dir="ltr"><div>Yes, I agree. It is just an experimental setup to see capabilities of Raspberry PI as personal web sockets server (running kamailio) over LAN within a house for audio/video calls, media sharing etc. etc. (kind of replacement for DLNA). For that part it works great. <br>

<br>I was just thinking (at 0230 am in the morning here, hehe) of extending these services to connect to outside world e.g. to a group of friends houses (no commercial use), each house has its own server and can connect to a predefined list of servers for interaction.<br>

<br></div>Thank you.<br><div><br><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Feb 3, 2014 at 2:31 AM, Alex Balashov <span dir="ltr"><<a href="mailto:abalashov@evaristesys.com" target="_blank">abalashov@evaristesys.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 02/02/2014 08:29 PM, Muhammad Shahzad wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Yes, I can either move to static IP for router OR bind kamailio with<br>
ddclient, so that whenever ddclient reports an IP change i restart<br>
kamailio with new advertised_address. But these are out of the box<br>
solutions. I wonder if we have any "in-the-box" solution. :-)<br>
</blockquote>
<br></div>
Not that I know of. STUN and the like are client-side constructs, designed to be used by UACs, which Kamailio is not. A proxy does not endogenously originate messages (at least, formally), only receives and relays them, so the thinking is that other SIP elements should know how to reach the proxy, not that the proxy should be telling them how to reach it. Putting Kamailio behind consumer-grade DNAT inverts the envisaged client-server model.<div class="HOEnZb">

<div class="h5"><br>
<br>
-- <br>
Alex Balashov - Principal<br>
Evariste Systems LLC<br>
235 E Ponce de Leon Ave<br>
Suite 106<br>
Decatur, GA 30030<br>
United States<br>
Tel: +1-678-954-0670<br>
Web: <a href="http://www.evaristesys.com/" target="_blank">http://www.evaristesys.com/</a>, <a href="http://www.alexbalashov.com/" target="_blank">http://www.alexbalashov.com/</a><br>
<br>
______________________________<u></u>_________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">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/<u></u>cgi-bin/mailman/listinfo/sr-<u></u>users</a><br>
</div></div></blockquote></div><br></div>