Davolink DV-332 User Manual

DV-332
User Guide
(H.323/SIP)
DV-332 Analog/Digital User Guide
2
3
Davolink , Co.LTD
DV-332 Analog/Digital User Guide
4
Contents
1. SYSTEM OVERVIEW 8
2. PRODUCT AND OPTIONAL MODULE SPECIFICATIONS 10
2.1 Product specification 10
2.2 Optional module specification 10
3. HARDWARE INSTALLATION 11
3.1 How to connect hardware to other equipments 11
3.1.1 Front connection 12
3.1.2 Rear connection 12
3.1.3 Console connection 13
4. IP CONFIGURATION 14
5.1 Setting SIP 18
5.1.1 Basic setting 18
5.1.2 Setting each SIP port 28
5.1.3 Setting SIP Field (phone number, display name ) 30
5.1.4 Changing Address table & caller No 32
5.1.5 Changing information, reference function of SIP INVITE message 33
5.1.6 Setting each field for message 39
5.2 Setting H.323 41
5
5.2.1 Setting Default 41
5.2.2 Changing caller’s number 46
6. SETTING UP DIGITAL TRUNK PORT 49
6.1 Clock configuration 49
6.2 Digital trunk configuration 51
6.3 Configuring signaling types 53
6.3.1 R2 MFC 53
6.3.2 ISDN PRI 56
6.4 Digital Trunk connection status 57
6.4.1 Checking physical connection and clock synchronization 57
6.4.2. Verifying R2 / ISDN PRI connection status 59
6.4.3 Verifying used channels and call states 60
7. SETTING UP CALLS BETWEEN HEADQUARTER AND BRANCHES 63
7.1 Routing table configuration 63
7.1.1 Adding and deleteing a basic routing table 64
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
7.2 Additional configuration in calls between headquarter and branches 69
8. SERVICE CONFIGURATION 70
8.1 Emergency backup(=reroute) configuration 70
DV-332 Analog/Digital User Guide
6
8.1.1 Emergency backup of FXO ports with PSTN lines 70
8.1.2 Digital E1 backup configuration 74
8.2 FAX configuration 75
8.2.1 Configuring FAX Pass-through 76
8.2.2 Setting T.38 FAX 77
Adjusting sound volume 79
8.4 Setting Codec 81
8.5 Transferring and picking up calls between internal ports 82
8.5.1 Setting up common and pick-up configuration 82
8.5.2 Setting up call transfer feature 84
8.6 Using polarity reversal feature 86
8.7 Setting the function for showing caller ID 88
8.8 Setting others 94
8.8.1 Password change 94
8.8.2 Alterating connection port of telnet, web 95
8.8.3 Changing System name 97
9. UPGRADING FIRMWARE 98
9.1 How to upgrade firmware 98
10. SAVING, INITIALIZING, CHECKING CONFIGURED INFORMATION 102
10.1 Saving configuration 102
7
10.2 Initializing confgiruation 102
10.3 Backuping and resaving configuration 102
DV-332 Analog/Digital User Guide
8
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.
[Figure 1. DV-332 Front design for both Analog/Digital]
[Figure 2. DV-332 Rear design for Analog] [Figure 3. DV-332 Rear design for Digital]
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
9
4/8 port units.
DV-332 Analog/Digital User Guide
10
2. Product and optional module specifications
2.1 Product specification
Interface/Service Detail specification
Number of ports and
specification
FXS
4/8/12/16/20/24/28/32 ports, RJ-11
FXO
4/8/12/16/20/24/28/32 ports, RJ-11
Analog
E&M
4/8/12/16 ports, RJ-11 (4 ports per module)
Digital DTU 1+1 or 2 ports, RJ-48
Voice port
Ethernet
10/100base-T(X) LAN with Auto­MDIX function
1 port, RJ-45 WAN
1 port, RJ-45 LAN Voice(analog) Loop start Voice(digital) R2-MFC, ISDN PRI
Signalling/ Protocol
VoIP protocols
H.323 V4, SIP(RFC3261), MGCP/NCS 1.0
Voice codecs and additional features
G.711a/u, G.729.a, G.723.1 Echo Cancellation (G.168)
VAD/CNG FAX G3 FAX Relay(Real time fax) Input power supply 100~230VAC, 50/60Hz
2.2 Optional module specification
Module type Port(s) provided ETC
332C 4 FXS ports, 4 FXO ports 332S 8 FXS ports 332T 8 FXO ports
Analog
332E 4 E&M ports
Digital 332D 1+1port (Backup port) Concurrent 30 calls available
11
3. Hardware installation
3.1 How to connect hardware to other equipments
As you can see at the following diagram, there are front and rear hardware connections respectively.
[Figure 1. Hardware connection diagram]
DV-332 Analog/Digital User Guide
12
3.1.1 Front connection
1) How to connect Ethernet ports Please connect xDSL(ADSL, VDSL) or other Ethernet connections to the WAN port. You can connect PC to LAN ports. Since it is a hub port, you need to additionally allocate an IP address to PC.
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.
3) Gateway status indication LEDs
* 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.
4) Port status indication LED
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.
3.1.2 Rear connection
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.
2) Analog port connection(s)
Basically DV-332 provides 4 analog port slots. And you can insert additional 4FXS/4FXO module or
13
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.
3.1.3 Console connection
The pin arrangement of DV-332 console port is as follows.
9pin EIA-232(console) RJ-45(DV-308/232/332)
Pin Signal
Connects
to
Pin Signal
1 NC(Not Connected) 1 NC(Not Connected)
2 TXD
Ù
3 TXD
3 RXD
Ù
5 GND
4 NC 2 NC
5 GND
Ù
6 RXD
6 NC 4 NC 7 NC 7 NC 8 NC 8 NC 9 NC
[Pin disposition of a console port]
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.
> Baud Rate : 19200 > Byte Size : 8 > Parity : None > Stop Bits : 1 > Hardware Flow Control : None > Software Flow Control : None > RS485 Mode : Off
DV-332 Analog/Digital User Guide
14
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.
15
4. Change Def. G/W IP.
5. Change Console Baudrate.
6. Change 1st DNS Server IP.
7. Change 2nd DNS Server IP.
8. Change DNS Domain Name.
0. Exit Menu. What do you want to change (0-8) ? : 1© Enter mode (DHCP/PPPoE/Static) : static© #================ 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.
4. Change Def. G/W IP.
5. Change Console Baudrate.
6. Change 1st DNS Server IP.
7. Change 2nd DNS Server IP.
8. Change DNS Domain Name.
0. Exit Menu. What do you want to change (0-8) ? :
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.
What do you want to change (0-8) ? : 2© Enter IP Address(xxx.xxx.xxx.xxx) : 220.120.246.203© #================ WAN PARAMETERS ======================= OP mode - STATIC WAN IP Address - 220.120.246.203
DV-332 Analog/Digital User Guide
16
WAN Subnet Mask - 0.0.0.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.
4. Change Def. G/W IP.
5. Change Console Baudrate.
6. Change 1st DNS Server IP.
7. Change 2nd DNS Server IP.
8. Change DNS Domain Name.
0. Exit Menu. What do you want to change (0-8) ? : 3© Enter IP Netmask(xxx.xxx.xxx.xxx) : 255.255.255.192© #================ WAN PARAMETERS ======================= OP mode - STATIC WAN IP Address - 220.120.246.203 WAN Subnet Mask - 255.255.255.192 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.
4. Change Def. G/W IP.
5. Change Console Baudrate.
6. Change 1st DNS Server IP.
7. Change 2nd DNS Server IP.
8. Change DNS Domain Name.
0. Exit Menu. What do you want to change (0-8) ? : 4© Enter Def. G/W IP(xxx.xxx.xxx.xxx) : 220.120.246.254© #================ WAN PARAMETERS ======================= OP mode - STATIC WAN IP Address - 220.120.246.203 WAN Subnet Mask - 255.255.255.192 WAN Gateway - 220.120.246.254
17
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.
4. Change Def. G/W IP.
5. Change Console Baudrate.
6. Change 1st DNS Server IP.
7. Change 2nd DNS Server IP.
8. Change DNS Domain Name.
0. Exit Menu. What do you want to change (0-8) ? : 0© you must RESET to apply modified value(s) to system. GW/CONFIG/IP>
NOTE : Changes related to IP addresses will be affected only after saving and rebooting the GW.
DV-332 Analog/Digital User Guide
18
5.1 Setting SIP
5.1.1 Basic setting
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
local Port [1025~65535] (default:5060) : ©
19
-> AutoInc local port Port [0~] (default:0) : ©
------------------------------------------------------­ [(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
phone number : 07077003241 ©
-> AutoInc phone number [0~] (default:0) : ©
======================================================= Display name Configuration
display name : 07077003241 ©
-> AutoInc display name [0~] (default:0) : ©
DV-332 Analog/Digital User Guide
20
======================================================= 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.
GW/CONFIG/VOIP> show all © =========================================================================== (O)peration Parameters
---------------------------------------------------------------------------
1. operation mode - COMMON
2. key number mode - YES(Asserted) /*Applied to KT*/
3. userisphone - NO
4. session expire - 0
5. nortel ping timer - 0
6. unreg. type - *
7. unreg. at startup - YES
8. which user name from the received invite - request-uri
9. prack mode - NO
10.ptime mode - NO
11.zero-refuse mode - YES
12.static expiry - NO =========================================================================== Press <q> key to abort...
=========================================================================== (L)ocal port
-------+------------------------------------------------------------------­ 1st group
21
-------+-----------------+-----------------+-----------------+------------­ 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...
11 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 12 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 13 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 14 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 15 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 16 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0
DV-332 Analog/Digital User Guide
22
17 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 18 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 19 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 20 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 Press <q> key to abort...
21 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 22 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 23 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 24 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 25 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 26 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 27 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 28 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 29 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 30 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 Press <q> key to abort...
31 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 32 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 33 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 34 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 35 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 36 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 37 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 38 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 39 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 40 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 Press <q> key to abort...
41 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 42 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 43 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 44 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 45 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 46 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 47 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 48 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 49 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 50 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 Press <q> key to abort...
51 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 52 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 53 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 54 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 55 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 56 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 57 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 58 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0
23
59 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 60 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 Press <q> key to abort...
61 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 62 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 63 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 64 OUTB 0.0.0.0 5060 0.0.0.0 5060 3600 0.0.0.0 =========================================================================== Press <q> key to abort...
=========================================================================== (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**
DV-332 Analog/Digital User Guide
24
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
25
-------+------------------------------------------------------------------­ 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 ===========================================================================
DV-332 Analog/Digital User Guide
26
Press <q> key to abort...
=========================================================================== (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
27
53~56 NULL NULL NULL NULL 57~60 NULL NULL NULL NULL 61~64 NULL NULL NULL NULL =========================================================================== Press <q> key to abort...
=========================================================================== (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
DV-332 Analog/Digital User Guide
28
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>
5.1.2 Setting each SIP port
After setting totally, it can change each port. Used order command is “port easyconf ig”
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. =======================================================
Server Mode [current : OUTBOUND ] [0:OUTBOUND/1:PROXY] : © Proxy Address [current : 59.18.4.17 ] [domain | ip_addr | none] : © Proxy Port [current : 5060 ] [1025 ~ 65535] : © Registrar Address [current : 59.18.4.17 ] [domain | ip_addr | none] : ©
29
Registrar Port [current : 5060 ] [1025 ~ 65535] : © Registrar Expire [current : 3600 ] [60(1Min) ~ 43200(1Day)] : © Domain name [current : kt.co.kr ] [domain | ip_addr | none] : © Auth Username [current : 007077003241 ] [username(string) | none] : © Auth Password [current : **hidden** ] [password(string) | none] : © Phone Number [current : 07077003241 ] [number(string) | none] : © DisplayName [current : 07077003241 ] [number(string) | none] : © GW/CONFIG/VOIP>
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
DV-332 Analog/Digital User Guide
30
21~24 07077003241 07077003241 07077003241 07077003241 25~28 07077003241 07077003241 07077003241 07077003241 29~32 07077003241 07077003241 07077003241 07077003241 ====================================================================== GW/CONFIG/VOIP> show i© ====================================================================== (D)isplay Number
-------+-------------------------------------------------------------­ 1st group
-------+-----------------+-----------------+-----------------+-------­ Index |Display name | | |
-------+-----------------+-----------------+-----------------+-------- KEY 07077003241 1~ 4 07077003241 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 25~28 07077003241 07077003241 07077003241 07077003241 29~32 07077003241 07077003241 07077003241 07077003241 ====================================================================== GW/CONFIG/VOIP>
5.1.3 Setting SIP Field (phone number, display name )
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*/
31
======================================================= *. 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. =======================================================
phone number : 0215667777©
-> AutoInc phone number [0~] (default:0) : © Select the range of configuration.
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. =======================================================
display name : 0215667777©
-> AutoInc display name [0~] (default:0) : © Select the range of configuration.
usage : all : Select all ports 0-4 : Select ports range (eg: from 0 to 4)
-> 29-32© GW/CONFIG/VOIP>
After changing as above, confirm the setting
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
DV-332 Analog/Digital User Guide
32
25~28 07077003241 07077003241 07077003241 07077003241 29~32 0215667777 0215667777 0215667777 0215667777 ====================================================================== GW/CONFIG/VOIP> show i© ====================================================================== (D)isplay Number
-------+-------------------------------------------------------------­ 1st group
-------+-----------------+-----------------+-----------------+-------­ Index |Display name | | |
-------+-----------------+-----------------+-----------------+-------­ 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 25~28 07077003241 07077003241 07077003241 07077003241 29~32 0215667777 0215667777 0215667777 0215667777 ====================================================================== GW/CONFIG/VOIP>
Confirming changes of phone number & display name on No 29-32 p orts as bove.
5.1.4 Changing Address table & caller No
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
33
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.
5.1.5 Changing information, reference function of SIP INVITE message
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.
DV-332 Analog/Digital User Guide
34
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.
1) Each Number Table in VoIP setting
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.
35
[Phone Number Table]
=============================================================================== (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 ===============================================================================
[Display Name Table]
=============================================================================== (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 ===============================================================================
DV-332 Analog/Digital User Guide
36
[P-Asserted Number Table]
=============================================================================== (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 ===============================================================================
2) Setting No at Address table
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
37
FXO 5 105 *99* None C/1ST FXO 6 106 *99* None C/1ST FXO 7 107 *99* None C/1ST =============================================================================== =============================================================================== GW/CONFIG/ADDRESS>
[Digital terminal]
GW/CONFIG/ADDRESS> show =============================================================================== * ADDRESS TABLE SHOW * =============================================================================== INTF PORT VIRTUAL_NUM PEER-ADDR GROUP-PORT MODE L/RT =============================================================================== ===============================================================================
[Digital Interface - CCS] PORT : 0 PEER-ADDR : GROUP-PORT : 0 CH LOCAL-ADDR Gr. Ch CH LOCAL-ADDR Gr. Ch ========================================================================== 1 07077003242 17 07077003242 2 07077003242 18 07077003242 3 07077003242 19 07077003242 4 07077003242 20 07077003242 5 07077003242 21 07077003242 6 07077003242 22 07077003242 7 07077003242 23 07077003242 8 07077003242 24 07077003242 9 07077003242 25 07077003242 10 07077003242 26 07077003242 11 07077003242 27 07077003242 12 07077003242 28 07077003242 13 07077003242 29 07077003242 14 07077003242 30 07077003242 15 07077003242 31 07077003242
==========================================================================
[Digital Interface - CCS] PORT : 1 PEER-ADDR : GROUP-PORT : 0 CH LOCAL-ADDR Gr. Ch CH LOCAL-ADDR Gr. Ch ========================================================================== 1 600 17 616 2 601 18 617 3 602 19 618 4 603 20 619 5 604 21 620 6 605 22 621 7 606 23 622 8 607 24 623 9 608 25 624 10 609 26 625 11 610 27 626 12 611 28 627 13 612 29 628
DV-332 Analog/Digital User Guide
38
14 613 30 629 15 614 31 630
========================================================================== =============================================================================== GW/CONFIG/ADDRESS>
3) Transmitted receiving number through FXO port or Digital port
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.
4) User’s specified number
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.
39
[Example of INVITE message] Session Initiation Protocol (SIP as raw text)
INVITE sip:07075062061@kt.co.kr SIP/2.0\r\n Via: SIP/2.0/UDP 220.120.246.251:5060;branch=z9hG4bK3332787697\r\n From: 07077003241
<sip:07077003241@kt.co.kr>;tag=de6ae73f\r\n To: <sip:07075062061@kt.co.kr>\r\n Call-ID: 5a74cdb2@220.120.246.251\r\n CSeq: 10 INVITE\r\n Contact: 07077003241
<sip:07077003241@220.120.246.251;transport=udp>\r\n Max-Forwards: 70\r\n User-Agent: DV3xx/2.00 (07/07/19 22:18)\r\n Supported: timer,replaces\r\n P-Asserted-Identity: sip:07077003241
@kt.co.kr\r\n Allow:ACK,INVITE,CANCEL,BYE,REFER,SUBSCRIBE,NOTIFY,PRACK,INFO,UPDATE\r\n Content-Type: application/sdp\r\n Content-Length: 281\r\n \r\n v=0\r\n o=07077003241 53036 53036 IN IP4 220.120.246.251\r\n s=-\r\n c=IN IP4 220.120.246.251\r\n t=0 0\r\n m=audio 23090 RTP/AVP 4 18 8 0 101\r\n a=rtpmap:4 G723/8000\r\n a=rtpmap:18 G729A/8000\r\n a=rtpmap:8 PCMA/8000\r\n a=rtpmap:0 PCMU/8000\r\n a=rtpmap:101 telephone-event/8000\r\n a=silenceSupp:off - - - -\r\n
5.1.6 Setting each field for message
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
DV-332 Analog/Digital User Guide
40
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
Voip : Refer [Phone Number Table] number of /CONFIG/VOIP
Voipd : Refer [Display Name Table] number of /CONFIG/VOIP
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
As same, it is possible to change Display name field & Contact field
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 ©
41
usage : cfield addr|voip|user|mynum|null addr : /config/address table voip : /config/voip contact table user : user's calling number. ex)fxo's cid | trunk intf's calling number mynum : operator add prefix calling number current cfield(contact) value is VOIP current mynum is NULLGW/CONFIG/VOIP>
Command “cfield” is using for changing contact field. Default “ADDR”
5.2 Setting H.323
5.2.1 Setting Default
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
DV-332 Analog/Digital User Guide
42
---------------------------------------------------------------------------
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
43
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 ©
DV-332 Analog/Digital User Guide
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
---------------------------------------------------------------------------
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 ©
45
* 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
---------------------------------------------------------------------------
DV-332 Analog/Digital User Guide
46
Press <q> key to abort...
* 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.
5.2.2 Changing caller’s number
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
47
FXO 2 102 202 None C/1ST FXO 3 103 203 None C/1ST FXO 4 104 204 None C/1ST FXO 5 105 205 None C/1ST FXO 6 106 206 None C/1ST FXO 7 107 207 None C/1ST =========================================================================== GW/CONFIG/ADDRESS> GW/CONFIG/ADDRESS> myaddr multi © Intf : [FXS,FXO] =>fxs © Nums : [my number] =>0313873240 © IncNum : [the number of increment:default(1)] =>0 © Count : [the count of increment:default(16)] => © My number 00 : 0313873240 My number 01 : 0313873240 My number 02 : 0313873240 My number 03 : 0313873240 My number 04 : 0313873240 My number 05 : 0313873240 My number 06 : 0313873240 My number 07 : 0313873240 My number 08 : 0313873240 My number 09 : 0313873240 My number 10 : 0313873240 My number 11 : 0313873240 My number 12 : 0313873240 My number 13 : 0313873240 My number 14 : 0313873240 My number 15 : 0313873240 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 FXS 4 0313873240 NONE None C/1ST FXS 5 0313873240 NONE None C/1ST FXS 6 0313873240 NONE None C/1ST FXS 7 0313873240 NONE None C/1ST FXS 8 0313873240 NONE None C/1ST FXS 9 0313873240 NONE None C/1ST FXS 10 0313873240 NONE None C/1ST
DV-332 Analog/Digital User Guide
48
FXS 11 0313873240 NONE None C/1ST FXS 12 0313873240 NONE None C/1ST FXS 13 0313873240 NONE None C/1ST FXS 14 0313873240 NONE None C/1ST FXS 15 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 FXO 4 104 204 None C/1ST FXO 5 105 205 None C/1ST FXO 6 106 206 None C/1ST FXO 7 107 207 None C/1ST =========================================================================== GW/CONFIG/ADDRESS>
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.
49
6. Setting up digital trunk port
6.1 Clock configuration
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.
FREERUN : Using the clock of GW itself in synchronization. (Master)
DV-332 Analog/Digital User Guide
50
NORMAL0 : Extracting clock information from data received at port 0. (Slave0)
NORMAL1 : Extracting clock information from data received at port 1. (Slave1)
51
6.2 Digital trunk configuration
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.
Vgain/igain : These options change voice volumes on digital trunks.
Imp : This field configures cable impedance. Korean domestic standard value is 120ohm. Default value is 120ohm.
DV-332 Analog/Digital User Guide
52
[Instance of basic configuration: ISDN PRI]
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>
[Instance of basic configuration: R2 MFC]
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.
53
6.3 Configuring signaling types
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
DV-332 Analog/Digital User Guide
54
Dial interval (intv) : 100 ms Dial Tone Type (dtype) : TONE_DIAL_CONT
-----------------------------------------------------­ Seizure Guard Time (t1) : 60 ms Clear Foward Guard Time (t2) : 200 ms Clear Foward Wait Guard Time (t3) : 30000 ms Seizure Ack Guard Time (t4) : 1000 ms Seizure Ack Duration (t5) : 360 ms Answer Guard Time (t6) : 200 ms Clear Backward Guard Time (t7) : 200 ms Release Guard Time (t8) : 200 ms Reanswer Guard Time (t9) : 200 ms Release Wait Guard Time (t10) : 1000 ms Block Detect Guard Time (t11) : 640 ms Glare Detect Guard Time (t12) : 200 ms If glare is detected, stay seizure(t13) : 500 ms Ignoring CG/Busy Tone(icbt) : OFF ========================================================================== GW/CONFIG/AR2>
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.
55
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>
DV-332 Analog/Digital User Guide
56
GW/CONFIG/AR2> change dmode enbloc © GW/CONFIG/AR2> change rsend off ©
6.3.2 ISDN PRI
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
57
include PIV in the Proceeding msg (ppiv) : OFF
L2 re-establish after L1 recoverd (l2rest) : ON
========================================================================== GW/CONFIG/ISDN>
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.
6.4 Digital Trunk connection status
6.4.1 Checking physical connection and clock synchronization
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.
DV-332 Analog/Digital User Guide
58
GW/ALARM> dtrunk alarm ©
--------------------------------------------------------------------------­ 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.
59
6.4.2. Verifying R2 / ISDN PRI connection status
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.
2) ISDN PRI connection status
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>
DV-332 Analog/Digital User Guide
60
Moreover, there is another way to check connection status as follows. If a state is
MULT_FRAME_EST, it is normally connected. And TEI_ASS means that it is not connected.
GW/DEBUG/LAPD> show 0 info © >>> LAPD context : 00 (0x017bf208) <<< qid = 0x0000000a sapi = 0 (0x00, 0x00) tei = 0 (0x00, 0x00) mode = NET vs = 84 (0x54, 0xa8) va = 84 (0x54, 0xa8) vr = 21 (0x15, 0x2a) rc = 0
state = 6 (MULT_FRAME_EST)
l3_initiate = 0 own_busy = 0 peer_busy = 0 ack_pend = 0 rej_except = 0 k_val = 1 t200 = 100 t203 = 6000 n200 = 3 n201 = 260 phy_id = 0 report = 0x003445f4 work = pm=34(0x22) len=4 data= 00 01 01 2b GW/DEBUG/LAPD>
6.4.3 Verifying used channels and call states
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
61
[slot/port] [0/1] | FBBBBBBBBBBBBBBBSBBBBBBBBBBBBBBB | In Out Both Sig Frame Xundef
-------------------------------------------------------------------------­ channel status | Fail Block Idle bUsy [ISDN(CCS)] [0/0](U)| iiiiuuuuiiiiiii iiiiiuuiiiuiiii | sts :Connected [ R2(CAS)] [0/1](U)| iuuiiiiiiiuuuii iiiiiiiiiiiiiii |
-------------------------------------------------------------------------­ channel config [slot/port] [0/0] | UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU | Block Unblock [slot/port] [0/1] | UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU | Block Unblock ========================================================================== GW/CONFIG/DTRUNK>
Moreover, you can also check currently used channels and their states.
1) R2 MFC
GW/DEBUG/R2R> shcall all©
---------------------------------------------------------------------
ID CH DSP DIR CALL_STATE CH_STATE DST_ADDRESS SRC_ADDRESS START_TIME
---------------------------------------------------------------------
0 05 -1 I/C ACTIVE ANSWER 01193421431 516600353 17:17:16
0 07 -1 I/C COMPLETED A-6 0617950068 516600390 17:18:06
2) ISDN PRI
GW/DEBUG/Q931> shcall all©
>>><*><*>< Call Information : Q931 ENTITY[0] ><*><*><<<
CID ___CR CH DIR DST_ADDRESS SRC_ADDRESS CST RUNNING_TIMER
DV-332 Analog/Digital User Guide
62
-----------------------------------------------------------------
191 32529 18 I/C 2240345 0522264430 N10 NONE
192 32528 17 I/C 0185288642 0522264460 N10 NONE
>>><*><*>< Call Information : Q931 ENTITY[1] ><*><*><<<
CID ___CR CH DIR DST_ADDRESS SRC_ADDRESS CST RUNNING_TIMER
-----------------------------------------------------------------
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.
63
7. Setting up calls between headquarter and branches
7.1 Routing table configuration
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”.
DV-332 Analog/Digital User Guide
64
7.1.1 Adding and deleteing a basic routing table
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. */
This command deletes all prefix table. Are you sure(y/n)?y©
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.
GW/CONFIG/ROUTE> add0 fxs 200 *99* 4© Prefix Table Add success GW/CONFIG/ROUTE> add0 fxs 200 07077003241 11© Prefix Table Add success GW/CONFIG/ROUTE> add0 fxo 201 **11~ 4© Prefix Table Add success GW/CONFIG/ROUTE> add0 fxo 201 **1102~ 6© Prefix Table Add success GW/CONFIG/ROUTE> add0 net 0 ~ 0 02© Prefix Table Add success GW/CONFIG/ROUTE> add0 net 0 0~ 0© Prefix Table Add success GW/CONFIG/ROUTE> show 0© ====================================================================== 1st Routing Table Show
65
====================================================================== 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
1) Gateway information and configuration at the headquarter IP address : 220.120.246.204
Receiving numbers : *1??? (and ??? means 3 digit extension numbers of branchs’ PBXs.)
GW/CONFIG/ROUTE> add0 net 0 *2??? 0 null null 220.120.246.203© Prefix Table Add success GW/CONFIG/ROUTE> add0 fxo 202 *1??? 2© Prefix Table Add success GW/CONFIG/ROUTE> show 0© ====================================================================== 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 202 *1??? 2 0.0.0.0 NET 0 *2??? 0 220.120.246.203 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>
DV-332 Analog/Digital User Guide
66
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.
GW/CONFIG/ROUTE> add0 ccs 0 *1??? 2© Prefix Table Add success GW/CONFIG/ROUTE> show 0© ====================================================================== 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
NET 0 *2??? 0 220.120.246.203 C
NET 0 0~ 0 0.0.0.0 C
NET 0 ~ 0 02 0.0.0.0 C
CCS 0 *1??? 2 0.0.0.0
====================================================================== *INTF : Invalid Interface ====================================================================== GW/CONFIG/ROUTE>
2) Gateway information and configuration at the branch
IP address : 220.120.246.203
Receiving numbers : *2??? (and ??? means 3 digit extension numbers of branch’s PBXs.)
GW/CONFIG/ROUTE> add0 net 0 *1??? 0 null null 220.120.246.204© Prefix Table Add success GW/CONFIG/ROUTE> add0 fxo 202 *2??? 2© Prefix Table Add success GW/CONFIG/ROUTE> show 0© ====================================================================== 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 202 *2??? 2 0.0.0.0
67
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>
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).
GW/CONFIG/ROUTE> add0 ccs 0 *2??? 2© Prefix Table Add success GW/CONFIG/ROUTE> show 0© ====================================================================== 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
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
CCS 0 *2??? 2 0.0.0.0
====================================================================== *INTF : Invalid Interface ====================================================================== GW/CONFIG/ROUTE>
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*/
DV-332 Analog/Digital User Guide
68
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.
FXO 201 **11~ 4 0.0.0.0
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.
69
FXO 202 *2??? 2 0.0.0.0
7.2 Additional configuration in calls between headquarter and branches
** 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.
1) Enabling local call feature in a gateway
To enable calls within one gateway, you can do that with the following command.
GW/CONFIG/VOIP> lcall enable© GW/CONFIG/VOIP> lcall© Usage : lcall [ enable | disable ]> Current lcall mode : ENABLE GW/CONFIG/VOIP>
2) Receiving unregistered numbers between headquarter and branches
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>
DV-332 Analog/Digital User Guide
70
8. Service configuration
8.1 Emergency backup(=reroute) configuration
8.1.1 Emergency backup of FXO ports with PSTN lines
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
71
=========================================================================== 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/CONFIG/REROUTE> mode on© Apply Success... GW/CONFIG/REROUTE> mode© usage : mode on|off
current mode is on
GW/CONFIG/REROUTE>
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:
GW/CONFIG/REROUTE> 1st© /* This can configure the first backup table. */ mode [(1)st|(2)nd|(L)oop|(P)eerIP|(N)ull] : l© /* This option verifies routing table and choose the
route. */
prefix [null|string] : **11© /* It adds this prefix number before checking route table. */ <bit flags of condition in hex> 0x00000001 : LAN Link Down 0x00000002 : Server not connected 0x00000004 : Call Timeout 0x00000008 : Unallocated number condition : 3© /* Backup will work if there's any LAN link down or server
disconnection. */
play [ivr | beep | none] : beep© /* This option selects which kind of distinguishable sounds GW
generate when backup is working. */
GW/CONFIG/REROUTE> show =========================================================================== REROUTE Configurations Show ===========================================================================
mode(mode) : on
--------------------------------------------------------------------------­****1st. reroute**** type : IPLoop prefix : **11 condition : 0x3
0x00000001 : LAN Link Down [ON] 0x00000002 : Server not connected [ON]
0x00000004 : Call Timeout [OFF] 0x00000008 : Unallocated number [OFF]
beep : on
peer ip : 0.0.0.0
DV-332 Analog/Digital User Guide
72
--------------------------------------------------------------------------­****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. */
prefix [null|string] : **11©
/* 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. */
<bit flags of condition in hex> 0x00000001 : LAN Link Down 0x00000002 : Server not connected 0x00000004 : Call Timeout 0x00000008 : Unallocated number
73
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). */
play [ivr | beep | none] : beep© GW/CONFIG/REROUTE>
/* 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 ba c kup se tti n gs li ke 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.
DV-332 Analog/Digital User Guide
74
8.1.2 Digital E1 backup configuration
1) 1+1 PSTN backup If you use DV-332 digital E1 2 ports as 1+1 (PSTN) backup, port 0 will be connected to the internal PBX and port 1 will be connected to PSTN E1 lines. If users cannot make VoIP calls because of errors (such as "network problems" and "server not connected"), then it can be rerouted to backup PSTN lines to make calls. The only difference between analog and digital PSTN backup configuration is an interface that each uses. Digital PSTN backup uses E1 interfaces.
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
75
========================================================================== 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.
DISABLE : This does not use this feature.
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".
8.2 FAX configuration
It will configure FAX sending/receiving. There are two ways to set up this feature.
DV-332 Analog/Digital User Guide
76
1) Pass-through
2) T.38
8.2.1 Configuring FAX Pass-through
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
FAX setting is established through Telnet or Console.
- Activating FAX mode
GW/CONFIG/FAX> change faxmode [all | specific port number] enable©
Ö Ports or whole system FAX is activated/inactivated according to p orts or whole system.
/* Input command rightfully, print “Apply Success…” otherwise, print command guide.*/
- Setup of Pass-through codec
GW/CONFIG/FAX> change passc [g711_a | g711_u] ©
- Setup of FAX event
When detecting some FAX Event, select whether FAX procedure is executed or not.
GW/CONFIG/FAX> change lced [f711 | m711] ©
Ö When GW at receiving party is detected CED tone, starting pass-through FAX. Ö F711 is PCM Codec of Passthrough Codec(passc) which is established without Re-INVITE so it
starts FAX.
Ö M711 sends Re-INVITE with Codec in Passthrough Codec (passc).
GW/CONFIG/FAX> change lcng [f711 | m711] ©
Ö CNG tone is detected at sending party’s GW, it execute pass-through FAX.
77
Ö 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.*/
GW/CONFIG/FAX> change lv21 [f711 | m711] ©
Ö V.21 flag is detected at receiving party’s GW, 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 at passc.
GW/CONFIG/FAX> change rfax [f711 | m711] ©
Ö 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).
8.2.2 Setting T.38 FAX
According to established value, GW sends T.38 udptl message without Re-Invite or sends it after Re­INVITE.
2) Configuration
FAX establishment acts through Telnet or Console
- Activating FAX mode
GW/CONFIG/FAX> change faxmode [all | specific port number] enable©
Ö Port or whole System is FAX activated/inactivated.
/* Input Command rightfully, print out “Apply Success…”, otherwise, print out command
guide.*/
DV-332 Analog/Digital User Guide
78
- Activating Auto upspeed mode
GW/CONFIG/FAX> change aup enable©
Ö 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/CONFIG/FAX> change lced [ft38 | mt38] ©
Ö GW at receiving party detects CED tone, start T.38 FAX. Ö FT38 changes to T.38 mode without Re-INVITE so it sends udptl message. Ö MT38 changes to T.38 mode after Re-INVITE procedure.
GW/CONFIG/FAX> change lcng [f711 | m711] ©
Ö GW at sending party detects CNG tone, start T.38 FAX. Ö FT38 changes to T.38 mode without Re-INVITE procedure so it sends udptl mess age. Ö MT38 changes to T.38 mode after Re-INVITE procedure.
/* Specific FAX sort is unable to send CNG tone.*/
GW/CONFIG/FAX> change lv21 [f711 | m711] ©
Ö When GW at receiving party detects V.21 flag, start T.38 FAX. Ö FT38 changes to T.38 mode without Re-INVITE so it sends udptl message. Ö MT38 changes to T.38 after Re-INVITE procedure.
GW/CONFIG/FAX> change rfax [f711 | m711] ©
Ö 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.
79
Adjusting sound volume
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.
1) Setting FXS port volume
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
FXO unblock time(ubtime) : 500 ms DTMF duration (dur) : 120 ms DTMF interval (intv) : 60 ms Wait dialtone (wdt) : 2 sec Ringing timer (ringing) : 200 sec Early DTMF (edtmf) : DISABLE Early DTMF Onhook guard (etime) : 1 sec Force On-Hook (fon) : DISABLE
DV-332 Analog/Digital User Guide
80
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/FXS> change vgain 0© GW/CONFIG/FXS> change igain 3©
In case of setting, type in above command.
2) Setting FXO port 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]
81
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 detection(caller) : [PSTN-->FXO] DISABLE, DISABLE, DISABLE, DISABLE
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.
8.4 Setting Codec
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©
DV-332 Analog/Digital User Guide
82
Usage: vocoder [g729a | g711a | g711u | g723.1-63 (g723.1-53)] Current list : G723.1-63 G729A G711A G711U GW/CONFIG/VOIP> GW/CONFIG/VOIP> vocoder g711a g711u g729a© GW/CONFIG/VOIP> vocoder© Usage: vocoder [g729a | g711a | g711u | g723.1-63 (g723.1-53)] Current list : G711A G711U G729A GW/CONFIG/VOIP>
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.
8.5 Transferring and picking up calls between internal ports
8.5.1 Setting up common and pick-up configuration
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 ========================================================================
83
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©
DV-332 Analog/Digital User Guide
84
=========================================================================== * 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..
8.5.2 Setting up call transfer feature
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
85
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
FXO unblock time(ubtime) : 500 ms DTMF duration (dur) : 120 ms DTMF interval (intv) : 60 ms Wait dialtone (wdt) : 2 sec Ringing timer (ringing) : 200 sec Early DTMF (edtmf) : DISABLE Early DTMF Onhook guard (etime) : 1 sec Force On-Hook (fon) : DISABLE ForceOn-HookGuardTimer(ontimer) : 10 sec Ring trip threshold (rtrip) : DOWN FXS Codec Receive Gain (rg) : OFF Private ring number(pri) : none =========================================================================== GW/CONFIG/FXS>
Hook flash guard time(guard) shall establish the pressing time when user presses hook switch. Normally, it measures 150~200ms for pressing ho ok 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
DV-332 Analog/Digital User Guide
86
FXS 1 07077003241 11 0.0.0.0 FXS 1 201 3 0.0.0.0 FXS 2 07077003242 11 0.0.0.0 FXS 2 202 3 0.0.0.0 FXS 3 07077003243 11 0.0.0.0 FXS 3 203 3 0.0.0.0 FXS 200 07077003244 11 0.0.0.0 NET 0 *200 0 220.120.246.204 C NET 0 0~ 0 0.0.0.0 C NET 0 ~ 0 02 0.0.0.0 C NET 0 ***?? 5 0.0.0.0 C ========================================================================== *INTF : Invalid Interface ========================================================================== GW/CONFIG/ROUTE>
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.
8.6 Using polarity reversal feature
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
87
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
FXO unblock time(ubtime) : 500 ms DTMF duration (dur) : 120 ms DTMF interval (intv) : 60 ms Wait dialtone (wdt) : 2 sec Ringing timer (ringing) : 200 sec Early DTMF (edtmf) : DISABLE Early DTMF Onhook guard (etime) : 1 sec Force On-Hook (fon) : DISABLE ForceOn-HookGuardTimer(ontimer) : 10 sec Ring trip threshold (rtrip) : DOWN FXS Codec Receive Gain (rg) : OFF Private ring number(pri) : none =========================================================================== GW/CONFIG/FXS> change pola enable© /*Establishment for use of inversion signal*/ Apply Success... 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
DV-332 Analog/Digital User Guide
88
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
FXO unblock time(ubtime) : 500 ms DTMF duration (dur) : 120 ms DTMF interval (intv) : 60 ms Wait dialtone (wdt) : 2 sec Ringing timer (ringing) : 200 sec Early DTMF (edtmf) : DISABLE Early DTMF Onhook guard (etime) : 1 sec Force On-Hook (fon) : DISABLE ForceOn-HookGuardTimer(ontimer) : 10 sec Ring trip threshold (rtrip) : DOWN FXS Codec Receive Gain (rg) : OFF Private ring number(pri) : none =========================================================================== GW/CONFIG/FXS>
8.7 Setting the function for showing caller ID
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.
89
<Figure 1. Call ID detection from FSK signal>
There are three types to deliver Caller ID information.
Bellcore method : It uses in South America & many nations adapt this type including Korea
ETSI method : It uses in European countries
NTT method : Particulary, it specifies in Japan
Therefore, it shall classify into two types according to service type.
Type I : After initial Ring signal, it delivers caller ID information.
Type II : When user is on line & another line is connected simultaneously. This is the timing to deliver the information.
DV-332 Analog/Digital User Guide
90
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.
1) Setting FXO port
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 detection(caller) : [PSTN-->FXO] DISABLE, DISABLE, DISABLE, DISABLE
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]
91
Fxo offhook timer(off) : 0 sec [IP-->FXO] Fxo ringing polling(rpoll) : 13 msec [PSTN->FXO] =========================================================================== GW/CONFIG/FXO> change caller all enable© Service Type (Type(1) | Type(2)) : 1© Standard Kinds ((B)ellcore, (N)TT, (E)TSI) : b© Apply Success... 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 detection(caller) : [PSTN-->FXO] BELL<TYPE1>, BELL<TYPE1>, BELL<TYPE1>, BELL<TYPE1>
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>
DV-332 Analog/Digital User Guide
92
2) Setting FXS port
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
FXO unblock time(ubtime) : 500 ms DTMF duration (dur) : 120 ms DTMF interval (intv) : 60 ms Wait dialtone (wdt) : 2 sec Ringing timer (ringing) : 200 sec Early DTMF (edtmf) : DISABLE Early DTMF Onhook guard (etime) : 1 sec Force On-Hook (fon) : DISABLE ForceOn-HookGuardTimer(ontimer) : 10 sec Ring trip threshold (rtrip) : DOWN FXS Codec Receive Gain (rg) : OFF Private ring number(pri) : none =========================================================================== GW/CONFIG/FXS> GW/CONFIG/FXS> change cid all enable©
93
Service Type (Type(1) | Type(2)) : 1© Standard Kinds ((B)ellcore, (N)TT, (E)TSI) : b© Apply Success... 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) : T1_BELL T1_BELL T1_BELL T1_BELL
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
FXO unblock time(ubtime) : 500 ms DTMF duration (dur) : 120 ms DTMF interval (intv) : 60 ms Wait dialtone (wdt) : 2 sec Ringing timer (ringing) : 200 sec Early DTMF (edtmf) : DISABLE Early DTMF Onhook guard (etime) : 1 sec Force On-Hook (fon) : DISABLE ForceOn-HookGuardTimer(ontimer) : 10 sec Ring trip threshold (rtrip) : DOWN FXS Codec Receive Gain (rg) : OFF Private ring number(pri) : none =========================================================================== GW/CONFIG/FXS>
DV-332 Analog/Digital User Guide
94
8.8 Setting others
8.8.1 Password change
User account at GW is as following.
User Account Basic password Authorization & explanation
1 root admin
* When installation, this account is enable to change, modify.
* Password for guest, root accountis is enable to change.
2 admin admin
* When occurring problem, debugging message can be shown as well as alteration & modification of GW establishment.
* Password is enable to change for guest, root, admin, davo account.
3 davo drc
* When occurring problem, debugging message can be shown as well as alteration & modification of GW establishment.
* Password for guest, root, admin, davo account is enable to change.
4 guest guest
* GW setting information can check but alteration is not permitted.
* Password for guest account is enable to change.
95
Password for applied user account is enable to change. Setting example is a login with davo account & change password.
GW/SYSTEM/ACL> password davo© Password length must be less than or equal to 8 characters New Password : ***© Confirm Password: ***© Password for user davo changed GW/SYSTEM/ACL> GW/SYSTEM/ACL> password root© Password length must be less than or equal to 8 characters New Password : *****© Confirm Password: *****© Password for user root changed GW/SYSTEM/ACL>
Therefore, it is possible to check which user accounts are able to use.
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>
8.8.2 Alterating connection port of telnet, web
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 ==========================================================================
DV-332 Analog/Digital User Guide
96
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> GW/CONFIG/COMMON> change tport 23© Apply Success... GW/CONFIG/COMMON> change wport 80© 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) : 23 web port (wport) : 80
digitmap mode (digitmode): NO UPS mode (upsmode) : NO CODEC filter value : KOREA ========================================================================== GW/CONFIG/COMMON>
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.
97
8.8.3 Changing System name
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.
GW/SYSTEM> sysname DAVO© New system name is DAVOLINK
DAVO:/SYSTEM>
DAVO:/SYSTEM> sysname Davolink© New system name is Davolink
DAVOLINK:/SYSTEM>
DAVOLINK:/SYSTEM>
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.
DAVOLINK:/SYSTEM> sysname Davolink1© New system name is Davolink1
DAVOLINK1:/SYSTEM> sysname Davolink2©
New system name is Davolink2
DAVOLINK2:/SYSTEM>
DV-332 Analog/Digital User Guide
98
9. Upgrading firmware
9.1 How to upgrade firmware
Davolink gateway supports FTP server feature to upgrade or downgrade firmware via Ethernet connection at remote or local area.
1) Starting FTP server
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.
z Basically, firmware name will be like "xxx.bin”.
99
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 f ile transfer.
z The "bin" command changes data transmission mode as binary one.
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.
z The "bye" command ends the current FTP connection.
DV-332 Analog/Digital User Guide
100
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*/
Saving.....TConfig Writing Done
Done
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
Loading...