[sr-dev] error when referencing variable

Juha Heinanen jh at tutpro.com
Wed Aug 26 09:42:33 CEST 2009


according to s domain module documentation

In addition to that domain-level attributes, if any, will be available
as either $fd.<name> or $td.<name>.

i tried like this:

	if (lookup_domain("$fd", "$var(from_uri_domain)")) {

	    xlog("L_INFO", "Got lcr_id <$fd.lcr_id>\n");

but got error at startup:

Aug 26 10:39:10 localhost /usr/sbin/sip-router[9075]: ERROR: <core> [pvapi.c:500]: error searching pvar "fd.lcr_id"

why?

-- juha



More information about the sr-dev mailing list