[SR-Users] lcr gws
Logeshwaran G
logeshwarangs at gmail.com
Fri Aug 25 12:11:21 CEST 2017
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 G <logeshwarangs at gmail.com>
wrote:
> Also I am not sure about the below output as well:
>
> [root at 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 <logeshwarangs at 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 at 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
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170825/f028fc24/attachment.html>
More information about the sr-users
mailing list