[Spce-user] Possible improvement for weight setting in peering group.

Joel S. | VOZELIA joel at vozelia.com
Thu Oct 9 13:56:18 EDT 2014


Hi, 

Today we ran into a problem: Kamalio was not updating its tables and changes made through the Admin GUI were not being applied.

After doing some troubleshooting, we found this in the kamailio-proxy.log:

Oct  9 13:46:59 xion proxy[7597]: ERROR: lcr [lcr_mod.c:1488]: reload_tables(): lcr_rule_target weight value at row <6> is not 1-254
Oct  9 13:47:31 xion proxy[7598]: ERROR: lcr [lcr_mod.c:1488]: reload_tables(): lcr_rule_target weight value at row <6> is not 1-254

The problem basically was that by mistake a "0" was set as weight in a peering group setting, this caused the above error and Kamailio stopped updating the info from db.

I think that if the GUI would not permit to set a weight of 0, as Kamailio only supports 1-254, it could avoid future problems to the SPCE users :)

Best regards, 
Joel.



More information about the Spce-user mailing list