On 1/26/10 10:38 AM, Denis Putyato wrote:

Daniel thank you. Now it’s working


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).

Cheers,
Daniel

š

From: Daniel-Constantin Mierla [mailto:miconda@gmail.com]
Sent: Tuesday, January 26, 2010 12:31 PM
To: Denis Putyato
Cc: users@lists.kamailio.org
Subject: Re: [Kamailio-Users] LCR module in Kamailio 3.0

š

Hello,

On 1/26/10 7:33 AM, Denis Putyato wrote:

Hello everybody!

š

I have a such problem with LCR module

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.

All other gateways, with lcr_id > 1, šnot loaded into memory, so I cannot use them.

(After lcr reload I do lcr dump and only gateways whis lcr_id = 1 can be seen)

š

Thank you for any help.

š

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. ššš

š

Kamailio 3.0 was installed from GIT.

maybe is related to lcr_count parameter:

http://kamailio.org/docs/modules/3.0.x/modules/lcr.html#id2495949

AFAIK, there were some changes in lcr by adding instances, which are hold in lcr_id (gws to same instance have same id).

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
* http://www.asipto.com/

-- 
Daniel-Constantin Mierla
* http://www.asipto.com/