1. Brekeke Product Name and version: Brekeke PBX, Version 2.4.9.0 , Multi-Tenant
2. Java version: 1.6.0_14
3. OS type and the version: Linux/Cent OS 5.5
4. UA (phone), gateway or other hardware/software involved: Asterisk
5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/ ... terns.html : Pattern 5
6. Your problem:
Our server has 5 different IPs, I would like to bind the SIP server to only one of those IPs.
When I set: net.bind.interface=(my IP) and restart Brekeke, next time I log-in it shows the SIP server as stopped, BUT,
at the same time, netstat -lptu shows it listening to the right interface and in logs it shows as started normally.
I tried at Brekeke PBX Configuration to set SIP Proxy address to the binded IP (and not 127.0.0.1 as it was), but didn't work.
Any ideas why this happens? Has this anything to do with the Multi-Tenant version?
Thanks.
net.bind.interface problem with Multi-tenant
Moderator: Brekeke Support Team
-
- Posts: 12
- Joined: Wed Feb 09, 2011 2:01 pm
- Location: Montreal
You also need to set "net.net1.interface" and "net.net1.interface-restrict" variables.
Follow the this wiki page.
http://wiki.brekeke.com/wiki/Bind-Breke ... IP-address
Follow the this wiki page.
http://wiki.brekeke.com/wiki/Bind-Breke ... IP-address
-
- Posts: 12
- Joined: Wed Feb 09, 2011 2:01 pm
- Location: Montreal
no change
It happens the same thing.
SIP Server loads and is binded to the right interface but at the web-interface it says:
Status Inactive
Interface 0.0.0.0
Listen-Port 0
I'm guessing the web-interface is trying to connect to 127.0.0.1 like that and is not able to.
Here is the configuration I set at the SIP Server:
## Network
net.bind.interface=184.107.164.178
net.net1.interface=184.107.164.178
net.net1.interface-restrict=184.107.164.179
net.net2.interface-restrict=184.107.164.180
net.net3.interface-restrict=184.107.164.181
net.net4.interface-restrict=184.107.164.182
net.net5.interface-restrict=10.224.126.130
At the PBX I set:
SIP Proxy address: 184.107.164.178
SIP Server loads and is binded to the right interface but at the web-interface it says:
Status Inactive
Interface 0.0.0.0
Listen-Port 0
I'm guessing the web-interface is trying to connect to 127.0.0.1 like that and is not able to.
Here is the configuration I set at the SIP Server:
## Network
net.bind.interface=184.107.164.178
net.net1.interface=184.107.164.178
net.net1.interface-restrict=184.107.164.179
net.net2.interface-restrict=184.107.164.180
net.net3.interface-restrict=184.107.164.181
net.net4.interface-restrict=184.107.164.182
net.net5.interface-restrict=10.224.126.130
At the PBX I set:
SIP Proxy address: 184.107.164.178
-
- Posts: 12
- Joined: Wed Feb 09, 2011 2:01 pm
- Location: Montreal
Works!
Thank you. It works.
I didn't consider that could be a difference between setting it at "[Configuration]>[Advanced]" and "sv.properties".
Thanks again.
I didn't consider that could be a difference between setting it at "[Configuration]>[Advanced]" and "sv.properties".
Thanks again.