<div dir="ltr">Hi,<div><br></div><div style>When we receive an request, we do &quot;</div><div style><br></div><div style>lookup(&quot;location&quot;) call to find if the uri is there or not.</div><div style><br></div><div style>
There are two scenarios:</div><div style><br></div><div style>1. The aor is in the subscriber table but  not in usrloc table</div><div style>2. The aor is not in subscriber table</div><div style><br></div><div style>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?</div>
<div style><br></div><div style>Thanks</div><div style><br></div><div style>Krish Kura</div></div>