<div dir="ltr"><div>This is my lcr_gw table:<br><br>MariaDB [kamailio]> select * from lcr_gw;<br>+----+--------+----------+----------------+----------+------+--------+------------+-----------+-------+--------+------+-------+---------+--------+-----------+-------------+------------+--------------+<br>| id | lcr_id | gw_name | ip_addr       | hostname | port | params | uri_scheme | transport | strip | prefix | tag | flags | defunct | status | createdBy | createdDate | modifiedBy | modifiedDate |<br>+----+--------+----------+----------------+----------+------+--------+------------+-----------+-------+--------+------+-------+---------+--------+-----------+-------------+------------+--------------+<br>| 1 |     1 | Carrier1 | 1.2.3.4 | NULL    | 5060 | NULL  |         1 |        1 |    0 | NULL  | NULL |    1 |   NULL |     1 |     NULL | NULL       |      NULL | NULL        |<br>| 3 |     2 | Carrier2 | 4.3.2.1  | NULL    | 5060 | NULL  |         1 |        1 |    0 | NULL  | NULL |    1 |   NULL |     0 |     NULL | NULL       |      NULL | NULL        |<br>+----+--------+----------+----------------+----------+------+--------+------------+-----------+-------+--------+------+-------+---------+--------+-----------+-------------+------------+--------------+<br><br><br></div><br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Thanks & Kind Regards,<br></div>Logeshwaran G<br></div></div></div>
<br><div class="gmail_quote">On Fri, Aug 25, 2017 at 3:37 PM, Logeshwaran G <span dir="ltr"><<a href="mailto:logeshwarangs@gmail.com" target="_blank">logeshwarangs@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Also I am not sure about the below output as well:<br><br>[root@zeodialer ~]# kamcmd lcr.dump_rules<br>{<br>Â Â Â lcr_id: 1<br>Â Â Â rule_id: 1<br>Â Â Â prefix: 91<br>Â Â Â from_uri: <br>Â Â Â request_uri: <br>Â Â Â stopper: 1<br>}<br>{<br>Â Â Â gw_index: 1<br>Â Â Â priority: 1<br>Â Â Â weight: 1<br>}<br>{<br>Â Â Â lcr_id: 1<br>Â Â Â rule_id: 4<br>Â Â Â prefix: 00091<br>Â Â Â from_uri: <br>Â Â Â request_uri: <br>Â Â Â stopper: 1<br>}<br>{<br>Â Â Â gw_index: 1<br>Â Â Â priority: 1<br>Â Â Â weight: 1<br>}<br><b>5<br>2<br><br></b></div><b>Why these two numbers are 5 and 2 are displaying in the output? Did I need to change something?<br></b></div><div class="gmail_extra"><span class=""><br clear="all"><div><div class="m_5005516698515835400gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Thanks & Kind Regards,<br></div>Logeshwaran G<br></div></div></div>
<br></span><div><div class="h5"><div class="gmail_quote">On Fri, Aug 25, 2017 at 3:30 PM, Logeshwaran G <span dir="ltr"><<a href="mailto:logeshwarangs@gmail.com" target="_blank">logeshwarangs@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi,<br><br></div>I am having two lcr gateways in lcr_gw table.<br><br></div><div>But When executing the "kamcmd lcr.dump_gws", Its showing only one gateway list:<br><br>[root@zeodialer ~]# kamcmd lcr.dump_gws<br>{<br>Â Â Â lcr_id: 1<br>Â Â Â gw_id: 1<br>Â Â Â gw_index: 1<br>Â Â Â gw_name: Carrier1<br>Â Â Â scheme: sip:<br>Â Â Â ip_addr: 104.251.178.29<br>Â Â Â hostname: <br>Â Â Â port: 5060<br>Â Â Â params: <br>Â Â Â transport: ;transport=udp<br>Â Â Â strip: 0<br>Â Â Â prefix: <br>Â Â Â tag: <br>Â Â Â flags: 1<br>Â Â Â state: 0<br>Â Â Â defunct_until: 0<br>}<br><br></div><div>Did I missing something?<br></div><div><div><div><br clear="all"><div><div class="m_5005516698515835400m_2619773962083799247gmail_signature"><div dir="ltr"><div>Thanks & Kind Regards,<br></div>Logeshwaran G<br></div></div></div>
</div></div></div></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>