[Kamailio-Users] LCR module in Kamailio 3.0

Daniel-Constantin Mierla miconda at gmail.com
Wed Jan 27 11:15:50 CET 2010


For reference:
http://kamailio.org/dokuwiki/doku.php/install:1.5.x-to-3.0.0

It helps to upgrade to 3.0.0, feel free to add to the page.

In this particular case, kex initializes mi engine ad registers core 
commands.

Still don't see the dr_reload, probably the command is not registered by 
module's mod init. I will check.

Cheers,
Daniel

On 1/27/10 6:43 AM, Denis Putyato wrote:
>
> After load kex:
>
> root at ubuntutest:/kamailio# kamctl fifo which
>
> shv_get
>
> shv_set
>
> sip_trace
>
> dp_reload
>
> dp_translate
>
> lcr_reload
>
> lcr_gw_dump
>
> lcr_lcr_dump
>
> cr_reload_routes
>
> cr_dump_routes
>
> cr_replace_host
>
> cr_deactivate_host
>
> cr_activate_host
>
> cr_add_host
>
> cr_delete_host
>
> uptime
>
> version
>
> pwd
>
> arg
>
> which
>
> kill
>
> ps
>
> debug
>
> get_statistics
>
> reset_statistics
>
> *From:* Daniel-Constantin Mierla [mailto:miconda at gmail.com]
> *Sent:* Tuesday, January 26, 2010 9:00 PM
> *To:* Denis Putyato
> *Cc:* users at lists.kamailio.org
> *Subject:* Re: [Kamailio-Users] LCR module in Kamailio 3.0
>
>
>
> On 1/26/10 1:01 PM, Denis Putyato wrote:
>
> root at ubuntutest:/kamailio# kamctl fifo which
>
> 500 command 'which' not available
>
>
> do you have the kex module loaded?
>
> Any fifo command that works for you?
>
> Cheers,
> Daniel
>
>
> root at ubuntutest:/kamailio#
>
> *From:* Daniel-Constantin Mierla [mailto:miconda at gmail.com]
> *Sent:* Tuesday, January 26, 2010 2:55 PM
> *To:* Denis Putyato
> *Cc:* users at lists.kamailio.org <mailto:users at lists.kamailio.org>
> *Subject:* Re: [Kamailio-Users] LCR module in Kamailio 3.0
>
>
>
> On 1/26/10 12:35 PM, Denis Putyato wrote:
>
> I do not use lcr routing in config (only gw table is used).
>
> ok
>
>
>
> Not in kamailio 1.5 nor 3.0. I use carrierroute (in 1.5) and now 
> drouting (in 3.0).
>
> By the way. Recently you helped me with drouting. Can I ask one more 
> question about this module?
>
> When I try to do "kamctl fifo dr_reload" I receive "500 command 
> 'dr_reload' not available".
>
>
> do:
>
> kamctl fifo which
>
> Should list available MI commands, is dr_reload there?
>
> Cheers,
> Daniel
>
>
>
> *From:* Daniel-Constantin Mierla [mailto:miconda at gmail.com]
> *Sent:* Tuesday, January 26, 2010 12:43 PM
> *To:* Denis Putyato
> *Cc:* users at lists.kamailio.org <mailto:users at lists.kamailio.org>
> *Subject:* Re: [Kamailio-Users] LCR module in Kamailio 3.0
>
>
>
> 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 at gmail.com]
> *Sent:* Tuesday, January 26, 2010 12:31 PM
> *To:* Denis Putyato
> *Cc:* users at lists.kamailio.org <mailto:users at 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/
>   
>   
> _______________________________________________
> Kamailio (OpenSER) - Users mailing list
> Users at lists.kamailio.org  <mailto:Users at lists.kamailio.org>
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
>
>
>
>
> -- 
> Daniel-Constantin Mierla
> *http://www.asipto.com/
>   
>   
> _______________________________________________
> Kamailio (OpenSER) - Users mailing list
> Users at lists.kamailio.org  <mailto:Users at lists.kamailio.org>
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
>
>
>
> -- 
> Daniel-Constantin Mierla
> *http://www.asipto.com/

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/users/attachments/20100127/0680a339/attachment-0001.htm>


More information about the Users mailing list