[OpenSER-Users] Unable to configure LCR in openser - problem with next_gw()?

Miodrag Radulovic mradulovic at comutel.co.yu
Sun Jul 22 09:44:13 CEST 2007


Hello Ovidiu, thanks for your suggestion, I've noticed that but I was
getting error during openser startup:

> [root at santos /var/log]# openserctl lcr addroute 9 '' 1 1
> MySql password for user 'openser at localhost':
> 200 OK
>
> [root at santos /var/log]# openserctl lcr show lcr routes
> +----+--------+----------+--------+----------+
> | id | prefix | from_uri | grp_id | priority |
> +----+--------+----------+--------+----------+
> | 11 | 9      |          |      1 |        1 |
> +----+--------+----------+--------+----------+
> lcr gateway groups
> +--------+----------+
> | grp_id | grp_name |
> +--------+----------+
> |      1 | comutel  |
> +--------+----------+
> lcr gateways
>
+---------+---------------+------+------------+-----------+--------+-------+
--------+
> | gw_name | ip_addr       | port | uri_scheme | transport | grp_id | strip
| prefix |
>
+---------+---------------+------+------------+-----------+--------+-------+
--------+
> | c2811   | 192.168.253.1 | 5060 |          1 |         1 |      1 |     0
|        |
>
+---------+---------------+------+------------+-----------+--------+-------+
--------+
>
> [root at santos /var/log]# openserctl restart
>
> Stopping OpenSER : \E[37;33mINFO: stopped
>
> Starting OpenSER :
> \E[37;31mERROR: PID file /var/run/openser.pid does not exist -- 
> OpenSER start failed
>
> And here is relevant part from openser log output:
>
> Jul 21 21:30:26 santos /usr/local/sbin/openser[10216]: 
> ERROR:lcr:load_regex: bad from_uri re 
> Jul 21 21:30:26 santos /usr/local/sbin/openser[10216]: 
> ERROR: lcr:mod_init(): failed to reload gateways and routes
> Jul 21 21:30:26 santos /usr/local/sbin/openser[10216]:
> init_mod(): Error while initializing module lcr
>

Is there an error somewhere in LCR module?

BR,
miodrag
 






More information about the Users mailing list