Edgewater ConfigureEdgeMarcForSIPTrunking
Edgewater ConfigureEdgeMarcForSIPTrunking
Updated: 2/27/2014
Please note that this solution documents the basic configuration needed in the PBX and
that the requirements of your specific SIP trunking environment may require
modifications to the configuration steps provided in this document.
There are three modes of operations that are dicussed in this article.
A) The IP PBX has a static IP address and is able to support REGISTERS. It has
to register a DID (usually the main trunk DID). Upon a successful registration, the
SIP trunk provider will then route all numbers in that trunk group to the EdgeMarc
WAN. The EdgeMarc will then forward all calls (using the dial rules) to the PBX
defined in the Trunking page. - page 2 - 9
B) The IP PBX has a static IP address but is NOT able to send REGISTERS. The
SIP trunk provider doesn’t need any Registrations and the provider statically
assigns the EdgeMarc’s WAN IP as the trusted IP to route calls to and accept
calls from. - page 2 - 9
C) The IP PBX has a static IP address but is NOT able to send REGISTERS.
However the SIP trunk provider requires a Registration and the EdgeMarc has to
Register on behalf of the PBX. - page 10 - 14
The example in this article assumes that no SIP header manipulation is needed.
1
Sample Network Diagram
In this example, there is an IP PBX on the LAN that is configured with 192.168.1.100
and the EdgeMarc LAN is 192.168.1.1. The WAN interface of the EdgeMarc is
12.48.202.158 and the VoIP provider is providing a SIP trunk and it’s address is
sip.trunk.com.
2
Configuring the EdgeMarc for Scenario A and B
The steps below assume you are starting from the factory default settings. Please refer
to the EdgeMarc VOS user guide for more detailed information on the different
configuration steps.
A2. Log into the EdgeMarc (factory default) by opening a web browser and entering
http://192.168.1.1
• Username: root
• Password: default
Please note: The IP address used for the LAN interface settings must be used
later when configuring the Avaya PBX as the service provider SIP trunk address.
The PBX will forward all SIP trunking traffic to the LAN interface of the EdgeMarc.
3
Fig 2: Network page
A8. Configure “SIP Server Address” and “SIP Server Port”. The “SIP Server
Address” is provided by the SIP trunking service provider.
The SIP Server Port is usually port 5060 however you may receive different
instructions from your SIP trunking service provider. The EdgeMarc will forward all
outbound calls to the SIP Server Address and Port. It will also expect to receive all
inbound calls using the SIP Server Address and Port.
4
A9. Enable the “Limit Outbound to listed Proxies / SIP Servers” and “Limit Inbound
to listed Proxies / SIP Servers” checkbox (Optional)
Note: This option will ensure that the EdgeMarc only forwards outbound / inbound
SIP messages received from the IP PBX to the IP address configured in the SIP
Server Address field (ie. SIP trunking service provider). This filtering feature is
only one part of a multi-tiered security plan that should be implemented when using
SIP trunking services. Other common techniques include configuring the IP PBX
to restrict international dialing to authorized users, configuring passcodes for
international dialing, disabling the ability to “zero” out of IVR or voicemail systems
to place phone calls and restricting the use of the SIP trunk to only LAN side
phones connected and registered to the IP PBX.
5
Fig 3: SIP Settings page
6
A11. Select “VoIP ALG” link.
A12. Select “VoIP ALG -> SIP -> Trunking” link.
A13. Add a trunking device for the IP PBX by configuring the “Name”, “Address”, and
“Port”.
A14. The Address and Port need to match the IP address and SIP port configured in the
IP PBX.
A15. Select “Commit”
A16. The IP PBX should appear in the SIP Trunking Devices table (as shown below)
A17. On the same page, scroll down to the Dial Rules Section.
A18. Select “Action - Add new rule”
A19. Set “Type:” to “Inbound”
7
A20. Select the “Default Rule” checkbox
A21. Set the “Trunking Device” to be the name and IP address of the PBX.
A22. Select “Commit”
8
A23. Configure the rest of the EdgeMarc as per the manual.
Other settings on the EdgeMarc are optional for basic SIP trunking to operate, but we
recommend configuring at least the following:
• Traffic Shaping and CAC: Adjust these values according to your WAN
bandwidth.
• MOS monitoring and capturing it to EdgeView
e.g.: Point the EdgeMarc to EdgeView to capture all the MOS scoring
on the SIP trunking calls on the LAN and WAN side. This will allow you
to “demarc” VoIP quality issue between LAN and WAN.
A25. Make sure that the PBX doesn’t have a ‘behind a NAT’ setting. If it does, disable it.
If the SIP trunk provider requires a registration from the PBX and the PBX is able
to register, the registration sent by the PBX should be received on the lan side of
the EdgeMarc, processed by the ALG and will be forwarded out the WAN to the
SIP trunk provider. As soon as it’s registered, the PBX should be able to make
calls. All inbound calls from the SIP trunk provider will be forwarded (according to
the Dial Rules – Fig 5) to the PBX.
• Static mode
If the PBX doesn’t register, make sure that the provider has statically assigned the
WAN IP address of the EdgeMarc in his SIP Server as the trusted IP address to
send and receive calls from. All outbound calls from the PBX will be forwarded to
the SIP Server from the WAN IP of the EdgeMarc. All inbound calls from the SIP
trunk provider will be sent to the WAN IP of the EdgeMarc and will be forwarded
(according to the Dial Rules – Fig 5) to the PBX.
9
Configuring the EdgeMarc for Scenario C
Configure the EdgeMarc using the procedure listed in Step A1 – A10 above.
C4. Next, you would need to define the DID / Authentication name and password that
the SIP trunk provider is expecting. (This is where you define what the EdgeMarc
will register on behalf of the non-registering PBX)
10
• Add the DID or Pilot DID that needs to register with te SIP trunk
provider (4074017663)
• Enable the Register Pilot checkbox.
• Enter the Authentication-name and Password for the Registration.
11
C5. Next, you need to define the “Actions” for the Trunking Rules. Go to the Trunk
section and add a “Action”. In this example, an action was defined to route all
incoming calls to the PBX.
• Name: incomingcalls (as an example)
• Send to: Select Trunking device and PBX from the pull down menu
(this is the device defined in Trunking Device above – Fig 6)
• Click on the Update button.
12
C6. Next, you need to define a matching pattern / rule for the calls.
In this example, we are trying to define a default inbound rule that will route all
incoming calls to the PBX
• Select a call direction: Inbound
• Select “default”
• For Action: select “incomingcalls” (which was the Action defined in
Fig 8)
• Click on the “Update” button.
C7. Finally, click on the Submit button at the bottom of the page to submit all changes
made on the Adv. Trunking page.
13
Summary: Here is a summary of the Adv. Trunking page and the various sections.
14