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
}
5
2

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 <logeshwarangs@gmail.com> 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