[SR-Users] Problem with load_gws()
Juha Heinanen
jh at tutpro.com
Sat Feb 5 07:50:53 CET 2011
Amit Nepal writes:
> 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)")
>
> route[LCR]
> {
> if(!load_gws()){
> xlog("yes");
> };
>
> This gives me error : loading modules under
> /usr/local/lib/kamailio/modules_k/:/usr/local/lib/kamailio
> 0(1265) : <core> [cfg.y:3412]: parse error in config file
> routes/route-lcr.cfg
> unknown command, missing loadmodule? for load_gws()
>
> ERROR: bad config file (1 errors)
>
> Any guidance please ?
check that you have loaded lcr module with loadmodule script command.
-- juha
More information about the sr-users
mailing list