<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<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.HTML
        {mso-style-name:"Стандартный HTML Знак";
        mso-style-priority:99;
        mso-style-link:"Стандартный HTML";
        font-family:Consolas;
        color:black;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Courier New";
        color:#1F497D;
        font-weight:normal;
        font-style:normal;}
span.EmailStyle21
        {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]-->
</head>

<body bgcolor=white lang=RU link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span lang=EN-US style='font-family:"Courier New";
color:#1F497D'>I do not use lcr routing in config (only gw table is used). Not
in kamailio 1.5 nor 3.0. I use carrierroute (in 1.5) and now drouting (in 3.0).
<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-family:"Courier New";
color:#1F497D'>By the way. Recently you helped me with drouting. Can I ask one
more question about this module?<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-family:"Courier New";
color:#1F497D'>When I try to do &#8220;kamctl fifo dr_reload&#8221; I receive &#8220;500
command 'dr_reload' not available&#8221;.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-family:"Courier New";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-family:"Courier New";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:windowtext'> Daniel-Constantin Mierla
[mailto:miconda@gmail.com] <br>
<b>Sent:</b> Tuesday, January 26, 2010 12:43 PM<br>
<b>To:</b> Denis Putyato<br>
<b>Cc:</b> users@lists.kamailio.org<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>&nbsp;</o:p></p>

<p class=MsoNormal><br>
<br>
On 1/26/10 10:38 AM, Denis Putyato wrote: <o:p></o:p></p>

<p class=MsoNormal><span lang=EN-US style='font-family:"Courier New";
color:#1F497D'>Daniel thank you. Now it&#8217;s working</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><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>
<br>
<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-family:"Courier New";
color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<div>

<div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0cm 0cm 0cm;
border-color:-moz-use-text-color -moz-use-text-color'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:windowtext'> Daniel-Constantin Mierla [<a
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 href="mailto:users@lists.kamailio.org">users@lists.kamailio.org</a><br>
<b>Subject:</b> Re: [Kamailio-Users] LCR module in Kamailio 3.0</span><o:p></o:p></p>

</div>

</div>

<p class=MsoNormal>&nbsp;<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>&nbsp;</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 &gt; 1,
&nbsp;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>&nbsp;</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>&nbsp;</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. &nbsp;&nbsp;&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal><span lang=EN-US>&nbsp;</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:12.0pt;font-family:"Times New Roman","serif"'>maybe
is related to lcr_count parameter:<br>
<br>
<a 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>
<br>
</span><o:p></o:p></p>

<pre>-- <o:p></o:p></pre><pre>Daniel-Constantin Mierla<o:p></o:p></pre><pre>* <a
href="http://www.asipto.com/">http://www.asipto.com/</a><o:p></o:p></pre>

<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><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
href="http://www.asipto.com/">http://www.asipto.com/</a><o:p></o:p></pre></div>

</body>

</html>