Re: [SR-Users] lcr gws
Thank you Thanks & Kind Regards, Logeshwaran G On Fri, Aug 25, 2017 at 9:48 PM, Juha Heinanenwrote: > Logeshwaran G writes: > > > *52* > > > > *Why these two numbers are 5 and 2 are displaying in the output? Did I > need > > to change something?* > > They are lengths of prefixes in the rules. Probably included for some > debugging needs. > > -- Juha > > ___ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] lcr gws
Logeshwaran G writes: > But the issue is not fixed for the below one: > > [root@zeodialer ~]# kamcmd lcr.dump_rules > { > lcr_id: 1 > rule_id: 1 > prefix: 91 > from_uri: > request_uri: > stopper: 1 > } > { > gw_index: 1 > priority: 1 > weight: 1 > } > { > lcr_id: 1 > rule_id: 4 > prefix: 00091 > from_uri: > request_uri: > stopper: 1 > } > { > gw_index: 1 > priority: 1 > weight: 1 > } > > > > *52**Why these two numbers are 5 and 2 are displaying in the output? What do you mean by 5 and 2? I don't see those in the above. -- Juha ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] lcr gws
Yes I gave the kamcmd lcr.reload command everytime . Issue is resolved once I have added the below modparam in cfg. modparam("lcr", "lcr_count", 10). But the issue is not fixed for the below one: [root@zeodialer ~]# kamcmd lcr.dump_rules { lcr_id: 1 rule_id: 1 prefix: 91 from_uri: request_uri: stopper: 1 } { gw_index: 1 priority: 1 weight: 1 } { lcr_id: 1 rule_id: 4 prefix: 00091 from_uri: request_uri: stopper: 1 } { gw_index: 1 priority: 1 weight: 1 } *52**Why these two numbers are 5 and 2 are displaying in the output? Did I need to change something?* Thanks & Kind Regards, Logeshwaran G On Fri, Aug 25, 2017 at 4:17 PM, Juha Heinanenwrote: > Logeshwaran G writes: > > > I am having two lcr gateways in lcr_gw table. > > Check if you called lcr.reload after adding the other gw to lcr_gw table. > > -- Juha > > ___ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] lcr gws
This is my lcr_gw table: MariaDB [kamailio]> select * from lcr_gw; +++--++--+--+++---+---++--+---+-++---+-++--+ | id | lcr_id | gw_name | ip_addr| hostname | port | params | uri_scheme | transport | strip | prefix | tag | flags | defunct | status | createdBy | createdDate | modifiedBy | modifiedDate | +++--++--+--+++---+---++--+---+-++---+-++--+ | 1 | 1 | Carrier1 | 1.2.3.4 | NULL | 5060 | NULL | 1 | 1 | 0 | NULL | NULL | 1 |NULL | 1 | NULL | NULL| NULL | NULL | | 3 | 2 | Carrier2 | 4.3.2.1 | NULL | 5060 | NULL | 1 | 1 | 0 | NULL | NULL | 1 |NULL | 0 | NULL | NULL| NULL | NULL | +++--++--+--+++---+---++--+---+-++---+-++--+ Thanks & Kind Regards, Logeshwaran G On Fri, Aug 25, 2017 at 3:37 PM, Logeshwaran Gwrote: > Also I am not sure about the below output as well: > > [root@zeodialer ~]# kamcmd lcr.dump_rules > { > lcr_id: 1 > rule_id: 1 > prefix: 91 > from_uri: > request_uri: > stopper: 1 > } > { > gw_index: 1 > priority: 1 > weight: 1 > } > { > lcr_id: 1 > rule_id: 4 > prefix: 00091 > from_uri: > request_uri: > stopper: 1 > } > { > gw_index: 1 > priority: 1 > weight: 1 > } > > > > *52* > > *Why these two numbers are 5 and 2 are displaying in the output? Did I > need to change something?* > > Thanks & Kind Regards, > Logeshwaran G > > On Fri, Aug 25, 2017 at 3:30 PM, Logeshwaran G > wrote: > >> Hi, >> >> I am having two lcr gateways in lcr_gw table. >> >> But When executing the "kamcmd lcr.dump_gws", Its showing only one >> gateway list: >> >> [root@zeodialer ~]# kamcmd lcr.dump_gws >> { >> lcr_id: 1 >> gw_id: 1 >> gw_index: 1 >> gw_name: Carrier1 >> scheme: sip: >> ip_addr: 104.251.178.29 >> hostname: >> port: 5060 >> params: >> transport: ;transport=udp >> strip: 0 >> prefix: >> tag: >> flags: 1 >> state: 0 >> defunct_until: 0 >> } >> >> Did I missing something? >> >> Thanks & Kind Regards, >> Logeshwaran G >> > > ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Re: [SR-Users] lcr gws
Also I am not sure about the below output as well: [root@zeodialer ~]# kamcmd lcr.dump_rules { lcr_id: 1 rule_id: 1 prefix: 91 from_uri: request_uri: stopper: 1 } { gw_index: 1 priority: 1 weight: 1 } { lcr_id: 1 rule_id: 4 prefix: 00091 from_uri: request_uri: stopper: 1 } { gw_index: 1 priority: 1 weight: 1 } *52* *Why these two numbers are 5 and 2 are displaying in the output? Did I need to change something?* Thanks & Kind Regards, Logeshwaran G On Fri, Aug 25, 2017 at 3:30 PM, Logeshwaran Gwrote: > Hi, > > I am having two lcr gateways in lcr_gw table. > > But When executing the "kamcmd lcr.dump_gws", Its showing only one gateway > list: > > [root@zeodialer ~]# kamcmd lcr.dump_gws > { > lcr_id: 1 > gw_id: 1 > gw_index: 1 > gw_name: Carrier1 > scheme: sip: > ip_addr: 104.251.178.29 > hostname: > port: 5060 > params: > transport: ;transport=udp > strip: 0 > prefix: > tag: > flags: 1 > state: 0 > defunct_until: 0 > } > > Did I missing something? > > Thanks & Kind Regards, > Logeshwaran G > ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
[SR-Users] lcr gws
Hi, I am having two lcr gateways in lcr_gw table. But When executing the "kamcmd lcr.dump_gws", Its showing only one gateway list: [root@zeodialer ~]# kamcmd lcr.dump_gws { lcr_id: 1 gw_id: 1 gw_index: 1 gw_name: Carrier1 scheme: sip: ip_addr: 104.251.178.29 hostname: port: 5060 params: transport: ;transport=udp strip: 0 prefix: tag: flags: 1 state: 0 defunct_until: 0 } Did I missing something? Thanks & Kind Regards, Logeshwaran G ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users