Bill McNamara wrote:
We are having something of an issue with lookup_user()
and
lookup_contacts().
Our UA's are added to the proxy using "ser_ctl user add
1234567890(a)ourdomain.com -p password" which works great
And the UA's register just fine.
When a call comes in from a carrier, the invite is for
1234567890(a)12.34.56.78 where 12.34.56.78 is the IP address of our proxy.
When we do a lookup to see if the call is destined for a local user via
lookup_user("$tu.uid","@ruri") it fails because the registration is
done
using the URL and not the IP address.
If you are not yet using the domain module, you should start doing so.
You can then add both
ourdomain.com and 12.34.56.78 to the same domain
id, which you in turn use in the uri table for your users.
Regards,
Martin