[OpenSER-Devel] REGISTRAR bug - lookup doesn't keep RURI params

Juha Heinanen jh at tutpro.com
Mon Mar 31 14:20:43 CEST 2008


Eric PTAK writes:

 > I think I found a bug in the lookup function of the REGISTRAR module.
 > I have some request with a special parameter in the r-uri, but it's removed
 > after lookup("location") call in the dialplan.

according to lookup description in README:

If there are such contacts, Request-URI will be overwritten with the
contact that has the highest q value and optionally the rest will be
appended to the message (depending on append_branches parameter value).

there is no promise that any r-uri params would be preserved.  if you
need to preserve them, save them somewhere before calling lookup.

-- juha



More information about the Devel mailing list