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.

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.

Thank you.




On Mon, Feb 3, 2014 at 2:31 AM, Alex Balashov <abalashov@evaristesys.com> wrote:
On 02/02/2014 08:29 PM, Muhammad Shahzad wrote:

Yes, I can either move to static IP for router OR bind kamailio with
ddclient, so that whenever ddclient reports an IP change i restart
kamailio with new advertised_address. But these are out of the box
solutions. I wonder if we have any "in-the-box" solution. :-)

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.


--
Alex Balashov - Principal
Evariste Systems LLC
235 E Ponce de Leon Ave
Suite 106
Decatur, GA 30030
United States
Tel: +1-678-954-0670
Web: http://www.evaristesys.com/, http://www.alexbalashov.com/

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users