This chapter mainly introduces functions and structures of DWG2000E/F/G.
1.1 Overview
DWG2000E/F/G serials GSM/CDMA 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. DWG2000E/F/G provides high quality VoIP service
which perfectly meets the requirement. This is a scenario shown as figure 1-2-1
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 DWG2000F
The appearance of DWG2000G
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 DWG2000E
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
This chapter mainly introduces DWG2000E hardware installation as example and connection
of device.
Tips:The installation steps are suitable for DWG2000F/G serials gateway also.
2.1 Installation Notice
DWG2000E-4/8 G/C 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.
DWG2000E-4/8 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.
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 gateway, a, b, c, d are the four fields of the
device gateway
*158#
Query the IP address
*111#
Restart device
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
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
‘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.
The gateway provide Console port for maintenance purpose. It adopts RS232 standards with
band rate 115200bps.
4. WEB Interface Configuration
DWG2000F/G serials gateway has the same web interface. This charpter describes web
configuration of DWG2000E. The DWG2000E 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:
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
Parameters
Description
Port
The number of SIP channels, DWG2000E-8G/C has 8 SIP channels
4.3.3 SIP Information
Figure 4-3-3 SIP Information
Displays registration status information with Softswitch platform or SIP Server
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
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
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.
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
Parameters
Description
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.
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
It is the dial tone volume of call waiting, dial tone of mobile module when
call out. Usually adopt the default configuration.
Select Band
According to carrier’s band standards. Standards are as bellow:
GSM: 850/900/1800/1900 MHz
Notes: it is take effective for GSM only
Forward Enable
When port occupied whether allow call forwarding
Forward Master
Mobile
Choose the destination port to be forwarded
Remote API
Enable
API is an opened protocols which provide to users to develop third party
application software such as bulk SMS, SIM card management etc. The
default is "No".
API Server
Address
It is the remote IP address of application software/ API server. This is an
option when selecting "Yes" under 'remote API enable".
To define communicate port between gateway and API server. This is an
option when selecting "Yes" under "remote API enable"
API User
ID/Password
To define authentication user name and password between gateway and
API server.
Transmitted
Power
Transmit power of module. Use the default setting value and contact with
technical support if need to change it.
USSD Defaulting
Encoding
Encoding of USSD, default is UCS2.
Voice Quality
Keep the parameter as default except the device is facing low ASR issue.
To adjust voice quality level possibly help to improve low ASR issue but
may affect voice quality.
Abnormal Call
handle
It is an optional parameter to handle abnormal calls.
Notes: please reference API document for more details.
Example:
Configuration between SMS box and gateway
Configure API parameters on gateway
The IP server which installed SMS box software is 172.16.221.221, pre-set Port 12000,
SIM card number of the channel. That must be configured when
“Forward” function enable.
Step
Step length value range is 1-120 s, step length multiplied by time of
single call just said a single call duration time allowed.
Enable Call Duration
Limitation single call
Define maximum call duration for single call.
Example: if Time of single call set to 10, the call will be
disconnected after talking 10*step seconds
Time of single call
The value of limitation single call, this value range is 1-65535. Step
length multiplied by time of single call just said a single call duration
time allowed.
Enable Call Duration
Limitation
This function is to limit the max call duration of channel. The max
call duration is between 1 to 65535 steps.
Defines a value by users. That will limit the SIM/UIM card’s total call
duration. After the call duration excesses this value, no call will be
made from this channel. The value range is 1-65535. If user
doesn’t configure this value, Default is no max call duration limits
for this channel.
Minimum Charging
Time
A minimum charging time (in seconds) is defined during which no
charging is done at carrier side. If the conversation time is even
shorter, the total call duration will not decrease.
Alarm Threshold(via
SMS)
When the SIM remain time is or less than this value, DWG will send
the alarm SMS to remind the users of the SIM remain time.
Mobile Number
(Receiving Alarm)
The mobile phone No. which used to receive the alarm SMS. Users
can get SMS report of SIM/UIM card status (SIM Remain Time) in
DWG.
Port Description for
Alarm
It is the identification mark of SIM/UIM card in the SMS report. The
mobile phone No. of the SIM/UIM card is recommended to use as
the port description for alarm, or any other string.
Remain Time
Indicates the current SIM remain time. It can’t modified
Restore time
Recovers the SIM remain time to initial value, the Maximum Call
Duration.
CLIR
Caller ID display restrict. This function is used to restrict the mobile
phone No. By adding “#31#” before the mobile phone ID, this
function should be supported by carrier.
Mobile Tx Gain
Transits gain of the mobile module, from IP side to PSTN side.
Mobile Rx Gain
Receives gain of the mobile module, from PSTN side to IP side.
How to configure maximum call limitation
Preset: 1200 minutes (Ct) for each SIM Case1. The SIM card billing every 60s (Cu)
So we have to configure maximum call duration as below:
Personal identification number of SIM card. In the status of SIM card
locked, PIN can be modified to prevent SIM card from being stolen.
Select Port
Selects the GSM/CDMA channel number
Parameters
Description
Select Port
Users can select a defined channel or random channel to send SMS.
Input the receiver’s mobile phone No to send SMS.
Table 4-6-3 Description of PIN Management
4.6.5 SMSC
Figure 4-6-5 SMSC
SMS center of mobile, in most places, the celluar module will automatically detect the SMSC
number. This configurable option is used in a situation that the SMSC number could not
detected by celluar module. When such case happens, please contact with mobile service
provider to identify the SMSC number and then add SMSC number in SMSC configurable web
interface.
Two kinds of message encoding under PDU models, 7-bit encoding
and UCS2 encoding. Default is UCS2.
To
Mobile phone No. of the receiver
Message
Content of the SMS. The length is limited to 300 characters.
Parameters
Description
Port
Select the GSM channel to send USSD
USSD Reply
Display results of USSD
USSD Request
Display the result of sending USSD
4.6.7 USSD
USSD (Unstructured Supplementary Service Data) is a Global System for Mobile(GSM)
communication technology that is used to send text between a mobile phone and an
application program in the network. Applications may include prepaid roaming or mobile
chatting.
There are two modes to select carrier automatic and manual.
Automatic mode can be automatically search operators. Manual mode
can choose operators from the carrier list.
Carrier List
If you select manual mode, you can select carrier from carrier list.
Parameters
Description
BCCH Mode
There are four options. Default, Fixed, Random, Advanced
Mobile network code, used to distinguish between different
network operators
LAC
Location area codes
CID
Cell ID (CID) is a generally unique number used to identify
each Base transceiver station (BTS) or sector of a BTS within
a Location area code (LAC) if not within a GSM network.
BCCH
broadcast control channel (BCCH) is a point to multipoint,
unidirectional (downlink) channel used in the Um interface of
the GSM cellular standard
Receive Level
Receiving signal strong strength
Choose a frequency to lock the operations.
4.6.10 Call Forwarding
Call forwarding is the same as mobile phone which to activate/deactivate
supplementary service of SIM card. For more details of these services, please contact to
local providers.
4.6.11 Call Waiting
Call waiting is the same as mobile phone which to activate/deactivate supplementary
service of SIM card. For more details of these services, please contact to local providers.
Notes: Call waiting is only take effective while “Do Not Answer GSM Incoming Call for
To use local SIM card which install on gateway, this way is most
common used by many of users
SIM Box
SIM Box is a small box which use for SIM card storage. It ideal for
users who want replace SIM card frequently
SIM Bank
SIM Bank is use for SIM card storage and remote SIM management
together with Dinstar SIM Cloud
4.6.12 SIM Mode
Dinstar gateway support two types of SIM card installation, which is local and remote SIM
management.
What’s the difference between SIM Box and SIM Bank?
Both SIM Box and SIM Bank are used for SIM storage. SIM Box is a simple device
which use for remote SIM installation only but not support SIM rotation, NAT traversal
etc. it is work with local network only that means gateway and SIM Box must be
connected to the same network.
Compare to SIM Box, SIM Bank is most powerful and provide flexible SIM
management rules such as SIM Rotation, SIM switching and anti-block policy. It is
important component of Dinstar SIM cloud solution. With SIM Bank, GSM gateways
can be deployed in different locations and countries so that the user are able to
supervise all SIMs in one place.
The parameters indicate that the gateway will select Tel->IP routes
after number manipulation completed
Route calls before
manipulation
The parameters indicate that the gateway will select Tel->IP routes
before number manipulation completed
Parameters
Description
IP ->Tel Routing
This item uses to configure outgoing call routes which can be used for
receive the calls from the IP side
Index
It uniquely identifies a route. Its value is assigned globally, ranging from 0
to 31. The route preferentially match the rules which the value of index is
smaller. Index 31 is default route on gateway which to be match all
prefixes.
Description
It describes the route for the ease of identification. Its value is character
string
Source IP
It specifies the IP of the caller
Source Prefix
All the caller number must match the source prefix. It specifies the source
prefix allow to send call out
Any: include anonymous, 0xxxx, 1[2-9]xxxx etc.
0xxxx: consist of some digits such as 015,08,09
1[3-8]6:consist of some prefix, include 136,146,156,166,176, 186
Destination Prefix
All the called number must match the destination prefix, the call prefix
indicates the connected number
Any: include anonymous, 0xxxx, 1[2-9]xxxx etc.
0xxxx: consist of some digits such as 015,08,09
1[3-8]6:consist of some prefix, include 136,146,156,166,176, 186
This item uses to configure incoming call routes which can be used
for receive the calls from the mobile.
Index
It uniquely identifies a route. Its value is assigned globally, ranging
from 0 to 31.The route preferentially match the rules which the value
of index is smaller
Description
It describes the route for the ease of identification. Its value is
character string
Source Port
It specifies the Port or Port Group which will receive the calls from
mobile
Source Prefix
All the caller number must match the source prefix. It specifies the
source prefix allow to send call out
Any: include anonymous, 0xxxx, 1[2-9]xxxx etc.
0xxxx: consist of some digits such as 015,08,09
1[3-8]6:consist of some prefix, include 136,146,156,166,176, 186
Destination Prefix
All the called number must match the destination prefix, the call prefix
indicates the connected number
Any: include anonymous, 0xxxx, 1[2-9]xxxx etc.
0xxxx: consist of some digits such as 015,08,09
1[3-8]6:consist of some prefix, include 136,146,156,166,176, 186
Destination
It uniquely identifies a route. Its value is assigned globally, ranging
from 0 to 31.The route preferentially match the rules which the
value of index is smaller
Description
It describes the rule for the ease of identification. Its value is
character string
Source IP
It specifies the source IP which will send the calls to gateway
Any: any IP address
IP: specific an IP address
IP Group: specific an IP group
SIP Server
Source Prefix
All the caller number must match the source prefix. It specifies the
source prefix allow to send call out
Any: include anonymous, 0xxxx, 1[2-9]xxxx etc.
0xxxx: consist of some digits such as 015,08,09
1[3-8]6:consist of some prefix, include 136,146,156,166,176, 186
Destination Prefix
All the called number must match the destination prefix, the call
prefix indicates the connected number
Any: include anonymous, 0xxxx, 1[2-9]xxxx etc.
0xxxx: consist of some digits such as 015,08,09
1[3-8]6:consist of some prefix, include 136,146,156,166,176, 186
Destination
Its specifies destination Port or Port Group
Stripped Digits from
Left
It specifies the length of the digits to be deleted from left
Stripped Digits from
Right
It specifies the length of the digits to be deleted from right
Prefix to Add
Add the new digits in front of the original number
Suffix to Add
Add the new digits at the end of the original number
Add an IP->Tel Manipulation, to change the called number from 2547888888 to 07888888
It is an optional configuration item, and is used to add IP->Tel
number change data. The IP->Tel Manipulation defined the rules of
add, and deletion of called numbers, which are referenced by
IP->Tel routing.
Index
It uniquely identifies a route. Its value is assigned globally, ranging
from 0 to 31.
Description
It describes the rule for the ease of identification. Its value is
character string
It indicates that calls coming from IP Group will match the prefix ”any”, and the called
nubmer which match with the prefix ”2547” will delete 3 digits in front of it and replace it by
digit ”0”.
All the caller number must match the source prefix. It specifies the
source prefix allow to send call out
Any: include anonymous, 0xxxx, 1[2-9]xxxx etc.
0xxxx: consist of some digits such as 015,08,09
1[3-8]6:consist of some prefix, include 136,146,156,166,176, 186
Destination Prefix
All the called number must match the destination prefix, the call
prefix indicates the connected number
Any: include anonymous, 0xxxx, 1[2-9] xxxx etc.
0xxxx: consist of some digits such as 015,08,09
1[3-8]6:consist of some prefix, include 136,146,156,166,176, 186
Destination
Its specifies destinations:
Port
Port Group
IPs
IP Group
SIP Server
Stripped Digits from
Left
It specifies the length of the digits to be deleted from left
Stripped Digits from
Right
It specifies the length of the digits to be deleted from right
Prefix to Add
Add the new digits in front of the original number
Suffix to Add
Add the new digits at the end of the original number
Number of Digits to
Leave from Right
It specifies the number of Digits to Leave from Right
Example
Add a Tel->IP Manipulation, to change the caller number to 07888888
Figure 4-8-4 Tel ->IP destination numbers source manipulation add
It is an optional configuration item which used to add Tel-> IP
destination number manipulation rules. The Tel-IP Manipulation
defined the rules of add, and deletion of called numbers, which are
referenced by Tel->IP routing.
Index
It uniquely identifies a route. Its value is assigned globally, ranging
from 0 to 31.
Description
It describes the route for the ease of identification. Its value is
It indicates that all incoming calls which matched with source & destination prefix ”any”, to
delete original caller number and replace by 0788888.
All the caller number must match the source prefix. It specifies the
source prefix allow to send call out
Any: include anonymous, 0xxxx, 1[2-9] xxxx etc.
0xxxx: consist of some digits such as 015,08,09
1[3-8]6:consist of some prefix, include 136,146,156,166,176, 186
Destination Prefix
All the called number must match the destination prefix, the call
prefix indicates the connected number
Any: include anonymous, 0xxxx, 1[2-9] xxxx etc.
0xxxx: consist of some digits such as 015,08,09
1[3-8]6:consist of some prefix, include 136,146,156,166,176, 186
Destination
Its specifies destinations:
Port
Port Group
IPs
IP Group
SIP Server
Stripped Digits from
Left
It specifies the length of the digits to be deleted from left
Stripped Digits from
Right
It specifies the length of the digits to be deleted from right
Prefix to Add
Add the new digits in front of the original number
Suffix to Add
Add the new digits at the end of the original number
Number of Digits to
Leave from Right
It specifies the number of Digits to Leave from Right
Example
Add a Tel->IP Manipulation rule, to change the called number from 1111 to 0751111
It is an optional configuration item. Operation configuration
essentially involves allow, barring some IP and IP Group send calls to
certain numbers. It includes: forbid call, call allowance, auto call, and
password authentication.
Index
It uniquely identifies a route. Its value is assigned globally, ranging
from 0 to 31.
Source IP
It specifies the source IP/SIP server which will send the calls to
It indicates that calls incoming call from mobile will match the prefix ”any”, and the called
nubmer which match with the prefix ”1111” will be added 075 in front of called number.
Any: any IP address
IP: specific an IP address
IP Group: specific an IP group
Source Prefix
All the caller number must match the source prefix. It specifies the
source prefix allow to send call out
Any: include anonymous, 0xxxx, 1[2-9]xxxx etc.
0xxxx: consist of some digits such as 015,08,09
1[3-8]6:consist of some prefix, include 136,146,156,166,176, 186
Destination Prefix
All the called number must match the destination prefix, the call prefix
indicates the connected number
Any: include anonymous, 0xxxx, 1[2-9]xxxx etc.
0xxxx: consist of some digits such as 015,08,09
1[3-8]6:consist of some prefix, include 136,146,156,166,176, 186
It describes the route for the ease of identification. Its value is
character string
Example: IP-Tel Operation
Index 31: barring the certain calling number from IP 14<elastix>
Figure 4-9-2 IP->Tel Operation
It indicates that calling party from IP 14<elastix> matched prefix 2877, and also called
party matched prefix 07 are not allowed call out. The calls match this rule will be
rejected by gateway.
Index 29: define a rule for IP 17<FreeSentral> that all the calls must go with valid
password authentication.
It is an optional configuration item. To enable following features in
this menu:
Forbid Call
Call Back
Auto Call
Allow Call
Password Authentication
Index
It uniquely identifies a rule. Its value is assigned globally, ranging
from 0 to 31.
Source Port
It specifies the source port which come from mobile
Source Prefix
All the caller number must match the source prefix. It specifies the
source prefix allow to send call out
Any: include anonymous, 0xxxx, 1[2-9]xxxx etc.
0xxxx: consist of some digits such as 015,08,09
1[3-8]6:consist of some prefix, include 136,146,156,166,176, 186
Destination Prefix
All the called number must match the destination prefix, the call
It is an interworking parameter between the remote Softswitch and the
SIP server. It specifies the IP address of the peer equipment.
Port
It is an interworking parameter between the remote Softswitch and the
SIP server. It specifies the SIP port number of the peer equipment
Keep alive
Send OPTION to Softswitch/IPPBX to detect health status
Parameters
Description
IP Trunk Group
This configuration is optional, and is used to add the IP that have the
same attributes to an IP group. The IP group will referenced by
IP->Tel routing and number manipulation.
Index
It uniquely identifies a route. Its value is assigned globally, ranging
from 0 to 31.
Description
It describes the route for the ease of identification. Its value is
character string
IP
It specifies the IP will add to IP group
Example
To add a remote IP of Softswitch, IP trunk index is 31, SIP port number “5060”
Figure 4-11-2 IP Trunk Modify
4.11.2 IP Trunk Group
Figure 4-11-3 IP Trunk Group
Table 4-11-2 Description of IP Trunk Group
Example
To add an IP group, set IP “10, 14, 17” to IP group 18
Service Configuration is used for configuring voice calls and some small businesses, such as
Call Progress Tone, codec, silence suppression, * service, the second dial and so on.
To configure voice Processing Parameters
Local Start RTP Port
Means the initial port when RTP voice stream transmit in the IP network, in general,
using the factory default values. When there are several DINSTAR units are deployed
and they are in the same network or behind the same NAT, user can try to change it
to avoid NAT traversal issue;
Enable Silence Suppression
Enable the "silence suppression" almost no impact on call quality, and can save
about half of the bandwidth;
Call Progress Tone
Each country has its different call progress tone required standards, such as busy
tone, ring back tones and ring tone standards, users can select the area standard
from here
USA Standard:
Ringback Tone: 440,280,480,280,2000,4000,0,0 frequency: 440/480Hz on:2000ms
off:4000ms
Busy Tone: 480, 330, 620, 330, 500, 500, 0, 0 frequency: 480/620Hz, on: 500ms off:
500ms
Preferred Coders
Means the code format when Voice transfer on IP network, support PCMA, PCMU,
G.723.1 andG.729AB.
To configure dialing mode parameters
Do Not Answer GSM Incoming Call for Hotline
When the gateway get incoming call from mobile network, the module will answer the
call then start to DTMF or route to destination hotline number. While this option
enabled, the module won’t answer the call but routing to destination hotline number
till it getting answer.
Notes: Refer to Port Parameter page for Hotline configuration.
Enable PSTN Incoming Configuration
Means when call from mobile side, you can dial the feature codes (Chapter 3 Basic Operation) to configure IP address and so on
Enable Auto Outgoing Routing
Means when call out, whether by ordinal or polling pick to Select a Channel, this
feature are generally used when use the same SIP User ID to register.
The GSM/CDMA gateway support two dialing mode, one stage and two stage
dialing. One stage dialing will obtain called number from INVITE message body,
either Request line or To <SIP:[email protected]> field. Then deliver called number
to GSM/CDMA directly.
But for two stage dialing, the SIP server must be dial the SIP channel account and
then to generate DTMF to mobile network.
Answer Delay
In most instances, Most of CDMA operators don't offer answer signal. The gateway
doesn’t response SIP 200 OK to SIP server in case of missing answer signal from
CDMA network. Answer delay is to fix this issue and generate SIP 200 OK to SIP
server after answer delay timeout. Default value is 5 seconds. Moreover, it is
available for CDMA gateway only.
Redirect Call when All Port Busy
When the gateway is running heavy traffic and not possible to call out, the call will
redirect to specific destination route as configuration.
IP and Port: destination gateway or IPPBX to be redirect
Play Voice Prompt for PSTN Incoming Calls
Default setting is Yes. when the gateway receive incoming from mobile, it will play
default/customized voice prompt to caller party. Default voice prompt is "Please dial
the extension "; if set to No, the device will play dial tone instead of voice prompt.
RTP Detect
This option is to disconnect call when there is no RTP received. Default value is 90s
DWG2001/DWG2004/DWG2000B-8G support RFC2833 and SIGNAL two ways.
DTMF INTERVAL range is 50 ~ 800ms, DTMF VOLUME can use the default
Configuration
Nat Traversal
Include Static NAT, Dynamic NAT and STUN
STUN (Simple Traversal of UDP over NATs) is a network protocol. It is allowed to
stay behind the NAT (or multiple NAT) client part to identify their clients’ public
address, found himself after what Type of NAT and NAT for a particular Channel is
bound to a local Internet terminal Channel. This information is used for two host to
set up UDP communication behind the same NAT router. The agreement defined by
the RFC 3489
Other configuration
Enable Private Service
To enable local services like *158# etc.
User ID Is Phone Number
Default is No. user=phone will be added in SIP message body when this option
enabled.
Only Accept Calls from SIP Server
Default is No. All calls will be rejected except calls from SIP server. IP Trunk will not
work when this option enabled.
Allow Call from PSTN to IP without Registration
Refer to "SIP Configuration" -> "Is register”. If "Is register" setting is no, this option
Default set yes, if you want the device can make a call without register, set No, Also
enable the "Allow Call from IP to PSTN without Registration" and "Allow Call from
PSTN to IP without Registration" function
Register Interval
This field specifies the value that the gateway will send in the Expires header of the
REGISTER message. Its value range from 1-3600s. But in fact, the gateway will get
200OK response from SIP server after REGISTER request, and an Expires header
will be included in 200 OK message body. This value in the 200OK determines the
time, in seconds, after which the registration expires. The gateway will refresh the
registration Timer Register Delta seconds before the end of this interval.
DNS query type
The DNS query type defines the type of information that will be requested from DNS
server
DNS refresh interval
The interval of DNS refresh, Range from 0 to 60000 mins, 0 means disable default
value is disable.
This field specifies the lowest value, in milliseconds, of the retransmission timer for
SIP messages. Default specifies 500.
T2
This field specifies retransmission timer for T1 timeout of SIP message, in
milliseconds. Default specifies 4000.
T4
This field specifies retransmission timer for T2 timeout of SIP message, in
milliseconds. Default specifies 5000.
TMAX
This field specifies maximum timeout value for SIP message. The SIP message will
be dropped after TMAX. Default value is 32000
Keepalive Interval
The gateway can monitor the status of SIP server by sending periodic SIP OPTION
messages. This field specifies transmission timer of OPTION message. Its range
from 10-3600s.
Keepalive SIP ID
This field specifies SIP ID of OPTION. The format would be <[email protected] >,
example:
Used to configure "From" Mode when Caller ID Is Available when call from GSM to
VoIP
Tel/User: From: Caller ID <sip:[email protected]>;tag=51088abb
User/User: From: 3001 <sip:[email protected]>;tag=51088abb
Tel/Tel: From: Caller ID <sip: Caller [email protected]>;tag=51088abb
User/Tel:
From Mode when Caller ID Is Unavailable
Used to configure "From" Mode when Caller ID Is Unavailable
Anonymous : From: <sip: Anonymous @host.com>;tag=51088abb
Username :
From: 3001 <sip: Caller ID @host.com>;tag=51088abb
From: <sip: Username @host.com>;tag=51088abb
Answer Mode
Answered: Gateway will send SIP message "200 OK" to SIP Server after
GSM/CDMA users answered the call.
Alerted: Gateway will send SIP message ‘200 OK’ to SIP Server immediately after
183 Ringing. In this situation, the called party possibly still in ringing status.
183 Mode
Immediately: Gateway will send "183 RING" immediately to SIP Server while it
receive “INVITE". In this situation, the called party possibly still not in ringing status.
Alerted: Gateway will send "183 RING" after received exact ringing signal from
GSM/CDMA network. In this situation, the called party is definely in ringing status.
Session Timer
SIP Session Timers which is an extension of SIP RFC 4028 that allows a periodic
refreshing of a SIP session using the RE-INVITE/UPDATE message. The refreshing
allows both the user agent and proxy to determine if the SIP session is still active. The
SIP Session Timer is a keep alive mechanism for SIP sessions that allow User Agents
(UA) or proxies to determine the status of a session and to release it if it is not active,
The initial INVITE request establishes the duration of the session and may include a
Session-Expires header and a Min-SE header. These headers indicate the session
timer value required by the user agent (UAC). A receiving user agent server (UAS) or
proxy can lower the session timer value, but not lower than the value of the Min-SE
header. If the session timer duration is lower than the configured minimum, the proxy
or UAS can also send out a 422 response message. If the UAS or proxy finds that the
session timer value is acceptable, it copies the Session-Expires header into the 2xx
class response.
A UAS or proxy can insert a Session-Expires header in the INVITE if the UAC did not
include one. Thus a UAC can receive a Session-Expires header in a response even if
none was present in the request. Its value range from 90-60000s.
Session Timer Refresher
It specifies refresher which including in SIP message body, user agent client (UAC) or
user agent server (UAS).
This part specifies response codes of SIP between gateway and SIP server. Refer to table
SIP Response, the SIP server possibly need some specific SIP response from the
gateway. Example, SIP server need SIP response 180 Ringing instead of 183 Ringing,
the configuration should be as below:
The default is no. If set to "yes" ,all the ports will use the same user ID
to register to SIP server
SIP User ID
It is the account used for registration which provide by SIP server,
equipment port's unique identifier
Authenticate ID
The Authentication ID is used for authentication purposes. The SIP
user ID is usually the phone number you received from the service
provider. Often, the Authentication ID is the same as the user ID
Password
Password of SIP User ID which provide by SIP server
Tx Gain
Tx Gain value of chipset. Adjusting it will effect volume on GSM side.
Rx Gain
Rx Gain value of chipset. Adjusting it will effect volume on IP side.
To VoIP Hotline
When mobile / fixed line users make call to this port, gateway will
auto forward to dedicate number. The hotline could be DID / Ring
Group / Extension of SIP server / IP-PBX.
*Note: Please configure Tel->IP Operation if you need this function.
To PSTN Hotline
When VoIP users make calls to this port, gateway will auto forward to
dedicate number. The Hotline number could be mobile / fixed line
number. Leave it blank if you don’t need this function.
*Note: Please configure IP->Tel Operation if you need this function.
Auto-Dial Delay Time
The auto-dial delay time of hotline , the range is 0-10 seconds
1. Supported objects
Digit: A digit from "0" to "9".
Timer: The symbol "T" matching a timer expiry.
DTMF: A digit, a timer, or one of the symbols "A", "B", "C", "D", "#", or "*".
2. Range []
One or more DTMF symbols enclosed between square brackets ("[" and "]"), but only one
can be selected.
3. Range ()
One or more expressions enclosed between round brackets ("(" and ")"), but only one can
be selected.
4. Separator
|: Separated expressions or DTMF symbols.
5. Subrange
-: Two digits separated by hyphen ("-") which matches any digit between and including the
two. The subrange construct can only be used inside a range construct, i.e., between "[" and
"]".
6. Wildcard
x: matches any digit ("0" to "9").
7. Modifiers
.: Match 0 or more times.
8. Modifiers
+: Match 1 or more times.
9. Modifiers
?: Match 0 or 1 times.
Example:
Assume we have the following digit maps:
1. xxxxxxx | x11
and a current dial string of "41". Given the input "1" the current dial
string becomes "411". We have a partial match with "xxxxxxx", but a
complete match with "x11", and hence we send "411" to the Call Agent.
2. [2-8] xxxxxx | 13xxxxxxxxx
Means that first is "2","3","4","5","6","7" or "8", followed by 6 digits;
or first is 13, followed by 9 digits.
3. (13 | 15 | 18)xxxxxxxxx
Means that first is "13","15" or "18", followed by 8 digits.
4. [1-357-9]xx
Means that first is "1","2","3" or "5" or "7","8","9", followed by 2 digits.
4.14 Tools
4.14.1 Firmware Upload
Firmware upload steps:
Step 1.
Check current running version on gateway, to get firmware version on web page System Information
Step 2.
Prepare firmware package. The most important is that the package must be match with
existing version. Package version consist of several parts, as below:
01/02-22/23-xx-xx
01/02 is vendor name
22/23 is hardware version, 02.22.xx.xx and 02.23.xx.xx means they had different hardware
version
xx-xx is version number
Step 3.
Upload firmware, select the package from specific folder on the computer and click Upload
button.
Step 4.
Keep waiting until it prompt ‘Software loaded successfully!’
Step 5.
Reboot gateway. Refer to web page Tools-> Restart
4.14.2 Syslog
Syslog is a standard for network device data logging. It allows separation of the software that
generates messages from the system that stores them and the software that reports and
analyzes them. It also provides devices which would otherwise be unable to communicate a
means to notify administrators of problems or performance. There are 5 levels of syslog,
Including NONE, DEBUG, NOTICE, WARNING and ERROR.
The Signal Log is include following traces which defined in system by default
- RE, the common communication module for SCP and SIM
- SCP, the communication protocol between gateway and cloud server
The media log is include following traces which defined in system by default
- RTP, RTP stream info collection
- SIM, to output traces between gateway and remote SIM cards
The System Log is include following traces which mainly used by developer
- SYS, system log
- TIMER, system process
- TASK, system task process
- CFM, system process
- NTP
The Management Log is include following traces which defined in system by default
- CLI, command line
- TEL,
- LOAD, firmware upload
- SNMP
- WEBS, embedded web server
- PROV, provisioning
Server Syslog:
When the gateway register to SIM Cloud server, the option will be changed to unconfigurable
and all logs to be storage on server.
4.14.3 Filelog /Filelog Download
The main difference between Filelog and syslog is, Filelog stores in local internal memory but
syslog output external server. The log contents are the same as syslog.
The Network Time Protocol (NTP) is a protocol and software
implementation for synchronizing the clocks of computer systems
over packet-switched, variable-latency data networks.
User need to fill the NTP Server Address and select Time Zone
Web Port
Default is 80
Telnet Port
Default is 23
Table 4-14-1 Management Parameter
4.14.5 Config Backup
Figure 4-14-3 Data backup
Click 'Backup' to download configuration file to your computer.
You can restore this configuration in case the unit loses it for any reason or to clone a unit with
the configuration of another unit. The configuration backup configurations are in txt format.
Please note that you can use a backup file from an older firmware version and use it in a unit
with a more recent firmware version. However, a backup file from a newer firmware version
than the one actually in the unit cannot be used for a restore operation on the unit.
4.14.7 IVR Voice Prompt Upload
By default, when PSTN call incoming, the system will play the default IVR, and also the user
can load custom IVR.
Figure 4-14-5 IVR Voice Prompt Upload
NOTE: the customize voice files can be recorded using Windows recording programs, the
sound format is 8000Hz, 16 bit sampling in mono, with WAV format, size of files cannot be
exceed 190KB
4.14.8 Ping Test
Ping is utility used to test the reach ability of a host on an Internet Protocol (IP) network and to
measure the round-trip time for messages sent from the originating host to a destination host.
Tracert is a computer network diagnostic tool for displaying the route (path) and measuring
transit delays of packets across an Internet Protocol (IP) network.
Figure 4-14-7 Tracert Test
4.14.10 Network Capture
Network capture is a very important diagnostic tool for maintenance. This section is describes
how to enable network capture.
Voice stream transmit path of the gateway as below:
Getting start to PCM capture
PCM capture is help to analysis voice stream between GSM/CDMA module and DSP
chipset.
To enable PCM capture
Select ‘PCM only’ on Network Capture page
Click “Start’ to enable PCM capture
Dialing out through gateway, start talking a short while then hangup the call.
Click ‘Stop’ to disable network capture
Save the capture file to local computer
The capture is named to ‘capture(x).pcap’, x is serial number of capture and will be added
1 in next time. The sample of PCM capture as below:
Syslog capture is another way to obtain syslog which the same as remote syslog server
and filelog. The capture file is save as pcap format so that it can be opened in some of
capture software like Wireshark, Ethereal software etc.
To enable syslog capture
Select Syslog special only on Network Capture page
Click “Start’ to enable syslog capture
Dialing out through gateway, start talking a short while then hangup the call.
Click ‘Stop’ to disable syslog capture
Save the capture to local computer
The capture is named to ‘capture(x).pcap’, x is serial number of capture and will be added
1 in next time. The sample of syslog capture as below:
Getting start to RTP capture
PCM capture is help to analysis voice stream between gateway and remote IPPBX/SIP
Server.
Dialing out through gateway, start talking a short while then hangup the call.
Click Stop to disable RTP capture
Save the capture to local computer
The capture is named to ‘capture(x).pcap’, x is serial number of capture and will be added 1
in next time. The sample of RTP capture as below:
Getting start to DSP capture
DSP capture is help to analysis voice stream inside DSP chipset. The DSP chipset will
handle RTP from IP network as well as voice stream from GSM/CDMA module.
To enable DSP capture:
Select DSP only on Network Capture page
Click Start to enable DSP capture
Dialing out through gateway, start talking a short while then hangup the call.
Click Stop to disable DSP capture
Save the capture to local computer
The capture is named to ‘capture(x).pcap’, x is serial number of capture and will be added
1 in next time. The sample of RTP capture as below:
This menu provides more options to capture specific packets as actually needs.
4.14.11 Voice Loopback Test
Voice Loopback test should be done on call status. Each call can do one kind of test. After
each test, please hang up and call again, refresh web interface and go on the other tests.
This is a document for some customers who need more details of DINSTAR’s products with
command lines. To make sure the system runs successfully, we suggest customers setting
DWG by GUI. In this manual, some topics such as how to check the IP, signaling and call
conversation are covered.
Tips: The document is fit for all DWG2000E/F/G models.
Run system tool Telnet to login DWG. The default username and password is "admin".
C:\Users\Administrator>telnet 172.16.101.142
Input "?" to show the all commands and its information.
Abbreviation is supported in DWG command. For example you can input "en" substitute for
"enable", input "sh" substitute for "show", input "cl" substitute for "clock",
5.2. Commands in "ROS#" Mode
There is only a litter commans in "ROS>" mode. If you need more commands you must enter
the "ROS#" mode. Input "enable" to enter "ROS#" mode if you have in the "ROS>" mode.
5.2.1 Summarize of commands in "ROS#" mode
Input "?" to get the information of all commands in "ROS#" mode.
Several methods are introduced in this document to decrease the interfering effect
among antennas with close mounting position.
6.1 Isolate by distance
figure-6.1 Theoretic distance value for GSM band
Keep distance between antennas as far as possible. In theory, the distance between
antennas should be more than half of the operating wavelength. For GSM band, the
recommended distance value is more than 20cm.in practical application, the
experiment value is no less than 15cm for better isolation.
6.2 Isolate by metal shielding baffles among antenna
Put a metal shielding baffle between antennas, which can help to prevent radiation
signal coupling from each other. If the metal baffle is big enough, the isolation
will be unlimited big in theory.
Figure 6.3 Isolation by antenna orthogonal polarization
In theory, the isolation is unlimited big if the polarization is really orthogonal, like
vertical polarization VS horizontal antenna; RHCP (Right Hand Circular Polarization)
VS LHCP (Left Hand Circular Polarization).
In real practical application, the antenna are all elliptic polarization, they have a
certain ratio. So putting the same type antennas in orthogonal position will be helpful
for isolation.
Try to modify the antenna mounting position, avoid the major lobe of both antenna
overlap, which is also an effective way for high isolation among different antennas,
especially for high directivity antenna.
It might be difficult to find a perfect position to stagger the major lobe for low directivity
antennas, two factors cause this, one is the major lobe is very broad, the other is the
radiation pattern is affected by surroundings sensitively.
For common antenna we often use, most of them belong to low directivity type, we
can put the antennas in a nonmetal shelf, and place antennas in vertical form, not in
horizontal form, which can help to avoid antennas major lobe overlap and make the
isolation bigger in some degree.
7. Frequency Asked Questions
7.1 Device have been connected to network physically, but cannot access the
gateway
1) Make sure the network cable is ok , can through view the device network port indicator
light to determine the physical connection is working or not;
2) Make sure the connected network devices (router, switch or hub) support 10M/100M
adaptive, if not, connect the Equipment directly to PC, landing WEB and in the "local
connection" Configuration interface Select the correct Ethernet Work Mode;
3) Check the Network Configuration, if the Configuration is incorrect, please
re-Configuration. If you are using DHCP mode, check DHCP Server is working properly;
4) Check whether there is a LAN device conflict with the exists IP ADDRESS.
7.2 Equipment can not register
If the Run LED does not flash mean unregistered
1) Check the network connection is working (see above section), whether the Configuration
is correct;
2) Check whether the LAN firewall setting is inappropriate (such whether limit the network
communication); If it is, there are two ways to try to resolve;
3) Check whether the Local Network to the SIP PROXY platform network environment is
relatively poor or not, and if so, please check Local Network or contact the service provider;
4) if go through those steps, the device still be in trouble, please contact the equipment
7.3 When calling out, the callee’s phone shows wrong caller ID
1) Ask the callee checks whether the device is failure or device battery power is low
2) Make sure the callee has been subscribed called User ID display service
3) If only part of the caller User ID with this problem, please contact the telecom carrier.
7.4 Sudden interruption during a call
1) make sure whether is human error caused the problem
2) Check the balance.
3) Make sure whether the LAN equipment such as gateway or router fails, user can try to
restart the gateway or router
7.5 Voice single-pass, double-barrier or poor quality
1) Make sure the equipment is working properly with grounded power
2) Check the device network connection is in working status
3) Ask network administrators to open limitation with the equipment’s network
communications (it is a special equipment, not afraid of virus attacks); (2) try to enable the
equipment tunnel (through the WEB for Configuration, Also, please NOTE, open the
tunnel will impact voice quality, Please do not enable the tunnel as far as possible, refer
WEB Configuration Interface Description section)
4) Make sure the LAN equipment is working, user can try to restart the gateway or router to
solve the problem
5) Check whether there is more than one DINSTAR series products in LAN network: some
gateways or routers, processing network packet is vulnerable (for example, to multiple
network devices or the same protocol network communication, NAT allocated the same
conversion communications Channel). If there is such a case, suggest replacing a router or
specify each voice gateway with different LOCAL RTP PORT Channel (refer to the base
WEB Configuration interface section)
6) Check the equipment network environment for the softswitch platform, monitor the
network condiation, make sure the network is solid
GSM: Global System for Mobile Communications
CDMA: Code Division Multiple Access
FMC: Fixed Mobile Convergence
SIP: Session Initiation Protocol
MGCP: Media Gateway Control Protocol
DTMF: Dual Tone Multi Frequency
USSD: Unstructured Supplementary Service Data
PSTN:Public Switched Telephone Network
STUN: Simple Traversal of UDP over NAT
IVR: Interactive Voice Response
IMSI: International Mobile Subscriber Identification Number
IMEI: International Mobile Equipment Identity
DMZ: Demilitarized Zone
API: Application programming Interface
BCCH: Broadcast Control Channel
LAC: Location Area Code
CID: Cell ID
BTS: Base Transceiver Station
DTMF: Dual-Tone Multifrequency
IVR: Interactive Voice Response
NAT: Network Address Translation
RTP: Real-time Transport Protocol
VoIP: Voice over IP