<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hello,<br>
</p>
<br>
<div class="moz-cite-prefix">On 24/05/16 10:09, Loic Chabert wrote:<br>
</div>
<blockquote
cite="mid:CADLP+M0UwoXcsqyBKmzpruNJa3fJfyhDL=wq_siLk9ZfonGFgw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div>Hello,<br>
<br>
</div>
I can't use load balancing feature because location of sip
user is defined.</div>
</div>
</div>
</div>
</blockquote>
but then how the DNS is returning the appropriate server? Or each
user has a different domain?<br>
<br>
<blockquote
cite="mid:CADLP+M0UwoXcsqyBKmzpruNJa3fJfyhDL=wq_siLk9ZfonGFgw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>One DID is routed to one server. One to one
relationship.</div>
</div>
</div>
</div>
</blockquote>
The probably you can use mtree to associate dids with ip addresses
(or dispatcher set ids).<br>
<br>
<blockquote
cite="mid:CADLP+M0UwoXcsqyBKmzpruNJa3fJfyhDL=wq_siLk9ZfonGFgw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div> So if loadblancer send phone call on one server, but
user is not registred on this one, call is hangup/lost.<br>
</div>
<br>
</div>
I will use LCR for outgoing call. LCR will "help" CBx to find
best carrier following rules defined by administrators. LCR
can probe gateways ? I have set ping_interval etc but ping is
not sent by kamailio.<br>
</div>
</div>
</blockquote>
<br>
I don't know if lcr can ping gateways. I know dispatcher does it.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<blockquote
cite="mid:CADLP+M0UwoXcsqyBKmzpruNJa3fJfyhDL=wq_siLk9ZfonGFgw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div><br>
</div>
Regards.<code></code><br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2016-05-23 14:36 GMT+02:00
Daniel-Constantin Mierla <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:miconda@gmail.com"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:miconda@gmail.com">miconda@gmail.com</a></a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<p>Hello,</p>
<p>dns naptr is ok for locating servers as long as you
control the local infrastructure and make sure dns
changes propagation is done right.</p>
<p>An alternative would be using dispatcher module as a
load balancer. It has a lot of features for this use
case, different distribution algorithms as well as
probing the servers (CBx) to see which one is available.</p>
<p>If the perfomrance is the concern, keeping most of the
processing inside the kamailio is a good choice.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<div>
<div class="h5"> <br>
<div>On 23/05/16 10:27, Loic Chabert wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div class="h5">
<div dir="ltr">
<div>
<div>
<div>Hello Kamailio users,<br>
<br>
</div>
I'm working on a sip infrastructure, with
opensource technologies, and of course
Kamailio will run on my new infrastructure :)<br>
<br>
</div>
Kamailio will be my central routing engine,
between SBC (running on asterisk), and somes
boxes (asterisk too) where customers will be
registred. Please find below my future
infrastructure:<br>
<br>
<br>
----------
--------------
-------- ----------------</div>
<div>| SBC1 | - - - - - | - - - -| kamailio1 |- -
- - - | - - - - - | CB1 |-----------------|
SIPPHONE | </div>
<div>---------- |
-------------- |
-------- ----------------</div>
<div>
|
| <br>
</div>
<div>----------
|
| -------- <br>
</div>
<div>| SBC2 | - - - - -
| | - - - -
- | CB2 | <br>
----------
|
| --------<br>
|
-------------- |<br>
</div>
<div>
<div>---------- | - - - -| kamailio2
|- - - - -| -------- <br>
| SBCn |- - - - - |
-------------- | - - - - - | CBn |<br>
----------
|
| --------<br>
<br>
</div>
<div>Kamailio high availabality will be done
with loopback address and BGP in two
datacenters. SIP carriers will be connected to
SBC and customer to one CB.<br>
<br>
</div>
<div>I have made some tests with kamailio, and i
use LCR to route call from CB to SBC, using
wheigt and prorities to send call to carriers.<br>
</div>
<div>Then, when a call arrived from carriers, i
use DNS NATPER lookup to find the right CB
box.<br>
<br>
</div>
<div>CB HA is done using DNS SRV. So user is
registred at one location, and only one. No
location sharing beetwen boxes.<br>
<br>
</div>
<div>I have some question concerning my
architecture, and technologies used to routing
call.<br>
</div>
<div>Is LCR is the best option for routing call
between multiple carriers ? DNS NAPTER is a
modern solution to find an endpoint on this
architecture ? Existing a better way to route
call with kamailio, for exemple rt-json and
curl ?<br>
</div>
<div><br>
</div>
<div>
<div style="text-align:left">In my point of
view, kamailio should be a routing engine,
using internal technologies, to maximise
performances. Less work with kamailio and
external app, best performances in sip
routing. Is it the good vision ?<br>
</div>
<br>
</div>
<div>Thanks in advance.<br>
</div>
<div><br>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div>
</div>
<pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><span class="HOEnZb"><font color="#888888">
</font></span></pre>
<span class="HOEnZb"><font color="#888888"> </font></span></blockquote>
<span class="HOEnZb"><font color="#888888"> <br>
<pre cols="72">--
Daniel-Constantin Mierla
<a moz-do-not-send="true" href="http://www.asipto.com" target="_blank">http://www.asipto.com</a>
<a moz-do-not-send="true" href="http://twitter.com/#%21/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a>
Kamailio World Conference, Berlin, May 18-20, 2016 - <a moz-do-not-send="true" href="http://www.kamailioworld.com" target="_blank">http://www.kamailioworld.com</a></pre>
</font></span></div>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
mailing list<br>
<a moz-do-not-send="true"
href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a moz-do-not-send="true"
href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a> - <a class="moz-txt-link-freetext" href="http://www.kamailio.org">http://www.kamailio.org</a>
<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></pre>
</body>
</html>