Trendnet TVP-224HR User's Guide

FCC Notice
This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to Part 15 of FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment. This equipment generates, uses, and can radiate radio frequency energy and, if not installed in accordance with the instruction manual, may cause harmful interference to radio communication. Operation of this equipment in a residential area is likely to cause harmful interference in which case the user will be required to correct the interference at the user’s own expense.
CE Declaration of conformity
This equipment complies with the requirements relating to electromagnetic compatibility, EN 55022 class A for ITE and EN 50082-1. This meets the essential protection requirements of the European Council Directive 89/336/EEC on the approximation of the laws of the Member States relating to electromagnetic compatibility.
Trademarks
All brand, company and product names are trademarks or registered trademarks of their respective companies.

How to Use This Manual

This manual was designed for the technical users / system integrators of the VoIP Gateway (TVP-224HR). It introduces the more advanced command line interface, firmware upgrade and appendix information. Read this section carefully for important information about the manual’s organization.
Chapter Overview
Chapter 1: Product Overview
Overview of product features, including Networking Protocols, Package Contents as well as a physical explanation of the Front and Rear Panels.
Chapter 2: Command Line Interface
This chapter describes how to access the command line interface. It also contains information about the commands used to configure the TVP-224HR.
Chapter 3: Upgrading the TVP-224HR
This chapter explains how to download new revision software and upgrade the TVP-224HR.
Appendix A: Technical Specifications
This appendix lists the TVP-224HR specifications and the assignment of pins of all the interface ports.
Appendix B: CLI Commands
This appendix provides a short description of each CLI command with a reference to the pages that contain detailed information on the command.
Appendix C: Factory Default Settings
This appendix lists factory settings of the TVP-224HR.
Appendix D: Worksheets
This appendix provides some work sheets that you may use before configuring the TVP-224HR.

Important Safety Instructions

Before you plug the TVP-224HR into an electrical outlet, carefully read all the installation instructions in Chapter 2.
For your own safety and the safety of your equipment, always take the following precautions:
• Follow instructions and warnings in the documentation.
Never push any object through the fan vent or other openings in the
equipment. Such action may produce a short circuit, causing fire, electric shock, or equipment damage.
• Keep the TVP-224HR away from all chemicals and sources of liquids.
Warning
Connection of the RJ45 connector from a TVP-224HR to TNV circuits can
cause permanent damage to the TVP-224HR.
Incorrectly connecting telephony devices to the RJ11 port on the
Telephony Interface Module
can cause permanent damage to the module.

Documentation Abbreviations

Throughout this guide, the user will come across a number of abbreviations that are common throughout the industry. The user should be familiar with the following abbreviations:
ATPM CLI DSP DTMF FXO FXS
H.323
ICMP
IMTC
IP TVP-221H TVP-224HR KTS LAN
Address Translation and Parsing Manager Command Line Interface Digital Signal Processor Dual Tone Multi-Frequency Foreign Exchange Office Foreign Exchange Station ITU specification for multimedia transmission over IP
networks Internet Control Message Protocol International Multimedia Telecommunications
Consortium Internet Protocol 4-port VoIP Gateway 4-port VoIP Gateway Router Key Telephone System Local Area Network
NVS LED PBX PSTN RTP TCID TFTP TIM TNV UDP UTP VAD WAN
Non-Volatile Storage Light Emitting Diode Private Branch Exchange Public Switched Telephone Network Real-Time Transport Telephony Channel Identifier Trivial File Transfer Protocol Telephony Interface Modules Telephone Network Voltage User Datagram Protocol Unshielded Twisted Pair Voice Activity Detection Wide Area Network

Notation Conventions

Throughout this guide, different type styles and characters are used. These serve a variety of purposes as described below:
Convention Description
boldface Commands and keywords are in boldface.
italic Arguments for which you supply values are in
italics.
courier Messages that the TVP-224HR CLI displays are in
plain courier font. [ ] Elements in square brackets are optional. { x | y | z } Alternative but required elements are grouped in
braces ({ }) and separated by vertical bars ( | ). [ x | y | z ] Optional alternative keywords are grouped in
brackets ([ ]) and separated by vertical bars ( | ). string A non-quoted set of characters. Do not use quotation
marks around the string or the string will include the
quotation marks. key A key on the VT-100 terminal of terminal emulator.
For example
<Enter> denotes the Enter key

Table of Contents

How to Use This Manual ..........................................................................................................3
Important Safety Instructions.................................................................................................. 4
Documentation Abbreviations .................................................................................................5
Notation Conventions................................................................................................................6
CHAPTER 1 .........................................................................................10
OVERVIEW ...........................................................................................10
1.1 Features........................................................................................................................10
1.2 Networking Protocols.................................................................................................. 10
1.3 Package Contents ........................................................................................................11
1.4 Front Panel...................................................................................................................11
LED Indicators......................................................................................................................11
Reset Button.......................................................................................................................... 12
1.5 Rear Panel....................................................................................................................12
LAN / Console Ports............................................................................................................. 12
CHAPTER 2 .........................................................................................12
COMMAND LINE INTERFACE.............................................................13
2.1 Connection through Serial Port................................................................................. 13
2.2 Connection through Telnet......................................................................................... 15
2.3 Command Help............................................................................................................ 16
2.4 Designating IP Address............................................................................................... 16
2.5 Designating Port Number...........................................................................................16
2.6 Command Reference...................................................................................................16
Utility Commands ...................................................................................................................17
4 clrscr...............................................................................Error! Bookmark not defined.
5 download.......................................................................................................................17
6 help................................................................................................................................17
7 ping................................................................................................................................17
Network Commands ...............................................................................................................19
8 net reset .........................................................................................................................19
9 net set wan ip ip_addr................................................................................................... 19
10 net set wan mask ip_mask......................................................................................... 19
11 net set wan gateway ip_addr.....................................................................................19
12 net set wan ip_tos <p> <d> <t> <r>..........................................................................20
13 net set wan dns <pri_server> <sec_server> ..............................................................20
14 net set wan speed <10 | 10f | 100 | 100f | 10/100 | 10/100f>.....................................20
15 net set lan ip <addr>.................................................................................................. 20
16 net set lan mask <mask> ...........................................................................................21
17 net set lan speed <10 | 10f | 100 | 100f | 10/100 | 10/100f>....................................... 21
18 net set http {on|off}................................................................................................... 21
19 net set manager password <new_password> <new_password> ...............................21
20 net show wan.............................................................................................................21
21 net show lan...............................................................................................................22
22 net show hwstat......................................................................................................... 23
Configuration Management Commands............................................................................... 23
23 config {activate|store|erase}......................................................................................24
24 show h323 .................................................................................................................24
25 show version.............................................................................................................. 25
26 set h323 alias {add | del} {alias|all}..........................................................................25
27 set h323 allow_call_wo_gk {true|false}....................................................................26
28 set h323 display_name display_name.......................................................................26
29 set h323 dtmf_duration duration............................................................................... 26
30 set h323 endpoint_reg_type {gw | terminal}............................................................. 26
31 set h323 gk_addr ip_addr..........................................................................................27
32 set h323 gk_max_tries count..................................................................................... 27
33 set h323 gk_mode {off | manual | auto}.................................................................... 27
34 set h323 h245_term_type terminal type.................................................................... 28
35 set h323 imtc_dtmf {add|del} ip_addr...................................................................... 28
36 set h323 in_fast_start {on|off} ..................................................................................28
37 set h323 nat_call {on|off}..........................................................................................29
38 set h323 out_fast_start {on|off} ................................................................................29
39 set h323 rtp_port_base port_base .............................................................................29
Dial Plan Management Commands.......................................................................................30
40 Database Update Control Commands.......................................................................30
36 atpm done.................................................................................................................. 30
37 atpm erase.................................................................................................................. 31
38 atpm purge {all|addr|dest|hunt}.................................................................................31
39 atpm req..................................................................................................................... 31
40 atpm restore...............................................................................................................31
41 atpm store [erase]......................................................................................................31
Destination Table Management Commands.........................................................................32
43 atpm dadd dest_id port port#.....................................................................................32
44 atpm dadd dest_id h323 dest_ip_addr [ip_port]........................................................ 32
45 atpm ddel dest_id.......................................................................................................33
46 atpm dfind dest_id.....................................................................................................33
47 atpm dlist...................................................................................................................33
48 Hunt Group Table Management Commands.............................................................34
49 atpm hadd hunt_group_id {1|2} dest_id [desi_id2] …............................................ 34
50 atpm hdel hunt_group_id ..........................................................................................34
51 atpm hfind hunt_group_id.........................................................................................34
52 atpm hlist...................................................................................................................35
Address Table Management Commands.............................................................................. 35
53 atpm aadd tel# min_digits max_digits hunt_group_id prefix_strip_len [prefix#]..35
54 atpm adel tel# ............................................................................................................35
55 atpm afind tel#........................................................................................................... 36
56 atpm alist................................................................................................................... 36
System Commands..................................................................................................................36
57 atpm slist ................................................................................................................... 36
58 atpm sys dial_time 1st_digit_wait inter_digit_wait [dial_term_digit]................... 37
Tel Commands......................................................................................................................... 37
41........................................................................................................................................... 37
59........................................................................................................................................... 37
tel show tel_id .......................................................................................................................37
60 tel show port [port#]..................................................................................................37
61 tel show ring_freq......................................................................................................38
62 tel set tel_id {1~10} .................................................................................................. 38
63 tel set ring_freq {1|2|3|4} .......................................................................................... 38
64 Obsolete Commands...................................................Error! Bookmark not defined.
UPGRADING THE TVP-224HR ..........................................................40
3.1 Entering Download Mode........................................................................................... 40
3.2 CLI Commands in Download Mode..........................................................................41
42 help............................................................................................................................41
43 quit.............................................................................................................................41
44 set ip ip_addr............................................................................................................. 42
45 set gateway ip_addr .................................................................................................. 42
46 set mask ip_mask....................................................................................................... 42
47 start............................................................................................................................42
3.3 Appendix A - Technical Specifications...........................Error! Bookmark not defined.
TVP-224HR Technical Specifications...................................Error! Bookmark not defined.
Console Port...........................................................................Error! Bookmark not defined.
LAN Port................................................................................Error! Bookmark not defined.
FXO Port Pin Assignments....................................................Error! Bookmark not defined.
FXS Port Pin Assignments.....................................................Error! Bookmark not defined.
3.4 Appendix B - CLI Commands.........................................Error! Bookmark not defined.
Normal Mode Commands......................................................Error! Bookmark not defined.
Download Mode Commands..................................................Error! Bookmark not defined.
3.5 Appendix C - Factory Default Settings...........................Error! Bookmark not defined.
3.6 Appendix D - Worksheets...........................................................................................54
IP Parameters.........................................................................................................................54
ATPM Destination Table ......................................................................................................54
ATPM Hunt Group Table .....................................................................................................56
ATPM Address Table............................................................................................................57
Index.........................................................................................................................................58
Chapter 1
1
Overview
This chapter gives an overview of the 4 ports desktop version VoIP Gateway (TVP­224HR) and a detailed description of its front panel and rear panel.

1.1 Features

The TVP-224HR is a cost-effective and highly reliable analog Voice over IP (VoIP) Gateway Router that offers toll quality voice and real-time fax data over IP networks. With its embedded architecture, the gateway is ideal for VoIP applications associated with Remote Office and Branch Office (ROBO) environments. With its built-in user-friendly interface, the gateway may be installed easily and conveniently to yield immediate cost savings. One VoIP Gateway supports up to four voice or Fax communications simultaneously.
Implemented with an efficient Real-Time Operating System (RTOS) and flash memory, the TVP-224HR provides upgradeable capabilities, so it may be programmed with updated firmware locally or via the network at any time. It comes equipped with remote management capabilities, configurable signaling to work with PBX, KTS, and/or telephone. The TVP-224HR utilizes advanced VoIP related technology. It includes various voice codecs and fax algorithms, echo cancellation, Voice Activity Detection (VAD) , Comfort Noise Generation (CNG) , and lost packet recovery algorithms.

1.2 Networking Protocols

The TVP-224HR supports several industry-standard networking protocols required for voice communication. The following table describes these protocols.
Networking Protocol Description
Internet Protocol (IP) IP is a messaging protocol that addresses and sends packets
across the network. To enable IP protocol, the TVP-224HR must have a Real IP address, subnet, and gateway assigned to it.
Voice over IP Protocol (VoIP)
Trivial File Transfer Protocol (TFTP)
Real-Time Transport (RTP)
VoIP enables the TVP-224HR to transfer voice communications over an IP network. The TVP-224HR employs ITU-T H.323 protocol for setting up calls with one another.
TFTP allows you to transfer files over the network. The TVP-224HR implements a TFTP client allowing you to download new revision firmware from a TFTP server. The TFTP client requires a TFTP server in your network.
RTP is a standard for transporting real-time data over IP network. The TVP-224HR uses RTP protocol to send
digitized and compressed voice packets.

1.3 Package Contents

The contents of your product should contain the following items:
TVP-224HR VoIP Gateway Router 4 port desk top version
100-240V Power Adapter
9-pin straight through RS-232 cable
Printed Quick Installation Guide
User’s guide (CD)
RJ45 Cable

1.4 Front Panel

The front panel of the TVP-224HR contains a push button and LED indicators. The following figure illustrates the front panel of the TVP-224HR.
4-port TVP-224HR Front Panel

LED Indicators

The LED indicators on the front panel display the current status of the TVP-224HR as described in the following table:
Indicator Color Activity Indication
PWR Green On Power is supplied to the gateway.
SYSTEM Green Blinking The system is running. (Heartbeat LED) LAN
y Act y Link
WAN
y Link y Act
LINE Channels 1-4
Green Green
Green Green Green Off
On On Off
On On
On Blinking
Data is being transferred on the LAN. The gateway is connected to LAN at 100Mb/s. The gateway is connected to LAN at 10Mb/s.
The gateway is connected to WAN. Data is being transferred on the WAN. The line is idle. The line is being used. The line is ringing.

Reset Button

There is a recessed push button located next to the SYSTEM LED. This button allows you to reset the TVP-224HR. To reset the gateway, push a small, stiff object into the hole until the SYSTEM LED stops blinking, then release the button.

1.5 Rear Panel

The rear panel of the TVP-224HR has four analog telephony ports, two FXO and two FXS ports offering flexible telephony interface usage. The FXS telephony interface ports may be connected to Subscriber Equipment, such as Telephones, Fax Machines, Cordless Phones, and Modems. FXO ports can be connected to PBX and local phone company Central Office (CO) lines. In addition to analog telephony interface ports, there is a power jack for power adapter connection on the rear panel.
4-port TVP-224HR Rear Panel

LAN / Console Ports

The TVP-224HR is equipped with an Ethernet interface with 10/100 Mbps auto­negotiation, auto MDIX capability. The Ethernet interface port is located on the rear panel. In addition to the Ethernet interface port, there is a 9-pin RS-232 interface port on the rear panel. Their functions are described below:
Port Label Function
RJ45 LAN Connecting the TVP-224HR to 10/100
Mbps Ethernet network
9-pin RS-232 User Console Connecting the TVP-224HR to a VT-
100 terminal or terminal emulator for configuring the TVP-224HR
Command Line Interface
The TVP-224HR has a built-in command line interface and provides users a Command Line Interface (CLI). You can configure TVP-224HR by entering commands from the CLI.
You can access the CLI from a VT-100 terminal or terminal emulator connected to the RS­232 port on the front panel or through a Telnet session.

2.1 Connection through Serial Port

The serial port of the TVP-224HR is fixed at the following settings:
Baud rate 19,200 Number of data bit 8 Parity check None Number of stop bit 1 Flow control None
To access the TVP-224HR through the RS-232 serial port, follow the steps below:
1. Insert one end of the serial cable that came with the TVP-224HR into the 9-
pin RS-232 port (labeled User Console) on the front panel.
2. Insert the other end of the cable into your terminal’s serial port.
Configure the terminal so that settings for baud rate, number of data bit, parity
3.
check, number of stop bit and flow control capability exactly match TVP­224HR’s serial interface. (Refer to you terminal documentation for more information about setting up these features).
4. Press <Return> from the terminal.
5. When the empty HyperTerminal Screen appears type “123”
6. The TVP-224HR displays the following prompts on the terminal and you are
ready to access the CLI then.
Console>
Task Prompt Type
In the event that you forget your administration password, you can gain console access to the TVP-224HR using the super password. The super
password is the last six digits of your MAC address located on the bottom of your TVP-224HR (00-50-2d-xx-xx-xx). At the Console prompt enter the super password without hyphens. The password is all lower case. After gaining access, at the console prompt type in
net set manager password <new_password> <new_password> net store net reset
If entry of new password is successful, the console will list “OK”. You will now be able to gain Web Access from a PC in the same local segment using the TVP-224HR LAN IP Address. If Web and / or Telnet Access are enabled, you will also be able to remote access the TVP-224HR by entering http:// followed by the TVP-224HR WAN IP or domain name.
At the prompt Console>
Enter ping 168.95.1.1
The following dialogue indicates that Internet Access is successful.
ping 168.95.1.1 1 out of 1 pings succeeded. Console>
If the ping times out, you do not have Internet Access. Please refer to the trouble shooting section of the User Manual or consult your ISP to make sure your Internet Access Data is correct and accurately entered into the TVP-224HR.
Console>
ping
168.95.1.1
The following commands enable / disable web and telnet access respectively.
Net set http <on/off> Net set telnet <on/off>
To reset to Factory Default settings, please perform the following commands to:
Erase all 'port', 'codec' & 'h323' configuration
config erase
Then access dial plan edit mode by entering
atpm req
Purge the dial plan from the database
atpm purge all
Store the changes
atpm store
Reset the network configuration to default
net set fac_default
Key in "yes" to re-boot.
Console> on / off

2.2 Connection through Telnet

To use Telnet, Internet Access must have been previously setup so that the gateway is visible on the internet (See User Guide for More Information). Alternatively, you can use Telnet to locally access the TVP-224HR and the TVP-224HR and your computer are in the same network segment. Up to two sessions through Telnet are possible. To access the TVP-224HR from a remote host with Telnet, perform the following tasks:
To access the TVP-224HR Gateway from a remote location using Telnet, perform the following tasks:
Task Prompt Type
Open the windows command prompt and enter the telnet command followed by the IP address of the TVP­224HR Gateway you want to access.
When the TVP-224HR Gateway prompts you to Login, enter the user name "admin”
When the TVP-224HR Gateway prompts you for Password, enter the password. “Console>” will appear. The default password is "123" but it is recommended that the password be changed for security considerations. The password can be changed from the Web Browser Administration / Password submenu page.
Type in “ping xxx.xxx.xxx”, where xxx.xxx.xxx is your ISP provided DNS Server IP or any known Public Internet Address. The following dialogue confirms Internet Access
Console>ping 168.95.1.1 ping <168.95.1.1>: 56 data bytes
168.95.1.1 is alive
If the ping times out, you do not have Internet Access or the Public IP Address you pinged is incorrect. Try another IP Address. If you confirm that you do not have Internet Access, please refer to the trouble shooting section of the User Manual or consult your ISP to make sure your Internet Access Data is correct and accurately entered into the TVP-224HR.
None
Login: admin
Password: 123
Console>
telnet
xxx.xxx.xxx
ping xxx.xxx.xxx

2.3 Command Help

Help commands are provided by the CLI. Type help to see a listing of the top­level commands. On most cases, if you enter a command using the wrong number of arguments or inappropriate arguments, the CLI will give further usage.

2.4 Designating IP Address

Some commands require an IP address, which must be designated in a standard format. The IP address format is 32 bits, written as four octets separated by periods (dotted decimal format) that are made up of a network section, an optional subnet section, and a host section, as shown in the following example:
192.168.0.1

2.5 Designating Port Number

Some commands require a telephony port number. The TVP-224HR designates the first port as port number 0, the 2
nd
port as port number 1 and so on.

2.6 Command Reference

The following table lists the CLI command in alphabetic order.
Command Description
atpm Dial plan management command config Configuration management command get Download new revision code image from TFTP server help Display help screen net Set or display network parameters ping Ping another Internet host set Set system configuration tel Set or display telephony port options
For the ease of understanding and explaining these commands, the commands are categorized into the following command sets and the following sections explaining each set of the commands.
Command Set Commands Function
Utility download
help ping
General purpose utility commands
Network net Commands for setting or displaying network
related parameters
Configuration management
Dial plan management
Telephony tel Commands for setting or displaying telephony
config show set
atpm Commands for setting or displaying dial plan
Commands for configuring the TVP-224HR or displaying configuration
related options

Utility Commands

4 download

Use the download command to enter download mode for reading code image from a TFTP server and program it to flash memory. Refer to information on how to upgrade the system software.
Syntax Description
0 for detailed
This command has no arguments or keywords
Note
This command is available from serial interface. It is not available from Telnet unless the TFTP loader is version 3.00 or higher.

5 help

The help command lists the top-level commands. Syntax Description
This command has no arguments or keywords

6 ping

The ping command sends Internet Control Message Protocol (ICMP) echo request packets to another node on the network.
ping host_ip_addr ping -s host_ip_addr count/timeout Syntax description
-s
host_ip_addr The IP address or IP alias of the host.
Causes ping to send one data gram per second, printing one line of output for every response received.
count (Optional) The number of packets to send timeout (Optional) Timeout value for the ping in millisecond
Loading...
+ 41 hidden pages