> 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@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@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.

 

Thanks Martin.

I saved the current UA’s from ser.credentials, then using ser_ctl removed them and the domain.

I added the domain plus the URL as an alias and recreated the UA’s using ser_ctl.

Everything now works great.

 

Thanks again!

 

Bill