Daniel W. Graham writes:

> Great idea! It returned a '1'.

> > if (!lookup("location")) {
> >                 xlogl("L_INFO", "$ci : Location not found for $rU\n");
> >                 $var(rc) = $rc;
> 
> xlog $rc to see what value it has.

where did you put xlog?  note that setting of $var(rc) should be done
immediate after lookup.  otherwise it is $rc of xlog.

-- juha

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to