[sr-dev] [LCR] Bug in load_gws(pvar) in Kamailio 1.5

Juha Heinanen jh at tutpro.com
Tue Apr 20 18:27:36 CEST 2010


Iñaki Baz Castillo writes:

 > So it seems that load_gws(pvar) does an internal match like:
 >   if table_from_uri =~ /PVAR_VALUE/
 > 
 > IMHO it should do:
 >   if table_from_uri =~ /^PVAR_VALUE$/

inaki,

i don't know if this answers your question, but from_uri is 'man
pcresyntax' regular expression, not a simple string.

-- juha



More information about the sr-dev mailing list