Re: [SR-Users] Problem with load_gws()

2011-02-07 Thread Juha Heinanen
Amit Nepal writes: > I have been looking at examples where load_gws() is used without > parameters, is it customary to pass the group id ? I got that working by > passing the group id of the gateways to load or is there any way to load > all the gateways regardless of their group ? in 3.x ther

Re: [SR-Users] Problem with load_gws()

2011-02-07 Thread Amit Nepal
I have been looking at examples where load_gws() is used without parameters, is it customary to pass the group id ? I got that working by passing the group id of the gateways to load or is there any way to load all the gateways regardless of their group ? Thank You Amit Nepal Systems Administr

Re: [SR-Users] Problem with load_gws()

2011-02-05 Thread Daniel-Constantin Mierla
On Sat, Feb 5, 2011 at 7:50 AM, Juha Heinanen wrote: > 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] > > { > >

[SR-Users] Problem with load_gws()

2011-02-04 Thread Juha Heinanen
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"); > }; > > Thi

[SR-Users] Problem with load_gws()

2011-02-04 Thread Amit Nepal
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(