<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=KOI8-R" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<br>
On 1/26/10 10:38 AM, Denis Putyato wrote:
<blockquote cite="mid:004301ca9e6b$579f56f0$06de04d0$@ru" type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=KOI8-R">
<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";
color:black;}
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;}
pre
{mso-style-priority:99;
mso-style-link:"Стандартный HTML Знак";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.HTML
{mso-style-name:"Стандартный HTML Знак";
mso-style-priority:99;
mso-style-link:"Стандартный HTML";
font-family:Consolas;
color:black;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Courier New";
color:#1F497D;
font-weight:normal;
font-style:normal;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page Section1
{size:612.0pt 792.0pt;
margin:2.0cm 42.5pt 2.0cm 3.0cm;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="Section1">
<p class="MsoNormal"><span
style="font-family: "Courier New"; color: rgb(31, 73, 125);"
lang="EN-US">Daniel thank you. Now it’s working</span></p>
</div>
</blockquote>
<br>
welcome! Be sure you understand the idea behind the instances. Not
being a user of lcr don't know exactly the internal architecture, so as
I understood from discussions on mailing lists, you can have more lcr
instance on same kamailio grouped under same value of lcr_id (many gws
and lcr rules with same lcr_id).<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<blockquote cite="mid:004301ca9e6b$579f56f0$06de04d0$@ru" type="cite">
<div class="Section1">
<p class="MsoNormal"><span
style="font-family: "Courier New"; color: rgb(31, 73, 125);"
lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-family: "Courier New"; color: rgb(31, 73, 125);"
lang="EN-US"><o:p> </o:p></span></p>
<div>
<div
style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">
<p class="MsoNormal"><b><span
style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">From:</span></b><span
style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">
Daniel-Constantin Mierla
[<a class="moz-txt-link-freetext" href="mailto:miconda@gmail.com">mailto:miconda@gmail.com</a>] <br>
<b>Sent:</b> Tuesday, January 26, 2010 12:31 PM<br>
<b>To:</b> Denis Putyato<br>
<b>Cc:</b> <a class="moz-txt-link-abbreviated" href="mailto:users@lists.kamailio.org">users@lists.kamailio.org</a><br>
<b>Subject:</b> Re: [Kamailio-Users] LCR module in Kamailio 3.0<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hello,<br>
<br>
On 1/26/10 7:33 AM, Denis Putyato wrote: <o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Hello everybody!</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">I have a such problem with
LCR module </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">When I add a new gw in gw
table via kamctl
addgw or direct via mysql command, never mind, after doing lcr reload,
in
memory loaded only gw with lcr_id = 1.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">All other gateways, with
lcr_id > 1,
not loaded into memory, so I cannot use them.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">(After lcr reload I do lcr
dump and only
gateways whis lcr_id = 1 can be seen)</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Thank you for any help.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">P.S. lcr table, where lcr_id
is present
too, is empty. It does not need for processing in my kamailio. Only gw
table is
used. </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">Kamailio 3.0 was installed
from GIT.</span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size: 12pt; font-family: "Times New Roman","serif";">maybe
is related to lcr_count parameter:<br>
<br>
<a moz-do-not-send="true"
href="http://kamailio.org/docs/modules/3.0.x/modules/lcr.html#id2495949">http://kamailio.org/docs/modules/3.0.x/modules/lcr.html#id2495949</a><br>
<br>
AFAIK, there were some changes in lcr by adding instances, which are
hold in
lcr_id (gws to same instance have same id).<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<o:p></o:p></span></p>
<pre>-- <o:p></o:p></pre>
<pre>Daniel-Constantin Mierla<o:p></o:p></pre>
<pre>* <a moz-do-not-send="true" href="http://www.asipto.com/">http://www.asipto.com/</a><o:p></o:p></pre>
</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>
</pre>
</body>
</html>