<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hello Pintu</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
1 million TLS user? Have u ever test with tester on Kamailio ?Because I remembered in sr-mails that an user tested on 1000 client on TLS transport , it consumes so much CPU etc . I guess 1 milliyonTLSUser make big impact your system for all registration/call.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I tested option-2 for relaying registers about 1-2 years ago for proof of concept. It works fine.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
you can replicate user location data by Dmq_usrloc module and can use path header then build a triangle topology to bridge calls. </div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Or</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
You can build a Location Information service to find which kamailio has UAC <span style="font-family: Calibri, Helvetica, sans-serif; background-color: rgb(255, 255, 255); display: inline !important">
data </span>.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span id="" title="Search for suggestions" class="">Best Regards.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Yasin CANER</div>
<div>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Pintu Lohar <pintulohargcetts@gmail.com><br>
<b>Sent:</b> Wednesday, February 27, 2019 12:27 PM<br>
<b>To:</b> YASIN CANER<br>
<b>Cc:</b> Kamailio (SER) - Users Mailing List<br>
<b>Subject:</b> Re: [SR-Users] Kamailio behind NAT or With Public IP - Which one is highly recommended</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div dir="ltr">Hi Yasin, <br>
Thanks indeed for your valuable input for the active-active cluster(Option-1) & Option-2<br>
<br>
<div>We definitely would like to try setting up an active-active cluster for the next phase if not in current phase.</div>
<div>But In order to use Kamailio in the active-active cluster, I think we need to forward or replicate registration to both the active-active server?</div>
<div>in order to proxy the invite packet through the server where the UA is registered? <br>
<br>
</div>
<div>We use the following use cases : </div>
<div>1. We use FCM and APNS push to wake up the app.<br>
2. Multi forking / Late forking cases are also involved.<br>
3. Using Kamailio as a stateful proxy.</div>
<div><br>
Thanks & Regards </div>
<div>Pintu </div>
</div>
<br>
<div class="x_gmail_quote">
<div dir="ltr" class="x_gmail_attr">On Wed, Feb 27, 2019 at 3:10 PM YASIN CANER <<a href="mailto:caner_yaso@hotmail.com">caner_yaso@hotmail.com</a>> wrote:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Hello,</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
My suggestion is that stay away from NAT if you dont have to. various sip client/Firewalls make out troubles for registration and invites, even if Kamailio can handle it. If you have a high load TLS connection / subscriber , I think you should use load balancer
and NAT options.</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
For example;</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
1 - Load balancer like F5 that balancing your connection active-active Kamailios </div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
UAC ----> F5 ------> Kamailio -1 (<span style="font-family:Calibri,Helvetica,sans-serif; background-color:rgb(255,255,255); display:inline">advertises<span> </span></span>public IP)</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
|</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
-------> <span style="font-family:Calibri,Helvetica,sans-serif; background-color:rgb(255,255,255); display:inline">Kamailio -2 (advertises public IP)</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="font-family:Calibri,Helvetica,sans-serif; background-color:rgb(255,255,255); display:inline"><br>
</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="font-family:Calibri,Helvetica,sans-serif; background-color:rgb(255,255,255); display:inline">2- Use kamailio as MultiHomed that convert transport layer to tcp/udp</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="font-family:Calibri,Helvetica,sans-serif; background-color:rgb(255,255,255); display:inline"><br>
</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="font-family:Calibri,Helvetica,sans-serif; background-color:rgb(255,255,255); display:inline">UAC ---------> Kamailio(TLS-PUBLIC IP-mhomed) -------> Kamailio-1(TCP/UDP)</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="font-family:Calibri,Helvetica,sans-serif; background-color:rgb(255,255,255); display:inline"> |</span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="font-family:Calibri,Helvetica,sans-serif; background-color:rgb(255,255,255); display:inline"> ---------> <span style="font-family:Calibri,Helvetica,sans-serif; background-color:rgb(255,255,255); display:inline">Kamailio-2(TCP/UDP)</span></span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="font-family:Calibri,Helvetica,sans-serif; background-color:rgb(255,255,255); display:inline"><span style="font-family:Calibri,Helvetica,sans-serif; background-color:rgb(255,255,255); display:inline"><br>
</span></span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="font-family:Calibri,Helvetica,sans-serif; background-color:rgb(255,255,255); display:inline"><span style="font-family:Calibri,Helvetica,sans-serif; background-color:rgb(255,255,255); display:inline"><br>
</span></span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="font-family:Calibri,Helvetica,sans-serif; background-color:rgb(255,255,255); display:inline"><span style="font-family:Calibri,Helvetica,sans-serif; background-color:rgb(255,255,255); display:inline">Good luck</span></span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="font-family:Calibri,Helvetica,sans-serif; background-color:rgb(255,255,255); display:inline"><span style="font-family:Calibri,Helvetica,sans-serif; background-color:rgb(255,255,255); display:inline"><br>
</span></span></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Yasin CANER</div>
<div>
<div id="x_gmail-m_-8656783917937539143appendonsend"></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr style="display:inline-block; width:98%">
<div id="x_gmail-m_-8656783917937539143divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> sr-users <<a href="mailto:sr-users-bounces@lists.kamailio.org" target="_blank">sr-users-bounces@lists.kamailio.org</a>>
on behalf of Pintu Lohar <<a href="mailto:pintulohargcetts@gmail.com" target="_blank">pintulohargcetts@gmail.com</a>><br>
<b>Sent:</b> Tuesday, February 26, 2019 8:09 AM<br>
<b>To:</b> <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<b>Subject:</b> [SR-Users] Kamailio behind NAT or With Public IP - Which one is highly recommended</font>
<div> </div>
</div>
<div>
<div dir="ltr">Hi Everyone, <br>
<br>
Which one among the below option is highly recommended for setting up Kamailio (for production)<br>
1. Kamailio behind NAT <b>or</b> <br>
2. Setting up Kamailio using public IP?<br>
<br>
are there any disadvantages if we setup Kamailio behind NAT and use advertise option in listen parameters?<br>
<br>
We have tested both the options, and both the options work great for us( a. Kamailio behind NAT with advertising in listen parameters b.Kamailio setup with public IP). So wondering which one is best and highly recommended? <br>
<br>
Some extra info :<br>
1. We use TLS
<div>2. Using coturn for media <br>
<div> <br>
Thanks</div>
<div>Pintu </div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</span>
</body>
</html>