[OpenSIPS-Users] alias_db_find() and $ru

Thomas Gelf thomas at gelf.net
Fri Jun 26 17:32:04 CEST 2009

While playing around with alias_db_find (great feature!) I discovered
that the following is fine:

  if (alias_db_find("dbaliases", "$var(vmuri)", "$var(vmuser)", "rd"))

This variant:

  if (alias_db_find("dbaliases", "$var(vmuri)", "$ru", "rd"))

passes config file check, but startup fails (showing lot of garbage
and special chars):

  ERROR:alias_db:find_fixup: PVAR <> ... AVP ... VAR

Thomas Gelf

More information about the Users mailing list