Author |
Message |
abhoffmann Brekeke Member
Joined: 09 Feb 2011 Posts: 12
Location: Montreal
|
Posted: Tue Sep 06, 2011 7:58 am Post subject: net.bind.interface problem with Multi-tenant |
|
|
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/networkpatterns.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. |
|
Back to top |
|
Harold Brekeke Master Guru
Joined: 21 Sep 2008 Posts: 287
Location: Japan
|
|
Back to top |
|
abhoffmann Brekeke Member
Joined: 09 Feb 2011 Posts: 12
Location: Montreal
|
Posted: Tue Sep 06, 2011 11:36 am Post subject: 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 |
|
Back to top |
|
Harold Brekeke Master Guru
Joined: 21 Sep 2008 Posts: 287
Location: Japan
|
Posted: Tue Sep 06, 2011 12:19 pm Post subject: |
|
|
Did you set these variables in the "sv.properties" file?
The [Configuration]>[Advanced] page can not manage the BIND correctly.
so you should modify the "sv.properties" file. |
|
Back to top |
|
abhoffmann Brekeke Member
Joined: 09 Feb 2011 Posts: 12
Location: Montreal
|
Posted: Tue Sep 06, 2011 1:24 pm Post subject: 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. |
|
Back to top |
|
Harold Brekeke Master Guru
Joined: 21 Sep 2008 Posts: 287
Location: Japan
|
Posted: Tue Sep 06, 2011 1:31 pm Post subject: |
|
|
Nice
The BIND setting must be initialized before the GUI (the web-interface) starts.
That's why [Advanced] setting doesn't effect to the GUI. |
|
Back to top |
|
|