[SR-Users] How to detect there are no matching subscriber for uri
Krishna Kurapati
kkurapat at gmail.com
Sun Feb 10 14:43:44 CET 2013
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130210/f0650ac4/attachment.htm>
More information about the sr-users
mailing list