[Kamailio-Users] LCR problem with "id" column and match priorities

Juha Heinanen jh at tutpro.com
Fri Oct 23 18:28:23 CEST 2009


Iñaki Baz Castillo writes:

 > Hi Juha, as this limitation is not present in the module
 > documentation, and the module doesn't notify it when starting, it
 > could create serious issues if an admin adds more than 128 gateways
 > and he doesn't inspect the module source  
 > (really should he do that to realize of this limitation?).

inaki,

there is this piece of code in reload_gws_and_lcrs() function:

  if (RES_ROW_N(res) + 1 > MAX_NO_OF_GWS) {
	LM_ERR("too many gateways\n");
	goto gw_err;
    }

what do you mean by "the module doesn't notify it when starting"?

 > 1) Add this information to the module documentation in a clear way.

i can also add info about the limit in module documentation.

-- juha



More information about the Users mailing list