Diagram
Scenario
Configuration entities configured with the name “LAN” are used for interfacing with the LAN (e.g., IP PBX) and those configured with the name “WAN” are used for the interfacing with the WAN (e.g., SIP Trunk). IP addresses used above are only set as examples.
Device/Software
- AudioCodes Mediant Software
- Firmware Version: 7.00A.049.003
Step 1 – Assign Ethernet Ports to Ethernet Groups
LAN: Ethernet Group 1 with ports GE_1
WAN: Ethernet Group 2 with ports GE_2
Configuration tab > VoIP menu > Network > Ethernet Groups Table
Step 2 – Assign VLAN IDs to Ethernet Groups
LAN: VLAN ID 1 assigned to Ethernet Group 1
WAN: VLAN ID 2 assigned to Ethernet Group 2
Configuration tab > VoIP menu > Network > Ethernet Device Table
Step 3: Add Logical IP Network Interfaces for LAN and WAN
LAN: IP address 172.16.0.234
WAN: IP address 212.199.200.100
VLAN 1 (Ethernet Group 1) is assigned to the LAN interface
VLAN 2 (Ethernet Group 2) is assigned to the WAN interface
Configuration tab > VoIP menu > Network > IP Interfaces Table
Step 4: Add Media Realms for LAN and WAN
Configuration tab > VoIP menu > VoIP Network > Media Realm Table
Media Realm for LAN Interface
Media Realm for WAN Interface
Step 5: Add SIP Interfaces for LAN and WAN
Configuration tab > VoIP menu > VoIP Network > SIP Interface Table
SIP Interface for LAN
SIP Interface for WAN
Step 6: Add Proxy Sets for IP PBX and SIP Trunk
The Proxy Set defines the actual address of SIP server entities in your network. Therefore, you need to add a Proxy Set for the following entities:
LAN: IP PBX with address 172.16.0.231
WAN: SIP Trunk with address 212.199.200.10
Configuration tab > VoIP menu > VoIP Network > Proxy Sets Table
Proxy Set for IP PBX (e.g. Skype for Business)
Select the table row of the Proxy Set that you added, and then click the Proxy Address Table link located below the table
Proxy Set for ITSP (e.g. Telstra)
Select the table row of the Proxy Set that you added, and then click the Proxy Address Table link located below the table.
Step 7: Add IP Groups for IP PBX and SIP Trunk
The IP Group represents the SIP entity. In the example, you need to add an IP Group for the following entities:
WAN SIP Trunk (server-type IP Group)
LAN IP PBX (server-type IP Group)
Configuration tab > VoIP menu > VoIP Network > IP Group Table
IP Group for LAN IP PBX
IP Group for WAN SIP Trunk
Step 8: Add IP-to-IP Call Routing Rules
For call routing between the SIP entities, you need to add IP-to-IP routing rules for the following call directions:
Calls from the WAN SIP Trunk to the LAN IP PBX.
Calls from the LAN IP PBX to the WAN SIP Trunk.
Configuration tab > VoIP menu > SBC > Routing SBC > IP-to-IP Routing Table
Call Routing Rule from WAN SIP Trunk to LAN IP PBX
Call Routing Rule from LAN IP PBX to WAN SIP Trunk
It will look like this
Note: A destination SIP Interface is not specified for the routing rules. The ‘Destination SIP Interface’ parameter is applicable only if the ‘Destination Type’ parameter is configured to any value other than IP Group.
Step 9: Add IP-to-IP Manipulations
Essentially, manipulation will depend on your scenario and requirements. Like for example, if your IP-PBX is a Skype for Business you need to configure your incoming destination number to be in E.164 format like +65912345678. On the other hand, the destination number for outgoing calls must strip + sign or + and country code. And usually add 00 for international calls.
I will discuss more of this on another blog so just tune in.
Hope it’ll help you to initially setup your AudioCodes Mediant SW SBC!!
Thanks!