[SR-Users] Problem with load_gws()

Amit Nepal amit.n at phoenixinternet.net
Fri Feb 4 22:14:41 CET 2011


Hi,
   Below is my config and i am getting error , missing load module
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 ?

-- 
Thank You
Amit Nepal
Systems Administrator
Phoenix Internet
Phone: 602-385-0731
        602-234-0917#112
http://www.phoenixinternet.net




More information about the sr-users mailing list