[Serusers] (no subject)
Martin Hoffmann
hn at nvnc.de
Fri Mar 20 18:58:31 CET 2009
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 at 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 at 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
More information about the sr-users
mailing list