Hi,

When we receive an request, we do "

lookup("location") call to find if the uri is there or not.

There are two scenarios:

1. The aor is in the subscriber table but  not in usrloc table
2. The aor is not in subscriber table

I would like to respond differently to the sender in each of these cases. Right now, the lookup returns -1 for either case. Is there any other way other than dipping into database each time?

Thanks

Krish Kura