[SR-Users] Multiple domains in different servers

Jon Bonilla (Manwe) manwe at aholab.ehu.es
Thu May 27 17:41:40 CEST 2010


El Thu, 27 May 2010 16:09:35 +0100
Ricardo Coelho <ricardo.tching at gmail.com> escribió:

> Hi,
> 
> Forget the domains and tables. What I want is:  I have 2 machines running
> openser and some phones are registered on openserA and some on openserB. I
> want to allow a phone in openserA to call a phone in openserB.
> 
> Sorry for the mess and thanks

The easyest way for you if you would be to perform a lookup
and if the user is not local just rewite the uri and send the call to the other
host.


Or you could just try if you have domain part
 if(!is_domain_local("$rd")) 

and have a code to route calls to the outside



More information about the sr-users mailing list