Dinstar IPG2160 User manual

IPG2160 IPG2320 GSM 2G VoIP Gateway User Manual
_______________________________________________________________________________
1
Table of Contents
1. Product Description
1.1 Overview
1.2 Scenario of Application
1.3 Product Appearance
1.4 Functions and Features
1.3.1 Protocols
1.3.2 System Function
1.3.3 Industrial Standards Supported
1.3.4 General Hardware Specification
2. Installation Guide
2.1 Installation Notice
2.2 Installation Procedure
2.2.1 Install SIM Card
2.2.2 Antenna Installation
2.2.3 Network Cable Connection of Equipment
3. Basic Operation
3.1 IVR Navigator
3.2 Basic Operation
4. WEB Interface Configuration
4.1 Access IPG2160 IPG2320 unit
4.2 Parameters Configuration
4.3 System Information
4.3.1 System Information
4.3.2 Mobile Information
4.3.3 SIP Information
4.4 Statistics
4.4.1 TCP/UDP
4.4.2 RTP
4.4.3 SIP Call History
4.4.4 IP to GSM Call History
4.4.5 CDR Report
4.4.6 Auto Lock BCCH History
4.5 Network Configuration
4.5.1 Local Network
4.5.2 ARP
4.5.3 VPN Parameter
4.6 Mobile Configuration

IPG2160 IPG2320 GSM 2G VoIP Gateway User Manual
_______________________________________________________________________________
2
4.6.1 Basic Configuration
Example:
Configuration between SMS box and gateway
Configure API parameters on Gateway
Configure SMS box
How to configure abnormal call on Gateway
Low ASR Less Than 20%
Low ACD Less Than 300s
Counts of Call Failed
Mobile Operate
4.6.2 Mobile Configuration
How to configure maximum call limitation
4.6.3 PIN Management
4.6.5 SMSC
4.6.6 Send SMS/Recv SMS
4.6.7 USSD
4.6.8 Carrier
4.6.9 BCCH
4.6.10 Call Forwarding
4.6.11 Call Waiting
4.6.12 SIM Mode
4.6.13 Cloud Server
4.7 Routing Configuration
4.7.1 Routing Parameter
4.7.2 IP->Tel Routing
4.7.3 Tel->IP Routing
4.8 Manipulaton Configuration
4.8.1 IP->Tel Destination Numbers
4.8.2 Tel->IP Source Numbers
4.8.3 Tel->IP Destination Numbers
4.9 Operation
4.9.1 IP->Tel Operation
4.9.2 Tel->IP Operation
4.10 Port Group Configuration
4.10.1 Port Group
4.11 IP Trunk Configuration
4.11.1 IP Trunk
4.11.2 IP Trunk Group
4.12 System Configuration
4.12.1 Service Parameter
4.12.2 SIP Parameter
4.12.3 Port Parameter
4.13 Digit Map
4.14 Tools
4.14.1 Firmware Upload

IPG2160 IPG2320 GSM 2G VoIP Gateway User Manual
_______________________________________________________________________________
3
4.14.2 Syslog
4.14.3 Filelog / Filelog Download
4.14.4 Management Parameter
4.14.5 Config Backup
4.14.6 Config Restore
4.14.7 IVR Voice Prompt Upload
4.14.8 Ping Test
4.14.9 Tracert Test
4.14.10 Network Capture
4.14.11 Voice Loopback Test
4.14.13 Username & Password
4.14.14 Factory Reset
4.14.15 Restart
5. Troubleshooting and Command Line
5.1 Login & General Knowledge of commands
5.2 Commands in "ROS#" Mode
5.2.1 Summarize of commands in "ROS#" mode
5.2.2 General Purpose Commands in "ROS#" mode
Show IP address (show int)
Show Time (show clock)
Show version (show version)
Show sip Information (show sip config)
Show memory status (show memory detail)
Show SIP port status (show sip all)
Show Current calls (sh ecc call)
Show RTP session (sho rtp se)
Show ASR/ACD statistics (show ecc state)
5.3 Commands in "Config" Mode
5.3.1. Summarize of commands in "config" mode
5.3.2. General Purpose Commands in "Config" mode
Set time (clock set)
Save the configuration (save)
Restart device (reset eia)
Enable debug
Enable SIP debug (deb sip msg all)
5.4 How to trace SIP logs
5.5 How to trace ECC logs (Call Details)
5.6 How to trace Module logs
6. The Way to Increase Antenna Isolation
7. Frequency Asked Questions
8. Glossary

IPG2160 IPG2320 GSM 2G VoIP Gateway User Manual
_______________________________________________________________________________
4
1. Product Description
This chapter mainly introduces functions and structures of IPG2160 IPG2320
1.1 Overview
IPG2160 IPG2320 GSM 2G VoIP Gateway is full functions VoIP gateway based on IP and
Mobile network, which provides a flexible network configuration, powerful features, and good
voice quality. It works for carrier grade, enterprise, SOHO, residential users for cost-effective
solution.
1.2 Scenario of Application
With the development of users and telecom service, mobile network and fixed network
integration will be steadily increasing. IPG2160 IPG2320 provides high quality VoIP service
which perfectly meets the requirement. This is a scenario shown as figure 1-2-1 Figure 1-2-1
Network scenario
1.3 Product Appearance
The appearance of IPG2160 IPG2320 shows as follow
Figure 1-3-1 Front view of IPG2160 IPG2320

IPG2160 IPG2320 GSM 2G VoIP Gateway User Manual
_______________________________________________________________________________
5
Table 1-3-1 Description of Front view
Index
Indicators
Description
1
RUN
On: Starting
Off: Abnormal
Blinking every 0.5s: Normal status
2
PWR
On: Power on
Off: Power off
3
Signal
Signal strength indicators with green color
4
Channel
Use/Unuse indicator with Red color, ON is used, Off is unused
5
SIM Slots
SIM card slot
Figure 1-3-2 Rear view of IPG2160 IPG2320
Table 1-3-2 Description of Rear view
Index
Interface
Description

IPG2160 IPG2320 GSM 2G VoIP Gateway User Manual
_______________________________________________________________________________
6
1
Power Connector
Power connector of DC power. Input: DC12V
2
Antenna Connector
Mark as digits 0 to 7
3
Network
FE0 and FE1, its default IP address
192.168.11.1
4
Console
RS232 standard,
band rate 115200bps
5
RST
Reset button to restore default IP and password or restore factory
setting.
Restore IP and Password: hold RST button 3~5 seconds,
RUN LED being ON during this time
Restore factory setting: Hold RST button 7 seconds,
RUN LED being blink
The appearance of IPG2160 IPG2320
The appearance of IPG2160 IPG2320
1.4 Functions and Features
1.4.1 Protocols
Standard SIP;
Simple Traversal of UDP over NATs (STUN);
Point-to-point protocol over Ethernet (PPPoE);
Hypertext Transfer Protocol (HTTP);
Dynamic Host Configuration Protocol (DHCP);
Domain Name System (DNS);
ITU-T G.711α-Law/μ-Law
、
G.723.1
、
G.729AB;
PPTP available on IPG2160 IPG2320

IPG2160 IPG2320 GSM 2G VoIP Gateway User Manual
_______________________________________________________________________________
7
1.4.2 System Function
PLC: Packet loss concealment
VAD: Voice activity detection
CNG: Comfort Noise Generation
Local/Remote SIM card work mode
Adjustable gain of port
DTMF adjustment
Balance Check
Lock/unlock SIM/UIM
Mobile number display rejection
Sending/receiving SMS
Customize IVR Recording
White and black list
One number access
Open API for SMS, support USSD
Echo Cancellation (with ITU-T G.168/165 standard)
Automatic negotiate network
Hotline
BCCH
1.4.3 Industrial Standards Supported
Stationary use environment: EN 300 019: Class 3.1
Storage environment: EN 300 019: Class 1.2
Transportation environment: EN 300 019: Class 2.3
Acoustic noise: EN 300 753
CE EMC directive 2004/108/EC
EN55022: 2006+A1:2007
EN61000-3-2: 2006,
EN61000-3-3: 1995+A1: 2001+A2: 2005
EN55024: 1998+A1: 2001+A2: 2003 Certifications: FCC, CE
1.4.4 General Hardware Specification
Power Supply
Input: 100-240V, 50-60Hz
Temperature(Operation): 0
℃
~ 45
℃
(Storage): -20
℃
~80
℃
Operation Humidity: 10%-90% No Condensation
2. Installation Guide
This chapter mainly introduces IPG2160 IPG2320 hardware installation as example and
connection
of device.
Tips
:
The installation steps are suitable for IPG2160 IPG2320 serials gateway also.

IPG2160 IPG2320 GSM 2G VoIP Gateway User Manual
_______________________________________________________________________________
8
2.1 Installation Notice
IPG2160 IPG2320 adapts 12VDC. Power adapter, make sure AC power supply grounded
well to ensure the reliability and stability;
Notes: incorrect power connection may damage power adapter and device.
IPG2160 IPG2320 G/C provides standard RJ45 with 10Mbps or 100Mbps interfaces. For
Wireless part, make sure antennas connecting well on device. Inserting SIM cards and
GSM channels should work properly.
2.2 Installation Procedure
2.2.1 Install SIM Card
Figure 2-2-1 SIM Card installation
2.2.2 Antenna Installation
Figure 2-2-4 Antenna Installation

IPG2160 IPG2320 GSM 2G VoIP Gateway User Manual
_______________________________________________________________________________
9
2.2.3 Network Cable Connection of Equipment
Figure 2-2-5 IPG2160 IPG2320 network connection
3. Basic Operation
In this chapter is mainly to introduce basic operation of gateway.
3.1 IVR Navigator
The gateway is embeded IVR system for local maintainance.In each step, if user hears an IVR
message of “setting succeed”, which means that user has finished this step successfully.
However, if user hears a “setting failed” message, please check and redo that step again. Table
3-1 Feature codes for system setting
Dial numbers
Features
*150*a#
Set IP address(static/DHCP), a can be digit 1 or 2,*150*1# is static
IP address mode, *150*2# is DHCP mode
*152*a*b*c*d#
Configure IP address, a, b, c, d are the four fields of IP address.
*153*a*b*c*d#
Configure subnet mask. a, b, c, d are the four fields of the subnet mask
*156*a*b*c*d#
Configure the device gatewa
y, a, b, c, d are the four fields of the device
gateway
*158#
Query the IP address
*111#
Restart device
3.2 Basic Operation
3.2.1 Check IP address
With a Mobile phone call the SIM card number, the gateway will answer and play voice prompt

IPG2160 IPG2320 GSM 2G VoIP Gateway User Manual
_______________________________________________________________________________
10
‘dial the extension number’, press *158# on mobile phone then local IP address will be reported
by gateway automatically.
3.2.2 Restore factory setting via IVR
With a Mobile phone call the SIM card number, the gateway will answer and play voice prompt
‘dial the extension number’, press *166*000000# on mobile phone then the user will hear
‘setting succeed’. Reboot gateway to take setting effective.
3.2.3 Restore default IP and password
Press RST button about 3 seconds then reboot gateway. The IP address, username and
password will be back to factory default.
3.2.4 Restore factory setting
Press RST button about 7 seconds then reboot gateway then it will restore to factory setting.
3.2.5 Console port access
The gateway provide Console port for maintenance purpose. It adopts RS232 standards with
band rate 115200bps.
4. WEB Interface Configuration
IPG2160 IPG2320 serials gateway has the same web interface. This charpter describes web
configuration of IPG2160 IPG2320. The IPG2160 IPG2320 contains an embedded web server
to set parameters by using the HTTP protocol. We are strongly recommend to access device
with
Google Chrome or Firefox Browser.
The configuration introduction also suitable for following models:
IPG2160 IPG2320
IPG2041
IPG2081
4.1 Access IPG2160 IPG2320 unit
Enter IP address of IPG2160 IPG2320 in IE/Google Chrome. The default IP of LAN port is
192.168.11.1. and the GUI shows as below:
Figure 4-1-1 WEB log interface

IPG2160 IPG2320 GSM 2G VoIP Gateway User Manual
_______________________________________________________________________________
11
Enter username and password and then click “OK” in configuration interface. The default
username and password are “admin/admin”. It is strongly recommended, change the default
password to a new password for system security.
4.2 Parameters Configuration
IPG2160 IPG2320 WEB configuration interface consists of the navigation tree and the detail
configuration interfaces.
Figure 4-2-1 WEB introduce
Go through navigation tree, user can check, view modify, and set the device configuration on
the right of configuration interface.

IPG2160 IPG2320 GSM 2G VoIP Gateway User Manual
_______________________________________________________________________________
12
4.3 System Information
System information interface shows the basic information of status information, Mobile
information and SIP information.
4.3.1 System Information
Figure 4-3-1 system Information
Table 4.3-1 System Information
Parameters
Description
MAC Address
Displays the current MAC of the gateway, for example: 00-1F-D6-1B-3D-02
Network Mode
IPG2160 IPG2320 works as bridge mode by default
Network
Current IP address and subnet mask of gateway
DNS Server
Displays DNS server IP address in the same network with the gateway
Device ID
A unique device ID which assigned in factory. This device ID to be used as
register ID with Dinstar SIM cloud.
Server Register
status
Its indicates communicate status with SIMCloud server, there are two type of
status:
Registered
Not Registered
Need Authentication
License
Its indicates device’s license status. Contact with support when it display as
Invalid

IPG2160 IPG2320 GSM 2G VoIP Gateway User Manual
_______________________________________________________________________________
13
System Up Time
Shows the time period of the device running. For example,:1h: 20m, 24s
Traffic Statistics
Calculates the net flow, including the total bytes of message rece
ived and
sent.
Version info
shows the current firmware version
Device Model: Model name of the device
Package version: 02230804 2013-05-29 18:51:05 beta, 02230804
is the version number
Software version: 02230804 2013-05-29 18:50:18, 02230804 is the
version number
Web version: the version number of web system.
The web version
must match with software
Userboard 0 Version: the firmware version of userboard slot 0
Userboard License ID: Contact with support when it display as
Invalid
Hardware version/DSP version/ SIMbox version
4.3.2 Mobile Information
Figure 4.3-2 Mobile Information
Table 4.3-2 Mobile Information
Parameters
Description
Port
Number of GSM/ ports.
Type
Indicates the current type of network. Such as or GSM
IMSI
International Mobile Subscriber Identity, it is the uniquely identifies of
SIM card
Status
Indicates the connection status of current GSM module
Remaining Call
Duration
It showing available total call minutes of SIM card while call limitation is
enabled.
Carrier
Displays the network carrier of current SIM card.
Signal Quality
Displays the signal strength of in each channels of GSM

IPG2160 IPG2320 GSM 2G VoIP Gateway User Manual
_______________________________________________________________________________
14
BER
Its indicate error rates between Module and Base station(BTS)
ASR
Answer Seizure Ratio is a measure of network quality. It’s calculated by
taking the number of successfully answered calls and dividing by the
total number of calls attempted. Since busy signals and other rejections
by the called number count as call failures, the ASR value can vary
depending on user behavior.
ACD
The Average Call Duration (ACD) is calculated by taking the sum of
billable seconds (bill sec) of answered calls and dividing it by the number
of these answered calls.
PDD
Post Dial Delay (PDD) is experienced by the originating customer as the
time from the sending of the final dialed digit to the point at which they
hear ring tone or other in-band information. Where the originating
network is required to play an announcement before completing the call
then this definition of PDD excludes the duration of such
announcements.
Call Status
Show the Status of port, include idle, active, alert and processing
Idle means there is no call on this channel
Processing means call is connecting
Alerting means destination is
ringing
Active means the call is connected
Ringing means the gateway is answering incoming call from mobile
Calling Waiting means the gateway is receiving another call during
conversation and implement call waiting service
Call Hold means the call is hold by extension of IPPBX/SIP Server
4.3.3 SIP Information
Figure 4-3-3 SIP Information
Displays registration status information with Softswitch platform or SIP Server
Table 4-3-3 SIP information
Parameters
Description
Port
The number of SIP channels, IPG2160 IPG2320 has 16/32 SIP
channels

IPG2160 IPG2320 GSM 2G VoIP Gateway User Manual
_______________________________________________________________________________
15
SIP User ID
SIP registration account which are provided by the Softswitch and
SIP server
Register Status
Shows the registration status of VoIP channel, including registered
and unregistered.
Status
Show the status of port, Include "onhook" and "offhook"
4.4 Statistics
4.4.1 TCP/UDP
Figure 4-4-1 TCP/UDP Statistics
4.4.2 RTP
Figure 4-4-2 RTP
Table 4-4-1 Description of RTP Statistics
Parameters
Description
Port
The port of RTP statistics
Payload Type
The voice code of this channel, Include G.723.1/PCMA/PCMU/ G.729AB
Packet Period
Time of packaging
Local Port
Local port of transmitting RTP packages
Peer IP
End of equipment IP address
Peer Port
Peer port of receiving RTP packages
Send Packet
Total of sending RTP packages
Recv Packet
Total of receiving RTP packages
Loss Packet
Total of losing RTP packages
Jitter
Length of delay jitter
Duration Time(s)
Both ends of the call time
4.4.3 SIP Call History
Figure 4-4-3 SIP Call History

IPG2160 IPG2320 GSM 2G VoIP Gateway User Manual
_______________________________________________________________________________
16
Table 4-4-2 SIP Call History
Parameters
Description
Port
The port of Call statistics
Incoming Received
The amount of received incoming calls which coming from IP side
Incoming
connected
The amount of incoming calls which have connected
Incoming Answered
The amount of incoming calls which answered by GSM/ module
Incoming Failed
The amount of incoming calls which failed
Outgoing
Attempted
The amount of outgoing calls which attempted to IP side
Outgoing
Connected
The amount of outgoing calls which have connected
Outgoing Answered
The amount of outgoing calls which answered by IP side
Outgoing Failed
The amount of outgoing calls which failed
4.4.4 IP to GSM Call History
Figure 4-4-4 IP to GSM Call History
Table 4-4-4 IP to GSM Call History
Parameters
Description

IPG2160 IPG2320 GSM 2G VoIP Gateway User Manual
_______________________________________________________________________________
17
Port
Device GSM port
Call
Statistics the number of calls in this port
Duration
Statistics call total time
Answered
Statistics response times
Call Failed Caused by SIP
Statistics cause of call failure from SIP, include:canceled/
timeout/ not allowed/ Negotiation failed
Call Failed Caused by
GSM
Statistics cause of call failure from GSM, include: Busy/ no
answer/ no dialtone/ no carrier
4.4.5 CDR Report
Figure 4-4-5 CDR Report
It is support 10000 CDRs on gateway. The CDRs will lost after reboot while save CDR set to
No. To make the device works in good performance,we are strongly recomand to set ’Save
CDR’ to No.
Parameters
Description
Port
GSM port number
Start Date/Answer Date
start and end time of calls
Direction
IP to GSM:
outbound calls from softswitch/IPPBX to mobile network GSM
to IP:
incoming calls from mobile network to IPPBX/ Softswitch
Source
Calling number
Destination
Called number
Stauts
Answered: the call was established successful

IPG2160 IPG2320 GSM 2G VoIP Gateway User Manual
_______________________________________________________________________________
18
Canceded: the call was canceled by calling party
No Carrier: the call was rejected by mobile network
Not Answered: no body to answer the call
Busy: user busy
Durations
Call duration of the call
RTP send/recv/loss rate
RTP Statistics of the call
4.4.6 Auto Lock BCCH History
Figure 4-4-6 Auto Lock BCCH History
It is record history of BCCH to help analysis SIM card register status.
4.5 Network Configuration
4.5.1 Local Network
Figure 4-5-1 Local Network
Table 4-5-1 Local network
Parameters
Description

IPG2160 IPG2320 GSM 2G VoIP Gateway User Manual
_______________________________________________________________________________
19
Obtain IP Address
Automatically
Enable the device obtain IP Address automatically or not. Default is
enabling
Use the Following
IP Address
Configure the "IP Address", "Subnet Mask" and "Default Gateway" by
manual
PPPoE
Need ISP offer the account and password, Use this mode when there is
not router in the local network
MTU
Message transmit unit, default is 1400
Obtain DNS
Server Address
Automatically
When enable the WAN port option of "Obtain DNS Server Address
Automatically”, which will be enabled subsequently.
Use the Following
DNS Server
Addresses
Fill in the IP address of "Primary DNS Server" and "Secondary DNS
Server"
4.5.2 ARP
The ARP function mainly used to query and add the map of IP and MAC. There are static or
dynamic ARP entries.
Like other routers, the gateway can automatically find the network device on the same segment.
But, sometimes you don't want to use this automatic mapping; you'd rather have fixed (static)
associations between an IP address and a MAC address. Gateway provides you the ability to
add static ARP entries to:
Protect your network against ARP spoofing
Prevent network confusion as a result of misconfigured network device
Figure 4-5-3 Add ARP
Click Search All to check ARP buffer.

IPG2160 IPG2320 GSM 2G VoIP Gateway User Manual
_______________________________________________________________________________
20
4.5.3 VPN Parameter
Figure 4-5-3 VPN Parameter
Table 4-5-3 Description of VPN Parameter
Parameters
Description
Server
VPN Server IP or domain name(support PPTP only)
Account
VPN account which provide by server or VPN provider
Password
Password of VPN which provide by server or VPN provider
Domain
Follow VPN setting, can be null
Use MPPE
Encryption parameter, support 40/128 bit, must be match with VPN
server
Check VPN connecting status on system information
This manual suits for next models
1
Table of contents