Setup Reference Guide for KX-TDE/NCP to SBC SIP Trunking Method of connection by "WAN Global IP address directly" (i.e. SBC is the Perimeter Router device.) Panasonic IP-PBX (KX-TDE/NCP Version6 series), Media5 Session Border Controller (Mediatrix501 series SBC) Version 1.0 (PSNJ) 20 February 2013 Attention: The content of this document is made up by verification results. It is no guarantee. Models Used during verification: Panasonic IP-PBX KX-TDE100 (Ver6) Media5s SBC Mediatrix501 (Firmware 5.35-M4) Panasonic SIP Phone KX-UT series SIP telephones (Version 01.221) Panasonic System Networks Co., Ltd.
Change history Version NO. CONTENTS OF REVISION Support PSN (Japan) Checked by Checked by Author Ver. 1.0 First edition Oonishi Feb,20 2013 2
Table of Contents Change history... 2 1. Introduction and Objective... 4 2. Approach to Interconnection... 5 3. System configuration example... 6 3.1 Diagram of system configuration example... 6 3.2 Settings... 6 3.2-1 SBC Contents of Main Network Settings (Example)... 6 3.2-2 SBC -- Configuration of SIP Trunk (Example)... 7 3.2-3 IP-PBX - Contents of Main Network Settings (Example) PBXs IP Address/Ports Settings... 7 3.2-4 IP-PBX Configuration of Port Property Virtual SIP Gateway Main (Example)... 8 3.2-5 IP-PBX Configuration of Port Property Virtual SIP Gateway Account (Example)... 8 3.2-6 IP-PBX Configuration of Port Property Virtual SIP Gateway Register (Example)... 8 3.2-7 Maintenance PC - Contents of Network Settings (Example)... 8 3.4 SBC Firmware Revision... 8 3.5 KX-TDE100 and UT-Extension Firmware Revision... 8 4. Procedure for Installing the Media5 s SBC SIP Trunk... 9 5. SIP Trunk setting of the Medi5 SBC... 10 5.1 [Method 1] Wizard Settings of SIP Trunking... 10 5.2 [Method 2] Manual Setting of SIP Trunking... 20 6. Further SBC Information and Configuration... 22 7. Virtual SIP Trunk set-up of the PBX... 23 8. Operation... 28 9. Management... 29 9.1 Reset SBC to Factory Defaults... 29 9.2 Time Setting... 29 9.3 SBC Configuration Backup... 30 9.4 Restore Settings... 32 9.5 How to clear the SIP Trunk Settings (SIP Trunk only)... 33 10 Troubleshooting... 34 10.1 REGISTER Flood Attack... 34 11. Media5 SBC SIP Trunk Configuration Sheet (Connection type: WAN Connection)... 36 Trademarks Microsoft, Windows, Windows XP, Vista, 7 and Internet Explorer are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. All other trademarks identified herein are the property of their respective owners. Microsoft product screen shot(s) reprinted with permission from Microsoft Corporation. 3
1. Introduction and Objective The Media5 Session Border Controller (Mediatrix501 series SBC) supports a Back-To-Back User Agent to normalize SIP Signaling differences between the Service Provider and customers specific SIP implementations. [Mainly benefits for IP-PBX] 1. Service Provider Demarcation Point 2. Normalization of SIP Signaling 3. Wide Interoperability with SIP vendors 4. Resolution of NAT traversal issues This Setup Reference Guide describes the configuration to interconnect between the Panasonic IP-PBX (KX-TDE/NCP Version6 series), the Media5 SBC (Mediatrix501 series), and ITSP (Internet Telephony Service Provider) through PBX virtual SIP Gateway. The items above are interconnected using SIP. The global IP address (also known as public IP address) of the main office is used to interconnect them. Results (confirmed operation): 1-1 Receiving and making a Call Calls between SIP Trunking are possible. The Caller ID (external phone number) is displayed on the LCD screen of SIP Phones in other party. Incoming calls from SIP trunk lines also display the Caller ID (according to system settings). * Require confirmation: ITSP Service requirement. 1-2 Conversation with G.711 and G.729 Use of the above codec is possible, providing PBX settings allow this. (e.g. KX-TDE100 (V-SIPGW) settings) 1-3 Placing a call on-hold and retrieving a Call that is on-hold These features are confirmed by KX-TDE100 control (Not support SIP Hold method for SIP Trunk). Attention: The content of this document is made up by verification results. It is no guarantee. 4
2. Approach to Interconnection (1) This document is on the premise that it s completed the SBC functions and Network settings. Refer the Setup Reference Guide for KX-TDE/NCP to SBC interconnection if required. (2) The SBC is installed as the main router in the head office. For this setting of the SBC, WAN and LAN (ET1) interface are used. All SIP traffic between the IP-PBX and the internet is routed through the SBC. The SBC is set-up be a DHCP server and also as a NAT device. (3) The SBC operates to ensure correct interconnection between the IP-PBX V-SIPGW16 virtual Circuit card and the ITSP. The SBC provides the following functions: - ITSP and PBX SIP Trunk signaling solution and address translation within SIP messages. - PBX (any PBX extension) and ITSP can be seamlessly connected by the use of the SBC (4) We recommended that will be use the port number 5060 of receiving of SIP in SBC. The SBC is likely to have some interoperability issues when using different SIP port of this. The SBC will check all SIP messages and modify them even if as use the SIP Trunk in the PBX. It means the SBC receiving Port Number is to use the same "5060" for SIP-Extension and SIP Trunk. If require to change it, you need to do it in a specific way. Therefore we strongly recommend that you set-up the port 5060 of SBC, due to the specification of the Media5 SBC. Refer the Mediatrix Manual or Media5 Support Portal if required. 5
3. System configuration example 3.1 Diagram of system configuration example 3.2 Settings: This section describes the network address scheme. Refer to later sections regarding entry of these and other settings. 3.2-1 SBC Contents of Main Network Settings (Example) Item Configuration Description Operational mode Router SIP Trunk and SBC for WAN WAN Interface: IP address 10.0.0.1 (Change to Required (Information offered by provider) Global IP address *1) WAN Interface: Netmask 255.255.255.248 Required (Information offered by provider) WAN Interface: Gateway 10.0.0.6 (*1) Required (Information offered by provider) LAN interface IP address 192.168.0.254 SBC LAN IP address LAN interface Netmask 255.255.255.0 SBC LAN side subnet mask Receiving SIP port 5060 Used SIP Port(Do not use different number) Recommended set value. Used RTP port 35000-35999 Ports for use for RTP streams. Primary DNS 172.16.255.1 Required (Information offered by provider) DHCP IP Range From -To 192.168.0.2-50 SBC DHCP Server: Enable, Specify IP Range 6
3.2-2 SBC -- Configuration of SIP Trunk (Example) Item Configuration example Description ITSP Information Service Name Example ITSP Comment only (Example) SIP Provider domain sip.example.com FQDN or IP address Required (Example) Outbound Proxy FQDN or IP address if Required (Example) User Name 81929990001 Required, Example Authentication User ID 81929990001 Required, Example Password pass1234 Required, Example Incoming Trunk Match 81929990001 If it s different an Incoming number and User Name, Required. Forward to 123456 PBX Account Number, Required (Same as PBX User Name) SIP Incoming Number 81929990001 Required, Example PSTN Incoming Number 0505551234 Required, Example PBX Information PBX s local IP address 192.168.0.101 Required, Example Account(Number) for PBX to 123456 Required, Dummy Example registration User ID Authentication 123456 Required, Dummy Example Password 123456 Required, Dummy Example DDI/DID Table / Destination 123456 / Destination:201 Example only 3.2-3 IP-PBX - Contents of Main Network Settings (Example) PBXs IP Address/Ports Settings Item Configuration example Description PBX MPR IP address 192.168.0.101 Example only (Fixed IP) PBX DSP IP address 192.168.0.102 Example only (Fixed IP) Net Mask 255.255.255.0 Example only Gateway 192.168.0.254 SBC LAN IP address DNS Settings (Preferred DNS IP Address) 172.16.255.1 or 192.168.0.254 (SBC LAN) Information offered by provider or SBC LAN IP address PBX DHCP Server Feature Starting IP address Ending IP address 192.168.0.51 192.168.0.100 If required Note) Set the different IP range from SBC s DHCP IP range. 7
3.2-4 IP-PBX Configuration of Port Property Virtual SIP Gateway Main (Example) Main item Configuration example Description Channel Attribute Basic Default: Not Used Provider Name SBC Comment only SIP Server Name Blank SIP Server IP Address 192.168.0.254 SBC LAN IP Address Example SIP Server IP Port Number 5060 Default 3.2-5 IP-PBX Configuration of Port Property Virtual SIP Gateway Account (Example) Account item Configuration example Description User Name 123456 Necessary dummy, example Authentication ID 123456 Necessary dummy, example Password 123456 Necessary dummy, example 3.2-6 IP-PBX Configuration of Port Property Virtual SIP Gateway Register (Example) Register item Configuration example Description Register Sending Interval(s) 300 Recommended (Default:3600) 3.2-7 Maintenance PC - Contents of Network Settings (Example) Item Configuration example Description Maintenance PC IP address 192.168.0.200 (Example) (DHCP or fixed ; For fixed, confirm usable IP address first) Subnet Mask 255.255.255.0 Example Gateway Unused (in Fixed IP) DNS Unused (in Fixed IP) 3.4 SBC Firmware Revision Section Device Information Installed Firmware 5.35-M4 or Later 3.5 KX-TDE100 and UT-Extension Firmware Revision Section Installed Firmware PBX KX-TDE100 Version 6.0003 or Later Version Information 01.221 or Later 8
4. Procedure for Installing the Media5 s SBC SIP Trunk. There are 2 methods to install SBC at same local site as PBX. [ Method 1 ] Using of Wizard Connect to SBC and then configure SBCs SIP Trunk using the web online Wizard. *Note) Require the internet access line at installation. [ Method 2 ] Manual Setting Connect to SBC and then manually configure the SIP Trunk of SBC using web user interface. 9
5. SIP Trunk setting of the Medi5 SBC 5.1 [Method 1] Wizard Settings of SIP Trunking 5.1-1 Access to Web Home and Click on [Log in]. Example http://192.168.0.254/ Here is on the premise that it s completed of the SBC functions and Network settings. Refer the Setup Reference Guide for KX-TDE/NCP to SBC interconnection if required. 5.1-2 Enter Network Password Username: admin / Password: admin (Default) and Click on [OK] 10
5.1-3 Click on [Configuration Wizard] *Note) Available Internet access is required for this way. 5.1-4 Click on [Log in] 11
5.1-5 Enter Username: media5 / Password: wizard and then click on [Log in] 5.1-6 Appear the [PBX Wizard] window. 5.1-7 SELECT YOUR ITSP: [Generic] / SELECT YOUR PBX: [Generic PBX] and click on [Next]. 12
5.1-8 Appear the [The Generic SIP-Trunking service] window. 5.1-9 Configure the Generic SIP-Trunking service Item Configuration Description SELECT YOUR TRUNK Service 2 One accounts to be registered Select SERVICE SIP Server sip.example.com Example Outbound Proxy * If required Select your firewall configuration Check the [Use the E-SBC as Firewall] Default 5.1-10 Click on [Next] 13
5.1-11 Click on WAN Port: Keep current settings (Default) and Click on [Next] 5.1-12 Configure the PBX Information (Example). Item Configuration Description The PBX s Local IP address 192.168.0.101 (PBXs IP address) The PBX s SIP domain (*Blank) Account (number) for PBX to register on 123456 (Same as PBX) User ID for authentication at that account 123456 (Same as PBX) Password for that account 123456 (Same as PBX) Domain name(s) in From header that the PBX may use when addressing the E-SBC (*Blank) 14
5.1-13 Click on [Next] 5.1-14 Confirmation of Caller ID handling. Click on [Next] 5.1-15 Configure Add your telephone numbers and then Click on [Next] Item Configuration Description Telephone no 81929990001 Example Authentication Id 81929990001 Example Password pass1234 Example 15
5.1-16 Confirmation Optional general settings and then Click on [Next] 5.1-17 Confirmation Dynamic DNS and then Click on [Next] 16
5.1-18 Check your settings Overview and then Click on [Download] 5.1-19 Wait for Download and restarting. 17
5.1-20 The configuration is done and then click on [Close the window and log out] menu. 5.1-21 Move the mouse over [Applications] and select [SIP Trunk]. 5.1-22 Completed the SBCs SIP Trunk Settings using Wizard. (Example) Cofigure and Confirm of SIP Trunking configuration. - (1) SIP Trunking service (Confirmation) - (2) Main Trunk Line (Configuration and confirmation) Must set the Forward to same as value between SBC and PBXs User Name. *Important Configure 81929990001 --> 123456 (It s an entered account in PBX (Dummy)) - (3) Can add some Incoming Trunk match if required in PBX Lines. *Important For example, ITSP provide some different Incoming number for PSTN: 0505551234 Add [Incoming Trunk match: 0505551234 / Forward to PBX Account: 123456] 18
- (4) Setup for the PBX (Confirmation) 5.1-23 Click on [Apply] 5.1-24 Click on [Click here to save permanently] [SIP Trunking settings has been completed] Go to 23 page of PBX Trunk settings. 19
5.2 [Method 2] Manual Setting of SIP Trunking 5.2-1 Move the mouse over [Applications] and select [SIP Trunk]. 5.2-2 Configure SIP Trunking Service Item Configuration Description Service name Example ITSP Comment only, Example Service Provider domain sip example.com Example 5.2-3 Configure [Main Trunk line] Item Configuration Description Reg.Acc Check box: Enable Required User Name 81929990001 ITSP s Account information, Example Authentication User ID 81929990001 ITSP s Account information, Example Authentication Password pass1234 ITSP s Account information, Example Incoming Trunk match 81929990001 ITSP s Account information, Example Forward to 123456 PBXs SIP Trunk Username 20
5.2-4 Can add some Incoming Trunk match if required in PBX Lines. *Important For example, ITSP provide some different Incoming number for PSTN: 0505551234 Item Configuration Description Incoming Trunk match 0505551234 PSTN Incoming Number Forward to PBX Account 123456 PBXs SIP Trunk Username 5.2-5 Configure [Setup for the PBX] Item Configuration Description PBX name PBX Comment only, Example PBX SIP Address 123456@192.168.0.254 Username @ SBC LAN IP Authentication User ID 123456 PBX User Name Authentication Password 123456 PBX pass words PBX IP address * No need to enter. As select the Registration Address in the below Forward incoming calls to PBX Registered Address Select using Other settings Default If required 5.2-6 Click on [Apply] 5.2-7 Click on [Click here to save permanently] 21
5.2-8 Move the mouse over [Applications] and select [SIP Switch Advanced] 5.2-9 Configure SIP Switch Advanced Item Configuration Description Dial Plan On Default: Off Tail Select: 0-9, + - # * Default: None Minimum Tail 3 Default: Blank, Number of digits Action A&Forward Default: Allow Forward to SIPTRUNK1 Default: Blank Fill in SIPTRUNK1 5.2-10 Click on [Apply] 5.2-11 Click on [Click here to save permanently] [SIP Trunking settings has been completed] 6. Further SBC Information and Configuration All documents are available online on the Mediatrix Download Portal at https://support.mediatrix.com/downloadplus/download.asp. Or on the web site at the following link http://www.mediatrix.com/en/sessionbordercontroller Under the documentation tab. 22
7. Virtual SIP Trunk set-up of the PBX 7.1 Start up software of Panasonic Unified Maintenance console. 7.2 Information Click to [OK] button 7.3 Enter Programmer Code: Enter INSTALLER ---> Next, click [OK] button 7.4 Click on Connect(C) icon. 7.5 Enter IP Address: 192.168.0.101 (PBX MPR IP address) --> Next, click [Connect] button. Please wait a moment 23
7.6 Confirm the Activation Key (To install if you need the Activation key) Click on [Slot] --> [Activation Key] 7.7 Confirm the IP Trunk (ch) Activation key in this case, IP Trunk (ch):4 (and The number of activate IP-GW:0 / 4) 7.8 Confirm, then click on [OK] 7.9 Configure the Virtual SIP Gateway Move Mouse over [Virtual Slot] --> Click [Select Shelf] to show Virtual Slot 24
7.10 Configure [V-SIPGW16] of an additional card to PBX. Select [Virtual V-SIPGW16] of SIP Trunk card 7.11 Install by drag and drop to slot (1~4). Select Virtual V-SIPGW16 Drag and drop 7.12 Click on [Yes] 25
7.13 Move the Mouse pointer over the installed [V-SIPGW16] and Click on [Port Property] 7.14 Click on No.1 Port / Connection of [Fault] --> Click on [OUS] in Main tab. 7.15 Click on [Channel Attribute] of No.1 --> Select [Basic channel] in Main tab. 7.16 Configure the Provider Name: SBC (Comment only, Example) And SIP Server IP address: 192.168.0.254 / Port: 5060 (SBC LAN IP address/port, Example) 26
7.17 Click on [Account] tab and configure the [User name]/[authentication ID]/[Password] (Example) Username: 123456 / Authentication ID: 123456 / Password: 123456 7.18 Click on [Register] tab and Configure the [Register Sending Interval (s)]: 300 (*Recommended) 7.19 Click on [OK] 7.20 Click on appropriate Number and Connection [OUS] --> Click on [INS] 7.21 Confirm the Connection Status [INS] Until SBC will be correctly set-up and registered, will be shown [Fault] status. 7.22 Click on [OK] * Note: If Connection status is shown as [Fault], reload the SIP Port Property. 27
7.23 Configure [DDI/DID Tables] if required. DDI / DID Number: 123456, DDI/DID Destination (Day): 201 (Example) 8. Operation Try the basic calls 8.1 Making calls Can the Caller ID is displayed on the LCD screen of PBXs Extensions? 8.2 Incoming calls Can the Caller ID is displayed on the LCD screen of PBXs Extensions? 8.3 Disconnected call Can caller and callee are disconnected each other properly? 8.4 Cancel call Can caller and callee cancel each other properly? 28
9. Management 9.1 Reset SBC to Factory Defaults If you wish to you can reset all settings to their original values, so your Mediatrix 501 Series unit is setup the same way as when delivered from the factory. -1. Press and hold [SET] (1) pressed for 3 seconds, to enter setup mode. -2. Press [SEL] (2) repeatedly until RST appears in the display. -3. Press [SET](1). -4. The question Clear all? appears, and then no. -5. Press [SEL](2) to choose YES. -6. Press [SET](1). 9.2 Time Setting Time setting will be useful for analyzing some kind of problems. 9.2-1 Move the mouse [Configurations] --> [Administration] --> in the Time section. 9.2-2 Configure the Time Server IP address, this IP is PBX IP address.(example) 9.2-3 Click on [Apply] 29
9.3 SBC Configuration Backup 9.3-1 Move Mouse over [Configurations] and Select [Administration]. 9.3-2 Enter the Password: 123456 and then Click on [Backup to file]. Example 9.3-3 Click on [Save] 30
9.3-4 Save As Select the Save Folder and Enter the File name [settings.txt] Example(Default). And Click on [Save] 31
9.4 Restore Settings 9.4-1 Enter the Password: 123456 (When saving) and then Click on [Browse ]. 9.4-2 Choose file: settings.txt (Example) and then Click on [Open]. 32
9.4-3 Click on [Go] 9.4-4 Rebooting, please wait after the restore was successful. 9.5 How to clear the SIP Trunk Settings (SIP Trunk only) 9.5-1 Move Mouse over [Applications] and Select [SIP Trunk]. 9.5-2 Click on [Clear] and Can clear the SIP Trunk settings. 33
10 Troubleshooting 10.1 REGISTER Flood Attack The Figure below shows a REGISTER Flood attack example. The attack begins with OPTIONS message. Then, the attacker sends a great many REGISTER messages. The source address changes irregularly. The symptom of this type of attack is the PBX temporarily becomes un-responsive, (It is very busy sending 404 Not Found messages until the attacks over). Countermeasure: In the Switch Advanced, Configure a new entry in the Incoming Call Blacklist from captured packets. 10.1-1 Move mouse over Applications in SIP Advanced. 34
10.1-2 Configure a new entry in the Incoming Call Blacklist from captured packets. User-Agent=*Attacker* (Example only) These are default setting value. Enter the new entry in Blacklist.. 10.1-3 Click on [Click here to save permanently] 35
11. Media5 SBC SIP Trunk Configuration Sheet (Connection type: WAN Connection) Item Configuration Description SBC Network Setting Operational mode Router SIP Trunk and SBC for WAN WAN Interface: IP address Required (Information offered by provider) WAN Interface: Netmask Required (Information offered by provider) WAN Interface: Gateway Required (Information offered by provider) LAN interface IP address SBC LAN IP address LAN interface Netmask SBC LAN side subnet mask Receiving SIP port 5060 Used SIP Port(Do not use different number) Recommended set value. Used RTP port Ports for use for RTP streams. Primary DNS DHCP IP From DHCP IP To ITSP Information Service Name SIP Provider domain Required (Information offered by provider) SBC s DHCP Server: Enable Specify an IP range. Comment only FQDN or IP address Required Outbound Proxy FQDN or IP address Required User Name Authentication User ID Authentication Password Incoming Trunk Match Forward to PSTN Incoming Trunk Match Forward to Setup for the PBX PBX Name PBX SIP Address Authentication User ID Authentication Password PBX IP address Forwarding incoming calls to PBX using Required Required Required If it s different an Incoming number and User Name, Required. PBX Account Number, Required (Same as PBXs User Name) If Required. If Required Comment only, Example Username @ SBC LAN IP PBX Username PBX Account password No need Select: Registered Address 36