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

_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to