[SR-Users] Error when tring to load lcr module.

2011-02-15 Thread Juha Heinanen
Gary Chen writes:

> I added lcr module in my kamailio.cfg file. 
> After run this: ./kamctl -E I got this error:
>  0(23744) ERROR: lcr [lcr_mod.c:1235]: lcr_gw params at row <0> does
> not start with ';' 0

if you include a value in uri params field, it (as the error message
tells), needs to start with ; char, for example ";param=value".

-- juha

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Error when tring to load lcr module.

2011-02-15 Thread Gary Chen
I am using Kamailio 3.1.2.
I added lcr module in my kamailio.cfg file. 
After run this: ./kamctl -E I got this error:
 0(23744) ERROR: lcr [lcr_mod.c:1235]: lcr_gw params at row <0> does not start 
with ';' 0
 
I have set up some gateway information in lcr_gw , lcr_rule and 
lcr_rule_target.  From log it seems retrieve all the information but then got 
above error.

Here is my lcr part of config:

loadmodule "lcr.so"
modparam("lcr", "db_url", DBURL)
modparam("lcr", "gw_uri_avp", "$avp(i:709)")
modparam("lcr", "ruri_user_avp", "$avp(i:500)")
modparam("lcr", "flags_avp", "$avp(i:712)")

Gary
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users