DV-332 User Guide: (H.323/SIP)
DV-332 User Guide: (H.323/SIP)
User Guide
(H.323/SIP)
Davolink , Co.LTD
Contents
1. SYSTEM OVERVIEW 8
3. HARDWARE INSTALLATION 11
4. IP CONFIGURATION 14
6.3.1 R2 MFC 53
7.1.2 Setting up routing table for calls between headquarter and branches 65
7.1.3 Setting up address table for calls between headquarter and branches 67
8. SERVICE CONFIGURATION 70
9. UPGRADING FIRMWARE 98
1. System Overview
DV-332 is a gateway that can be applied to SOHO and Enterprise market. With the same product, it
supports various analog/digital interfaces such as FXS/FXO/Digital E1/E&M. Since it is built with slot
and module types, it supports flexible port types and numbers.
As you can see above, DV-332 provides Ethernet ports and a console port. Ethernet ports are
inscribed as WAN/LAN respectively. And these ports work as a switch. If you need to use Internet by
connecting a LAN port to PC, you need to configure another IP address in a same network range. At
the rear side, it provides 4 slots to insert various kinds of optional modules. Ports can be added by
4/8/12/16/20/24/28/32
FXS
ports, RJ-11
Analog 4/8/12/16/20/24/28/32
FXO
ports, RJ-11
Voice port
4/8/12/16 ports,
E&M
RJ-11 (4 ports per module)
Digital DTU 1+1 or 2 ports, RJ-48
10/100base-T(X) LAN with Auto- 1 port, RJ-45 WAN
Ethernet
MDIX function 1 port, RJ-45 LAN
Voice(analog) Loop start
Signalling/ Voice(digital) R2-MFC, ISDN PRI
Protocol H.323 V4, SIP(RFC3261),
VoIP protocols
MGCP/NCS 1.0
G.711a/u, G.729.a, G.723.1
Voice codecs
Echo Cancellation (G.168)
and additional features
VAD/CNG
FAX G3 FAX Relay(Real time fax)
Input power supply 100~230VAC, 50/60Hz
10
3. Hardware installation
As you can see at the following diagram, there are front and rear hardware connections respectively.
11
2) Console connection
You can use a console cable at the initial configuration. The connection speed of a console is
19.2Kbps. You have to use the exclusive console cable provided with the product.
* PWR : This LED lights up when the power supply is provided. When the LED does not light up even
after turning on the on/off switch, you need to check power supply and fuse.
* STS : This LED represents the gateway status and lights up when there is a problem. It could be lit
up when the WAN port is not connected or during the booting process. Otherwise, there are
hardware-related problems.
* WAN & LAN : These LEDs light up when they are physically connected.
This LED will be turned off when the port is IDLE. When the port receives a call, the LED will be lit
up for 1 second and turned off for 2 seconds. Moreover, it will be lit up continuously when the line
is busy.
1) There is a fuse box between the power supply port and on/off switch. Basically there are 2 fuses
available and the unused one is a spare one. You have to check the fuse when GW does not work
even after turning on the power.
Basically DV-332 provides 4 analog port slots. And you can insert additional 4FXS/4FXO module or
12
8FXS module by one slot unit. Connect telephones or co-line ports of a keyphone or PBX to FXS ports.
And connect PSTN lines or extension ports of a keyphone or PBX to FXO ports.
After connecting a console cable, you can initially set up basic configurations such as IP and Voice.
These are detail properties of a console connection.
13
4. IP Configuration
When you log into gateway via console cable, you can use user id:davo and password:drc. You can
set up an IP address as follows.
GW/CONFIG/IP> show©
#===========================================================
#================ WAN PARAMETERS =======================
OP mode - STATIC
WAN IP Address - 192.168.2.200
WAN Subnet Mask - 255.255.255.0
WAN Gateway - 0.0.0.0
Ethernet Addr - 00:08:52:02:CA:FE
#================ CONSOLE PARAMETERS =======================
Console BaudRate - 19200 BPS
#================ DNS PARAMETERS =======================
1st Server IP - 168.126.63.1
2nd Server IP - 168.126.63.2
Domain Name -
#===========================================================
GW/CONFIG/IP>
Factory default values are static mode and 192.168.2.200 respectively. You can change them
depending on environment.
GW/CONFIG/IP> change©
#================ WAN PARAMETERS =======================
OP mode - STATIC
WAN IP Address - 192.168.2.200
WAN Subnet Mask - 255.255.255.0
WAN Gateway - 0.0.0.0
Ethernet Addr - 00:08:52:02:CA:FE
#================ CONSOLE PARAMETERS =======================
Console BaudRate - 19200 BPS
#================ DNS PARAMETERS =======================
1st Server IP - 168.126.63.1
2nd Server IP - 168.126.63.2
Domain Name -
#===========================================================
1. Change Operation mode.
2. Change IP Address.
3. Change IP Netmask.
14
This is the instance of static operation mode. If you want to change the operation mode into DHCP
or PPPoE , choose DHCP or PPPoE in “Enter mode (DHCP/PPPoE/Static) :”.
After changing operation mode, you can change an IP address, subnet mask and default gateway
address choosing 2,3 and 4 in the menu.
15
16
NOTE : Changes related to IP addresses will be affected only after saving and rebooting the GW.
17
Representative No for the registration of server & each port’s phone number, setting procedure
should be done as following. Setting is easy by using “auto_easyconf” order. The below setting is
an example for KT engagement.
** Key number includes the concept of the representative No which provided to each GW, it shall
setup when using KT/SK Networks. Excepting those two operators, service engagement shall setup
user account & password as per port.
GW/CONFIG/VOIP> auto 0 ©
=======================================================
1. Common
2. Nortel
(default : Common mode)
Enter SIP Operation mode : ©
/*If operator’s SSW is Nortel SSW(DACOM, ONSE), select No 2*/
-------------------------------------------------------
Enter "Key Number" mode (y/N) (default:N) : y ©
(A) : Asserted : P-Asserted-Identity --> KT
(P) : Preferred : P-Preferred-Identity -> SKNET
Enter Key number string type (A/p) (default:A) : ©
/*If it is competible with KT or SK Networks, select it & other operators select “N” */
-------------------------------------------------------
Enter User is phone [y|N] (default:N) : ©
-------------------------------------------------------
Enter Session timeout [0(OFF)~43200] (default:0) : ©
-------------------------------------------------------
R : request-uri
t : to -> SKNET
Which user name do you want from the received INVITE msg [R|t] (default:R) : ©
=======================================================
Server configuration
18
-------------------------------------------------------
[(O)utbound/(p)roxy] (default:O) : ©
-------------------------------------------------------
Proxy Address [domain | ip_addr | none] : 59.18.4.17 ©
-------------------------------------------------------
Proxy Port [1025 ~ 65535] (default:5060) : ©
-> AutoInc Proxy Port [0~] (default:0) : ©
-------------------------------------------------------
Registrar Address [domain | ip_addr | none] : 59.18.4.17 ©
-------------------------------------------------------
Registrar Port [1025 ~ 65535] (default:5060) : ©
-> AutoInc Registrar Port [0~] (default:0) : ©
-------------------------------------------------------
Registrar Expire [60(1Min) ~ 43200(1Day)] (default:3600) : ©
-------------------------------------------------------
Domain name : kt.co.kr ©
=======================================================
Authentication Configuration
-------------------------------------------------------
username : 007077003241 ©
-> AutoInc username [0~] (default:0) : ©
-------------------------------------------------------
password : ******** ©
-> AutoInc password [0~] (default:0) : ©
=======================================================
Phone number Configuration
=======================================================
Display name Configuration
19
=======================================================
P-Asserted Configuration
p-asserted : 07077003241 ©
-> AutoInc P-Asserted [0~] (default:0) : ©
=======================================================
Select the range of configuration.
usage :
all : Select all ports
0-4 : Select ports range (eg: from 0 to 4)
-> 0-4 © /*Select ports to be registered*/
GW/CONFIG/VOIP>
After completing of setting, setting articles can be confirmed as below; Each related articles can be
confirmed separately, all articles related to setting for internet phone as shown on below can print,
check.
===========================================================================
(L)ocal port
-------+-------------------------------------------------------------------
1st group
20
-------+-----------------+-----------------+-----------------+-------------
Index |Local port | | |
-------+-----------------+-----------------+-----------------+-------------
KEY 5060
1~ 4 5060 5060 5060 5060
5~ 8 5060 5060 5060 5060
9~12 5060 5060 5060 5060
13~16 5060 5060 5060 5060
17~20 5060 5060 5060 5060
21~24 5060 5060 5060 5060
25~28 5060 5060 5060 5060
29~32 5060 5060 5060 5060
33~36 5060 5060 5060 5060
37~40 5060 5060 5060 5060
41~44 5060 5060 5060 5060
45~48 5060 5060 5060 5060
49~52 5060 5060 5060 5060
53~56 5060 5060 5060 5060
57~60 5060 5060 5060 5060
61~64 5060 5060 5060 5060
===========================================================================
Press <q> key to abort...
===========================================================================
(S)erver Info
----+----+---------------------+---------------------+------+--------------
1st group
----+----+---------------------+---------------------+------+--------------
| |PROXY |REGISTRAR |
Idx|Mode|Addr Port |Addr Port |Expire Domain(realm)
----+----+---------------+-----+---------------+-----+------+--------------
KEY OUTB 59.18.4.17 5060 59.18.4.17 5060 3600 kt.co.kr
1 OUTB 59.18.4.17 5060 59.18.4.17 5060 3600 kt.co.kr
2 OUTB 59.18.4.17 5060 59.18.4.17 5060 3600 kt.co.kr
3 OUTB 59.18.4.17 5060 59.18.4.17 5060 3600 kt.co.kr
4 OUTB 59.18.4.17 5060 59.18.4.17 5060 3600 kt.co.kr
5 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0
6 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0
7 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0
8 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0
9 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0
10 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0
Press <q> key to abort...
21
22
===========================================================================
(A)uthentication Info
-------+--------------+----------------------------------------------------
1st group
-------+--------------+----------------------------------------------------
Index |AuthUsername |AuthPassword
-------+--------------+----------------------------------------------------
KEY 007077003241 **hidden**
1 007077003241 **hidden**
2 007077003241 **hidden**
3 007077003241 **hidden**
4 007077003241 **hidden**
5 NULL **hidden**
6 NULL **hidden**
7 NULL **hidden**
8 NULL **hidden**
9 NULL **hidden**
10 NULL **hidden**
Press <q> key to abort...
11 NULL **hidden**
12 NULL **hidden**
13 NULL **hidden**
14 NULL **hidden**
15 NULL **hidden**
16 NULL **hidden**
17 NULL **hidden**
18 NULL **hidden**
19 NULL **hidden**
20 NULL **hidden**
Press <q> key to abort...
21 NULL **hidden**
22 NULL **hidden**
23 NULL **hidden**
24 NULL **hidden**
25 NULL **hidden**
26 NULL **hidden**
27 NULL **hidden**
23
28 NULL **hidden**
29 NULL **hidden**
30 NULL **hidden**
Press <q> key to abort...
31 NULL **hidden**
32 NULL **hidden**
33 NULL **hidden**
34 NULL **hidden**
35 NULL **hidden**
36 NULL **hidden**
37 NULL **hidden**
38 NULL **hidden**
39 NULL **hidden**
40 NULL **hidden**
Press <q> key to abort...
41 NULL **hidden**
42 NULL **hidden**
43 NULL **hidden**
44 NULL **hidden**
45 NULL **hidden**
46 NULL **hidden**
47 NULL **hidden**
48 NULL **hidden**
49 NULL **hidden**
50 NULL **hidden**
Press <q> key to abort...
51 NULL **hidden**
52 NULL **hidden**
53 NULL **hidden**
54 NULL **hidden**
55 NULL **hidden**
56 NULL **hidden**
57 NULL **hidden**
58 NULL **hidden**
59 NULL **hidden**
60 NULL **hidden**
Press <q> key to abort...
61 NULL **hidden**
62 NULL **hidden**
63 NULL **hidden**
64 NULL **hidden**
===========================================================================
Press <q> key to abort...
===========================================================================
(P)hone Number
24
-------+-------------------------------------------------------------------
1st group
-------+-----------------+-----------------+-----------------+-------------
Index |PhoneNumber | | |
-------+-----------------+-----------------+-----------------+-------------
KEY 07077003241
1~ 4 07077003241 07077003241 07077003241 07077003241
5~ 8 NULL NULL NULL NULL
9~12 NULL NULL NULL NULL
13~16 NULL NULL NULL NULL
17~20 NULL NULL NULL NULL
21~24 NULL NULL NULL NULL
25~28 NULL NULL NULL NULL
29~32 NULL NULL NULL NULL
33~36 NULL NULL NULL NULL
37~40 NULL NULL NULL NULL
41~44 NULL NULL NULL NULL
45~48 NULL NULL NULL NULL
49~52 NULL NULL NULL NULL
53~56 NULL NULL NULL NULL
57~60 NULL NULL NULL NULL
61~64 NULL NULL NULL NULL
===========================================================================
Press <q> key to abort...
===========================================================================
(D)isplay Number
-------+-------------------------------------------------------------------
1st group
-------+-----------------+-----------------+-----------------+-------------
Index |Display name | | |
-------+-----------------+-----------------+-----------------+-------------
KEY 07077003241
1~ 4 07077003241 07077003241 07077003241 07077003241
5~ 8 NULL NULL NULL NULL
9~12 NULL NULL NULL NULL
13~16 NULL NULL NULL NULL
17~20 NULL NULL NULL NULL
21~24 NULL NULL NULL NULL
25~28 NULL NULL NULL NULL
29~32 NULL NULL NULL NULL
33~36 NULL NULL NULL NULL
37~40 NULL NULL NULL NULL
41~44 NULL NULL NULL NULL
45~48 NULL NULL NULL NULL
49~52 NULL NULL NULL NULL
53~56 NULL NULL NULL NULL
57~60 NULL NULL NULL NULL
61~64 NULL NULL NULL NULL
===========================================================================
25
===========================================================================
(C)ontact
-------+-------------------------------------------------------------------
1st group
-------+-----------------+-----------------+-----------------+-------------
Index |Contact | | |
-------+-----------------+-----------------+-----------------+-------------
KEY NULL
1~ 4 NULL NULL NULL NULL
5~ 8 NULL NULL NULL NULL
9~12 NULL NULL NULL NULL
13~16 NULL NULL NULL NULL
17~20 NULL NULL NULL NULL
21~24 NULL NULL NULL NULL
25~28 NULL NULL NULL NULL
29~32 NULL NULL NULL NULL
33~36 NULL NULL NULL NULL
37~40 NULL NULL NULL NULL
41~44 NULL NULL NULL NULL
45~48 NULL NULL NULL NULL
49~52 NULL NULL NULL NULL
53~56 NULL NULL NULL NULL
57~60 NULL NULL NULL NULL
61~64 NULL NULL NULL NULL
===========================================================================
Press <q> key to abort...
===========================================================================
(P)asserted
-------+-------------------------------------------------------------------
1st group
-------+-----------------+-----------------+-----------------+-------------
Index |P-Asserted | | |
-------+-----------------+-----------------+-----------------+-------------
KEY 07077003241
1~ 4 07077003241 07077003241 07077003241 07077003241
5~ 8 NULL NULL NULL NULL
9~12 NULL NULL NULL NULL
13~16 NULL NULL NULL NULL
17~20 NULL NULL NULL NULL
21~24 NULL NULL NULL NULL
25~28 NULL NULL NULL NULL
29~32 NULL NULL NULL NULL
33~36 NULL NULL NULL NULL
37~40 NULL NULL NULL NULL
41~44 NULL NULL NULL NULL
45~48 NULL NULL NULL NULL
49~52 NULL NULL NULL NULL
26
===========================================================================
(P)Preferred
-------+-------------------------------------------------------------------
1st group
-------+-----------------+-----------------+-----------------+-------------
Index |P-Preferred | | |
-------+-----------------+-----------------+-----------------+-------------
KEY NULL
1~ 4 NULL NULL NULL NULL
5~ 8 NULL NULL NULL NULL
9~12 NULL NULL NULL NULL
13~16 NULL NULL NULL NULL
17~20 NULL NULL NULL NULL
21~24 NULL NULL NULL NULL
25~28 NULL NULL NULL NULL
29~32 NULL NULL NULL NULL
33~36 NULL NULL NULL NULL
37~40 NULL NULL NULL NULL
41~44 NULL NULL NULL NULL
45~48 NULL NULL NULL NULL
49~52 NULL NULL NULL NULL
53~56 NULL NULL NULL NULL
57~60 NULL NULL NULL NULL
61~64 NULL NULL NULL NULL
===========================================================================
Press <q> key to abort...
===========================================================================
(D)tmf Parameters
---------------------------------------------------------------------------
1. dtmf type - DONT_RELAY
2. dtmf content type - COMMON
3. *,# type - ASCII
===========================================================================
Press <q> key to abort...
===========================================================================
(R)TP Parameters
---------------------------------------------------------------------------
1. Frame / Packet -2
2. Play a RBT to the Net(183) - NO
3. Play a RBT to the Net(180) - NO
4. Send a no-t38sdp(18x/200) - NO
5. Send a no-t38sdp(INV) - NO
27
6. Send a no-sdp(18x) - NO
7. With a NTE(INV/18x/200) - YES
===========================================================================
GW/CONFIG/VOIP>
GW/CONFIG/VOIP>
But engagement with KT, it is necessary to setup additional P-Asserted articles as below. The below
setting shall setup the Number which is set p-asserted No table related to VoIP.
GW/CONFIG/VOIP> pafield ©
usage : pafield addr|voip|user|null
addr : /config/address table
voip : /config/voip p-asserted number table
user : user's calling number. Ex)fxo's cid | trunk intf's calling number
current pafield(p-asserted) value is NULL
GW/CONFIG/VOIP>
GW/CONFIG/VOIP> pafield voip ©
GW/CONFIG/VOIP>
GW/CONFIG/VOIP> pafield ©
usage : pafield addr|voip|user|null
addr : /config/address table
voip : /config/voip p-asserted number table
user : user's calling number. ex)fxo's cid | trunk intf's calling number
current pafield(p-asserted) value is voip
GW/CONFIG/VOIP>
After setting totally, it can change each port. Used order command is “port easyconfig”
GW/CONFIG/VOIP> port©
usage : port_easyConf sipIndex#
GW/CONFIG/VOIP> port 1©
=======================================================
*. If you don't need to change the value,
you have to type the [ENTER] key.
=======================================================
28
As above example, ariticls which want to alter can be changed & each field can check the setting
status according to each ports. Refer to below example.
GW/CONFIG/VOIP> show©
usage : show o|l|s|a|p|d|r|i|all group#
o : operation mode
l : local port
s : server info.
a : authentication info.
p : phone number
d : dtmf config.
r : rtp config.
i : display config.
all : display all
group# : 0|1
GW/CONFIG/VOIP>
GW/CONFIG/VOIP> show p©
======================================================================
(P)hone Number
-------+--------------------------------------------------------------
1st group
-------+-----------------+-----------------+-----------------+--------
Index |PhoneNumber | | |
-------+-----------------+-----------------+-----------------+--------
KEY 07077003241
1~ 4 0707700324107077003241 07077003241 07077003241 07077003241
5~ 8 07077003241 07077003241 07077003241 07077003241
9~12 07077003241 07077003241 07077003241 07077003241
13~16 07077003241 07077003241 07077003241 07077003241
17~20 07077003241 07077003241 07077003241 07077003241
29
With the command “field_easyconfig”, field for each port can change. The following example is
about the change of Phone number & Display name.
GW/CONFIG/VOIP> field©
usage : field_easyConf lp|sm|pa|pp|ra|rp|re|dn|au|ap|pn|di g#
lp : local port
sm : server mode
pa : proxy address
pp : proxy port
ra : registrar address
rp : registrar port
re : registrar expire
dn : domain name
au : auth. username
ap : auth. password
pn : phone number
di : display name
g# : group number [0|1]
GW/CONFIG/VOIP>
GW/CONFIG/VOIP> field pn©/*Example for change of phone number in ports No 29-32*/
30
=======================================================
*. If you type the [ENTER] key,
the configuration value is applied a default value
*. If you don't need to change the value,
you should type the 'xxxx' value.
=======================================================
usage :
all : Select all ports
0-4 : Select ports range (eg: from 0 to 4)
-> 29-32©
GW/CONFIG/VOIP>
GW/CONFIG/VOIP> field di© /*Example for change of display name of port No 29-32*/
=======================================================
*. If you type the [ENTER] key,
the configuration value is applied a default value
*. If you don't need to change the value,
you should type the 'xxxx' value.
=======================================================
usage :
all : Select all ports
0-4 : Select ports range (eg: from 0 to 4)
-> 29-32©
GW/CONFIG/VOIP>
GW/CONFIG/VOIP> show p©
====================================================================== (P)hone Number
-------+--------------------------------------------------------------
1st group
-------+-----------------+-----------------+-----------------+--------
Index |PhoneNumber | | |
-------+-----------------+-----------------+-----------------+--------
KEY 07077003241
1~ 4 0313873240 07077003241 07077003241 07077003241
5~ 8 07077003241 07077003241 07077003241 07077003241
9~12 07077003241 07077003241 07077003241 07077003241
13~16 07077003241 07077003241 07077003241 07077003241
17~20 07077003241 07077003241 07077003241 07077003241
21~24 07077003241 07077003241 07077003241 07077003241
31
Confirming changes of phone number & display name on No 29-32 ports as bove.
Basically, virtual number in Address table is different according to No of ports but if assuming, each
4ports for FXS/FXO, FXS ports shall be 200~203 & FXO ports shall be 100~103.
GW/CONFIG/ADDRESS> myaddr ©
======================================================================
* MYADDR Command Usage *
======================================================================
fxs|fxo|em -> myaddr intf <port> nums [level] [route_table_id]
======================================================================
intf ; local interface name (fxs, fxo, multi,em)
port ; local port number of interface (0 ~ )
nums ; destination address ('0' ~ '9','*','#',NULL)
level ; user level ( (s)super, (c)common )
route_table_id ; route table id ( (0) first, (1) second )
======================================================================
GW/CONFIG/ADDRESS> myaddr multi
32
Intf : [FXS,FXO,EM,CAS,CCS]
=>fxs ©
Nums : [my number]
=>0313873240 ©
IncNum : [the number of increment:default(1)]
=>0 ©
Count : [the count of increment:default(4)]
=> ©
My number 00 : 0313873240
My number 01 : 0313873240
My number 02 : 0313873240
My number 03 : 0313873240
GW/CONFIG/ADDRESS>
GW/CONFIG/ADDRESS> show ©
======================================================================
* ADDRESS TABLE SHOW *
======================================================================
INTF PORT VIRTUAL_NUM PEER-ADDR GROUP-PORT MODE L/RT
======================================================================
FXS 0 0313873240 NONE None C/1ST
FXS 1 0313873240 NONE None C/1ST
FXS 2 0313873240 NONE None C/1ST
FXS 3 0313873240 NONE None C/1ST
FXO 0 100 200 None C/1ST
FXO 1 101 201 None C/1ST
FXO 2 102 202 None C/1ST
FXO 3 103 203 None C/1ST
======================================================================
GW/CONFIG/ADDRESS>
Once registered No for 070-XXXX-XXXX related to configuration articles in all VoIP should input &
the article of VIRTUAL NUM in address table is changed into receiver’s signal no(031-387-3240).
Then, Caller No will be changed. But No of specific field in Display name field can be displayed
according to each service provider. In this case, field shall change by using command “field” As
reference, some of service providers is not possible to change caller No at terminal so they have to
change it at server.
When sending from SIP protocol, INVITE message will be received by server or 대국terminal GW.
This message shall contain user authorization, fare, caller ID, representative ID and so on. This
contained information on INVITE message should be flexible to change the information according to
user’s demand. The following articles at the information in INVITE message can use & change
according to each purpose.
33
1) Phone number
This field shall be referred by server for caller’s authorization, receiver & fare. Accordingly, if the
function of representation doesn’t use, each port’s phone number should be registered No at server,
this No can receive caller’s signal through terminal GW. The fare for this No will be charged.
2) Display name
This Field is for delivery of caller ID to receiver. Accordingly, When sending, if Display name is
“0313873240”, server or arrival terminal GW will deliver that caller No is “0313873240”
3) Contact
This Field shall use for the delivery of caller’s terminal location & phone number when sending.
When sending calls, normal terminal will send INVITE message to server & receiver’s terminal will
be received INVITE message from server. Then, arrival terminal will miss the sender’s terminal
location. Accordingly, phone number & IP address on sender’s terminal will be delivered to receiver
by using this field
4) P-Asserted
In case several ports are inserted at Terminal GW, one representative Number should be registered
so that one terminal GW will setup as standard unit for charge & authorization. Accordingly,
representative number for authorization & charge shall setup on terminal GW. It will be included P-
asserted field of INVITE message when it sends to receiver. Currently, this field is allowed to KT
provider only.
Each field of INVITE message as above purposes, it is possible to change its value according to user’s
request & basic concept for changing terminal GW will be explained as following. Contained value
of each field on GW can be referred to 4 types.
It includes each port or phone number table of channel, display name table, P-Asserted number
table which will be inserted after server mode, server IP address, domain name when initial VoIP
setting is done.
34
===============================================================================
(P)hone Number
-------+-----------------------------------------------------------------------
1st group
-------+-----------------+-----------------+-----------------+-----------------
Index |PhoneNumber | | |
-------+-----------------+-----------------+-----------------+-----------------
KEY 07077000355
1~ 4 NULL NULL NULL NULL
5~ 8 NULL NULL NULL NULL
9~12 NULL NULL NULL NULL
13~16 NULL NULL NULL NULL
17~20 NULL NULL NULL NULL
21~24 NULL NULL NULL NULL
25~28 NULL NULL NULL NULL
29~32 NULL NULL NULL NULL
33~36 NULL NULL NULL NULL
37~40 NULL NULL NULL NULL
41~44 NULL NULL NULL NULL
45~48 NULL NULL NULL NULL
49~52 NULL NULL NULL NULL
53~56 NULL NULL NULL NULL
57~60 NULL NULL NULL NULL
61~64 NULL NULL NULL NULL
===============================================================================
===============================================================================
(D)isplay Number
-------+-----------------------------------------------------------------------
1st group
-------+-----------------+-----------------+-----------------+-----------------
Index |Display name | | |
-------+-----------------+-----------------+-----------------+-----------------
KEY 0313873240
1~ 4 NULL NULL NULL NULL
5~ 8 NULL NULL NULL NULL
9~12 NULL NULL NULL NULL
13~16 NULL NULL NULL NULL
17~20 NULL NULL NULL NULL
21~24 NULL NULL NULL NULL
25~28 NULL NULL NULL NULL
29~32 NULL NULL NULL NULL
33~36 NULL NULL NULL NULL
37~40 NULL NULL NULL NULL
41~44 NULL NULL NULL NULL
45~48 NULL NULL NULL NULL
49~52 NULL NULL NULL NULL
53~56 NULL NULL NULL NULL
57~60 NULL NULL NULL NULL
61~64 NULL NULL NULL NULL
===============================================================================
35
===============================================================================
(P)asserted
-------+-----------------------------------------------------------------------
1st group
-------+-----------------+-----------------+-----------------+-----------------
Index |P-Asserted | | |
-------+-----------------+-----------------+-----------------+-----------------
KEY 07077000355
1~ 4 NULL NULL NULL NULL
5~ 8 NULL NULL NULL NULL
9~12 NULL NULL NULL NULL
13~16 NULL NULL NULL NULL
17~20 NULL NULL NULL NULL
21~24 NULL NULL NULL NULL
25~28 NULL NULL NULL NULL
29~32 NULL NULL NULL NULL
33~36 NULL NULL NULL NULL
37~40 NULL NULL NULL NULL
41~44 NULL NULL NULL NULL
45~48 NULL NULL NULL NULL
49~52 NULL NULL NULL NULL
53~56 NULL NULL NULL NULL
57~60 NULL NULL NULL NULL
61~64 NULL NULL NULL NULL
===============================================================================
At an existed H.323 type, it named as imaginary caller No & if modifying, it will show the No
according to user’s request. Basically, number should setup. Otherwise, Sound signal from caller
wouldn’t be ringed at connected phone.
[Analog terminal]
GW/CONFIG/ADDRESS> show
===============================================================================
* ADDRESS TABLE SHOW *
===============================================================================
INTF PORT VIRTUAL_NUM PEER-ADDR GROUP-PORT MODE L/RT
===============================================================================
FXS 0 0337324156 NONE 200 Group_Ring C/1ST
FXS 1 0337324156 NONE 200 Group_Ring C/1ST
FXS 2 0337324156 NONE 200 Group_Ring C/1ST
FXS 3 0337324157 NONE 200 Group_Ring C/1ST
FXS 4 0337324157 NONE 200 Group_Ring C/1ST
FXS 5 0337324158 NONE 200 Group_Ring C/1ST
FXS 6 0337324158 NONE 200 Group_Ring C/1ST
FXS 7 592 NONE 200 Group_Ring C/1ST
FXO 0 100 *99* 201 Round_Robin C/1ST
FXO 1 101 *99* 201 Round_Robin C/1ST
FXO 2 102 *99* 201 Round_Robin C/1ST
FXO 3 103 *99* None C/1ST
FXO 4 104 *99* None C/1ST
36
[Digital terminal]
GW/CONFIG/ADDRESS> show
===============================================================================
* ADDRESS TABLE SHOW *
===============================================================================
INTF PORT VIRTUAL_NUM PEER-ADDR GROUP-PORT MODE L/RT
===============================================================================
===============================================================================
==========================================================================
37
14 613 30 629
15 614 31 630
==========================================================================
===============================================================================
GW/CONFIG/ADDRESS>
With connected PSTN cable, if the call is received, FXO port can detect sending number & sending
number information which will be sent through digital port by connecting with R2/RPI can use as
caller number when VoIP’s sending. Normally, sender’s number information is able to combine by
2types under digital port connection. First, sender number can display user’s specified number +
transmitted internal number as sender’s shown number. Second, sender’s number can be displayed
by transmitted number only.
When sending, if sender wants to show sender’s number with one representative number, this type
can be used.
According to setting type, sender’s number field in INVITE message can be changed so different
number might be printed from receiver party. Basically, INVITE message in display name should be
changed for alteration of sender’s number.
38
It is possible to setup which articles will be referred as number information included each phone
number, display name, contact field
GW/CONFIG/VOIP> pfield ©
usage : pfield addr|voip|voipd|user|mynum|onlymy|null
addr : /config/address table
voip : /config/voip phone number table
voipd: /config/voip display table
user : user's calling number. ex)fxo's cid | trunk intf's calling number
mynum : operator add prefix calling number
onlymy: use only mynum without calling number
current pfield(phone number) value is ADDR
current mynum is 07077003242
39
GW/CONFIG/VOIP>
By using above command “pfield”, it is possible to change, default value is “ADDR”, setting
/CONFIG/ADDRESS of each VIRTUAL_NUM number or each channel’s LOCAL-ADDR number shall use
as phone number field.
Addr : Virtual number which is setting in /CONFIG/ADDRESS table will use as phone number field’s
number
User : Use Phone number fileld’s number which detected CID number at FXO
Mynum : Use combination of setting number+transmitted sender’s number when digital port’s
competibility
Onlymy : Use setting No at random regardless of transmitted number when digital port’s
competibility
GW/CONFIG/VOIP> dfield ©
usage : dfield addr|voip|user|mynum|onlymy|null
addr : /config/address table
voip : /config/voip display name table
user : user's calling number. ex)fxo's cid | trunk intf's calling number
mynum : operator add prefix calling number
onlymy: use only mynum without calling number
current dfield(display name) value is onlymy
current mynum is 0313873240
GW/CONFIG/VOIP>
Command “dfield” is using for changing chandisplay name. Default is “ADDR”
GW/CONFIG/VOIP> cfield ©
40
Basically, setup G/K IP address, H.323 ID, E.164 number for registration.
GW/CONFIG/VOIP> configure ©
1. RAS Config
2. Protocol Config
3. RTP Config
4. Manual RAS Config
0. exit
Select (0 ~ 3) : 1 ©
* RAS Parameters *
---------------------------------------------------------------------------
Gatekeeper not used.
---------------------------------------------------------------------------
* Registration Numbers *
---------------------------------------------------------------------------
---------------------------------------------------------------------------
* My H323ID *
---------------------------------------------------------------------------
VOIP
---------------------------------------------------------------------------
* Timeout *
---------------------------------------------------------------------------
RRQ timer mode : Received from G/K
RAS response timeout : 5 sec
RAS retry number :2
Q.931 response timeout : 20 sec
---------------------------------------------------------------------------
* RAS TTL *
---------------------------------------------------------------------------
700
41
---------------------------------------------------------------------------
1. Change GK Interface Mode
2. Change My Numbers to Register
3. Input GW alias(h323-ID)
4. Time out
5. Change RAS TTL
0. Exit Menu.
What do you want to change (0-5) ? : 1 ©
Enter GK Interface Mode (1:GK Not Used, 2:Manual GK Used, 3:Automatic GK Used) : 2
enter GK IP (0.0.0.0) : 211.108.60.161 ©
enter GK Port (1719)[1719] : ©
need secondary gk ? (y/N) : n ©
need password ? : ©
* RAS Parameters *
---------------------------------------------------------------------------
Gatekeeper used(Manual Finding).
Gatekeeper Address - 211.108.60.161:1719
2.nd Gatekeeper address - 0.0.0.0:0
password :
---------------------------------------------------------------------------
* Registration Numbers *
---------------------------------------------------------------------------
---------------------------------------------------------------------------
* My H323ID *
---------------------------------------------------------------------------
VOIP
---------------------------------------------------------------------------
* Timeout *
---------------------------------------------------------------------------
RRQ timer mode : Received from G/K
RAS response timeout : 5 sec
RAS retry number :2
Q.931 response timeout : 20 sec
---------------------------------------------------------------------------
* RAS TTL *
---------------------------------------------------------------------------
700
---------------------------------------------------------------------------
1. Change GK Interface Mode
2. Change My Numbers to Register
3. Input GW alias(h323-ID)
4. Time out
5. Change RAS TTL
0. Exit Menu.
What do you want to change (0-5) ? : 2 ©
* Registration Numbers *
---------------------------------------------------------------------------
---------------------------------------------------------------------------
1. Add a number
42
2. Delete a number
3. Delete all numbers
4. Default number ( from ADDRESS table )
0. Exit menu.
What do you want to change (0-4) ? : 1 ©
Enter a Phone number to add[len:0~29]: 07070262402 ©
* Registration Numbers *
---------------------------------------------------------------------------
>07070262402<
---------------------------------------------------------------------------
1. Add a number
2. Delete a number
3. Delete all numbers
4. Default number ( from ADDRESS table )
0. Exit menu.
What do you want to change (0-4) ? : 0 ©
* RAS Parameters *
---------------------------------------------------------------------------
Gatekeeper used(Manual Finding).
Gatekeeper Address - 211.108.60.161:1719
2.nd Gatekeeper address - 0.0.0.0:0
password :
---------------------------------------------------------------------------
* Registration Numbers *
---------------------------------------------------------------------------
>07070262402<
---------------------------------------------------------------------------
* My H323ID *
---------------------------------------------------------------------------
VOIP
---------------------------------------------------------------------------
* Timeout *
---------------------------------------------------------------------------
RRQ timer mode : Received from G/K
RAS response timeout : 5 sec
RAS retry number :2
Q.931 response timeout : 20 sec
---------------------------------------------------------------------------
* RAS TTL *
---------------------------------------------------------------------------
700
---------------------------------------------------------------------------
1. Change GK Interface Mode
2. Change My Numbers to Register
3. Input GW alias(h323-ID)
4. Time out
5. Change RAS TTL
0. Exit Menu.
What do you want to change (0-5) ? : 3 ©
enter H323 ID[0~39]: dvlin20003 ©
43
* RAS Parameters *
---------------------------------------------------------------------------
Gatekeeper used(Manual Finding).
Gatekeeper Address - 211.108.60.161:1719
2.nd Gatekeeper address - 0.0.0.0:0
password :
---------------------------------------------------------------------------
* Registration Numbers *
---------------------------------------------------------------------------
>07070262402<
---------------------------------------------------------------------------
* My H323ID *
---------------------------------------------------------------------------
dvlin20003
---------------------------------------------------------------------------
* Timeout *
---------------------------------------------------------------------------
RRQ timer mode : Received from G/K
RAS response timeout : 5 sec
RAS retry number :2
Q.931 response timeout : 20 sec
---------------------------------------------------------------------------
* RAS TTL *
---------------------------------------------------------------------------
700
---------------------------------------------------------------------------
1. Change GK Interface Mode
2. Change My Numbers to Register
3. Input GW alias(h323-ID)
4. Time out
5. Change RAS TTL
0. Exit Menu.
What do you want to change (0-5) ? : 0 ©
you must RESET to apply modified value(s) to system.
1. RAS Config
2. Protocol Config
3. RTP Config
4. Manual RAS Config
0. exit
Select (0 ~ 3) : 0
Apply VoIP-Value TextConfigure...
As shown above, input H.323 ID, E.164 number, GK IP address & check established ariticles as
following. Basic information for registration are 3 ways. According to providers, it is possible to
register with GW IP. In this case, GK IP address should be entered & the rest of 2 articles can be
entered at user’s option.
GW/CONFIG/VOIP> show ©
44
* RAS Parameters *
---------------------------------------------------------------------------
Gatekeeper used(Manual Finding).
Gatekeeper Address - 211.108.60.161:1719
2.nd Gatekeeper address - 0.0.0.0:0
password :
---------------------------------------------------------------------------
* Registration Numbers *
---------------------------------------------------------------------------
>07070262402<
---------------------------------------------------------------------------
* My H323ID *
---------------------------------------------------------------------------
dvlin20003
---------------------------------------------------------------------------
* Timeout *
---------------------------------------------------------------------------
RRQ timer mode : Received from G/K
RAS response timeout : 5 sec
RAS retry number :2
Q.931 response timeout : 20 sec
---------------------------------------------------------------------------
* RAS TTL *
---------------------------------------------------------------------------
700
---------------------------------------------------------------------------
Press <q> key to abort...
* Protocol Parameters *
---------------------------------------------------------------------------
1. Q.931 Call Signalling Channel Listen Port : 1720
2. Fast Connect Used : YES
3. H.245 DTMF Message : Don't relay
4. Fast Audio Connect : NO
5. Force RBT to Network : NO
6. Wait Alert Timer : 20000 msec
7. H.245 Tunneling : NO
8. BRQ Used : NO
9. Open H.245 when conneted(outbound side) : No
a. Terminal type : GATEWAY(PREFIX)
b. CanMapAlias : NO
c. Search 1st G/K : NO
d. Inbound no ARQ : NO
e. Include h.245 in message :
Early [NO]
CallProceeding[NO]
Alert [NO]
Connect [NO]
f. Only 15 bits is compared in 16-bit CRV : NO
---------------------------------------------------------------------------
45
* RTP Parameters *
---------------------------------------------------------------------------
VOICE LIST :
G723.1-63 G729A G711_A G711_U
Frame / Packet :2
---------------------------------------------------------------------------
GW/CONFIG/VOIP>
Above establishment, it will be applied after saving & reset. Then, registration will be done at G/K.
The rest will be the same as SIP version.
In case of H.323, for changing sender’s number as per user’s request, VIRTUAL_NUM of
/CONFIG/ADDRESS table should change as below.
GW/CONFIG/ADDRESS> show ©
===========================================================================
* ADDRESS TABLE SHOW *
===========================================================================
INTF PORT VIRTUAL_NUM PEER-ADDR GROUP-PORT MODE L/RT
===========================================================================
FXS 0 07077003242 NONE None C/1ST
FXS 1 07077003242 NONE None C/1ST
FXS 2 07077003242 NONE None C/1ST
FXS 3 07077003242 NONE None C/1ST
FXS 4 07077003242 NONE None C/1ST
FXS 5 07077003242 NONE None C/1ST
FXS 6 07077003242 NONE None C/1ST
FXS 7 07077003242 NONE None C/1ST
FXS 8 07077003242 NONE None C/1ST
FXS 9 07077003242 NONE None C/1ST
FXS 10 07077003242 NONE None C/1ST
FXS 11 07077003242 NONE None C/1ST
FXS 12 07077003242 NONE None C/1ST
FXS 13 07077003242 NONE None C/1ST
FXS 14 07077003242 NONE None C/1ST
FXS 15 07077003242 NONE None C/1ST
FXO 0 100 200 None C/1ST
FXO 1 101 201 None C/1ST
46
47
Be cautious : In case of changing sender’s number, sending signal doesnt work. In this case, enter
registered number 070 & Number on VIRTUAL_NUM article wouldn’t appear, if picking up the
transmitter/the receiver connected to port, it couldn’t hear sending tone, you will hear warning
beep message.
48
When digital ports are physically connected to PSTN lines or PBX, you will see the SYNC and ALM
LED turned on. After being synchronized, the ALM LED will be turned off. Therefore, you should only
see the SYNC LED turned on. You can set up clock source in /CONFIG/COMMON.
GW/CONFIG/COMMON> show ©
==========================================================================
Common Configurations
==========================================================================
yes/no prompt mode (prompt) : YES
watchdog timer (wdt) : YES
# Processing Mode (dtp) : END_OF_DIGIT
web mode (web) : YES
telnet mode (telnet) : YES
telnet keepalive timer (keep) : 0 (sec)
local call feature mode (va) : YES(pickup number : *0)
ethernet wan speed type (wan) : AUTO
ethernet lan speed type (lan) : AUTO
telnet port (tport) : 6000
web port (wport) : 8000
digitmap mode (digitmode): YES
UPS mode (upsmode) : NO
primary clock source (clkp) : NORMAL0(slave0)
long/short haul transceiver (haul) : LONGHAUL
dtu block mode when wan link down (wblmode) : LOGICAL
dtu block when dtu link down (dblchk) : NO
dtu relay control (drelay) : OFF
pcm_coding_law (pcm) : PCM_ALAW
Company name (com) : DAVOLINK
==========================================================================
GW/CONFIG/COMMON>
In order to synchronize clock source, one should be Master and the other one should be Slave. You
have 3 options as follows. Default value is NORMAL0.
49
50
You can configure digital trunk, line coding, signaling type and so forth.
GW/CONFIG/DTRUNK> change ©
==========================================================================
Change Digital Trunk Configuration Command Usage
==========================================================================
change trunk# <parameter> <value>
==========================================================================
parameter ; type - digital trunk type
; lcode - line code
; frame - frame mode
; sig - signaling type
; vgain - Voice Output Gain
; igain - PCM Input Gain
; imp - Cable & Tx/Rx impedance
value ; type - E1|T1 (E1:2.048Mhz, T1:1.544Mhz)
; lcode - AMI|HDB3|B8ZS (AMI(T1, E1),HDB3(E1),B8ZS(T1))
; frame - D4|ESF|SLS96|CRC4|NOCRC4 (D4~SLS96:T1 CRC4,NOCRC4:E1)
; sig - R2|DTMF|ISDN (R2,DTMF:CAS ISDN:CCS)
; vgain,igain - -31 ~ 31 (dBm)
; imp - 75|120 (75: 75(Ohm), 120: 120(Ohm)
==========================================================================
GW/CONFIG/DTRUNK>
Type : This field configures digital trunk type. E1 or T1. Default value is E1.
Lcode : This field configures line code type. Choose AMI/B8ZS in T1 trunk and AMI/HDB3 in E1
trunk. Default value is HDB3.
Frame : This field configures frame mode. Choose D4/ESF/SLS96 in T1 trunk and NOCRC4/CRC4 in
E1 trunk. Default value is CRC4.
Sig : This field configures signaling type. Choose CAS in R2/DTMF and CCS in ISDN PRI. Default
value is CCS.
Imp : This field configures cable impedance. Korean domestic standard value is 120ohm. Default
value is 120ohm.
51
GW/CONFIG/DTRUNK> show 0 ©
==========================================================================
Digital Trunk Configurations (0)
==========================================================================
trunk type (type) : TRUNK_E1
line code (lcode) : DIGITAL_LINE_CODE_HDB3
frame mode (frame) : E1_CRC4
signaling type (sig) : DIGITAL_SIG_CCS
Voice Output Gain (vgain) : -3 dbm
PCM Input Gain (igain) : -3 dbm
Tx/Rx impedance(imp) : 120 Ohm
==========================================================================
GW/CONFIG/DTRUNK>
GW/CONFIG/DTRUNK> show 1 ©
==========================================================================
Digital Trunk Configurations (1)
==========================================================================
trunk type (type) : TRUNK_E1
line code (lcode) : DIGITAL_LINE_CODE_HDB3
frame mode (frame) : E1_CRC4
signaling type (sig) : DIGITAL_SIG_CAS_R2
Voice Output Gain (vgain) : -3 dbm
PCM Input Gain (igain) : -3 dbm
Tx/Rx impedance(imp) : 120 Ohm
==========================================================================
GW/CONFIG/DTRUNK>
NOTE : Frame mode in H.323 can be only applied after changing, saving and resetting. The rest
of options in H.323 and configuration in SIP version can be applied without resetting.
52
6.3.1 R2 MFC
R2 MFC is the commonly used signaling type in old central office switches. Although the number of
users is decreasing, it’s still widely used. Note that signals are transmitted by analog tones. The
disadvantage of R2 MFC type is that it takes longer time to be connected when making a call
comparing to ISDN PRI.
GW/CONFIG/AR2> show ©
==========================================================================
R2 Configurations
==========================================================================
dialing Mode (dmode) : OVERLAP_DIAL
R2 Line signaling type (stype) : R2_LSIG_WINK_START
ringback tone send in alert (rsend) : ON
off tone on opening of voice channel(ftvc) : after 1 sec
pseudo ringback tone send(prsend) : OFF
alert msg send to network (asend) : ON
Speed dial timeout(sdt) : 4 sec
------------------ CAS R2 --------------------------
O/G II-Group signal (categ) :1
O/G request Charge (charge) : ON
I/C A-Group signal (acomp) :6
I/C Calling Party Addr Request (sareq) : ON
max number of digits to receive(mrxd) :0
R2-MFC Tone Output Gain (gain) : -20 dbm
wait first DTMF timer[IVR] (fdwt) : 15 sec
wait second digit timer (sdwt) : 3 sec
wait post digit timer-Enbloc Peer (pdwt) : 3 sec
Enable net overlap digit timer(enodt) : OFF
net overlap digit timer(nodt) : 2 sec
convert the reserved digit(red) :*
send complete accepted digit(sadigit) : ALERT
playing release tone to R2(prel) : OFF
ignore ACOMP sig(ia6) : OFF
------------------ CAS DTMF --------------------------
Dial tone send in seizure (dsend) : ON
wait first DTMF timer (fdwt) : 15 sec
wait second DTMF timer (sdwt) : 3 sec
wait post DTMF timer-Enbloc Peer (pdwt) : 3 sec
Enable net overlap digit timer(enodt) : OFF
net overlap digit timer(nodt) : 2 sec
wait last DTMF timer (ldwt) : 10 sec
Dial guard time (guard) : 200 ms
Dial duration (dur) : 100 ms
53
Most of default values above are widely used ones. Therefore, you do not have to change them
when installing and configuring. Sometimes you can change following options.
dialing Mode (dmode) : This field defines the method to send dialed digits via lines using R2 MFC.
Overlap mode sends each digit right after pressing it. And enbloc mode stores whole digits and send
them later.
ringback tone send in alert (rsend) : After receiving alerting message, this field defines whether GW
plays ringback tone or not.
alert msg send to network (asend) : This field defines whether GW sends alerting message to
network.
I/C Calling Party Addr Request (sareq) : When receiving a call, this field defines whether GW
requests the calling number to sender. If it is off, calling numbers will not be shown.
wait second digit timer (sdwt) : This field defines the a waiting time between two digits. If you set
up this time too short, a call can be made during the dialing process.
wait post digit timer-Enbloc Peer (pdwt) : This field defines a waiting time after dialing.
54
If you type “change” command as follows, you can see the usage.
GW/CONFIG/AR2> change ©
==========================================================================
Configuration Change Command Usage
==========================================================================
change <parameter> <value>
==========================================================================
parameter ; dmode - dialing(address sending) mode [O/G]
; stype - R2 line signaling type
; rsend - ringback tone send in seizure [I/C]
; ftvc - off tone on opening of voice channel [I/C]
; prsend - pseudo ringback tone send [I/C]
; asend - alert message send to network [O/G]
; sdt - speed dial timeout
; t1 - Seizure Guard Time [I/C]
; t2 - Clear Foward Guard Time [I/C]
; t3 - Clear Foward Wait Guard Time [I/C]
; t4 - Seizure Ack Guard Time [O/G]
; t5 - Seizure Ack Duration [O/G]
; t6 - Answer Guard Time [O/G]
; t7 - Clear Backward Guard Time [O/G]
; t8 - Release Guard Time [O/G]
; t9 - Reanswer Guard Time [O/G]
; t10 - Release Wait Guard Time [O/G]
; t11 - Block Detect Guard Time [O/G]
; t12 - Glare Detect Guard Time [O/G]
; t13 - If glare is detected, stay seizure [O/G]
; icbt - Ignoring CG/Busy Tone
; prel - Playing REL-tone to the R2
; ia6 - Ignoring ACOMP(A6|A3) sig
value ; dmode - overlap|enbloc
; stype - wink(wink-start) [E1]
; dsend,rsend - on|off
; ftvc - after 0 ~ 59 sec, 60 = off
; prsend - off|setup|callproc
; sdt - 1 ~ 10 sec
; t1~11 - 0 ~ 1000 (ms)
; t3 - 1000 ~ 60000 (ms)
; t4,12,13 - 100 ~ 10000 (ms)
; t8,10 - 0 ~ 10000 (ms)
; icbt - on | off
; prel|ia6 - on | off
==========================================================================
GW/CONFIG/AR2>
55
ISDN PRI is the most commonly used signaling type. Because connecting time of ISDN PRI when
sending a call is relatively faster than that of R2 MFC. Unlike R2 MFC, ISDN PRI sends Q.931
messages.
GW/CONFIG/ISDN> show 0 ©
==========================================================================
ISDN Configurations(0)
==========================================================================
Protocol Mode (prmode) : (ISDN_ETSI_MODE)
Operation Mode (opmode) : (ISDN_NET_MODE)
Dialing Mode in O/G Call SETUP (dmode) : (ENBLOC_DIAL)
Dial tone send in seizure (dsend) : ON
Ringback tone send in alert (rsend) : ON
Send ALERT on receiving PROGRESS (alprog) : OFF
off tone on opening of voice channel(ftvc) : after 0 sec
Pseudo ringback tone send in alert (prsend) : OFF
Dial Tone Type (dtype) : TONE_DIAL_CONT
wait first INFO timer (fit) : 15 sec
wait second INFO timer (sit) : 3 sec
wait post INFO timer-Enbloc Peer (pit) : 3 sec
wait last INFO timer (lit) : 4 sec
Speed dial timeout (sdt) : 4 sec
Q931 Timer - Call Delivered (t301) : 180 sec
Q931 Timer - Call Initiated (t303) : 4 sec
Q931 Timer - Overlap Sending (t304) : 30 sec
Q931 Timer - Disconnect Request (t305) : 30 sec
Q931 Timer - Release Request (t308) : 4 sec
Q931 Timer - Connect Request (t313) : 10 sec
Q931 Timer - Resume Request (t318) : 4 sec
Q931 Timer - Suspend Request (t319) : 4 sec
One digit per one info in overlap dial(oned) : (ON)
ISDN Calling Party Numbering Plan (cnpn) : (NI2_NPLN_NATIONAL_ISDN)
Include ISDN Calling Party Number (icpn) : ON
ISDN Called Party Numbering Plan (cdpn) : (NI2_NPLN_NATIONAL_ISDN)
Information Transfer Capability (itcap) : (IITC_SPEECH)
Incoming Call DIL mode (icdil) : OFF
send RESTART msg. on startup (rstart) : OFF
Ignore unexpected element on SETUP (iue) : OFF
Ignoring CG/Busy Tone (icbt) : OFF
Progress Indicator value (piv) :1
56
Operation Mode (opmode) : This field defines operation mode of ISDN PRI interfaces. You can
choose it between NET and USER mode. You should cooperate with PBX or PSTN central office
switches. For instance, VoIP gateway should configure it as NET mode if PBX is set up as USER mode.
If this mode does not fit properly, you cannot make calls although E1 line is connected and the
status is normal.
Dialing Mode in O/G Call SETUP (dmode) : Dialing mode defines the method to send dialed digits
You can choose it between overlap and enbloc.
Dial tone send in seizure (dsend) : When a channel is seizured in PRI line, this field selects whether
GW plays a dial tone to collect digits or not.
Ringback tone send in alert (rsend) : After receiving alerting message, this field defines whether GW
plays ringback tone or not. You need to check PBX configuration because there are also dial and
ringback tone options in PBX.
wait second INFO timer (sit) : This field defines the a waiting time between two digits. Default
value is 3 seconds. Thus, next digit should come within 3 seconds in order to send a call properly.
wait last INFO timer (lit) : This field defines a waiting time after dialing.
L2 re-establish after L1 recoverd (l2rest) : If a LAPD connection in ISDN PRI is lost for various kinds
of reasons, GW will constantly re-establish LAPD connection after L1 recovered when this field is
enabled.
These are most fundamental things to check when setting up digital trunks. They should be
physically connected and synchronized. You can check them as follows.
57
---------------------------------------------------------------------------
ALARM DESCRIPTION
---------------------------------------------------------------------------
FOOS : Frame Out Of Sync
CSOOS : CRC multiframe Out Of Sync
MFOOS : Multiframe Out Of Sync
LOS : Loss Of Signal
AIS : Alarm Indication Signal
AIS16 : AIS on channel 16
RAI : Remote Alarm Indication
MFALM : Remote signalling Multiframe Alarm
SLIP : Accuracy of Master Clock
---------------------------------------------------------------------------
---------------------------------------------------------------------------
SLOT/TRUNK : CURRENT-STATE
---------------------------------------------------------------------------
0/0 : NO-ALARM
---------------------------------------------------------------------------
FOOS CSOOS MFOOS LOS AIS AIS16 RAI MFALM SLIP
---------------------------------------------------------------------------
0 0 0 0 0 0 0 0 1
---------------------------------------------------------------------------
---------------------------------------------------------------------------
SLOT/TRUNK : CURRENT-STATE
---------------------------------------------------------------------------
0/1 : NO-ALARM
---------------------------------------------------------------------------
FOOS CSOOS MFOOS LOS AIS AIS16 RAI MFALM SLIP
---------------------------------------------------------------------------
0 0 0 0 0 0 0 0 1
---------------------------------------------------------------------------
GW/ALARM>
* If you see constantly increasing slips in alarm, you have to check clock configuration
(Master/Slave) in PBX. Otherwise, make sure that your connecting cable is working properly. As you
can see above, it is normal to see one slip in a fresh boot.
* You have to check frame mode in digital trunk configuration when CSOOS alarms are increasing
without a slip. For instance, you can see CSOOS alarms increasing without a slip if GW uses CRC4
and PBX uses NOCRC4.
58
1) R2 connection status
PBX transmits signals by unique tones because of R2 MFC signaling type. Therefore, GW cannot show
its connection status. You have to make a call to test whether it works well or not. And you need to
inspect debugging message when you cannot send a call.
ISDN PRI uses one of E1 31 channels as a signal transmit channel to send and receive messages so
that it can verify its connection status. In order to use ISDN PRI channel, this signal transmit channel
should be connected. This means that LAPD channel is established. If LAPD channel is established as
follows, channel status will be “connected”. Note that following example represents that two
digital trunks are configured and working properly: one digital port for ISDN PRI, and the other for
R2 MFC.
GW/CONFIG/DTRUNK> shline ©
==========================================================================
Channel Type configurations
==========================================================================
--------------------------------------------------------------------------
channel number | 1 2 3
| 01234567890123456789012345678901
--------------------------------------------------------------------------
channel type
[slot/port] [0/0] | FBBBBBBBBBBBBBBBSBBBBBBBBBBBBBBB | In Out Both Sig Frame Xundef
[slot/port] [0/1] | FBBBBBBBBBBBBBBBSBBBBBBBBBBBBBBB | In Out Both Sig Frame Xundef
--------------------------------------------------------------------------
channel status | Fail Block Idle bUsy
[ISDN(CCS)] [0/0](U)| iiiiiiiiiiiiiii iiiiiiiiiiiiiii | sts :Connected
[ R2(CAS)] [0/1](U)| iiiiiiiiiiiiiii iiiiiiiiiiiiiii |
--------------------------------------------------------------------------
channel config
[slot/port] [0/0] | UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU | Block Unblock
[slot/port] [0/1] | UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU | Block Unblock
==========================================================================
GW/CONFIG/DTRUNK>
59
You can check used channel status (both PRI and R2) as follows.
GW/CONFIG/DTRUNK> shline ©
==========================================================================
Channel Type configurations
==========================================================================
--------------------------------------------------------------------------
channel number | 1 2 3
| 01234567890123456789012345678901
--------------------------------------------------------------------------
channel type
[slot/port] [0/0] | FBBBBBBBBBBBBBBBSBBBBBBBBBBBBBBB | In Out Both Sig Frame Xundef
60
Moreover, you can also check currently used channels and their states.
1) R2 MFC
---------------------------------------------------------------------
---------------------------------------------------------------------
2) ISDN PRI
61
-----------------------------------------------------------------
-----------------------------------------------------------------
NO CALLS IN PROGRESS!
This command will show progressing call states, used channel information and calling/called
numbers using physical E1 port 0/1. The output above used only port 0.
62
With a new firmware release, you can have two routing tables simultaneously. Thus, you can try
calls referring to two separate routing tables in one gateway.
GW/CONFIG/ROUTE> show©
usage : show <idx>
<idx> : (0) first, (1) second
GW/CONFIG/ROUTE> show 0©
======================================================================
1st Routing Table Show
======================================================================
INTF PORT NUMBERS TRNC PREFIX POSTFIX DEST_ADDR LEVEL
======================================================================
FXS 0 200 3 0.0.0.0
FXS 1 201 3 0.0.0.0
FXS 2 202 3 0.0.0.0
FXS 3 203 3 0.0.0.0
FXO 0 100 3 0.0.0.0
FXO 1 101 3 0.0.0.0
FXO 2 102 3 0.0.0.0
FXO 3 103 3 0.0.0.0
NET 0 ***?? 5 0.0.0.0 C
======================================================================
*INTF : Invalid Interface
======================================================================
GW/CONFIG/ROUTE> show 1©
======================================================================
2nd Routing Table Show
======================================================================
INTF PORT NUMBERS TRNC PREFIX POSTFIX DEST_ADDR LEVEL
======================================================================
======================================================================
*INTF : Invalid Interface
======================================================================
GW/CONFIG/ROUTE>
As you can see above, there are two tables simultaneously. It is common to use just routing table
“0” only. From now on, this document will only use routing table “0”. If you just type “show”
command, it will basically show you routing table “0”.
63
To add and delete routes in a routing table, you can use “add” and “del”. If you do not specify the
port number, it is regarded as routing table “0”. When you want to modify routing table “1”, you
must use “add1” and “del1”.
add, add0, del, del0 : these commands add and delete routes in routing table “0”
add1, del1 : these commands add and delete routes in routing table “1”
GW/CONFIG/ROUTE> del0 all© /* This command will delete all the routes in the table. */
GW/CONFIG/ROUTE>
Following configurations are routes to call landlines and cellular phones after successful registration
to a server. These should be set up even when you do not use calls between headquarter and
branches.
64
======================================================================
INTF PORT NUMBERS TRNC PREFIX POSTFIX DEST_ADDR LEVEL
======================================================================
FXS 200 07077003241 11 0.0.0.0
FXS 200 *99* 4 0.0.0.0
FXO 201 **11~ 4 0.0.0.0
NET 0 0~ 0 0.0.0.0 C
NET 0 ~ 0 02 0.0.0.0 C
======================================================================
*INTF : Invalid Interface
======================================================================
GW/CONFIG/ROUTE>
7.1.2 Setting up routing table for calls between headquarter and branches
Receiving numbers : *1??? (and ??? means 3 digit extension numbers of branchs’ PBXs.)
65
In the case of digital gateway, you have to set up routes to receive calls and sent them to E1(CCS or
CAS) interfaces: ccs interface for PRI and cas for R2 MFC.
IP address : 220.120.246.203
Receiving numbers : *2??? (and ??? means 3 digit extension numbers of branch’s PBXs.)
66
In the case of digital GW, you have to additionally set up a route to receive calls and send them to
E1 interfaces (CCS or CAS).
7.1.3 Setting up address table for calls between headquarter and branches
You need to add following route to make calls between headquarter and branches. Additionally, you
also set up FXO ports to receive calls from PSTN lines and switch VoIP to PSTN backup lines in
emergency.
GW/CONFIG/ADDRESS> gport fxs 200 all© /*setting up FXS ports as a group to receive PSTN calls*/
GW/CONFIG/ADDRESS> gport fxo 201 0-1© /*setting up 2 FXO ports for PSTN backup lines*/
GW/CONFIG/ADDRESS> gport fxo 202 2-3© /*setting up 2 FXO ports to receive headquarter-branch
calls*/
67
GW/CONFIG/ADDRESS>
GW/CONFIG/ADDRESS> peer multi© /*this option delivers incoming PSTN calls to FXS ports*/
Intf : [FXS,FXO,EM]
=>fxo©
Nums : [peer number]
=>*99*©
IncNum : [the number of increment:default(1)]
=>0©
Count : [the count of increment:default(4)]
=>2©
Peer number 00 : *99*
Peer number 01 : *99*
GW/CONFIG/ADDRESS>
GW/CONFIG/ADDRESS> peer fxo 2 null© /*there are no peer addresses for FXO ports used in
headquarter-branch calls */
GW/CONFIG/ADDRESS> peer fxo 3 null©
GW/CONFIG/ADDRESS>
GW/CONFIG/ADDRESS> show
======================================================================
* ADDRESS TABLE SHOW *
======================================================================
INTF PORT VIRTUAL_NUM PEER-ADDR GROUP-PORT MODE L/RT
======================================================================
FXS 0 07077003241 NONE 200 Round_Robin C/1ST
FXS 1 07077003241 NONE 200 Round_Robin C/1ST
FXS 2 07077003241 NONE 200 Round_Robin C/1ST
FXS 3 07077003241 NONE 200 Round_Robin C/1ST
FXO 0 100 *99* 201 Round_Robin C/1ST
FXO 1 101 *99* 201 Round_Robin C/1ST
FXO 2 102 202 Round_Robin C/1ST
FXO 3 103 202 Round_Robin C/1ST
======================================================================
GW/CONFIG/ADDRESS>
Group port “201” consists of FXO port 0 and 1. And they receive PSTN calls and switch VoIP to PSTN
backup lines.
You have to configure the route **11~ to FXO ports connected to PSTN lines. Group port “202”
consists of FXO port 2 and 3. And they are used to send and receive calls between headquarter and
branches.
68
** Following configuration is only required in SIP service. You do not need extra configuration in
H.323 service.
These are additional steps except for routing and address tables.
To enable calls within one gateway, you can do that with the following command.
Normally GW uses unregistered numbers to SIP (for instance, *100???, *200???, **12, #1?? and so on)
to distinguish headquarter-branch call from normal one. In order to do that, you should allow GW to
use these calls by a following command. Default value is “YES”.
GW/CONFIG/VOIP> allowxto©
usage : allowXto y|n
current allowXto(allow invalied to) value is NO
GW/CONFIG/VOIP> allowxto yes©
GW/CONFIG/VOIP> allowxto©
usage : allowXto y|n
current allowXto(allow invalied to) value is YES
GW/CONFIG/VOIP>
69
8. Service configuration
When regular PSTN lines are connected to FXO ports, GW will automatically change the route to
PSTN lines in the case of network downtime or power outage with this feature.
GW/CONFIG/REROUTE> show©
===========================================================================
REROUTE Configurations Show
===========================================================================
mode(mode) : OFF
---------------------------------------------------------------------------
****1st. reroute****
type : NULL
prefix : NULL
condition : 0x0
0x00000001 : LAN Link Down [OFF]
0x00000002 : Server not connected [OFF]
0x00000004 : Call Timeout [OFF]
0x00000008 : Unallocated number [OFF]
beep : OFF
peer ip : 0.0.0.0
---------------------------------------------------------------------------
****2nd. reroute****
type : NULL
prefix : NULL
condition : 0x0
0x00000001 : LAN Link Down [OFF]
0x00000002 : Server not connected [OFF]
0x00000004 : Call Timeout [OFF]
0x00000008 : Unallocated number [OFF]
beep : OFF
peer ip : 0.0.0.0
---------------------------------------------------------------------------
****3rd. reroute****
type : NULL
prefix : NULL
condition : 0x0
0x00000001 : LAN Link Down [OFF]
0x00000002 : Server not connected [OFF]
0x00000004 : Call Timeout [OFF]
0x00000008 : Unallocated number [OFF]
beep : OFF
peer ip : 0.0.0.0
70
===========================================================================
GW/CONFIG/REROUTE>
In order to enable backup(=reroute) feature as you can see above, you need to turn the reroute
mode “ON” first. Default value is "OFF".
GW supports up to 3 tables to perform backup(=reroute) processes so that users can have different
approaches and methods to 4 conditions each. This is the basic reroute configuration to PSTN lines:
71
---------------------------------------------------------------------------
****2nd. reroute****
type : NULL
prefix : NULL
condition : 0x0
0x00000001 : LAN Link Down [OFF]
0x00000002 : Server not connected [OFF]
0x00000004 : Call Timeout [OFF]
0x00000008 : Unallocated number [OFF]
beep : OFF
peer ip : 0.0.0.0
---------------------------------------------------------------------------
****3rd. reroute****
type : NULL
prefix : NULL
condition : 0x0
0x00000001 : LAN Link Down [OFF]
0x00000002 : Server not connected [OFF]
0x00000004 : Call Timeout [OFF]
0x00000008 : Unallocated number [OFF]
beep : OFF
peer ip : 0.0.0.0
===========================================================================
GW/CONFIG/REROUTE>
And if you just want to use the first backup table, please choose the following option:
GW/CONFIG/REROUTE> 1st©
mode [(1)st|(2)nd|(L)oop|(P)eerIP|(N)ull] : l©
/* If you choose "Loop" mode, GW will look up the routing table again and find the calling number
when erorrs you will specify in the following conditions occur. Of course, it will add the prefix value
(which you'll add in the following option) before the calling number to distinguish. */
/* When errors occur, GW will add "**11" digits before the calling number. This prefix can be
changed. Since it is associated with routing table, remind that you should configure a routing table
properly to handle calling number patterns start with prefix. */
72
condition : 3©
/* This represents backup working conditions. If you want backup work just in the case of Lan link
down, you can choose "1". And if you want more than 2 conditions out of 4, then set up the sum of
numbers. If you want 3 conditions(Lan Link Down, Server not connected, Call timeout), you can
choose "7"(1+2+4=7). And if you want all conditions, you can choose "f"(1+2+4+8=15). */
/* This option will tell users that backup is working right before trying to call PSTN lines if backup
works. Since they can hear beep sound before calling, they know it's not via VOIP lines but PSTN
ones. */
If you configure backup settings like above, you have to set up the routing table as follows so that it
can handle newly added prefix numbers.
GW/CONFIG/ROUTE> show©
======================================================================
1st Routing Table Show
======================================================================
INTF PORT NUMBERS TRNC PREFIX POSTFIX DEST_ADDR LEVEL
======================================================================
FXS 200 07077003241 11 0.0.0.0
FXS 200 *99* 4 0.0.0.0
FXO 201 **11~ 4 0.0.0.0
FXO 201 **1102~ 6 0.0.0.0
FXO 202 *2??? 2 0.0.0.0
NET 0 *1??? 0 220.120.246.204 C
NET 0 0~ 0 0.0.0.0 C
NET 0 ~ 0 02 0.0.0.0 C
======================================================================
*INTF : Invalid Interface
======================================================================
GW/CONFIG/ROUTE>
Just same as we did in chapter 7, you should add routings("**11~" and "**1102~") to FXS ports that
are connected to PSTN lines. In "**1102~", 02 means local area code, you should configure it
properly.
73
GW/CONFIG/ROUTE> show©
======================================================================
1st Routing Table Show
======================================================================
INTF PORT NUMBERS TRNC PREFIX POSTFIX DEST_ADDR LEVEL
======================================================================
NET 0 ~ 0 031 0.0.0.0:0 C
NET 0 ***?? 5 0.0.0.0:0 C
CAS 0 *7757?? 3 0.0.0.0:0
CAS 0 *7756?? 3 0.0.0.0:0
CAS 0 *7755?? 3 0.0.0.0:0
CAS 1 **11~ 4 0.0.0.0:0
==========================================================================
*INTF : Invalid Interface
==========================================================================
usage : show <idx>
<idx> : (0) first, (1) second
GW/CONFIG/ROUTE>
2) PBX backup
If you use DV-332 digital E1 1 or 2 ports to be connected to the PBX, you can send/receive VoIP calls
via DV-332 E1 port(s) in a normal service time. If errors (such as "Etnernet WAN Link down" or
"Server not connected") occur, you can block DV-332 E1 port physically or manually. In order to do
so, all you have to do is configuring following option (and you don't need to set up in
/CONFIG/REROUTE).
GW/CONFIG/COMMON> show©
==========================================================================
Common Configurations
74
==========================================================================
yes/no prompt mode (prompt) : YES
watchdog timer (wdt) : YES
# Processing Mode (dtp) : END_OF_DIGIT
web mode (web) : YES
telnet mode (telnet) : YES
telnet keepalive timer (keep) : 0 (sec)
local call feature mode (va) : YES(pickup number : **)
ethernet wan speed type (wan) : AUTO
ethernet lan speed type (lan) : AUTO
telnet port (tport) : 23
web port (wport) : 8080
digitmap mode (digitmode): NO
UPS mode (upsmode) : NO
primary clock source (clkp) : NORMAL0
long/short haul transceiver (haul) : LONGHAUL
dtu block mode when wan link down (wblmode) : PHYSICAL
dtu block when dtu link down (dblchk) : NO
dtu relay control (drelay) : OFF
pcm_coding_law (pcm) : PCM_ALAW
Company name (com) : DAVOLINK
==========================================================================
GW/CONFIG/COMMON>
In "dtu block mode when wan link down (wblmode)" option, there are 3 values you can choose.
PHYSICAL : It makes Layer 1 down so that PBX will acknowledge that the digital trunk is down. Thus,
it will reroute calls to backup ports by its own policy or give "Release tone" or
announcement("Telephone is out of order").
LOGICAL : With Layer 2 and 3 all alive, it only blocks an E1 channel. When "Setup" messages come
from PBX, it will give "Release Complete" back to PBX. Q931 reason code will be "Cause
i = 0x80A2 - No circuit/channel available".
It will configure FAX sending/receiving. There are two ways to set up this feature.
75
1) Pass-through
2) T.38
With FAX Pass-through type, GW will send FAX data using PCM codecs such as G.711u_law or
G.711a_law). Therefore, both sending and receiving GW must have at least one or more PCM codecs.
1) Configuration
76
Ö F711 starts FAX with PCM Codec of Passthrough Codec (passc) which is established without
Re-INVITE.
Ö M711 sends Re-INVITE with Codec which is established at passc.
/* Specific FAX sort is unable to GNG tone.*/
Ö When GW at sending party detects FAX tone (CED) which was sent from GW at receiving
party, execute pass-through FAX.
Ö F711 starts FAX with PCM Codec of Passthrough Codec (passc) which is established without
Re-INVITE.
Ö M711 sends Re-INVITE with Codec which is established Passthrough Codec (passc).
According to established value, GW sends T.38 udptl message without Re-Invite or sends it after Re-
INVITE.
2) Configuration
77
Ö Remote GW changes into media session (G.723.1, G.726) which is already connected & other
PCM Codec without Re-INVITE, GW is also changed to PCM Codec automatically.
Ö When sending GW detects CNG tone, it changes to PCM Codec without Re-INVITE
automatically.
- Setting FAX event
Some FAX Event are detected, select whether T.38 FAX procedure is executed or not.
Ö GW at sending party detects FAX tone (CED) from receiving party, execute T.38 FAX.
Ö FT38 changes to T.38 mode without Re-INVITE & sends udptl message.
Ö MT38 changes to T.38 mode after Re-INVITE procedure.
78
Adjusting sound volume at GW is enabled to control sound volume toward two directions for
internet/subscriber. Therefore, adjustment for voice volume should establish for each FXS/FXO port
individually.
GW/CONFIG/FXS> show©
========================================================================
FXS Configurations Show
========================================================================
Voice Output Gain (vgain) : dB
-2 -2 -2 -2
PCM Input Gain (igain) : dB
0 0 0 0
Caller id Generation mode (cid) :
DISABLE DISABLE DISABLE DISABLE
ring cadence on time (ron) : 1 sec
ring cadence off time (roff) : 2 sec
Polarity reversal (pola) : DISABLE
Dial Tone Type (dtype) : CONTINUOUS
Initial digit timeout(init) : 10 sec
Inter digit timeout(idt) : 5 sec
Post digit timeout(pdt) : 2 sec
hook flash guard time (guard) : 600 ms
Ring Vrms Value (vrms) :
60 60 60 60
CODEC filter value : KOREA
No answer timer(natimer) : 180
FXS/FXO|LBU One2One Mode(one2one) :
DISABLE DISABLE DISABLE DISABLE
79
ForceOn-HookGuardTimer(ontimer) : 10 sec
Ring trip threshold (rtrip) : DOWN
FXS Codec Receive Gain (rg) : OFF
Private ring number(pri) : none
========================================================================
GW/CONFIG/FXS>
Basically, voice volume shall adjust by changing Voice Output Gain(vgain) & PCM Input Gain(igain).
Voice Output Gain(vgain) : Voice volume which is transmitted to Internet side from FXS port.
PCM Input Gain(igain) : Voice volume which is transmitted to internet side from FXS port
Vgain & igain shall establish the fixed value between -31 ~ 31dB. The meaning of numerical value is
the difference between input voice & output voice. Supposed input voice volume is “0dB”, it means
that -1 ~ -31dB shall decrease voice volume & 1 ~ 31dB will increase voice volume.
GW/CONFIG/FXO> show©
========================================================================
FXO Configurations Show
========================================================================
[Voice Output Gain] (vgain)<-31 ~ 31> : dB
-2 -2 -2 -2
[PCM Input Gain] (igain)<-31 ~ 31> : dB
0 0 0 0
DTMF duration (dur) : 120 ms [FXO-->PSTN]
DTMF interval (intv) : 60 ms [FXO-->PSTN]
Inter digit timer(idt) : 5 sec [PSTN-->FXO]
80
CallerID_detect_timer(dct) : 4000 ms
Ring guard timer (rguard): 410 ms [PSTN-->FXO]
H/W ring det. (hwring) : 2 [PSTN-->FXO]
Connect mode (connect) : 0(wait the answer back) [PSTN-->FXO-->IP]
Flash hook time (fhtime) : 500 ms [FXO-->PSTN]
Force release time (frtime) : 0 minute [FXO<-->IP]
Fxs busy (sbusy) : NOANSWER [FXO-->FXS]
Fxo offhook timer(off) : 0 sec [IP-->FXO]
Fxo ringing polling(rpoll) : 13 msec [PSTN->FXO]
========================================================================
GW/CONFIG/FXO>
Setting of vgain & igain shall establish as same as FXS port. Default for FXS & FXO port are vgain = -
2dBm, igain = 0dBm.
GW uses codec that has compression function. It applies to convert 64Kbps of analog voice to digital
information. This codec classifies according to compression rate & compression algorithm. Usually,
G.723.1, G.729A, G.711a, G.711u are often using as normal Codec. G.723.1 is for 6.3K or 5.3K,
G.729A is for 8K, G.711a/G.711u are for 64K. These codecs convert voice to digital information.
GW/CONFIG/VOIP> vocoder©
81
Using Codec is able to change as above. The priority of arrangement for Codecs shall be from left.
As above example, if established G711A G711U G729A, G711A will be the priority Codec. These
Codec’s priority shall be negotiated with using Codec at opposite terminal when telecommunication
is established.
GW provides features to transfer and pick up calls between internal FXS ports as same as previous
keyphone or PBX system. In order to use these features, you need to set up following configuration
in common.
GW/CONFIG/COMMON> show
========================================================================
Common Configurations
========================================================================
yes/no prompt mode (prompt) : YES
watchdog timer (wdt) : YES
*,# Processing Mode (dtp) : END_OF_DIGIT
web mode (web) : YES
telnet mode (telnet) : YES
telnet keepalive timer (keep) : 0 (sec)
local call feature mode (va) : NO(pickup number : *0)
ethernet wan speed type (wan) : AUTO
ethernet lan speed type (lan) : AUTO
telnet port (tport) : 6000
web port (wport) : 8000
digitmap mode (digitmode): NO
UPS mode (upsmode) : NO
CODEC filter value : KOREA
========================================================================
82
GW/CONFIG/COMMON>
GW/CONFIG/COMMON> change va yes©
Input CALL PICK UP NUMBER [*0]: /*setting up pick up code number*/
Apply Success...
GW/CONFIG/COMMON> show©
========================================================================
Common Configurations
========================================================================
yes/no prompt mode (prompt) : YES
watchdog timer (wdt) : YES
*,# Processing Mode (dtp) : END_OF_DIGIT
web mode (web) : YES
telnet mode (telnet) : YES
telnet keepalive timer (keep) : 0 (sec)
local call feature mode (va) : YES(pickup number : *0)
ethernet wan speed type (wan) : AUTO
ethernet lan speed type (lan) : AUTO
telnet port (tport) : 6000
web port (wport) : 8000
digitmap mode (digitmode): NO
UPS mode (upsmode) : NO
CODEC filter value : KOREA
========================================================================
GW/CONFIG/COMMON>
After setting the above function, internal ports shall bind to one group as below. The reason to do
this is because the ports which established as one group are enabled to use this function.
GW/CONFIG/ADDRESS> show©
===========================================================================
* ADDRESS TABLE SHOW *
===========================================================================
INTF PORT VIRTUAL_NUM PEER-ADDR GROUP-PORT MODE L/RT
===========================================================================
FXS 0 200 NONE None C/1ST
FXS 1 201 NONE None C/1ST
FXS 2 202 NONE None C/1ST
FXS 3 203 NONE None C/1ST
FXO 0 100 200 None C/1ST
FXO 1 101 201 None C/1ST
FXO 2 102 202 None C/1ST
FXO 3 103 203 None C/1ST
===========================================================================
GW/CONFIG/ADDRESS>
GW/CONFIG/ADDRESS> gport fxs 200 all©
GW/CONFIG/ADDRESS> show©
83
===========================================================================
* ADDRESS TABLE SHOW *
===========================================================================
INTF PORT VIRTUAL_NUM PEER-ADDR GROUP-PORT MODE L/RT
===========================================================================
FXS 0 200 NONE 200 Round_Robin C/1ST
FXS 1 201 NONE 200 Round_Robin C/1ST
FXS 2 202 NONE 200 Round_Robin C/1ST
FXS 3 203 NONE 200 Round_Robin C/1ST
FXO 0 100 200 None C/1ST
FXO 1 101 201 None C/1ST
FXO 2 102 202 None C/1ST
FXO 3 103 203 None C/1ST
===========================================================================
GW/CONFIG/ADDRESS>
As setting above, for example, if the phone connected to FXS number 0 port rings, hold the phone
connected to number 3 port & press “0”. Then, receiving calls can answer from number 3ports..
When PSTN line is receiving a call through IP or FXO, it will establish the connection to another port.
To setup this function, local call feature mode(va) shall establish with “yes”. This helps GW to
perceive hook flash when connecting the call to another port. Otherwise, it takes the call as
disconnection without perceiving hook flash. Therefore, it needs to check the following
establishment related to hook flash.
GW/CONFIG/FXS> show©
===========================================================================
FXS Configurations Show
===========================================================================
Voice Output Gain (vgain) : dB
-2 -2 -2 -2
PCM Input Gain (igain) : dB
0 0 0 0
Caller id Generation mode (cid) :
DISABLE DISABLE DISABLE DISABLE
ring cadence on time (ron) : 1 sec
ring cadence off time (roff) : 2 sec
Polarity reversal (pola) : DISABLE
Dial Tone Type (dtype) : CONTINUOUS
84
Hook flash guard time(guard) shall establish the pressing time when user presses hook switch.
Normally, it measures 150~200ms for pressing hook flash button with standard phone. If user presses
& releases, it will be 300~400ms. In case the time establishes shortly, it might be read as on-hook
instead of hook flash so that it is possible to close the call. Default is 500ms. Therefore, it provides
dialing of internal ports when connecting to other phones under internal line as following Routing
table so that additionally, it is possible to setup the number for easy pressing except service
provider’s registered number.
GW/CONFIG/ROUTE> show 0©
==========================================================================
1st Routing Table Show
==========================================================================
INTF PORT NUMBERS TRNC PREFIX POSTFIX DEST_ADDR LEVEL
==========================================================================
FXS 0 07077003240 11 0.0.0.0
FXS 0 200 3 0.0.0.0
85
Setting as above, receiving port at FXS number 0 & transmitting to FXS number 3 under on-line, it
shall press hook flash & press number “203”(extension number), it makes ring at phone for number
3 port. Finally, answer the phone, line will be connected.
When it connects to Keyphone system or PBX system, inversion signal at premises switch board can
use as Billing purpose. In this case, internal or external line on premises switch board shall connect
to FXS/FXO port at GW, there are no differences between Tip/Ring line unless inversion signal uses.
However, inversion signal shall use, Tip & Ring’s lines shall be divided into because two lines will be
checked by voltage features for each port. If it connects initially, even it doesn’t use, two lines
shall be exchanged & connected if port’s LED turns on.
Therefore, if it connects to premises switch board which is using inversion signal, the inversion
signal shall provide from FXS port at GW to premises switch board. Establishment is as following.
GW/CONFIG/FXS> show©
===========================================================================
FXS Configurations Show
===========================================================================
Voice Output Gain (vgain) : dB
-2 -2 -2 -2
PCM Input Gain (igain) : dB
0 0 0 0
86
87
Generally, shown caller ID is that a function of detection. Information of number from PSTN line
shall detect when telephone signal arrives to receiver party. Then, this information will provide to
the phone which connected to FXS port. Normally, domestic Ring signal provides 1 second & 2
seconds take off. And then, Ring signal provides 1 second. It’s the type of ring signal in our nation.
Information of caller ID delivers during the interval between the first Ring signal & second Ring
signal. For this interval (2 seconds), it delivers by FSK method.
88
Bellcore method : It uses in South America & many nations adapt this type including Korea
Type II : When user is on line & another line is connected simultaneously. This is the timing to
deliver the information.
89
Basically, if GW terminal establishes Type I, Type II also supported. In order to deliver caller ID
information to the phone shown caller ID & connected to GW, FXO/FXS port shall setup as following.
FXO port is for detecting caller ID information from PSTN line, establishment is as following.
GW/CONFIG/FXO> show©
===========================================================================
FXO Configurations Show
===========================================================================
[Voice Output Gain] (vgain)<-31 ~ 31> : dB
-2 -2 -2 -2
[PCM Input Gain] (igain)<-31 ~ 31> : dB
0 0 0 0
DTMF duration (dur) : 120 ms [FXO-->PSTN]
DTMF interval (intv) : 60 ms [FXO-->PSTN]
Inter digit timer(idt) : 5 sec [PSTN-->FXO]
Post digit timer(pdt) : 2 sec [PSTN-->FXO]
Wait mode (wm) : DIALTONE MODE [PSTN-->FXO]
Dialtone timer(dt) : 12 sec [Dialtone mode] [PSTN-->FXO]
Fxo dial connect mode(dcm) : disable [Dialtone mode] [PSTN-->FXO]
Passwd_mode (pm) : disable [PSTN-->FXO]
Password (ps) : 1002 [PSTN-->FXO]
Fxo password timer (pt) : 3 sec [PASSWORD MOD]
Wait dialtone time(wd) : 1500 ms [FXO-->PSTN]
Wait digit timer(wdt) : 7 sec [Announce mode] [PSTN-->FXO]
Wait connect from net (t2) : 60 sec [FXO-->IP]
Wait digit from net (t4) : 500 ms [IP-->FXO]
Release tone play (rtp) : 4 sec [FXO-->PSTN]
Silence Detection (sd) : Disabled [PSTN-->FXO]
Silence Period (sp) : 120 sec [PSTN-->FXO]
Silence Level (sl) : -50 dBm [PSTN-->FXO]
CallerID_detect_timer(dct) : 4000 ms
Ring guard timer (rguard): 410 ms [PSTN-->FXO]
H/W ring det. (hwring) : 2 [PSTN-->FXO]
Connect mode (connect) : 0(wait the answer back) [PSTN-->FXO-->IP]
Flash hook time (fhtime) : 500 ms [FXO-->PSTN]
Force release time (frtime) : 0 minute [FXO<-->IP]
Fxs busy (sbusy) : NOANSWER [FXO-->FXS]
90
CallerID_detect_timer(dct) : 4000 ms
Ring guard timer (rguard): 410 ms [PSTN-->FXO]
H/W ring det. (hwring) : 2 [PSTN-->FXO]
Connect mode (connect) : 0(wait the answer back) [PSTN-->FXO-->IP]
Flash hook time (fhtime) : 500 ms [FXO-->PSTN]
Force release time (frtime) : 0 minute [FXO<-->IP]
Fxs busy (sbusy) : NOANSWER [FXO-->FXS]
Fxo offhook timer(off) : 0 sec [IP-->FXO]
Fxo ringing polling(rpoll) : 13 msec [PSTN->FXO]
===========================================================================
GW/CONFIG/FXO>
91
Differ from FXO ports which can detect caller ID from PSTN line, FXS port delivers information to
caller ID phone or keyphone system. Setting is as following.
GW/CONFIG/FXS> show©
===========================================================================
FXS Configurations Show
===========================================================================
Voice Output Gain (vgain) : dB
-2 -2 -2 -2
PCM Input Gain (igain) : dB
0 0 0 0
Caller id Generation mode (cid) :
DISABLE DISABLE DISABLE DISABLE
ring cadence on time (ron) : 1 sec
ring cadence off time (roff) : 2 sec
Polarity reversal (pola) : ENABLE
Dial Tone Type (dtype) : CONTINUOUS
Initial digit timeout(init) : 10 sec
Inter digit timeout(idt) : 5 sec
Post digit timeout(pdt) : 2 sec
hook flash guard time (guard) : 600 ms
Ring Vrms Value (vrms) :
60 60 60 60
CODEC filter value : KOREA
No answer timer(natimer) : 180
FXS/FXO|LBU One2One Mode(one2one) :
DISABLE DISABLE DISABLE DISABLE
92
93
94
Password for applied user account is enable to change. Setting example is a login with davo account
& change password.
GW/SYSTEM/ACL> show©
----- ------------ ------------ ------------
IDX USER PASS LEVEL
----- ------------ ------------ ------------
1 davo drc super_user
2 admin admin super_user
3 root admin writable
4 guest guest common
----- ------------ ------------ ------------
GW/SYSTEM/ACL>
Basically, the port at GW for remote connection is different from general port. Generally, 23 port
used for telnet connection but No “6000” port will be used at GW. Moreover, No 80 port will be
used for web browser(HTTP). But No “8000” port will used for GW. This is for preventing
unauthorized connections & using port can be changed as following.
GW/CONFIG/COMMON> show©
==========================================================================
Common Configurations
==========================================================================
95
Above example explained that telnet port & web browser’s HTTP port is changed to general port
which we used normally. If forgetting the connection port after changing it because that port did
not often use, it’s impossible to connect by remote connection. In this case, there is no way but to
connect console & check & change it. So it required caution when changing.
96
When remoted connection, it shall be connected with IP address only so it’s hard to confirm the
exact connection where they want to connect. Accordingly, it is possible to confirm the connection
by using this function when changing system name for initial installation.
As above example, it is possible to setup both English & Korean. If the name is setup as like
installed place or client name, it shall be caused some confusion because prompt will be printed
with targeted sysname when remote connection. In case several GW is installed, it is possible to
change with figure or IP address as following.
97
9. Upgrading firmware
Davolink gateway supports FTP server feature to upgrade or downgrade firmware via Ethernet
connection at remote or local area.
In order to download firmware, GW uses FTP(File Transfer Protocol) as a file sharing method.
You can enable FTP server feature as following.
GW:/NETUTIL> ftpd ©
Current FTP Deamon task : Suspend
Usage : ftpd enable|disable
GW:/NETUTIL> ftpd enable©
password : ********© /* password is “ftpdftpd” */
Block mode enable? (y/N) n© /* If you choose ”y”, then you cannot downgrade firmware to
current or lower version. */
GW:/NETUTIL>
GW:/NETUTIL> ftpd©
Current FTP Deamon task : Running
Usage : ftpd enable|disable
GW:/NETUTIL>
After booting up GW, the frist status of FTP Daemon is "Suspend". If you run FTP daemon to upgrade
firmware, its status will be "Running".
2) Downloading firmware
After running FTP server in GW, please excute following commands in the PC that has firmware.
98
z Click the start button in taskbar, and select "Run", and type "cmd". And change the directory
to where firmware file is located and verify them.
z At the command prompt, type "ftp <GW IP address>" to connect GW via FTP connection.
z When you connect to FTP server, choose same accounts (such as root, davo, admin) and
passwords used in telnet or web browser.
z The "hash" command prints out "#" charaacters to monitor the progress of a file transfer.
z The "put" command sends the file from PC to GW. The firmware name that you'll send
should be “system_boot" because it's the one used in GW.
99
After finishing firmware upgrade as you can see above, Please reboot the GW. Then, it will be run
based on a newly upgraded firmware.
GW:/SYSTEM> reset©
Are you sure(y/n)?y©
Saving configuration value(y/n)?y© /*it will save changes*/
You can verify whether firmware was successfully upgraded or not by following command.
GW/SYSTEM> version©
┃
┃ [S/W APP]
┃ VERSION : 02.03.04
┃ LINKTIME : 2007/10/12
┃ PROTOCOL : SIP/2.0
┃ LANGUAGE : KOR
┃ SNMP : DAVOLINK
┃ SUPPORTED B/D : FCU FSU FTU EMU
┃ [B O O T]
┃ VERSION : 0.00
┃ [H / W]
┃ VERSION : 1.0
┃ MPU_ID : MPU332D
┃ SLOT INFO : FCU(FXS4+FXO4) + UNKNOWN + UNKNOWN + UNKNOWN
┃
GW/SYSTEM>
As you can see above, you can verify the firmware by checking the version and linktime.
If you connect GW via RS232C console cable, this information will be automatically seen right after
rebooting.
Note: You can also apply DV-332 firmware into DV-232 products. But the message is slightly
different from the previous one.
┃
┃ [S/W APP]
┃ VERSION : 02.03.04
100
┃ LINKTIME : 2007/10/12
┃ PROTOCOL : SIP/2.0
┃ LANGUAGE : KOR
┃ SNMP : DAVOLINK
┃ SUPPORTED B/D : FCU FSU FTU LBU
┃ [B O O T]
┃ VERSION : 0.00
┃ [H / W]
┃ VERSION : 1.3
┃ MPU_ID : MPU232
┃ FLASH : INTEL
┃ SLOT INFO : FSU(FXS8) + FSU(FXS8) + FTU(FXO8) + UNKNOWN
┃
101
After changing, adding, or removing configuration, you can save it into text file as follows. You can
use these commands: "save" or "make".
GW/CONFIG/TXTCFG> save©
TConfig Writing Done
GW/CONFIG/TXTCFG> make©
TConfig Writing Done
GW/CONFIG/TXTCFG>
GW/CONFIG/TXTCFG> default©
GW/CONFIG/TXTCFG>
GW/CONFIG/TXTCFG> show©
-------[MEM][40]--------
[TEXT_CONFIG_START]
[TEXT_CONFIG_END]
[USER_END]
-------[END]--------
GW/CONFIG/TXTCFG>
If you initialize configuration by typing commands above, entire configuration you made before will
be initialized.
*** Note: IP settings will not be initialized even when initializing configuration. And you should save
configuration before resetting.
This is another way to show current configuration as a whole and input it at once. You can print out
current configuration and copy&paste it as follows.
102
GW/CONFIG/TXTCFG> show©
-------[MEM][14183]--------
[TEXT_CONFIG_START]
CON_RT0_FXO_201_**11~ = 4 NULL NULL 0.0.0.0 0 0
CON_RT0_FXO_202_*1??? = 2 NULL NULL 0.0.0.0 0 0
CON_RT0_FXS_200_*99* = 4 NULL NULL 0.0.0.0 0 0
CON_RT0_FXS_200_07077003241 = 11 NULL NULL 0.0.0.0 0 0
CON_RT0_NET_0_*2??? = 0 NULL NULL 220.120.246.203 1720 0
CON_RT0_NET_0_0~ = 0 NULL NULL 0.0.0.0 0 0
CON_RT0_NET_0_~ = 0 02 NULL 0.0.0.0 0 0
C_local1_fxo_my_addr_4 = 100
C_local1_fxo_my_addr_5 = 101
C_local1_fxo_my_addr_6 = 102
C_local1_fxo_my_addr_7 = 103
C_local1_fxs_my_addr_0 = 200
C_local1_fxs_my_addr_1 = 201
C_local1_fxs_my_addr_2 = 202
C_local1_fxs_my_addr_3 = 203
C_local_fxo_group_port_4 = 201
C_local_fxo_group_port_5 = 201
C_local_fxo_group_port_6 = 202
C_local_fxo_group_port_7 = 202
C_local_fxo_my_addr_4 = 100
C_local_fxo_my_addr_5 = 101
C_local_fxo_my_addr_6 = 102
C_local_fxo_my_addr_7 = 103
C_local_fxo_peer_nums_4 = *99*
C_local_fxo_peer_nums_5 = *99*
C_local_fxo_peer_nums_6 =
C_local_fxo_peer_nums_7 =
C_local_fxs_group_port_0 = 200
C_local_fxs_group_port_1 = 200
S_ea_server_mode_29 = OUTBOUND
S_ea_server_mode_3 = OUTBOUND
S_ea_server_mode_30 = OUTBOUND
S_ea_server_mode_31 = OUTBOUND
S_ea_server_mode_32 = OUTBOUND
S_ea_server_mode_4 = OUTBOUND
S_ea_server_mode_5 = OUTBOUND
S_ea_server_mode_6 = OUTBOUND
S_ea_server_mode_7 = OUTBOUND
S_ea_server_mode_8 = OUTBOUND
S_ea_server_mode_9 = OUTBOUND
S_keynumber_mode = YES
S_localcall = YES
103
S_oper_mode = COMMON
S_opt_session_expire = 0
S_opt_userisphone = NO
[TEXT_CONFIG_END]
[USER_END]
-------[END]--------
GW/CONFIG/TXTCFG>
In this printed information, the part starts with [TEXT_CONFIG_START] and ends with
[TEXT_CONFIG_END] is currently configured information.
Based on this information, you can load and modify it with any text editor. And you can input it at
once as follows.
GW/CONFIG/TXTCFG> txtpaste©
-> If you don't need to change the txtCfg file, you should type the "exit"
[TEXT_CONFIG_START]
CON_RT0_FXO_201_**11~ = 4 NULL NULL 0.0.0.0 0 0
CON_RT0_FXO_202_*1??? = 2 NULL NULL 0.0.0.0 0 0
CON_RT0_FXS_200_*99* = 4 NULL NULL 0.0.0.0 0 0
CON_RT0_FXS_200_07077003241 = 11 NULL NULL 0.0.0.0 0 0
CON_RT0_NET_0_*2??? = 0 NULL NULL 220.120.246.203 1720 0
CON_RT0_NET_0_0~ = 0 NULL NULL 0.0.0.0 0 0
CON_RT0_NET_0_~ = 0 02 NULL 0.0.0.0 0 0
C_local1_fxo_my_addr_4 = 100
C_local1_fxo_my_addr_5 = 101
C_local1_fxo_my_addr_6 = 102
C_local1_fxo_my_addr_7 = 103
C_local1_fxs_my_addr_0 = 200
C_local1_fxs_my_addr_1 = 201
C_local1_fxs_my_addr_2 = 202
C_local1_fxs_my_addr_3 = 203
C_local_fxo_group_port_4 = 201
C_local_fxo_group_port_5 = 201
C_local_fxo_group_port_6 = 202
S_ea_server_mode_6 = OUTBOUND
S_ea_server_mode_7 = OUTBOUND
S_ea_server_mode_8 = OUTBOUND
S_ea_server_mode_9 = OUTBOUND
S_keynumber_mode = YES
S_localcall = YES
S_oper_mode = COMMON
S_opt_session_expire = 0
104
S_opt_userisphone = NO
[TEXT_CONFIG_END]
GW/CONFIG/TXTCFG>
*** Note: Inputting configuration is available via both telnet and console connection. However, you
cannot see inputted configuration on the screen if you do this via console connection. When pasting
configuration, its content should start with [TEXT_CONFIG_START] and end with
[TEXT_CONFIG_END]. Finally, you should save configuration before resetting.
105