XPEECH 2S User manual


THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE
SUBJECT TO CHANGE WITHOUT NOTICE. ALL STATEMENTS, INFORMATION, AND
RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED
WITHOUT WARRANTY OF ANY KIND, EXPRESSED OR IMPLIED. USERS MUST TAKE FULL
RESPONSIBILITIES FOR THEIR APPLICATION OF THE PRODUCTS.
THE SOFTWARE LICENSE AND LIMITED WARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET
FORTH IN THE INFORMATION PACKET THAT IS SHIPPED WITH THE PRODUCT AND ARE
INCORPORATED HEREIN BY THIS REFERENCE.
NOTWITHSTANDING ANY OTHER WARRANTY HEREIN, ALL DOCUMENT FILES AND SOFTWARE OF
THESE SUPPLIERS ARE PROVIDED “AS IS” WITH ALL FAULTS. PRODUCT AND THE ABOVE-NAMED
SUPPLIERS DISCLAIM ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT
LIMITATION, THOSE OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT OR ARISING FROM A COURSE OF DEALING, USAGE, OR TRADE PRACTICE.
IN NO EVENT SHALL THE PRODUCT OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL,
CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING, WITHOUT LIMITATION, LOST PROFITS
OR LOSS OR DAMAGE TO DATA ARISING FROM THE USE OR INABILITY TO USE THIS MANUAL, EVEN
IF THE PRODUCT OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES.
Operation Manual V2.9
COPYRIGHT ©2007 All rights reserved.

Contents
1. Introduction....................................................................................................1
Product Overview.........................................................................................................................................1
Hardware Description...................................................................................................................................2
2. Installation and Applications......................................................................13
Network Interface.......................................................................................................................................13
Telephone Interface Description ................................................................................................................17
3. Setting the Gateway through IVR...............................................................20
IVR (Interactive Voice Response)..............................................................................................................20
IP Configuration Settings of WAN Port ......................................................................................................23
4. Setting a Gateway with WEB Browser.......................................................26
Network Settings (WAN) ............................................................................................................................27
Network Settings (LAN)..............................................................................................................................32
QoS Settings..............................................................................................................................................34
NAT/DDNS.................................................................................................................................................36
Caller ID .....................................................................................................................................................38
Telephony Settings.....................................................................................................................................40
SIP..............................................................................................................................................................46
Private Network..........................................................................................................................................53
Calling Features.........................................................................................................................................55
Advanced Options......................................................................................................................................57
Digit Map....................................................................................................................................................62
Phone Book................................................................................................................................................66
Caller Filter.................................................................................................................................................66
CDR Settings .............................................................................................................................................67
Language ...................................................................................................................................................67
Transit Call Control.....................................................................................................................................68
Long-Distance Control Table......................................................................................................................69
Long Distance Exception Table..................................................................................................................69
CPT/Cadence Settings...............................................................................................................................70
System Information....................................................................................................................................76
RTP Packet Summary................................................................................................................................77
STUN Inquiry..............................................................................................................................................77
Ping Test.....................................................................................................................................................77
NTP............................................................................................................................................................78
Backup/Restore..........................................................................................................................................78
Provision Settings ......................................................................................................................................79
System Operations.....................................................................................................................................80
Software Upgrade ......................................................................................................................................81
Logout ........................................................................................................................................................81
5. IP Sharing Functions...................................................................................82
6. Coding Principle..........................................................................................86
Instruction...................................................................................................................................................86
Dialed Number Processing Flow................................................................................................................86
Example for Call Out via VoIP – Contents of Invite....................................................................................86
Example for Match phone numbers invited by callers...............................................................................87
7. Advanced Feature .......................................................................................89

Static Route................................................................................................................................................89
RIP (Routing Information Protocol)............................................................................................................89
Port filtering................................................................................................................................................90
IP Filtering..................................................................................................................................................90
MAC Filtering..............................................................................................................................................91
Virtual Server .............................................................................................................................................91
DMZ............................................................................................................................................................91
URL Filter...................................................................................................................................................92
Special Applications...................................................................................................................................92
DoS Prevention Settings............................................................................................................................93
8. VPN IPSEC ※..............................................................................................94
Notice................................................................................................................99

1
SIP Operation Manual
1. Introduction
Product Overview
The stand-alone VoIP Gateway carries both voice and facsimile over the IP network. It
supports SIP industry standard call control protocol to be compatible with free registration
services or VoIP service providers’ systems. It works in two different modes: UA (User Agent)
or Server. As a standard user agent, it is compatible to all well-known Soft Switches and SIP
proxy servers. While running the optional server software, the gateway can be configured to
establish a private VoIP network over the Internet without a 3rd party SIP Proxy Server.
There are 3 types of gateways in the same series: 2 ports, 4 ports and 8 ports (voice ports,
FXS and/or FXO). The gateway can be seamlessly integrated to existing network by
connecting to a phone set, PBX, key telephone system, fax machine or PSTN line. With only a
broadband connection such as ADSL bridge/router, Cable Modem or leased line router, it
allows you to gain access to voice and fax services over the IP in order to reduce the cost of
international and long distance calls.
In addition, the in-built 4 ports Ethernet switch supports comprehensive Internet gateway
functions to accommodate other PCs or IP devices to share the same broadband stream. QoS
function allows voice and data traffic to flow through where voice traffic is transmitted in the
highest priority. With TOS bit enabled, it guarantees voice packets to have first priority to pass
through a TOS enabled router.
With the support of DDNS, it makes the gateway reachable by its domain name where the ISP
dynamically assigns the IP address. It helps users to host a web site or mail server in a PPPoE
or DHCP network. By enabling the CDR function & setting up a simple server, administrators
are allowed to log in and view all call records such as call duration, time and date of calls and
latency.
The gateway can be assigned with a fixed IP address or by DHCP, PPPoE. It adopts the G.711,
G.726, G.729A or G.723.1 voice compression format to save the network bandwidth while
providing real-time and toll quality voice. In addition, in the event that the power supply fails or
Internet connection is lost, the gateway can automatically divert the FXS end to the PSTN
network on the FXO port so users can still use the conventional PSTN line to make calls. This
feature is especially useful while dialing emergency calls (i.e. 911).

2
SIP Operation Manual
Hardware Description
2 ports gateway model: 2S / 2O / 1S1O
Front Panel
Power Indicator: Green light indicates a normal power supply.
Run Indicator: Blinking green light indicates normal operation.
Alarm Indicator: When the system starts up, the red light will blink. It also indicates the
gateway’s abnormal operation.
Voice ports indicators: Indicate connection and activity on the port 1 – 2.
WAN stands for the WAN Port Indicator.
L1 – L4 stands for the LAN Port Indicator.
When starting up the system, the Alarm, Run, and Power indicators will light up. After about 40
seconds, the Alarm indicator will go off, the Run indicator will blink green, and the Power
indicator will stay green (under normal operating conditions). If the Alarm indicator continues
to blink, then the system is attempting to connect with your ISP and has yet to obtain an IP
address.
Once the WAN is connected, the WAN indicator will light up green and, if data is being
transmitted over the Internet, the indicator blinks green and orange.
To restore factory default settings (IP address, User’s Name, Password):
(1) Disconnect the power plug.
(2) Press and hold the reset button.
(3) Reconnect the power plug while pressing down on the reset button.
(4) Release the reset button after 6 seconds. Factory settings will be restored.
L4 L3 L2 L1 WAN
WAN, LAN indicators Status indicatorsVoice ports indicators
VoIP Gateway
P2 P1
A
larm RUN Power

3
SIP Operation Manual
Model Description
2S: P1-P2 stand for Phone1-Phone2. Connect to your analog telephone.
2O: P1-P2 stand for Line1-Line2. Connect to your original telephone line on the wall jack with
RJ-11 cable.
1S1O : P1 stand for Phone1 and P2 stand for Line1. Phone port is connected to your analog telephone,
and Line port is connected to your original telephone line on the wall jack with RJ-11 cable. P1 will be
relayed to P2 for emergency calls before the power is connected or in the occasion of a power failure.
WARNING: DO NOT (1) connect the phone ports to each other (FXS to FXS) or (2) connect any
phone port directly to a PSTN line (FXS to PSTN) or to an internal PBX line (FXS to PBX
extension). Doing so may damage your VoIP gateway.
Rear Panel
2S Model (2 FXS ports)
DC+12V Reset P1 WAN L1
FXS ports 1,2
(telephone connectors)
Phone sets connection
ports
WAN port
Connects to broadband
Networks such as ADSL,
Cable Modem or Router
LAN ports 1 ~ 4
(built-in Ethernet switch)
Connect LAN hosts here
to share WAN connection.
IP sharing features enabled
POWER
Connects to the power
adapter (comes with
the gateway)
RESET
To reset the
gateway
Or to restore
factor
y
settin
g
s
P2 L2 L3 L4

4
SIP Operation Manual
2O Model (2 FXO ports)
1S1O Model (1 FXO and 1 FXS ports)
DC+12V Reset P1 WAN L1
FXS port: 1
FXO port: 2
FXS connects to phone set;
FXO connect to PSTN line
WAN port
Connects to broadband
Networks such as ADSL,
Cable Modem or Router
LAN ports 1 ~ 4
(built-in Ethernet switch)
Connect LAN hosts here
to share WAN connection.
IP sharing features enabled
POWER
Connect to the power
adapter (comes with
the gateway)
RESET
To reset the
gateway
Or to restore
factor
y
settin
g
s
P2 L2 L3 L4
DC+12V Reset WAN L1
FXO ports 1 ~ 2
(PSTN line connectors)
Connect to PSTN lines
WAN port
Connects to broadband
Networks such as ADSL,
Cable Modem or Router
LAN ports 1 ~ 4
(Built-in Ethernet switch)
Connect LAN hosts here
to share WAN connection.
IP sharing features enabled
POWER
Connects to the power
adapter (comes with
the gateway)
RESET
To reset the
gateway
Or to restore
factor
y
settin
g
s
P2 L2 L3 L4

5
SIP Operation Manual
4 ports gateway model: 4S / 4O / 2S2O / 3S1O
Front Panel
Power Indicator: Green light indicates a normal power supply.
Run Indicator: Blinking green light indicates normal operation.
Alarm Indicator: When the system starts up, the red light will blink. It also indicates the
gateway’s abnormal operation.
Voice ports indicators: Indicate connection and activity on the port 1 – 4.
WAN stands for the WAN Port Indicator.
L1 – L4 stands for the LAN Port Indicator.
When starting up the system, the Alarm, Run, and Power indicators will light up. After about 40
seconds, the Alarm indicator will go off, the Run indicator will blink green, and the Power
indicator will stay green (under normal operating conditions). If the Alarm indicator continues
to blink, then the system is attempting to connect with your ISP and has yet to obtain an IP
address.
Once the WAN is connected, the WAN indicator will light up green and, if data is being
transmitted over the Internet, the indicator blinks green and orange.
To restore factory default settings (IP address, User’s Name, Password):
(1) Disconnect the power plug.
(2) Press and hold the reset button.
(3) Reconnect the power plug while pressing down on the reset button.
(4) Release the reset button after 6 seconds. Factory settings will be restored.
VoIP Gatewa
y
RUN
A
larm
P1
WAN
L1
WAN, LAN indicators Status indicators
P2P3P4L2L3L4 Powe
r
Voice ports indicators

6
SIP Operation Manual
Model Description
4S: P1-P4 stand for Phone1-Phone4. Connect to your analog telephone.
4O: P1-P4 stand for Line1-Line4. Connect to your original telephone line on the wall jack with
RJ-11 cable.
2S2O: P1-P2 stand for Phone1-Phone2 and P3-P4 stand for Line1-Line2. Phone ports are connected
to your analog telephone, and Line ports are connected to your original telephone line on the wall jack
with RJ-11 cable. Each FXS is relayed to each FXO symmetrically before the power is connected or in
the occasion of a power failure.
3S1O: P1-P3 stand for Phone1-Phone3 and P4 stand for Line1. Phone ports are connected to your
analog telephone, and Line port is connected to your original telephone line on the wall jack with RJ-11
cable. P1 will be relayed to P4 so that emergency calls can be made before the power is connected or
in the occasion of a power failure.
WARNING: DO NOT (1) connect the phone ports to each other (FXS to FXS) or (2) connect any
phone port directly to a PSTN line (FXS to PSTN) or to an internal PBX line (FXS to PBX
extension). Doing so may damage your VoIP gateway.
Rear Panel
4S Model (4 FXS ports)
DC+12V Reset P1 WAN L1
FXS ports 1 ~ 4
(telephone connectors)
Connects to phone sets
WAN port
Connects to broadband
Networks such as ADSL,
Cable Modem or Router
LAN ports 1 ~ 4
(built-in Ethernet switch)
Connect LAN hosts here
to share WAN connection.
IP sharing features enabled
POWER
Connects to the power
adapter (comes with
the gateway)
RESET
To reset the
gateway or to
restore
factor
y
settin
g
s
P2 P3 P4 L2 L3 L4

7
SIP Operation Manual
4O Model (4 FXO ports)
2S2O Model (2 FXS and 2 FXO ports)
DC+12V Reset P1 WAN L1
FXO ports 1 ~ 4
(PSTN line connectors)
Connects to PSTN lines
WAN port
Connects to broadband
Networks such as ADSL,
Cable Modem or Router
LAN ports 1 ~ 4
(built-in Ethernet switch)
Connect LAN hosts here
to share WAN connection.
IP sharing features enabled
POWER
Connects to the power
adapter (comes with
the gateway)
RESET
To reset the
gateway
or to restore
factor
y
settin
g
s
P2 P3 P4 L2 L3 L4
DC+12V Reset P1 WAN L1
FXS ports 1,2
FXO ports 3,4
FXS to telephone set;
FXO to PSTN lines
WAN port
Connects to broadband
Networks such as ADSL,
Cable Modem or Router
LAN ports 1 ~ 4
(built-in Ethernet switch)
Connect LAN hosts here
to share WAN connection.
IP sharing features enabled
POWER
Connects to the power
adapter (comes with
the gateway)
RESET
To reset the
gateway
Or to restore
factor
y
settin
g
s
P2 P3 P4 L2 L3 L4

8
SIP Operation Manual
3S1O Model (3 FXS and 1 FXO ports)
DC+12V Reset P1 WAN L1
FXS ports : 1, 2, 3
FXO ports : 4
FXS to telephone set;
FXO to PSTN lines
WAN port
Connects to broadband
Networks such as ADSL,
Cable Modem or Router
LAN ports 1 ~ 4
(built-in Ethernet switch)
Connect LAN hosts here
to share WAN connection.
IP sharing features enabled
POWER
Connects to the power
adapter (comes with
the gateway)
RESET
To reset the
gateway
Or to restore
factor
y
settin
g
s
P2 P3 P4 L2 L3 L4

9
SIP Operation Manual
8 ports gateways model: 8S / 8O / 6S2O / 4S4O
Front Panel
Power Indicator: Green light indicates a normal power supply.
Run Indicator: Blinking green light indicates normal operation.
Alarm Indicator: When the system starts up, the red light will blink. It also indicates the
gateway’s abnormal operation.
Voice ports indicators: Indicate connection and activity on the port 1 – 8.
WAN stands for the WAN Port Indicator.
L1 – L4 stands for the LAN Port Indicator.
When starting up the system, the Alarm, Run, and Power indicators will light up. After about 40
seconds, the Alarm indicator will go off, the Run indicator will blink green, and the Power
indicator will stay green (under normal operating conditions). If the Alarm indicator continues
to blink, then the system is attempting to connect with your ISP and has yet to obtain an IP
address.
Once the WAN is connected, the WAN indicator will light up green and, if data is being
transmitted over the Internet, the indicator blinks green and orange.
To restore factory default settings (IP address, User’s Name, Password):
(1) Disconnect the power plug.
(2) Press and hold the reset button.
(3) Reconnect the power plug while pressing down on the reset button.
(4) Release the reset button after 6 seconds. Factory settings will be restored.
Voice ports indicators
RUN
A
larm
P5 WAN
L1
WAN, LAN indicators Status indicators
P6P7P8 L2L3L4 Power
P1P2P3P4
VoIP Gatewa
y

10
SIP Operation Manual
Model Description
8S: P1-P8 stand for Phone1-Phone8.Connect to your analog telephone.
8O: P1-P8 stand for Line1-Line8. Connect to your original telephone line on the wall jack with
RJ-11 cable.
6S2O: P1-P6 stand for Phone1-Phone6 and P7-P8 stand for Line1-Line2. Phone ports are connected
to your analog telephone, and Line ports are connected to your original telephone line on the wall jack
with RJ-11 cable. P1 will be relayed to P7, and P2 is relayed to P8 to reach PSTN before the power is
connected or in the occasion of a power failure.
4S4O: P1-P4 stand for Phone1-Phone4 and P5-P8 stand for Line5-Line8. Phone ports are connected
to your analog telephone, and Line ports are connected to your original telephone line on the wall jack
with RJ-11 cable. Each FXS is relayed to each FXO symmetrically before the power is connected or in
the occasion of a power failure.
WARNING: DO NOT (1) connect the phone ports to each other (FXS to FXS) or (2) connect any
phone port directly to a PSTN line (FXS to PSTN) or to an internal PBX line (FXS to PBX
extension). Doing so may damage your VoIP gateway.
Rear Panel
8S Model (8 FXS ports)
POWER
Connects to the power
Adapter (comes with
the gateway)
P1
WAN L1
FXS ports 1 ~ 8
(telephone connectors)
Connects to phone sets
WAN port
Connects to broadband
Networks such as ADSL,
Cable Modem or Router
LAN ports 1 ~ 4
(built-in Ethernet switch)
Connect LAN hosts here
to share WAN connection.
IP sharing features enabled
RESET
To reset the
gateway
Or to restore
factory settings
P2 P3 P4
L2 L3 L4 P5 P6 P7 P8
RESET GND DC12V

11
SIP Operation Manual
8O Model (8 FXO ports)
6S2O Model (6 FXS and 2 FXO ports)
POWER
Connects to the power
adapter (comes with
the gateway)
P1
WAN L1
FXO ports 1 ~ 8
(PSTN line connectors)
Connects to PSTN lines
WAN port
Connects to broadband
Networks such as ADSL,
Cable Modem or Router
LAN ports 1 ~ 4
(built-in Ethernet switch)
Connect LAN hosts here
to share WAN connection.
IP sharing features enabled
RESET
To reset the
gateway
or to restore
factory settings
P2 P3 P4
L2 L3 L4 P5 P6 P7 P8
RESET GND DC12V
POWER
Connects to the power
adapter (comes with
the gateway)
P1
WAN L1
FXS ports 1 ~ 6
(telephone connectors)
Connects to phone sets
WAN port
Connecst to broadband
Networks such as ADSL,
Cable Modem or Router
LAN ports 1 ~ 4
(built-in Ethernet switch)
Connect LAN hosts here
to share WAN connection.
IP sharing features enabled
RESET
To reset the
gateway
or to restore
factory settings
P2 P3 P4
L2 L3 L4 P5 P6 P7 P8
RESET GND DC12V
FXO ports 7,8
(PSTN line connectors)
Connects to PSTN lines

12
SIP Operation Manual
4S4O Model (4 FXS and 4 FXO ports)
P1
WAN L1 P2 P3 P4
L2 L3 L4 P5 P6 P7 P8
RESET GND DC12V
POWER
Connects to the power
adapter (comes with
the gateway)
FXS ports 1 ~ 4
(telephone connectors)
Connects to phone sets
WAN port
Connects to broadband
Networks such as ADSL,
Cable Modem or Router
LAN ports 1 ~ 4
(built-in Ethernet switch)
Connect LAN hosts here
to share WAN connection.
IP sharing features enabled
RESET
To reset the
gateway
or to restore
factory settings
FXO ports 5~8
(PSTN line connectors)
Connects to PSTN lines

13
SIP Operation Manual
2. Installation and Applications
Network Interface
The network interface is divided into 4 basic modes as described below:
Gateway can be assigned with a Public IP Address
Gateway can be built under the existing NAT
Gateway can be assigned with a Public IP address and serves as an IP sharing router.
Gateway can be assigned with a Public IP address and serves as a bridge
Gateway Assigned with a Public IP Address
The gateway will have a Public IP address for Internet connection regardless of whether it is a
static IP address, DHCP (using a Cable Modem), or PPPoE (Dialup / ADSL).
Gateway IP Settings Need to be set up as static
IP, DHCP, or PPPoE
NAT/STUN Settings Unnecessary (Disabled)
DDNS Settings Unnecessary (Disabled)
Leased line / ADSL / Cable modem
InternetInternet
PBX
Phone Phone
WAN

14
SIP Operation Manual
Gateway in a NAT network
The gateway uses a virtual IP address and the IP sharing function of other systems to connect
to the Internet.
LAN IP address of IP sharing Please avoid IP address 192.168.0.1-192.168.8.254 (You may need
to change the settings of IP sharing or change SIP series Gateway
LAN Port IP address)
Gateway IP Settings Set as static IP address, and assign the LAN IP address of the IP
sharing to the Default Gateway.
If the WAN of the IP sharing device has static IP address,
then the NAT IP address is set as the Public IP address of
the IP sharing.
NAT /STUN Settings
Enable
If the WAN of the IP sharing device uses a dynamic IP
address, then it has to comply with the DDNS settings.
When suing NAT, you must enter the URL (Uniform
Resource Locator) that is registered to the DDNS server.
The WAN of the IP sharing
device has a static IP address. Disabled
DDNS Settings
The WAN of the IP sharing
device has a dynamic IP
address.
Enabled: enter the registered URL
(Uniform Resource Locator) into
NAT / DDNS→NAT Public IP
Leased line / ADSL / Cable modem
InternetInternet
Firewall / NAT
PC
PC
PC
PBX
Phone Phone
WAN

15
SIP Operation Manual
Gateway assigned with a Public IP Address and serving as an IP
sharing device
The gateway will have a Public IP address regardless of whether it is a static IP application,
DHCP (using a Cable Modem), or PPPoE (To connect to your ADSL account), which can then
use the functions of built-in IP sharing function to allow other PCs to be on-line at the same time.
Gateway IP Settings Need to be set up as static IP, DHCP, or PPPoE
NAT/STUN Settings Unnecessary (Disabled)
DDNS Settings Unnecessary (Disabled)
For settings at PC end,
please refer to
IP sharing functions
PC uses a static IP address ranging from: 192.168.8.1-192.168.8.253
Subnet Mask:255.255.255.0
Default Gateway:192.168.8.254
Leased line / ADSL / Cable modem
InternetInternet
PC PC PC
VoIP gateway serving as an IP sharing device
PBX
Phone
Phone
WAN
LAN
WAN

16
SIP Operation Manual
Gateway assigned with a Public IP Address and serving as a
bridge
The gateway will have a Public IP address regardless of whether it is a static IP application,
DHCP (using a Cable Modem), or PPPoE (To connect to your ADSL account), which can then
use the functions of built-in Bridge function to allow a PC to be on-line at the same time.
Gateway IP Settings Need to be set up as static IP, DHCP, or PPPoE
NAT/STUN Settings Unnecessary (Disabled)
DDNS Settings Unnecessary (Disabled)
For settings at PC end PC uses the original IP address
Leased line / ADSL / Cable modem
InternetInternet
PC PC PC
VoIP gateway serving as an IP sharing device
PBX
Phone
Phone
WAN
LAN
WAN
This manual suits for next models
10
Table of contents
Popular Gateway manuals by other brands

Xibu
Xibu HsM gatewayLAN manual

NETGEAR
NETGEAR CBVG834G Adminstrators user manual

Fujitsu
Fujitsu AIRSTAGE UTY-ABGXZ1 instruction manual

AAMP of America
AAMP of America iSimple owner's manual

ZyXEL Communications
ZyXEL Communications Prestige 661H Series quick start guide

New Rock Technologies
New Rock Technologies MX series user manual