<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<html><head><meta name="Generator" content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EstiloCorreo17
        {mso-style-type:personal;
        font-family:Consolas;
        color:windowtext;}
span.EstiloCorreo18
        {mso-style-type:personal-reply;
        font-family:Consolas;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body lang="ES-CL" link="blue" vlink="purple"><div class="WordSection1"><p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas;color:#1F497D">Nobody on this one?.</span></p><p class="MsoNormal">
<span style="font-size:10.0pt;font-family:Consolas;color:#1F497D"> </span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas;color:#1F497D">Ricardo.-</span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas;color:#1F497D"> </span></p>
<div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b><span lang="ES" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">De:</span></b><span lang="ES" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Ricardo Martinez [mailto:<a href="mailto:rmartinez@redvoiss.net">rmartinez@redvoiss.net</a>] <br>
<b>Enviado el:</b> miércoles, 02 de febrero de 2011 17:58<br><b>Para:</b> &#39;<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>&#39;<br><b>Asunto:</b> LCR module : same IP address for different prefix.</span></p>
</div></div><p class="MsoNormal"> </p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">Hello.</span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">We’re using the LCR module with version 3.1.1 of Kamailio.  We’re trying to add two gateways, with the same IP address, we have this configuration running in the previous version of Kamailio (v 1.5), without any problem, but in this version seems to have some issues.</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas"> </span></p><p class="MsoNormal" style="margin-bottom:12.0pt"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">This is what I’m trying to do :</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas">mysql&gt; select * from lcr_gw;</span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas">+----+--------+---------+---------------+----------+------+--------+------------+-----------+-------+------+-------+---------+</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas">| id | lcr_id | gw_name | ip_addr       | hostname | port | params | uri_scheme | transport | strip | tag  | flags | defunct |</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas">+----+--------+---------+---------------+----------+------+--------+------------+-----------+-------+------+-------+---------+</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas">|  1 |      1 | GW_1    | 10.0.0.209    | NULL     | 5060 | NULL   |          1 |         1 |     3 | 303  |     1 |    NULL |</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas">|  8 |      1 | GW_33   | 10.0.0.209    | NULL     | 5060 | NULL   |          1 |         1 |     3 | 4411 |     1 |    NULL |</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas">|  6 |      1 | GW_6    | 10.0.0.212    | NULL     | 5060 | NULL   |          1 |         1 |     5 | 308  |     1 |    NULL |</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas">+----+--------+---------+---------------+----------+------+--------+------------+-----------+-------+------+-------+---------+</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas"> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">And this is the output from the logs :</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas"> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">/usr/local/sbin/kamailio[2829]: ERROR: lcr [lcr_mod.c:818]: gw &lt;10.0.0.209, 5060, &gt; is not unique</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas"> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">What could be the problem?. Os simply the new LCR does not support have two gateways with the same IP address?</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas"> </span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas">Thanks,</span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas">Ricardo Martinez.-</span></p>
<p class="MsoNormal"> </p></div></body></html>