Brekeke Forum Index » Brekeke PBX Forum

Post new topic   Reply to topic
How to configre PBX/SIP with 2 interfaces
Author Message
al.thewizard
Brekeke Junior Member


Joined: 20 Aug 2009
Posts: 8

PostPosted: Mon Oct 03, 2011 12:17 am    Post subject: How to configre PBX/SIP with 2 interfaces Reply with quote

1. Brekeke Product Name and version: Brekeke PBX, Version 2.4.9.0 Pro

2. Java version: 1.6.0_26

3. OS type and the version: SuSE 11 SP1

4. UA (phone), gateway or other hardware/software involved: -

5. Select your network pattern from http://www.brekeke-sip.com/bbs/network/networkpatterns.html : -

6. Your problem: We have a PBX server in the DMZ zone with 2 initerfaces one on the internal network and one on the external.
When I bind the SIP server on both interfaces, if I make a call between 2 phones, one on a network routed on the internal interface and one on the external one, the signaling is OK, but the voice is one way only, the firewall drop the packet because the phone on the external network try to connect the SIP internal interface.
Back to top
View user's profile
hope
Brekeke Master Guru


Joined: 15 Jan 2008
Posts: 862

PostPosted: Mon Oct 03, 2011 8:53 am    Post subject: Reply with quote

http://wiki.brekeke.com/wiki/Using-Brekeke-PBX-with-a-firewall
Back to top
View user's profile
al.thewizard
Brekeke Junior Member


Joined: 20 Aug 2009
Posts: 8

PostPosted: Tue Oct 04, 2011 10:46 pm    Post subject: Reply with quote

Hi hope,

The Firewall config is already OK. The problem is that when I bind the SIP on both IP's, the phones which are on networks "served" by the external interface try to comunicate (voice path) using the internal interface, and the FW drop it correctly.

example:

SIP IP 1 external network 194.11.209.152
SIP IP 2 internal network 192.168.209.152
Phone 1 (# 8001) 192.168.203.202 (external network, this phone is registered on 194.11.209.152)
Phone 2 (# 8000) 172.17.1.108 (internal network, this phone is registered on 192.168.209.152)
When 8000 calls 8001, the signaling is OK, but the voice is only from 8000 to 8001, not vice versa, because the 8001 try to use the 192.168.209.152 interface and not the 194.11.209.152.
The same happen if I use two phone on the external network 192.168.203.0/24.

I hope this is clear
Any other idea

Thanks
Back to top
View user's profile
hope
Brekeke Master Guru


Joined: 15 Jan 2008
Posts: 862

PostPosted: Wed Oct 05, 2011 10:01 am    Post subject: Reply with quote

how the two ip are bind to Brekeke pbx?
what ip shown from brekeke pbx admintool / sip server/ server status page "interface" field?
Back to top
View user's profile
al.thewizard
Brekeke Junior Member


Joined: 20 Aug 2009
Posts: 8

PostPosted: Wed Oct 05, 2011 10:16 pm    Post subject: Reply with quote

PBX admin 192.168.209.152
SIP Server 192.168.209.152, 194.11.209.152 (even if in the config 194... is the first IP and 192... the second one)
Back to top
View user's profile
hope
Brekeke Master Guru


Joined: 15 Jan 2008
Posts: 862

PostPosted: Thu Oct 06, 2011 11:55 pm    Post subject: Reply with quote

do you mean at first page "restart/shutdown"after login pbx admintool, there is only local ip 192.168.209.152 shown at interface field under sip server?
are there two NIC installed at server pc?
one is local ip 192.168.209.152 and the other is with global ip 194.11.209.152
if global ip cannot show from admintool, check /etc/hosts file and set both ip there
and restart server pc then check if both ip show from pbx admintool

Quote:
Phone 1 (# 8001) 192.168.203.202 (external network, this phone is registered on 194.11.209.152)
Phone 2 (# 8000) 172.17.1.108 (internal network, this phone is registered on 192.168.209.152)


is phone 1 192.168.203.202 at different network from brekeke pbx?
is phone 1 behind router?
how phone 2 at 172.17.1.108 connect to brekeke local ip 192.168.209.152 when they are in different ip segment.
Back to top
View user's profile
al.thewizard
Brekeke Junior Member


Joined: 20 Aug 2009
Posts: 8

PostPosted: Fri Oct 07, 2011 12:43 am    Post subject: Reply with quote

NO at the first page "restart/shutdown" the SIP server shows noth IP (first 192, second 194; even if the 194 is interface 1 and 192 interface 2 in the config).
Phone 1 is connected thru a firewall, and the phone 2 also.
If can help let me know where I can send you a schema.
Back to top
View user's profile
hope
Brekeke Master Guru


Joined: 15 Jan 2008
Posts: 862

PostPosted: Mon Oct 10, 2011 11:18 am    Post subject: Reply with quote

phone 1 ip is 192.168.203.202 which is a local ip address and if this local ip is used by phone, brekeke will reply with local ip address.

please check the network structure.
and you may get support from brekeke support.
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke PBX Forum All times are GMT - 7 Hours
Page 1 of 1