How to configre PBX/SIP with 2 interfaces

Discuss any topic about Brekeke PBX.

Moderator: Brekeke Support Team

Post Reply
al.thewizard
Posts: 8
Joined: Thu Aug 20, 2009 5:33 am

How to configre PBX/SIP with 2 interfaces

Post by al.thewizard »

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/ ... terns.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.
hope
Posts: 862
Joined: Tue Jan 15, 2008 4:08 pm

Post by hope »

al.thewizard
Posts: 8
Joined: Thu Aug 20, 2009 5:33 am

Post by al.thewizard »

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
hope
Posts: 862
Joined: Tue Jan 15, 2008 4:08 pm

Post by hope »

how the two ip are bind to Brekeke pbx?
what ip shown from brekeke pbx admintool / sip server/ server status page "interface" field?
al.thewizard
Posts: 8
Joined: Thu Aug 20, 2009 5:33 am

Post by al.thewizard »

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)
hope
Posts: 862
Joined: Tue Jan 15, 2008 4:08 pm

Post by hope »

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
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.
al.thewizard
Posts: 8
Joined: Thu Aug 20, 2009 5:33 am

Post by al.thewizard »

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.
hope
Posts: 862
Joined: Tue Jan 15, 2008 4:08 pm

Post by hope »

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.
Post Reply