[Kamailio-Users] LCR in Kamailio 1.4

Asim Riaz ariaz78 at gmail.com
Thu Feb 19 16:34:46 CET 2009


Hello,
I am using LCR, for some reason load_gws() function is not finding the
gateway in DB, it was working in the start then added some more routes and
after that everything stopped working, I am not sure where to start
troubleshooting,  any idea ?

kamctl lcr show

lcr routes
+----+--------+----------+--------+----------+
| id | prefix | from_uri | grp_id | priority |
+----+--------+----------+--------+----------+
|  9 | 0      |          |      1 |        1 |
+----+--------+----------+--------+----------+
lcr gateways
+------------+---------------+------+------------+-----------+--------+-------+------+-------+
| gw_name    | ip_addr       | port | uri_scheme | transport | grp_id |
strip | tag  | flags |
+------------+---------------+------+------------+-----------+--------+-------+------+-------+
| XXXX           | XXXX | 5060 |          1 |         1 |      1 |     0
|      |     0 |
+------------+---------------+------+------------+-----------+--------+-------+------+-------+



my routing script


        if(!load_gws()) {
         xlog("L_INFO", "[ROUTE-X] Unable To Find Gateway ");
                sl_send_reply("503", "unable to find gateway");
                exit;
        }
Thanks in advance.

Asim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20090219/c21f8f52/attachment.htm>


More information about the sr-users mailing list