can use SIP trunk link on NIC 2

Discuss any topic about Brekeke PBX.

Moderator: Brekeke Support Team

Post Reply
Mr Tho
Posts: 25
Joined: Wed May 25, 2016 3:03 am

can use SIP trunk link on NIC 2

Post by Mr Tho »

1. Brekeke Product Name and Version: Brekeke 3.4.5.1 multi-tenant

2. Java version:1.7

3. OS type and the version: Centos 6 64bit

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

5. Your problem:
Our Brekeke PBX server have 4 network port .
Port 1 (eth0) have 1 IP public. This IP Use for UA can connect with Server. And use external call via SIP trunk of ITSP. We login to Brekeke via this IP public.
port 2 (eth1) have 1 ip private (192.168.x.x). This port use for SIP trunk, connect to ITSP. They provide service via internet. We must connect their server via LAN cable (VLAN from them).

My question:
- How to route the call from UA to port 2 (eth1).
- And can receive the call from port 2 (eth1).
- How to config on ARS of Brekeke PBX.

Any team from Brekeke can support for me this solution.

Thanks all !
snuyzm
Posts: 97
Joined: Wed Feb 11, 2015 10:12 pm

Post by snuyzm »

> port 2 (eth1) have 1 ip private (192.168.x.x). This port use for SIP trunk, connect to ITSP.

What kind IP address are they using for SIP trunk? is it a private IP address too?
Mr Tho
Posts: 25
Joined: Wed May 25, 2016 3:03 am

Post by Mr Tho »

snuyzm wrote:> port 2 (eth1) have 1 ip private (192.168.x.x). This port use for SIP trunk, connect to ITSP.

What kind IP address are they using for SIP trunk? is it a private IP address too?
Yes, the private IP. This private IP will be provided by ITSP. They don't use internet. They use 1 lan cable connect with my server via network port 2
snuyzm
Posts: 97
Joined: Wed Feb 11, 2015 10:12 pm

Post by snuyzm »

If so, there are no special routing settings.
It means SIP Server and OS can route SIP packets as you expect.

Let configure ARS normally.

If both eth0 and eth1 indicate public IP address, you may need to tune OS's route table.
Mr Tho
Posts: 25
Joined: Wed May 25, 2016 3:03 am

Post by Mr Tho »

snuyzm wrote:If so, there are no special routing settings.
It means SIP Server and OS can route SIP packets as you expect.

Let configure ARS normally.

If both eth0 and eth1 indicate public IP address, you may need to tune OS's route table.
And we need config the private IP in "Interface address 2" in Configuration tab of Brekeke PBX? Right?
snuyzm
Posts: 97
Joined: Wed Feb 11, 2015 10:12 pm

Post by snuyzm »

Tho,

Brekeke can detect interface IP addresses automatically. Let you check the SIP Server's [Status] page.

Does the [interface] field show all of interface IP addresses including eth1's private IP address?
Post Reply