[SR-Users] Issues after upgrade

Daniel W. Graham dan at cmsinter.net
Fri May 23 21:03:45 CEST 2014

I originally put it in the last xlog statement, thanks for catching that. I moved directly after the lookup and it returns '-1'.

-----Original Message-----
From: sr-users-bounces at lists.sip-router.org [mailto:sr-users-bounces at lists.sip-router.org] On Behalf Of Juha Heinanen
Sent: Friday, May 23, 2014 2:57 PM
To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] Issues after upgrade

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 at lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

More information about the sr-users mailing list