[Kamailio-Users] lcr - tag value NULL prefixed as "NULL"

Juha Heinanen jh at tutpro.com
Fri Jun 19 09:30:58 CEST 2009


Andreas Granig writes:

 > Kamailio 1.5: When having gw.tag column set to NULL in db (which seems 
 > to be allowed according to db schema), then next_gw() prefixes the R-URI 
 > user with the string "NULL". Setting it to empty string (''), nothing is 
 > prefixed. I'd expect that from a value of NULL as well. Could anyone 
 > please confirm this?

andreas,

i just tested with sip-router lcr module and no "NULL" prefix was
inserted when taga in db was NULL.  there should not be any change in
this regard to k 1.5.

 > Also, in http://kamailio.org/docs/modules/1.5.x/lcr.html the parameter 
 > prefix_mode is missing. It's available in README.lcr though, so probably 
 > the page is out of date?

what is prefix_mode supposed to do?  i don't find it in source code.

-- juha




More information about the sr-users mailing list