1. Brekeke Product Name and Version:
3.3.4 Academic
2. Java version:
3. OS type and the version:
win XP
4. UA (phone), gateway or other hardware/software involved:
X-Lite / Jitsi
5. Your problem:
How to cross calls between two domains served by different servers.
I want to set-up two servers, each one in a different lab serving their own registered clients and then I would like to enable calls from clients in one lab to clients in the other one. How do I point one server to the other?
As far as I undestand the docs an upperRegister transfers the register comands as if clients belonging to the other domain but I want the calls be routed through both servers.
Many thanks in advance for your help I am new to this field.
How to cross calls between two servers
Moderator: Brekeke Support Team
Rule: Accept calls from the other server
-------------------------------
[Matching Patterns]
$request = ^INVITE
$addr = other_server_IP_address
To = sip:(.+)@
[Deploy Patterns]
$auth = false
To = sip:%1@
-------------------------------
Rule: Send calls to the other server
-------------------------------
[Matching Patterns]
$request = ^INVITE
$registered = false
[Deploy Patterns]
$target = other_server_IP_address
-------------------------------
-------------------------------
[Matching Patterns]
$request = ^INVITE
$addr = other_server_IP_address
To = sip:(.+)@
[Deploy Patterns]
$auth = false
To = sip:%1@
-------------------------------
Rule: Send calls to the other server
-------------------------------
[Matching Patterns]
$request = ^INVITE
$registered = false
[Deploy Patterns]
$target = other_server_IP_address
-------------------------------
it works indeed!
Many thanks, I've been stuck by the installation of the second server but just tried and everything works as intended.
From the rules I understand that any INVITE to a non registered user will be redirected to the other server address and that any INVITE from the other server will be processed without authentication.
Now that I see how the rules work I would try to restrict redirection to the IP address range that is actually served by the other server.
Hope I did not have to come back again in a while...
From the rules I understand that any INVITE to a non registered user will be redirected to the other server address and that any INVITE from the other server will be processed without authentication.
Now that I see how the rules work I would try to restrict redirection to the IP address range that is actually served by the other server.
Hope I did not have to come back again in a while...
That's right.From the rules I understand that any INVITE to a non registered user will be redirected to the other server address and that any INVITE from the other server will be processed without authentication.
You can check the IP address range with $addrRange method.Now that I see how the rules work I would try to restrict redirection to the IP address range that is actually served by the other server.
http://wiki.brekeke.com/wiki/DialPlan-M ... -addrRange