[SR-Users] LCR module : same IP address for different prefix.

Ricardo Martinez rmartinez at redvoiss.net
Fri Feb 4 21:41:35 CET 2011


Nobody on this one?.



Ricardo.-



*De:* Ricardo Martinez [mailto:rmartinez at redvoiss.net]
*Enviado el:* miércoles, 02 de febrero de 2011 17:58
*Para:* 'sr-users at lists.sip-router.org'
*Asunto:* LCR module : same IP address for different prefix.



Hello.

We’re using the LCR module with version 3.1.1 of Kamailio.  We’re trying to
add two gateways, with the same IP address, we have this configuration
running in the previous version of Kamailio (v 1.5), without any problem,
but in this version seems to have some issues.



This is what I’m trying to do :

mysql> select * from lcr_gw;

+----+--------+---------+---------------+----------+------+--------+------------+-----------+-------+------+-------+---------+

| id | lcr_id | gw_name | ip_addr       | hostname | port | params |
uri_scheme | transport | strip | tag  | flags | defunct |

+----+--------+---------+---------------+----------+------+--------+------------+-----------+-------+------+-------+---------+

|  1 |      1 | GW_1    | 10.0.0.209    | NULL     | 5060 | NULL
|          1 |         1 |     3 | 303  |     1 |    NULL |

|  8 |      1 | GW_33   | 10.0.0.209    | NULL     | 5060 | NULL
|          1 |         1 |     3 | 4411 |     1 |    NULL |

|  6 |      1 | GW_6    | 10.0.0.212    | NULL     | 5060 | NULL
|          1 |         1 |     5 | 308  |     1 |    NULL |

+----+--------+---------+---------------+----------+------+--------+------------+-----------+-------+------+-------+---------+



And this is the output from the logs :



/usr/local/sbin/kamailio[2829]: ERROR: lcr [lcr_mod.c:818]: gw <10.0.0.209,
5060, > is not unique



What could be the problem?. Os simply the new LCR does not support have two
gateways with the same IP address?



Thanks,

Ricardo Martinez.-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20110204/6cb97744/attachment.htm>


More information about the sr-users mailing list