Scenario:
When using a SIP trunk provider it is often recommended that you terminate the SIP signaling and media on an SBC. When you do that there is special configuration required in order to send the traffic to Lync and to send traffic back to the SIP provider when using an SBC.
This example is using an AudioCodes Mediant 1000 MSBG
Software Release: 6.60A.041.005
loaded with 120 Sessions
We have a SIP Trunk configured for inbound/outbound calling to Level3. The Level 3 IP for this example is 3.3.3.3 and is using UDP as the signaling protocol. This is configured in a 1:1 NAT with a single IP assigned to the gateway. You can use this same method when using 2 different IP’s and the WAN interface as well. You would just need to change the IP to IP routing parameters to use the WAN interface.
Ensure that the gateway is updated with the latest firmware.
Then under VoIP – Applications Enabling enable the SBC Application (You need a valid key code that permits the use of this application loaded prior to being able to select this). The gateway will need to be restarted for the changes to take effect.
-
Define the Proxy Sets Table
- Select Proxy Set ID 1. Proxy Set ID 0 is the default Proxy and should not be used when defining specific routing parameters.
- Enter the Level 3 IP in the Proxy Address table as shown below 3.3.3.3 Transport Type UDP, if you need to define a port use the format 3.3.3.3:5060 in the Proxy Address table. A port only needs to be defined if the proxy address is not using the default port configuration of the gateway. That is found under VoIP – SIP Definitions – General Parameters.
- Select Enable Proxy Keep Alive as SIP OPTIONS
- Then change the SRD Index to 1. We will configure the SRD table later.
-
Now we need to configure the Proxy Set ID for Lync
- Select Proxy Set ID 2 from the drop down list
- Enter the Lync Server mediation server IP address including the port defined in Topology Builder. 10.10.10.11:5068. Set the Transport Type to TCP, and select SIP OPTIONS from the Enable Proxy Keep Alive drop-down box.
- Last, select SRD Index 2 for the SRD Index parameter.
- Press Submit.
-
Define the Coders
- Ensure that G.711A and G.711U are defined. If you need to transcode you need to use Coder Groups and transcode for example from Level 3 G.729 to G.711 Lync
-
Now we will define the IP Group for Level3
- Verify Index 1 is selected and type is SERVER
- Enter a Description “LEVEL3 SIP”
- If you need to change SIP Headers you can use Contact User
- Define the SRD ID which will be 1
- Enter “Level3″ for the Media Realm Name
- If you have specific Coders for transcoding you would define the IP Profile ID
-
Now we will define the IP Group for Lync
- Verify Index 2 is selected and type is SERVER
- Enter a Description “Lync”
- If you need to change SIP Headers you can use Contact User
- Define the SRD ID which will be 2
- Enter “Lync” for the Media Realm Name.
- If you have specific Coders for transcoding you would define the IP Profile ID
-
Now we need to define the SRD Table for Level3
- Select SRD Index 1
- Enter the SRD Name “Level3″
- Enter Media Realm name “Level3″ (This name must match what was defined in the IP Group Table)
-
Now we need to define the SRD Table for Lync
- Select SRD Index 2
- Enter the SRD Name “Lync”
- Enter Media Realm name “Lync” (This name must match what was defined in the IP Group Table)
- Submit the changes and reset the gateway.
-
SIP Interface and Media Realm Configuration – Level3
- Check and see what your SIP Interface Name is. You do this by selecting VoIP – IP Settings
- Under Media – Control Network – SIP Interface Table select Add
- SIP Interface Table defines where the traffic is coming from we need to specify the port.
- Enter the Network Interface parameter obtained from seta a. In our case this is “O+M+C”
- Application Type will be SBC
- Define the correct ports that traffic will be received on for Level3
- SRD “1″
- Select Submit
-
SIP Interface and Media Realm Configuration – Lync
- Under Media – Control Network – SIP Interface Table select Add
- SIP Interface Table defines where the traffic is coming from we need to specify the port.
- Select Index 2
- Enter the Network Interface parameter obtained from seta a. In our case this is “O+M+C”
- Application Type will be SBC
- Define the correct ports that traffic will be received on for Lync in our case “5068″
- You must change the UDP and TLS ports so that they do not match any other Interface Table.
- SRD “2″
- Select Submit
-
Select VoIP – Media – Media Realm Configuration – Level3
- Select ADD
- Index 1
- Media Realm Name “Level3″
- IPv4 Interface Name “O+M+C”
- Port Range Start “6000″
- Number of Media Session Legs “120″ (This is the number of IP licenses you have loaded via your key code, remember these need to be defined in the IP Media Section as well)
-
Select VoIP – Media – Media Realm Configuration – Lync
- Select ADD
- Index 2
- Media Realm Name “Lync”
- IPv4 Interface Name “O+M+C”
- Port Range Start “7000″
- Number of Media Session Legs “120″ (This is the number of IP licenses you have loaded via your key code, remember these need to be defined in the IP Media Section as well)
-
Verify SRD Table
- Select VoIP – Control Network – SRD Table
-
Verify Connectivity
- Status & Diagnostics
- Call Routing Status
- In the example above Lync is responding
-
Create Routing Table Level3 to Lync
- Route all traffic from Source IP Group 1 (Level3) to (Lync) IP Group 2
- Select Source IP Group ID and enter “1″
- Then enter Destination IP Group ID “2″
- And also select SRD “2″
-
Create Routing Table Lync to Level3
- Route all traffic from Source IP Group 2 (Lync) to (Level3) IP Group 1
- Select Source IP Group ID and enter “2″
- Then enter Destination IP Group ID “1″
- And also select SRD “1″
-
Final step would be to increase the number of digits in the Phone Number
- Select VoIP – DTMF and Supplementary
- Change Max Digits In Phone Num to 23 or something high enough that it will not prevent any number from being dialed
That’s it you’re done. Verify by placing inbound and outbound calls.







