AddPac VoiceFinder AP2120 User Manual

AddPac VoiceFinder AP2120 User Manual

Voicefinder ap2120 voip gateway user’s guide
Table of Contents

Advertisement

VoiceFinder AP2120 VoIP Gateway User's Guide Version 1.00
VoiceFinder
AP2120 VoIP Gateway
User's Guide
AddPac Technology, Co. Ltd.
3
fl., Jeong-Am Building., 769-12 Yoksam-dong
rd
Kangnam-ku Seoul, Korea 135-080
Phone (82 2)568-3848
Fax (82 2)568-3847
E-mail : info@addpac.com
http://www.addpac.com
1
AddPac Technology Co., Ltd.
-
-

Advertisement

Table of Contents
loading

Summary of Contents for AddPac VoiceFinder AP2120

  • Page 1 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 VoiceFinder AP2120 VoIP Gateway User’s Guide AddPac Technology, Co. Ltd. fl., Jeong-Am Building., 769-12 Yoksam-dong Kangnam-ku Seoul, Korea 135-080 Phone (82 2)568-3848 Fax (82 2)568-3847 E-mail : info@addpac.com http://www.addpac.com AddPac Technology Co., Ltd.
  • Page 2 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 AddPac Technology Co., Ltd.
  • Page 3: Table Of Contents

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 [ Contents ] About this document Chapter 1 VoiceFinder AP2120 Overview............14 1.1. Introduction to AP2120 VoIP Gateway .................14 1.2. Main Features........................16 Chapter 2 Before Installation................22 2.1. Unpacking........................22 2.2. Parts and decriptions......................24 2.3.
  • Page 4 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 4.2.3.3. Commands of the Interface Configuration Mode 2 ........60 4.3. Starting Gateway Configuration..................63 4.4. Ethernet Configuration ....................65 4.4.1. Ethernet basic configuration ..................65 4.4.2. PPPoE Configuration ....................70 4.5. Routing Configuration ....................79 4.5.1.
  • Page 5 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.3.2.2. POTS Peer Configuration ..................178 5.3.2.3. VoIP Peer Configuration ...................179 5.3.2.4. Setting CODEC and VAD in the Dial Peer .............180 5.3.3. One-Stage Dialing versus Two-Stage Dialing............183 5.3.4. Hunt Group-related Configuration .................185 5.3.4.1.
  • Page 6 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.2.5. gateway......................222 5.7.2.6. num-exp ......................223 5.7.2.7. translation-rule....................226 5.7.2.8. voice-port ......................227 5.7.2.9. voice class clear-down-tone ................228 5.7.2.10. voice class codec ..................229 5.7.2.11. voice class user ..................231 5.7.2.12. voice service ....................233 5.7.2.13. voip-interface.....................234 5.7.3.
  • Page 7 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.4.10. prefix ......................270 5.7.4.11. register ......................271 5.7.4.12. sid .........................273 5.7.4.13. session target....................274 5.7.4.14. polarity-inverse ...................275 5.7.4.15. shutdown (Dial-Peer).................276 5.7.4.16. translate-outgoing..................277 5.7.4.17. vad.......................278 5.7.4.18. voice-class codec ..................279 5.7.5. Gateway, Voice Service, Voice Class and Rule Configuration Command..281 5.7.5.1.
  • Page 8 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.6.8. show dialplan number ..................313 5.7.6.9. show dialplan port.....................314 5.7.6.10. show gateway ...................314 5.7.6.11. show num-exp....................315 5.7.6.12. show translation-rule .................316 5.7.6.13. show user-class...................317 5.7.6.14. show voice port ..................318 5.7.6.15. show voip-interface...................319 5.7.6.16.
  • Page 9: About This Document

    Guide and explains the symbols and legends. [ Organization ] The VoiceFinder AP2120 user’s manual is offered to assist the operation of the 2120 Gateway. This manual is composed of 5 chapters and 4 Appendixes. Experienced users may refer directly to the related chapters. However, Less experienced users are highly recommended to thoroughly review this manual before operation of the Gateway.
  • Page 10 Appendix B 『 Example of Gateway Port Configuration 』provides examples of basic VoiceFinder AP2120 Gateway configurations. Appendix C 『 Cable Specification 』describes the console cable, Ethernet cable specifications and Pin numbers for VoiceFinder AP2120 Gateway. Appendix E 『 Miscellaneous Information 』defines VoiceFinder AP2120 Gateway guarnatee of quality and related policies.
  • Page 11 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 The revision history of VoiceFinder AP2120 Gateway User’s Guide is as follows. Revision No. Date Comments Written by AddPac Version 1.0 Dec. 18, 2002 Initial Released R&D Center AddPac Technology Co., Ltd.
  • Page 12 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 [Symbols and Legends] The symbols and legends used in this User’s Manual are as follows : Commands and Keywords are typed in Bold. Variables that require user inputs are typed in Italic.
  • Page 13 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 AddPac Technology Co., Ltd.
  • Page 14: Chapter 1 Voicefinder Ap2120 Overview

    1.1. Introduction to AP2120 VoIP Gateway Information VoiceFinder AP2120 VoIP Gateway is a VoIP product offering cost effeicient voice service via Internet for companies (main and brach offices), public offices and SMB (small and medium business). AP2120 VoIP Gateway guarantees toll-quality voice service both on low and high speed Internet connection with cutting edige voice compression algorithem and Addpac’s unique pentent pending QoS algorithem.
  • Page 15 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 AP2120 shows perfect interoperability with currently available domestic and overseas middle-large scale Gateway and Gatekeeper. Also, it offers same operation environment with existing AP voice Gateway/Router realizing easy installation and operation for even beginning users.
  • Page 16: Main Features

    In addition to that, it offers Voice interface slot for FXS, FXO and E&M according to users needs. VoiceFinder AP2120 VoIP Gateway offers superior solution for SOHO and SME . Also, VoiceFinder AP2120 VoIP Gateway supports various voice modules to meet the customers’...
  • Page 17 IEEE802.1Q VLAN Routing Transparent Bridging (IEEE Spanning Tree Protocol) Supports voice & data integration service (VoIP) VoiceFinder AP2120 VoIP Gateway supports various voice over IP service applications as shown below. Supports ITU-T H.323 v2 VoIP Protocol Supports ITU-T H.235 Security Feature Supports ITU-T H.323 Gateway, Gatekeeper...
  • Page 18 MIB II and Bridge MIB for efficient equipment management. For more precise equipment management, RMON MIB is also supported. Supports remote S/W upgrade VoiceFinder AP2120 VoIP Gateway supports remote S/W upgrade with TFTP and FTP program minimizing maintenance expenses. Simplified user interface AddPac Technology Co., Ltd.
  • Page 19 “?” key input and command history function for easy operation and management. Superiour diagnosis function VoiceFinder AP2120 VoIP Gateway offers various dignosis and status monitoring commands along with powerful packet analysis and debugging function. So the users/operators can easily monitor the status of the Gateway or the network.
  • Page 20 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 LEDs for easy status checking VoiceFinder AP2120 VoIP Gateway’s power and communication cables are placed at the back panel. Also, the LEDs are placed at the front panel so that users can check the operation status also realize clean installation environment at the same time.
  • Page 21 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 AddPac Technology Co., Ltd.
  • Page 22: Chapter 2 Before Installation

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 Chapter 2 Before Installation 2.1. Unpacking Before unpacking, check for external damage of the packaging box . If there is any external damage of the packaging, please contact AddPac Technology Co. Ltd. R&D center/ Customer supports (Tel : +82-2-568-3848) for an immediate replacement of the product.
  • Page 23 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 AP2120 User’s Guide (English) [Table 2-1 VoiceFinder AP2120 package ] If any item is missing, immediately contact AddPac Technology Co. Ltd. customer support AddPac Technology Co., Ltd.
  • Page 24: Parts And Decriptions

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 2.2. Parts and decriptions AP2120 VoIP Gateway is 1U-high, 19” rack-mountable standard Chassis. LEDs are located on the front panel for esay monitoring along with fixed network interfaces such as 10Mbps Ethernet network interface for WAN and 10/100Mbps high-speed Ethernet for LAN.
  • Page 25 To connect power cable. AP2120 VoIP Gateway Power Plug can use 110/220VAC. Power switch (10) A switch to supply or terminate power. [ Table 2-2 Parts and description of the front panel of VoiceFinder AP2120 VoIP Gateway] AddPac Technology Co., Ltd.
  • Page 26: Rear View Of Ap

    AP-FXO8 PHONE LINE [Figure 2-2 The rear view of VoiceFinder AP2120 VoIP Gateway] The blow shows the parts and description of standard AP2120 VoIP Gateway rear panel. Also, it is only an example and users can install modules according to their network environment.
  • Page 27 8Port FXS, 8Port FXO, 8Port E&M, 4Port FXS & 4Port FXO modules are available. [Table 2-3 The parts and description of VoiceFinder AP2120 VoIP Gateway rear panel] The blow is the rear view of AP2120 VoIP Gateway. [Figure 2-3 The picture of VoiceFinder AP2120 VoIP Gateway rear panel]...
  • Page 28: Network Interface: Fixed

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 2.3. Network interface: Fixed AP2120 VoIP Gateway supports network interface (fixed) as follows. 1 port 10/100Mbps high-speed Ethernet interface/ LAN 0 (RJ45) 1 port 10Mbps high-speed interface/ LAN 1 (RJ45) 1 port async. serial interface for Console (RJ45) The above interfaces are for various WAN such as LAN, behind the dedicated Router, ADSL(PPPoE), and Cable Modem(DHCP).
  • Page 29 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 1-Port Async. Ethernet Interface for Console Port (RJ45) AP2120 VoIP Gateway offers 1 RS-232C Async. Ethernet interface for Console. The interface is RJ45 type. AddPac Technology Co., Ltd.
  • Page 30: Voice Network Modules

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 2.4. Voice network modules The multi-service network modules of AP2120 VoIP Gateway are optional and can be selected according to users’ network. Multi-service network moduels for high quality multimedia solution can be devided as follows.
  • Page 31 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 AP-FXS8 : 8-Port FXS Voice Interface Module AP2120 VoIP Gateway offers 8 channel Foreign Exchange Station (FXS) to connect ordinary telephones and PBX directly. PHONE PHONE AP-FXS8 [Figure 2-4 AP2120 AP-FXS8 module imagefs]...
  • Page 32 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 AP-FXS4O4 : 4-Port FXO and 4-Port FXS Voice Interface Module AP-FXS4O4 offers various voice service with 4- channel FXS voice interface and 4- channel FXO interface in one module. PHONE LINE PHONE...
  • Page 33: Installation Requirements

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 2.5. Installation Requirements Warning The below is the recommendation for safe operation of the equipment. Make sure AP21200 VoIP Gateway is in a dust-free environment before and STOP after installation. Make sure to open AP2120 Gateway cover on a flat and safe surface.
  • Page 34: General Requirements

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 and earth the cord before operating the equipment. If no waist tap is available, earthing by holding a metal part of the chassis will help to prevent static electricity. 2.5.2. General Requirements...
  • Page 35: Chapter 3 Installation And Operation Environment

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 Chapter 3 Installation and Operation Environment This chapter provides information about the basic installation procedure of VoiceFinder AP2120 and related commands. [Necessaries] Unless ordered in advance, the tools and certain cables are not provided in the package.
  • Page 36 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 AddPac Technology Co., Ltd.
  • Page 37: Installation

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 3.1. Installation 3.1.1. Installation Procedure Connect the console cable and configure the console terminal. (Refer to 3.1.2 for details.) Connect the network to the desired port. Connect LAN port with HUB/Switch using RJ-45 cable.
  • Page 38: Console Connection

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 Check the routing table to confirm if the Gateway is receiving the network information correctly. Use Ping command to check the connectin of other Gateways or PC. The basic configuration procedure is completed. For optional functions, refer to the related chapter.
  • Page 39: Port Configuration

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 ETHERNET PHONE 0 ACT AP-FXS4 AC110~220V ㅡ O ㅡ O ETHERNET CONSOLE SLOT AP-FXO4 PHONE SLOT 0 RJ-45 Consloe Port Connector DB-9 Ethernet Port Connector [Figure 3-1 Console Cable Connection] Port Configuration...
  • Page 40: Connect Power

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 3.1.3. Connect power VoiceFinder AP2120 Gateway can detect and use both 110V and 220V. Warning The package includes a power cable with 220V plug. If the power supply is 110V, please use a 110V adapter.
  • Page 41 Program is 3012088 bytes, checksum is 0xd976800 Local Time : Mon Jul 9 11:07:14 2001 Copyright (c) by AddPac Technology Co., Ltd. Since 1999. The System is ready. Please login to system. login: [ Figure 3-2 Initial message of VoiceFinder AP2120 Gateway] AddPac Technology Co., Ltd.
  • Page 42 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 AddPac Technology Co., Ltd.
  • Page 43: 3.2. Environment Configuration

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 3.2. Environment Configuration The Gateway requires various environment parameters according to the Information applications. This section provides important information for using the Gateway, so the users are highly advised to check the following procedures before configuring the Gateway.
  • Page 44: User And Gateway Management Environment

    When the Gateway configuration is completed, pleaes change the password. This is to prevent unauthorized users from reconfiguring the Gateway. VoiceFinder AP2120 Gateway saves the password and the configuration in a safety area. Also, the commands related to Gateway software upgrade and system administration such as configuration saving and backup can be used.
  • Page 45: Interface Configuration Environment

    WAN(Ethernet) port, configuration for lower level protocols is required as well as IP address. All the WAN (Ethernet) ports of VoiceFinder AP2120 are used as LAN port and Ethernet/PPPoE are used as Layer 2 protocol. In order to connect to the network, the WAN protocol must be matched with the one used at the other equipment, including configuration variables.
  • Page 46: Security And Internet Configuration Environment

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 3.2.4. Security and Internet Configuration Environment VoiceFinder AP2120 Gateway supports additional functions for security and internet environment. It includes Packet Filtering, Access-List, NAT(Network Address Translation), PAT(Port Address Translation) and Multi-Level account for security and DHCP server, client and relay for internet connection.
  • Page 47 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 AddPac Technology Co., Ltd.
  • Page 48: Chapter 4 Gateway Configuration And Commands

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 Chapter 4 Gateway Configuration and Commands This chapter describers how to configure VoiceFinder AP2120 Gateway and related commands. 4.1. Gateway Booting The user can use all commands of AP2120 through the consol or Telnet connection.
  • Page 49 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 Caution When booting the system, set Gateway environment and save configuration information with “copy running-config” command. If the system is normally booted, the following message will appear. System Boot Loader, Version 1.3.1/0 Copyright (c) by AddPac Technology Co., Ltd.
  • Page 50 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 password: AP2120 - Login : root at Console on Mon Jul 9 11:48:54 2001 1 router# [Figure 4-1System Boot Loader] AddPac Technology Co., Ltd.
  • Page 51 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 AddPac Technology Co., Ltd.
  • Page 52: Commands

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 4.2. Commands The operator can use all commands of VoiceFinder AP2120 Gateway through the consol or Telnet terminal (VTY100 terminal.) There are three kinds of commands – commands of the user mode, commands of the manager mode and commands of the configuration mode.
  • Page 53 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 Gateway prompt. There are three modes for the Gateway commands, and in each mode, different commands are used. The following describes commands in each mode. Caution The commands indicated with “*” among the optional commands are not currently supported.
  • Page 54 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 snmp : Set SNMP community/configuration information user : Remove router user utilization : System resource using information AddPac Technology Co., Ltd.
  • Page 55: Commands Of The User Mode

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 4.2.1. Commands of the User Mode Any person who logged in the Gateway can use commands of the user mode. The prompts is indicated as “1router >” in the user mode. Command Description Displays commands and their description currently available.
  • Page 56: Commands Of The Manager Mode

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 4.2.2. Commands of the Manager Mode The device manager who logged in the Gateway can use commands of the manager mode. To use commands of the manager mode, the user shall log in the Gateway with the root account or manager’s ID.
  • Page 57 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 Sends an echo message to another network device and ping tests if the echo message reaches the destination. reboot Reboots the system. Establishes remote login ‘rlogin” connection that is similar rlogin to Telnet VoIP Command.
  • Page 58: Commands Of The Configuration Mode

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 4.2.3. Commands of the Configuration Mode Only the user with the root account or equivalent authorities can access to the configuration mode. In the configuration mode, the user can change the existing configuration of the Gateway and make a new configuration of the Gateway.
  • Page 59 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 exit Goes to the previous mode. Makes voice gateway related configuration with “VoIP” gateway command. help Explains command-using method in an interactive way. history Shows history of the used command lines. hostname Changes the Gateway name of the network.
  • Page 60: Commands Of The Interface Configuration Mode 1

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 4.2.3.2. Commands of the Interface Configuration Mode 1 In the interface configuration mode, the user needs to define a certain interface before starting configuration. * For voice related interface commands, see Chapter 5.
  • Page 61 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 Command Description applies the access-list that has been set in the global access-group configuration environment to the interface. address Sets or changes the IP address of the Interface. applies the DHCP-list that has been set in the global dhcp-group configuration environment to the interface.
  • Page 62 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 AddPac Technology Co., Ltd.
  • Page 63: Starting Gateway Configuration

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 4.3. Starting Gateway Configuration To set up the Gateway, log in as the configuration mode. To log in as the configuration mode, the user shall know the manager password. If the user does not know proper commands, use “Help”...
  • Page 64 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 AddPac Technology Co., Ltd.
  • Page 65: Ethernet Configuration

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 4.4. Ethernet Configuration 4.4.1. Ethernet basic configuration The Ethernet port of VoiceFinderAP2120 Gateway basically supports RJ-45. However, if the connection device of the other side supports only the AUI port, 10 Base-T Medial Attach Unit (MAU) shall be used in the other side.
  • Page 66 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 interface { ethernet / Ethernet } { 0 / 1 }.[logical I/F #] 1. Selects the interface to set up and enters into the interface configuration mode. 2. {0/1} represents the main interface while [logical I/F #] represents the sub-interface.
  • Page 67 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 [Example] Ethernet Configuration (Start) When operating with “Primary 192.20.1.1/24bits, Secondary 210.10.2.1/24Bits” 1router(config)# interface ethernet 0 0 2router(config-ether0.0)# ip 3router(config-ether0.0-ip)# address 192.20.1.1 255.255.255.0 4router(config-ether0.0-ip)# exit 5router(config-ether0.0)# interface ethernet 0 1 6router(config-ether0.1)# ip 7router(config-ether0.1-ip)# address 210.10.2.1 255.255.255.0 encapsulation {ethernet/ieee/vlan} 1.
  • Page 68 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 and 256. Adjust the size of the ARP table according to the number of PCs or terminals connected to the network. shutdown / no shutdown 1. Up/Down current Interface. 2. For Ethernet interface, main Interface cannot be shutdown.
  • Page 69 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 [Example] Ethernet Configuration ☞ router(config)#interface ethernet Creat Logical interface “Ethernet 0.0” under Main interface “ Ethernet 0” and move to the Logical interface. ☞ The configuration for e0.0 is router(config-ethernet0.0)# possible. ☞ Move to IP configuration router(config-ethernet0.0)# ip...
  • Page 70: Pppoe Configuration

    Network Control Protocol (NCP): NCP communicates with various higher layer (network layer) protocols. If a PPP encapsulation option is given to VoiceFinder AP2120 Gateway, PPPoE is activated. Current software installed in the Gateway supports Challenge...
  • Page 71 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 [Procedures] Order Operation Enter into the interface configuration mode. Give PPP encapsulation protocol to the interface. Give an IP address to the interface. Enable CHAP or PAP authentication. (Optional) Set CHAP or PAP parameters. (Optional) Set PPP default peer IP.
  • Page 72 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 2. This command functions same as the command that the Gateway manager uses to register a login user. This is because the Gateway shares the PPP registered user database and the Gateway user database.
  • Page 73 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 ppp peer default-ip-address <ip-address> 1. Sets the Gateway as a PPP server and the IP address to allocate to the serial interface of the other side. (An optional command) 2. When the Gateway receives the IP address, the Gateway decides the subnet mask of the IP address that it received based on the IP subnet of its local interface.
  • Page 74 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 [Example] Normal PPP Configuration and Usage ☞ Enters into the configuration mode Router# configuration ☞ Enters into the interface Router(config)#interface ethernet 0. configuration mode. ☞ Configuration is possible in this Router(config-ether0.0)# mode.
  • Page 75 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 [Example] Additional Commands for PAP Configuration (Server) If the Gateway functions as a server, it means AP2120 Gateway functions as the PPP authentication server. ☞ Router(config)# user ADDPAC password ADDPACRouter1 normal Registers the user name (addpac) and the password (Router1) with the normal priority in the server.
  • Page 76 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 [Example] Additional Commands During PAP Configuration (Client) This is when AP2120 Gateway is used as a PPP Client on the client side. ☞ Enters into the interface Router (config)#interface serial 1 configuration mode.
  • Page 77 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 [Example]Additional Commands of CHAP Configuration (Server) This is when the AP1100 Gateway functions as a PPP authentication server in the server side. Gateway(config)# user ADDPAC password ADDPACGateway1 normal ☞ Registers the user name (addpac) and the password (router1) as the normal priority in the server.
  • Page 78 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 [Example] Additional Commands of CHAP Configuration (Client) This is when AP2120 Gateway functions as a PPP CallIn client in the client side. ☞ Enters into the Gateway (config)#interface Ethernet 0.0 interface configuration mode.
  • Page 79: Routing Configuration

    Besides, the user needs to consider convergence time, reliability needs and Internetwork delay characteristics. The user can perform several kinds of routing protocol in VoiceFinder AP2120 Gateway at the same time. If several kinds of routing protocol is used in one Gateway, each protocol may have its own path for the same destination.
  • Page 80: Static Routing Configuration

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 4.5.1. Static Routing Configuration The static route means a route that the manager designates to send the packet from a certain source to a certain destination. The static route is used for the following three cases: If routing software cannot create a proper route to send packets to a certain destination.
  • Page 81 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 [Procedures] Order Operation Go to the configuration mode. Enable the static Gateway process. Set the source address and the static route for the destination network. Use “show” command and check if the route is correctly set in the routing table.
  • Page 82 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 (directly connected port or where the Gateway can reach through dynamic protocol.) 4. The user can designate an interface port of the Gateway instead of the “next-hop-address.” 5. To drop a packet that is headed for a certain destination, use the static route with a null interface.
  • Page 83 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 ☞ Show routing table setted as static router(config)# show static Destination Network-Mask Gateway Cost Interface TTL Protocol -------------------------------------------------------------------- 130.2.0.0 255.255.0.0 131.20.1.1 Ethernet0 STATIC 0.0.0.0 0.0.0.0 131.20.1.1 Ethernet0 STATIC AddPac Technology Co., Ltd.
  • Page 84: Rip Configuration

    Distance-Vector and is described at RFC 1058. RIP uses UDP (User Datagram Protocol) Broadcast to exchange routing information and VoiceFinder AP2120 Gateway sends rouing information at every 30 sec. If a Gateway cannot receive update packet in 180 sec. from the othe Gateway, it recognizes the Gateway is not operable and deletes from the rouing table in 240 sec.
  • Page 85 (For abnormal operation) Find and recover faults with “debug” command. Caution 1. VoiceFinder AP2120 Gateway supports Authentication among RIP Neighbor. (Supports Simple Text type and MD5 Encryption.) 2. VoiceFinder AP2120 Gateway can Enable/Disable the Split-Horizon, Holddown-time, Poison-Reverse of each interface as RIP Option.
  • Page 86 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 [Related Commands and Syntax] router { static/rip/ospf } Enable/Disable a specific Routing Process. rip send {1/2/12} Decide the routing information of a certain interface sent as RIP v1, v2 or v1/v2. rip receive {1/2/12} Decide the routing information sent via a certain interface includes only RIP v1, v2 or both v1/v2.
  • Page 87 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 Gateways, the key for authentication should be set. (To use Authentication, the Key must be set. It should be the same value of that of neighbor route.) rip convergence {split-horizon/hold-down/poison reverse} Enable options to prevent routing loop such as split-horizon, hold-down timer, poison reverse and etc.
  • Page 88 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 [Example] RIP configuration and usage router# config ☞ Enable IP routing. router(config)# ip routing ☞ Enble RIP Process. Router(config)# router rip ☞ Enter into the Router(config)# interface ethernet 0.0 configuration environment of sub interface 0 of Ethernet interface ☞...
  • Page 89 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 Default/Static Information : DISABLE / DISABLE RIP Configuration : ether0.0 IP address : 135.14.1.2 Subnet-Mask : 255.255.255.0 Metric : 0 Send : NONE Recv : NONE Auth Type : SIMPLE Ayth Key : router...
  • Page 90: Ospf Configuration

    Also, it offers Packet Authentication with neighbor gateways and utilizes IP multicase when sharing Routing information packet. VoiceFinder AP2120 Gateway support OSOPF Version 2 described at Internet RFC 1583. The below describes OSPF functions of VoiceFinder AP2120 Gateway Stub Area : Supports definition of Stub Area.
  • Page 91 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 Back-bone Area via ABR(Area Boarder Router). Typically, the Gateway in the Area has Area internal route, other Area route and external routing route. To reduce these routes, it defines Stub Area and keeps only internal Area route.
  • Page 92 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 Caution After OSPF configuration, make sure to enable OSPF Process. If not, OSPF might not work perperly. [Related Commands and Syntax] router { static/rip/ospf } Enable/ Disable a Routing Process. ospf enable Enable OSPF for the interface.
  • Page 93 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 ospf priority <priority-value> 1. Set Priority of becoming DR when choosing DR/BDR/Drouter among the interface and neighboring gateway. The acceptable vaues are “ 1~255”. The higher the numer is, the higher the priority is.
  • Page 94 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 Network such as Frame-Relay Network. ospf network { broadcast / non-broadcast / point-to-multipoint } 1. To forcefully set Interface character at OSPF 2. Only available for Ethernet Interface. 3. To set Neighbor statically.
  • Page 95 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 [Example] OSPF Configuration and usage router# config ☞ Enable IP routing. router(config)# ip routing ☞ Move to the router(config)# interface ethernet 0 0 configuration interface of sub-inerface 0 of Ethernet Interface ☞ Move to IP configuration mode.
  • Page 96 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 with Cost(metric) of “10”. ☞ Set router(config-Ethernet0-ip)# ospf network broadcast the interface to work as Broadcast. ☞ Move to the previous router(config-Ethernet0-ip)# exit configuration mode. ☞ Move router(config-Ethernet0)# exit previous configuration mode.
  • Page 97 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 AddPac Technology Co., Ltd.
  • Page 98: Filter (Access-List) Configuration

    VoiceFinder AP2120 Gateway uses the access-list to control traffic from a certain user (or an equipment or a network) to a certain network (or an equipment.) In this way, the Gateway can permit or deny packets passing...
  • Page 99 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 [Procedure] Order Operation Go to the configuration mode. Create an access-list defining the access-list number and access conditions. Go to the interface configuration mode. Enter into the IP configuration mode. Apply the access-list that has been set to the corresponding interface.
  • Page 100 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 access-group <access-list-number> [in/out] An interface command. Applies the access-list to the incoming packet or the outgoing packet of the corresponding interface. Extended IP Access-List: To check access conditions, the extend IP access-list uses source IP address, destination IP address, protocol ID, application port number and establishment status.
  • Page 101 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 ftp : File Transfer Protocol (21) ftp-data: FTP data connections (used infrequently, 20) hostname: NIC hostname server (101) nntp: Network News Transport Protocol (119) pop2: Post Office Protocol v2 (109) pop3: Post Office Protocol v3 (110)
  • Page 102 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 “132.1.3.15.” ☞ Permits all router(config)# access-list 1 permit any packets that do not satisfy conditions of the Access-List 1 above. * If this command line does not exist, all default packets will be denied.
  • Page 103 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 [Example] Extended Access-List Configuration and Usage ☞ In this mode, Access-list Config is possible. router (config)# router (config)# access-list 31 deny tcp 140.1.1.0 0.0.0.255 ☞ Denies all TCP packets accessing 145.1.1.0 0.0.0.255 eq ftp to the host whose destination address is “145.1.1.0/24Bit”...
  • Page 104 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 4 : permit ip any any AddPac Technology Co., Ltd.
  • Page 105: Nat(Network Address Translation) Configuration

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 4.7. NAT(Network Address Translation) Configuration Information One of problems of the Internet is that number of available IP addresses is decreasing. The Network Address Translation (NAT) changes uncertified address that is used in the inside network into another IP address (usually, registered address) when the address goes outside.
  • Page 106 NAT keeps are in use, NAT cannot allocate any registered IP address to the inside network. VoiceFinder AP2120 Gateway usually supports both of NAT function and Port Address Translation (PAT) function. NAT function converts several internal, unregistered IP addresses into several external, registered IP addresses.
  • Page 107 IP address. 1. VoiceFinder AP2120 Gateway currently supports only dynamic address translation. 2. VoiceFinder AP2120 Gateway supports 256 NAT addresses. 3. VoiceFinder AP2120 Gateway offers only static routing and RIP for NAT. [Procedure] Order Operation Move to the configuration mode.
  • Page 108 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 configuration location. 2. NAT-list-number : Define any number between 0 and 7. 3. Start-address/End Address/Mask : Define the start address and the end address of NAT and the subnet masks for these addresses.
  • Page 109 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 1. Sets the PAT list to use PAT in the global configuration location and PAT address. 2. NAT-list-number: Define any number between 0 and 7. nat <nat-list-number> pat static-entry { tcp*/udp } <udp-port-number>...
  • Page 110 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 Show NAT-list that has been set for a certain interface. show running-config Show configuration contents including the NAT-list that has been set. [Example] NAT Configuration and Usage router# config ☞ In this mode, NAT-list Config is possible.
  • Page 111 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 ☞ Exit frm the configuraton. router(config-ether0.0-ip)# end ☞ Show the ocnfiguration of NAT List 0. router# sh nat-list 0 NAT/PAT table Id: 0 Type : NAT TYPE PAT Outside Public Address : 0.0.0.0 NAT Outside Public : 2.2.2.1 - 2.2.2.252 Netmask: 255.255.255.0...
  • Page 112 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 NAT static entry : Local IP address : 1.1.1.254 Outside Global address : 2.2.2.253 Local IP address : 1.1.1.253 Outside Global address : 2.2.2.254 interface Ethernet0 ip address 132.1.1.1 255.255.255.0 Encapsulation HDLC...
  • Page 113 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 ☞ Apply PAT pool router(config-ether0.0-ip)# nat-group 5 pat of NAT-list 5 to Ethernet 0.0 interface. NAT/PAT shall be set in the inside network always. ☞ Exit from the configuration router(config-ether0.0-ip)# end mode.
  • Page 114 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 Dynamic TCP 1.1.1.1:1024 2.2.2.2:1024 ☞ Show the Configuration File. router# sh running-config interface ether0.0 ip address 1.1.1.3 255.255.255.0 Operation is UP NAT/PAT table Id: 5 Type : PAT TYPE PAT Outside Public Address : 2.2.2.2...
  • Page 115: Dhcp (Dynamic Host Configuration Protocol) Configuration

    Gateway to allocate IP addresses to DHCP clients and manage IP addresses. If software of VoiceFinder AP2120 Gateway cannot respond to the request of DHCP through the database that is set in the Gateway, the Gateway will send the request to another DHCP server configured by the network manager.
  • Page 116 DHCPACK Unicast message to the client, and confirms the IP address that has been allocated to the client. The DHCP function of VoiceFinder AP2120 Gateway complies with DHCP of RFC 2131, BOOTP of RFC 951 and Bootstrap Specifications of RFC 1542. The DHCP function provides following benefits.
  • Page 117 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 [Procedure-DHCP Server] Order Operation Move to the configuration mode. Define the DHCP-list type to use in the Gateway. Create a DHCP-list defining DHCP-list number, DHCP mode to use in the Gateway, or DHCP address pool.
  • Page 118 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 dhcp-list <dhcp-list-number> address server <start-IP-address> <end-ip-address> 1. Set DHCP pool that the Gateway can function as a DHCP server. 2. <start-IP-address>,<end-IP-address> : Defines IP address range of the DHCP pool. dhcp-group <dhcp-list-number>...
  • Page 119 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 Version 2 and IEEE802.2 address. The default is Ethernet Version 2. 7) interface-mtu <mtu-value> : Set MTU value for the interface. 8) name-server <name-server-address> : Set the name server address. 9) ntp-server < ntp-server-address > : Set the NTP server address.
  • Page 120 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 Gateway address to the client when the Gateway functions as a DHCP server. ☞ Enter into enter 1.1 router(config)# interface ethernet 0 0 configuration mode which DHCP client is connected. ☞ router(config-ether0.0)#...
  • Page 121 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 ☞ Enter into the router(config)# interface ethernet 0 0 configuration mode of the Ethernet 0.0 to which DHCP clients are going to be connected. ☞ Enter into IP configuration router(config-ether0.0)# ip mode.
  • Page 122 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 AddPac Technology Co., Ltd.
  • Page 123: Transparent Bridging Configuration

    Also, to manage networks, VoiceFinder AP2120 Gateway supports Bridge MIB that is defined in RFC 1286. The bridge functions supported by VoiceFinder AP2120 Gateway are as follows: Complying with IEEE 802.1D standard Segmenting transparent bridged network to the logical VLAN The bridge function is supported not only through the Ethernet but also through the serial network and the frame-relay network.
  • Page 124 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 [Related Commands and Syntax] bridge An interface command. Set the corresponding interface should function as a bridge group. frame-relay map bridge <dlci-number> 1. An interface command. If the interface using the bridge is frame-relay, this command sets the map for sending bridge packets.
  • Page 125 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 2. The range is between 10 and 200 seconds. The default value is 30 seconds. bridge max-age <max-age-time> 1. An option of the global command. This command decides standby time to wait until receiving BPDU from the root bridge.
  • Page 126 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 ☞ router(config-Ethernet0)# enapsulation frame-relay Encapsulate with the frame-relay. ☞ router(config-Ethernet0)# frame-relay map bridge 100 Enable the bridge in the frame-relay interface. This command also encapsulates the bridge packet. ☞ Go back to the global router(config-Ethernet0)# exit configuration mode.
  • Page 127 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 ☞ Show the Bridge Forwarding Database. router # show bridge Address type status Port 1111.1111.1111 static bppu0 FFFF.FFFF.FFFF static our mac AA11.0000.1111 dynamic single-port 0000.0C06.1122 dynamic single-port 0000.0C06.1123 dynamic single-port 0000.0C12.125A dynamic single-port ☞...
  • Page 128 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 AddPac Technology Co., Ltd.
  • Page 129: Traffic Management

    There are four Queuing methods - First-Come-First-Serve(FCFS), Weighted Fair Queuing(WFQ), Priority Queuing and Custom Queuing. VoiceFinder AP2120 Gateway supports Traffic Queuing for effective delivery of traffic and effective use of bandwidth. Queuing is offered for Out-going Traffic with Priority OutPut Queuing of 4 level priority- High, Medium, Normal and Low, along with custom queuing to maximize the performance.
  • Page 130 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 [Procedure] Order Description Move to configuration mode Set Queue- List defining Queue-List Number and Queue Condition. Set Default Queue for packets do not meet Queue-List condition. Move to Interface configuration mode. Move to IP configuration mode.
  • Page 131 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 2. queue-list-number : A number between “0~39” queue-list <queue-list-number> ip {scr/dsr} <ip-address> {high/medium/normal/low} 1. Set up Queuing rule at queue-list. Set priority to packets having certain IP address as Source/Destination. 2. queue-list-number : A number between “0~39”...
  • Page 132 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 [Example] Queuing Configuration and Usage router# config ☞ Queue-list Config is possible. router(config)# ☞ Assign router(config)# queue-list 1 ip src 140.1.1.1 high all the packets with the source Address of “140.1.1.1” as high-queue.
  • Page 133 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 0 CRC, 0 overrun, 0 carrier) output: 0 packets, 0 bytes, 0 under runs error : 0 (0 busy) DCD(up) DSR(up) DTR(up) RTS(up) CTS(up) ☞ Show the operation condition. router # show running-config interface ether0.0...
  • Page 134 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 AddPac Technology Co., Ltd.
  • Page 135: Snmp Configuration

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 4.11. SNMP Configuration Information SNMP is Application layer protocol providing a message format for the communication between the SNMP Manager and the SNMP Agent. Elements configuring an SNMP system to manage the network include the SNMP Manager, the SNMP Agent and the Management Information Base (MIB.)
  • Page 136 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 parameters for the routing function. According to the request of the SNMP Manager, the SNMP Agent gives or sets these data. However, if the SNMP Agent sends information without receiving any request from the SNMP Manager, it is called “Trap.”...
  • Page 137 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 interface. Use “show snmp” command to check if configuration has been correctly made. [Related Commands and Syntax] snmp community <snmp-manager-ip/0.0.0.0> <community-string> {ro/rw} 1. Register the Gateway in a certain SNMP community. 2. <snmp-manager-ip/0.0.0.0> : IP address of the SNMP Manager. “0.0.0.0”...
  • Page 138 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 Indicates the faulty equipment when the Gateway sends trap. snmp system-shutdown 1. Decide to shutdown (reboot) the Gateway or not by SNMP from a remote place 2. This command can greatly affect equipment operation in insecure network.
  • Page 139 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 ☞ If an SNMP Manager router(config)# snmp trap-authentication accesses to an equipment with incorrect string, this commands informs this to all SNMP Managers that are set in the Gateway. router(config)# exit ☞ Show SNMP configuration status.
  • Page 140 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 AddPac Technology Co., Ltd.
  • Page 141: Gateway Management Command

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 4.12. Gateway Management Command This chapter describers commands used in the EXEC mode or the global configuration mode, which are necessary for management and operation of the Gateway in an alphabetical order.
  • Page 142 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 2. Command Options. 1) startup-clear : Delete configuration data that is saved in the flash memory of the present Gateway. 2) running-config : Save current configuration information in the Gateway. Debug <Option>...
  • Page 143 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 3) [-t : send one datagram per seconds] 4) [-s : specify the sending interface IP address] reboot Reboot the Gateway system. rlogin [-l username] target-host Open the Rlogin connection. show {option} 1.
  • Page 144: Command In The Global Configuration Mode

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 4.12.2. Command in the Global Configuration Mode [Command Formats and Optional Commands] access-list { option } 1. Set the access-list for the packet. 2. For more information, refer to Access-List in the previous chapter.
  • Page 145 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 exit 1. Exit from the current mode, and enters into the sub- mode. 2. If the user uses “exit” command in the global configuration mode, the user will be able to go back to the Exec mode.
  • Page 146 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 route {option} 1. Set the static route. 2. For more information, see Routing Configuration in the previous chapter. router {static/rip/ospf} 1. Enable or disable static routing process. 2. For more information, see Routing Configuration in the previous chapter.
  • Page 147 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 AddPac Technology Co., Ltd.
  • Page 148: Fault Management And Debugging

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 4.13. Fault Management and Debugging This chapter describes how to handle and process faults while operating VoiceFinder AP2120 Gateway. The AP2120 Gateway provides “show”, “Debug” and “logging” commands for fault handling. 4.13.1.
  • Page 149: Show Commands

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 logging information. 2) port [port-number] : Define the port number of the remote host to send logging information. 3) on : Enable logging in the remote host. 4.13.2. Show commands With “show” command, the user can check configuration that the device manager has set and system status.
  • Page 150 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 1. Show the DHCP that has been set. 2. For more information, refer to DHCP Configuration in the previous chapter. ethernet Show the mode and operation speed of the Ethernet interface. frame-relay {lmi/map/pvc} 1.
  • Page 151 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 7) neighbor : Show the Neighbor relations of OSPF 8) next-hop : Show the Next-Hop information of OSPF. proxy-arp Show whether the proxy ARP is enabled. . queue-list [queue-list-number] 1. Show configured Traffic-Queue.
  • Page 152 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 snmp Display SNMP protocol state of the Gateway and options. Spanning-Tree If the bridge is currently enabled in the Gateway, this command displays spanning-tree topology. static Display static routes that are set in the Gateway.
  • Page 153: Debug Commands

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 4.13.3. Debug Commands Information Debug commands decodes certain packets that pass through Gateway devices and indicate whether packets are normal or not to the manager. Therefore, the manager can check whether the network or device has been normally set up or not.
  • Page 154 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 ppp {chap/error/negotiation/packet } 1. Decode and show configuration and operation status of PPP. 2. Details of each option are as follows: 1) chap: Decode and show information exchanged when CHAP is being set.
  • Page 155 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 AddPac Technology Co., Ltd.
  • Page 156: User, Password, Software Image And Configuration File Management

    File Management This chapter describes how to register and change users, recover passwords, download and back up software image, and back up and restore configuration file, which are very useful in using VoiceFinder AP2120 Gateway. 4.14.1. User Registration and Change This chapter describes how to register Gateway users, change passwords and change user’s authorities.
  • Page 157: Password Recovery

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 4.14.2. Password Recovery The Gateway manager shall know the password to change Gateway configuration and check the Gateway status. Therefore, the Gateway manager shall remember the password and keep it confidentially. This chapter describes how to recover the password when the Gateway manager forgets the password.
  • Page 158 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 Copyright (c) by AddPac Technology Co., Ltd. Since 1999. System Flash Memory is 4 Mbytes. 1 Ethernet/IEEE 802.3 Interface (10BaseTX). 1 RS232 Ethernet console port, 2 Ethernet networks interface. The "BOOT LOADER" is ready...
  • Page 159 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 password is “Router. 3 BOOT# sh password password = "router" To change current password in the booter, enter into the configuration mode and change the password as using “passwd” command. The following is when changing “root” command into “Route1”...
  • Page 160: Software Image Upgrade And Backup

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 4.14.3. Software Image Upgrade and Backup Software of AP2120 Gateway will be upgraded regularly in case of functional upgrade or debugging. It is recommended for the existing users to upgrade software in this method. This chapter describes how to upgrade or back up Gateway software.
  • Page 161 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 226 BINARY Transfer complete. local: router.bin remote: router.bin 201622 bytes received in 0.52 seconds (375.13 Kbytes/s) ftp> quit 221 Goodbye. 156 sun10:/#> Software backup method through TFTP is same as FTP. However, login procedure is not necessary.
  • Page 162: Configuration File Backup & Restore

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 4.14.4. Configuration File Backup & Restore AP2120 Gateway saves the configuration file in the flash memory of the Gateway. However, sometimes it is necessary to back up the configuration file or restore the backed up configuration file.
  • Page 163 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 "Config Database" is updated Caution To back up or restore the configuration file, use a same procedure in the Gateway program that is currently in use or in the booter mode. If any fault occurs in the currently running Gateway program, restore the configuration file in the booter mode by the procedure explained above.
  • Page 164 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 AddPac Technology Co., Ltd.
  • Page 165: Chapter 5 Voice Configuration And Command

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 Chapter 5 Voice Configuration and Command This chapter explains voice configuration and commands to operate voice integration function of VoiceFinder AP2120. 5.1. Voice Technologies and Concepts 5.1.1. Voice Over IP Voice over IP enables a VoIP Gateway to carry voice traffic (for example, telephone calls and faxes) over an IP network.
  • Page 166 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 decodes bit stream to analog voice signal. In special cases, it also indicated the compression type (For example, G.723a CODEC). Typcially, telephone network uses PCM Codec. PCM does sampling of analog sound 8,000 times/ 1 sec. (Sampling gap: 125micro sec.) and converts each sample to number code.
  • Page 167 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 flexibility. Each CODEC provides a certain quality of speech. The quality of transmitted speech is a subjective response of the listener. A common benchmark used to determine the quality of sound produced by specific CODECs is the mean opinion score (MOS).
  • Page 168 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 CODEC-induced delays are considered a handling delay. Table 5-2 shows the delay introduced by different CODECs. Compression Bit rate (Kbps) Compression MOS Score Method delay (ms) G.711PCM 0.75 G.729 CS-ACELP 3.92 G.729a CS-ACELP G.723.1 MP-MLQ...
  • Page 169: Dial Peer

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.1.3. Dial Peer The key to understand our voice implementation is to understand the use of dial peers. Dial peers describe the entities to and/or from which a call is established. All of the voice technologies use dial peers to define the characteristics associated with a call leg.
  • Page 170: Voice Ports

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 There are basically two different kinds of dial peers with each voice implementation: POTS Dial peer : POTS Dial peer describes the characteristics of a traditional telephony network connection. POTS peers point to a particular voice port on a voice network device.
  • Page 171 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 telephone network's (PSTN's) central office. E&M (Ear and Mouse or RecEive and TransMit) : E&M Interface is an RJ-48 connector that allows a connection to be directed at PBX Trunk Line (Tie Lines).
  • Page 172 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 AddPac Technology Co., Ltd.
  • Page 173: Voip Interface Configuration

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.2. VoIP Interface Configuration AP 2520G Gateway has various interfaces. It is the Ethernet which is defined to provide VoIP service among those interfaces. As Default, Ethernet 0.0 Interface is defined to provide VoIP service, and can be determined to use for another purpose by the following procedure.
  • Page 174 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 AddPac Technology Co., Ltd.
  • Page 175: Numbering Plan, Number Handling And Dial Peer Configuration

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.3. Numbering Plan, Number Handling and Dial Peer Configuration 5.3.1. Numbering Plan The first step in configuring VoIP router is planning the number which is efficient, and proper between routers. Public telephone network has hierarchical structure, (Country Code) + (Area Code) + (Dialing Code) + (Directory Number) so that this hierarchical number planning is advantageous.
  • Page 176 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 can be placed. VoIP peers point to specific devices (by associating destination telephone numbers with a specific IP address) so that incoming calls can be received and outgoing calls can be placed. Both POTS and VoIP peers are needed to establish Voice over IP connections.
  • Page 177 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 destination pattern were replaced with wildcards. This means that from access server 10.1.2.2, calling any number string that begins with the digits "1310555" will result in a connection to access server 10.1.1.2. This implies that access server 10.1.1.2 services all numbers beginning with those digits.
  • Page 178: Pots Peer Configuration

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 First of all, the procedure of Inbound POTS Peer is as follows; Select POT peer assigned by voice port receiving Call. In case more than one POTS peer are assigned by voice port, the POT made at first gets selected.
  • Page 179: Voip Peer Configuration

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 The tag is the only identifier of the dial-peer of this system, and tag values range from 0 to 65535. POTS means communication service configuration of the FXS and the FXO ports.
  • Page 180: Setting Codec And Vad In The Dial Peer

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 peer. Enters the telephone number of the Router(config-dial-peer)# destination-pattern corresponding dial peer. string The string means the telephone number, and string values include 0 ~ 9, (#), (*) and wildcard (.). The period (.) means the wildcard.
  • Page 181 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 Selects the CODEC for the voice considering the codec [g711alaw / g711ulaw coder rate. /g729 / g7231r63 /g7231r53] Codec The default of “Codec” command is g7231r63. In normal cases, the default value is the most suitable. However, to connect to a network that has high bandwidth or to get the highest voice quality, select g711alaw or g711ulaw from “Codec”...
  • Page 182 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 Then, save CODEC classes created above in a certain VoIP peer by the following method. Step Command Description Enters into the dial-peer setup mode to set the dial-peer voice VoIP VoIP peer.
  • Page 183: One-Stage Dialing Versus Two-Stage Dialing

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 session target 10.0.0.8 5.3.3. One-Stage Dialing versus Two-Stage Dialing The VoIP network configuration inter-works with the normal telephone network or PABX of the office in most of cases, so multi-staged dialing is made. To...
  • Page 184 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 Consider that the POTS peer setup of Gateway B is as follows: dial-peer voice 1000 pots destination-pattern 3105551000 At this time, the originating subscriber hears the dial tone that the PABX sends and will enter 100.
  • Page 185: Hunt Group-Related Configuration

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.3.4. Hunt Group-related Configuration 5.3.4.1. Basic Concept and Configuration To select the outbound POTS that is going out of the Gateway or to select the VoIP dial peer, the user shall compare the called party number of the inbound call and the destination pattern of the dial peer.
  • Page 186 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 of dial-peer hunt 0 decides the first priority according to the longest matching, checks the preference order within the same longest match priority, and then randomly selects the dial peer in the same preference order.
  • Page 187: Rerouting To The Pstn

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.3.4.2. Rerouting to the PSTN With the hunt group explained before, PSTN rerouting through the FXO voice port can be made when connection with the VoIP network fails. The following figure shows PSTN rerouting.
  • Page 188: Call Barring

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.3.4.3. Call barring Using the huntstop and the shutdown of the dial peer explained before, users can bar the outbound/inbound calls with certain patterns. To bar calls of the outbound peer, define the pattern to bar in the destination pattern and set the shutdown and the huntstop.
  • Page 189: Prefix And Forwarding Telephone Numbers

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 answer-address 538…. shutdown 5.3.5. Prefix and Forwarding Telephone Numbers Forwarding numbers for the POTS peer has been explained already. When the number for the outbound POTS peer is forwarded, only digits except fixed digits of the destination-pattern of the outbound POTS peer are forwarded.
  • Page 190: Configuring Number Expansion

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.3.6. Configuring Number Expansion In most corporate environments, the telephone network is configured so that you can reach a destination by dialing only a portion (an extension number) of the full E.164 telephone number. Voice over IP can be configured to recognize extension numbers and expand them into their full E.164 dialed number by...
  • Page 191: Configuring Number Expansion

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 Sample Number Expansion Table for this senario. Extension Destination Pattern Num-exp Command Entry 5..408115..num-exp 5 408115 6..408116..num-exp 6 408116 7..408117..num-exp 7 408117 1... 729555..num-exp 2 729555 This information is used in configuration Gateway 1 and Gateway 2.
  • Page 192 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 When changing private numbers into public numbers or vice versa or when extending numbers, number translation is used. Number translation provides more various conversions than number expansion. To translate numbers, a translation rule set shall be created first. Use “translation-rule” command on the global configuration mode to create a translation rule set.
  • Page 193: Applying Translation Rules To The Inbound Pots Calls

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 two forms of the substituted-pattern. For example, if the substituted-pattern is composed only of IA5 characters (0 ~9, #, and *) the substituted-pattern will convert the fixed digits of the input-matched-pattern into the string of the substituted-pattern and add other digits than fixed digits of the called/calling party number at the end.
  • Page 194: Applying Translation Rules To The Inbound Voip Calls

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 following setting. Step Command Description Enters into the global configuration Router# configure mode. Enters into the designated voice port location Router(config)# voice-port configuration mode. The location is indicated by the slot-number/port-number. called-number:...
  • Page 195 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 peer (POTS peer or VoIP peer) make following setting. Step Command Description Enters into the global configuration Router# configure mode. Enters into the dial-peer configuration Router(config)# dial-peer voice { pots | mode.
  • Page 196: Configuration Voice Ports

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.4. Configuration Voice Ports 5.4.1. Configuration Voice Ports of AP2120 Gateway In general, voice port commands define the characteristics associated with a particular voice port signaling type. Under most circumstances, the default voice port command values are adequate to configure FXO and FXS ports to transport voice data over your existing IP network.
  • Page 197: E&M Port Configuration

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 answering a call. (Optional) Specify private line auto string connection plar ringdown (PLAR) connection, if this voice port is used for a PLAR connection. The string value specifies the destination telephone number.
  • Page 198 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 Select Cabling Scheme for the port. Also, select it is 4-Wire or 2-Wire. AP2120 Gateway configures this part as Jumper setting. The default setting is 2-Wire. Refer to [Figure 5.5 E&M Module Jumper Setting].
  • Page 199 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 60 PIN CONNECTOR E&M Type의 Jumper 설정 E&M Type의 Jumper 설정 (각 Port별로 J1, J4, J10,J12설정) (각 Port별로 J1, J4, J10,J12설정) E&M Type의 Jumper 설정 (각 Port별로 J1, J4, J10,J12설정) E&M Type Stion * E&M Type 1 Setting Example...
  • Page 200: E&M Voice Port Tunning

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.4.2.3. E&M Voice Port Tunning Normally, E&M Voice Port Tunning is sufficient with Default values. However, according to the existing telephone network, modify the parameters of E&M Voice port such as timing, Input Gain/ Output Gain and etc.
  • Page 201: Activating/Deactivating The Voice Ports

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.4.2.4. Activating/Deactivating the Voice Ports To activate a voice port, use the following commands in voice-port configuration mode: Step Command Description Activate the voice port no shutdown To deactivate a voice port, use the following command in voice-port...
  • Page 202: Confuguring Fax Application

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.5. Confuguring FAX Application 5.5.1. T.38 FAX Relay using VoIP H.323 The T.38 Fax Relay for VoIP H.323 feature provides standards-based fax relay protocol support on the most of VoIP router or Gateway including AP2120.
  • Page 203: Configuring T.38 Fax Relay For Voip H.323

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 channel is opened. When the fax transmission is completed, the call reverts to voice mode. 5.5.2. Configuring T.38 FAX Relay for VoIP H.323 To configure T.38 Fax Relay for VoIP H.323 for all the connections of a gateway,...
  • Page 204 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 following commands in Global Configuration Mode. To do fax relay in this mode voice channel shall be opened with g711alaw or g711ulaw. So, codec and codec-class setting of dial-peer need to support g711alaw or g711ulaw interface and counterpart needs to set in G.711 mode.
  • Page 205 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 AddPac Technology Co., Ltd.
  • Page 206: Other Voip Configuration

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.6. Other VoIP Configuration 5.6.1. Setting H.323 Gateway H.323 gateway inter-works with the gatekeeper and receives the Registration Admission and Security (RAS) service. AP2120 Gateway can set static IP address in the VoIP peer and operate without any gatekeeper.
  • Page 207: Configuring H323 Call Start Mode

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 password Exits configuration. Router(config-gateway)# exit 5.6.2. Configuring H323 Call Start Mode In H.323 version2, logical channel negotiation procedures made by the fast start mode upon the start of the H.323 call is explained.
  • Page 208 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 on the origination side.) In this way, users can control internal calls, local calls, long-distance calls, and international calls by controlling “max-digit.” Users can set more than one user-classes and set call limits for other user-classes.
  • Page 209 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 AddPac Technology Co., Ltd.
  • Page 210: Voip Configuration Command

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7. VoIP Configuration Command 5.7.1. VoIP-Related whole Command clear h323 call tag <0-4294967295> voice-port <0-1>/<0-3> configure dial-peer hunt <0-7> ipaddr-prefix #,* , n terminator #,*, n voice tag <0-65535> pots destination-patter string...
  • Page 211 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 huntstop answer-addres codec description destination-patt dtmf-relay huntstop preference session target shutdown translate-outgoi called-numbe calling-numb voice-class codec preference <0-9> session target ip-addr shutdown translate-outgoin called-number <0-65535> calling-number <0-65535> voice-class codec <0-65535> gateway discovery...
  • Page 212 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 num-exp string translation-ru tag <0-65535> voice class clear-down-tone tag <0-1> codec tag <0-65535> user tag <0-10> voip-interface num-exp string string translation- rule tag <0-65535> rule tag <0-65535> string string rule tag <0-65535>...
  • Page 213 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 security permit-FXO timeout t301 t303 tras tttl tidt treg translate-voip-inc oming called-number calling-number security permit-FXO <5-600> timeout t301 default :180 <5-60> t303 default :8 <2-30> tras default :6 <10-600> tttl default :60 <1-600>...
  • Page 214 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 ring number num <1-255> shutdown signal delay-dial | immediate | wink-start timing dialout-delay num <50-5000> delay-duration num <100-5000> delay-start num <20-2000> wait-wink num <100-5000> wink-duration num <30-5000> wink-wait num <100-5000> translate-incom called-number tag <0-65535>...
  • Page 215: Global Configuration Command

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.2. Global Configuration Command 5.7.2.1. dial-peer hunt To set the priorities for selecting the dial peer hunt, use “dial-peer hunt” command on the global setup mode. To return to the default setting, use “no” command before this command.
  • Page 216 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 peers in the hunt group attempt calls according to given priorities. In other words, the VoIP peer attempts a call to a dial peer of the hunt group when the call is failed due to network connection failure, gatekeeper failure, or gatekeeper rejection.
  • Page 217: Dial-Peer Ipaddr-Prefix

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 dial-peer hunt 1 5.7.2.2. dial-peer ipaddr-prefix To designate a special character to be used as a ipaddr-prefix for making call by ip address, use the dial-peer ipaddr-prefix global configuration command. Use the no form of this command to default setting.
  • Page 218: Dial-Peer Terminator

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.2.2.5. Example The following example configures * as the special ip address prefix character: configure dial-peer ipaddr-prex * The following example shows digit sequence for making a call by IP address. If IP address is 127.0.1.1 and called party number is 1234 then sequence of digits...
  • Page 219 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 characters are #, *. 5.7.2.3.2. Default Value Character (#) 5.7.2.3.3. Command Mode Global Configuration mode 5.7.2.3.4. Usage Guideline There are certain areas in the world (for example, in certain European countries) where valid telephone numbers can vary in length. When a...
  • Page 220: Dial-Peer Voice

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.2.4. dial-peer voice To enter dial-peer configuration mode (and specify the method of voice-related encapsulation), use the dial-peer voice in global configuration command. dial-peer voice number {voip/pots} 5.7.2.4.1. Syntax Keyword / Argument Description Digit(s) defining a particular dial peer.
  • Page 221 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 dial-peer voice 10 pots AddPac Technology Co., Ltd.
  • Page 222: Gateway

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.2.5. gateway To enable the H.323 Voice over IP gateway, use the gateway command in global configuration mode. Use the no form of this command to unregister this gateway with the gatekeeper.
  • Page 223: Num-Exp

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.2.6. num-exp To define how to expand an extension number into a particular destination pattern, use the num-exp global configuration command. Use the no form of this command to cancel the configured number expansion.
  • Page 224 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 Number expansion is applied to the called party number of the inbound call. The called party number of the inbound call from the voice port or the network is translated by number expansion, and the dial peer is selected according to the translation result.
  • Page 225 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 -party-number is made of other digits than the fixed pattern of the extension-number. 5.7.2.6.5. Example The following example expands the extension number 55541 to be expanded to 14085555541: In the following example, the inbound called party number 5554123 is extended into 140855554123.
  • Page 226: Translation-Rule

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 be translated into 1234. num-exp 555 . num-exp 555 T In the following example, if the inbound called party number is 5551234, it will be translated into 95551234. num-exp . 9 num-exp T 9 5.7.2.7.
  • Page 227: Voice-Port

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.2.7.5. Examples The following example is to set the translation rule set 100. translation-rule 100 rule 0 2 822 5.7.2.8. voice-port To enter the voice-port configuration mode, use the voice-port global configuration command.
  • Page 228: Voice Class Clear-Down-Tone

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 configuration mode. 5.7.2.8.5. Example The following example accesses the voice-port configuration mode for slot 1 and port 3: configure voice-port 1/3 5.7.2.9. voice class clear-down-tone To configure clear down tone on the FXO port, use the voice class clear-down-tone global configuration command.
  • Page 229: Voice Class Codec

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.2.9.3. Command Mode Global Configuration Mode 5.7.2.9.4. Usage Guideline Call termination of FXO voice-port is established through detection of clear-down tone from PSTN or PBX, which is connected with FXO port. This clear-down tone(Ex: busy tone, fast busy tone) is different from each PSTN and PB.
  • Page 230 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.2.10.1. Syntax Keyword / Argument Description The unique number you assign to the voice class. The valid range is 1 to 65,535. Each tag number must be unique on the Gateway. 5.7.2.10.2.
  • Page 231: Voice Class User

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 voice class codec 99 codec preference 1 g711alaw codec preference 2 g711ulaw codec preference 3 g729 codec preference 4 g7231r63 codec preference 5 g7231r53 exit 5.7.2.11. voice class user To enter user-class configuration mode and assign an identification tag number for a user class, use the voice class user command in global configuration mode.
  • Page 232 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 which is connected with that port, and put desired extension number. (Or anybody, who tries to call trough network to FXO port, can hear a dial-tone from PSTN exchanger, which is connected with that port, and put desired PSTN number.)
  • Page 233: Voice Service

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 password 1234 max-digits 10 exit 5.7.2.12. voice service To specify the voice encapsulation type, use the voice service command in global configuration mode. To exit voice-service configuration mode, use the exit command.
  • Page 234: Voip-Interface

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 voice service voip 5.7.2.13. voip-interface To set an interface in which the VoIP is going to operate, use “VoIP-interface” command in the global setup mode. To set the interface as the default, use “no” command before this command.
  • Page 235 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.2.13.5. Example The following example shows how to designate the VoIP service in the Ethernet 1.0 interface. configure voip-interface ethernet 1 0 The following example shows how to designate the VoIP service in the Ethernet 0 interface.
  • Page 236: Voice Port Configuration Command

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.3. Voice Port Configuration Command 5.7.3.1. comfort-noise To generate background noise to fill silent gaps during calls if voice activity detection (VAD) is activated, use the comfort-noise command in voice-port configuration mode. To provide silence when the remote party is not speaking and VAD is enabled at the remote end of the connection, use the no form of this command.
  • Page 237: Connection

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 voice-port 1/0 no comfort-noise 5.7.3.2. connection To specify a connection mode for a voice port, use the connection command in voice-port configuration mode. To disable the selected connection mode, use the no form of this command.
  • Page 238: Description (Voice Port)

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 interface. The string you configure for this command is used as the called number for all calls coming in over this connection. The destination peer is determined by called number. 5.7.3.2.5. Example...
  • Page 239: Echo-Cancel

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.3.3.4. Usage Guideline Use the description command to include descriptive text about this voice-port connection. This information is displayed when you issue a show command and does not affect the operation of the interface in any way.
  • Page 240: Input Gain

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.3.4.4. Usage Guideline The echo-cancel command enables cancellation of voice that is sent out the interface and is received back on the same interface; sound that is received back in this manner is perceived by the listener as an echo. Disable echo-cancel for E&M 4-wire interface because it doesn’t have echo path.
  • Page 241: Operation (E&M Voice Port Command)

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.3.5.4. Usage Guideline A system-wide loss plan must be implemented using both input gain and output gain commands. Other equipment (including PBXs) in the system must be taken into consideration when creating a loss plan. This default value for this command assumes that a standard transmission loss plan is in effect, meaning that normally, there must be -6dB attenuation between phones.
  • Page 242 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.3.6.1. Syntax Keyword / Argument 설명 2-wire Set “ 2-wire” from E&M Cabling Scheme. Refer to the User guide. 4-wire Set “ 4-wire” from E&M Cabling Scheme. Refer to the User guide.
  • Page 243: Output Gain

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.3.7. output gain To configure a specific output gain value, use the output gain voice-port configuration command. Use the no form of this command to disable the selected output gain value. output gain value no output gain value 5.7.3.7.1.
  • Page 244: Polarity-Inverse

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 You can't increase the gain of a signal going out into the PSTN, but you can decrease it. Therefore, if the voice level is too high, you can decrease the volume by either decreasing the input gain value or by increasing the output attenuation.
  • Page 245: Ring Number

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.3.8.4. Usage Guideline When PBX supports billing function, the start and end point of billing are indicated by polarity-inverse. Then PBX office line connected to FXS does billing. Typically, it is not necessary to activate this function.
  • Page 246: Shutdown (Voice-Port)

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.3.9.4. Usage Guideline Use the ring number command to set the maximum number of rings to be detected before answering a call over an FXO voice port. Use the no form of this command to reset the default value, which is one ring.
  • Page 247: Signal (E&M Voice Port Command)

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.3.10.2. Default Value No shutdown. 5.7.3.10.3. Command Mode Voice-port Configuration Mode 5.7.3.10.4. Usage Guideline When you enter the shutdown command, all ports on the voice interface card are disabled. When you enter the no shutdown command, all ports on the voice interface card are enabled.
  • Page 248 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.3.11.1. Syntax Keyword / Argument Description wink-start The calling party occupies the line with off-Hook of E(Ear)-lead and stands by during “ wink” instruction of M(Mouth)-lead of the called party. Then it sends address with DTMF.
  • Page 249: Timing Delay-Duration (E&M Voice Port Command)

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 devicecs, the calling side should be delayed until DTMF Receiver is available. 5.7.3.11.5. Example The below example is the configuration of occupying the line with Off-hook of E-lead and sending DTMF information right away.
  • Page 250: Timing Delay-Start (E&M Voice Port Command)

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.3.12.5. Examples The below configuration is allowing 3000msec Delay Signal Duration to outgoing calls. voice-port 1/0 timing delay-dulation 3000 5.7.3.13. timing delay-start (E&M Voice Port Command) To set min. Delay time between Outgoing Seizure to Out-Dial Address, use timing delay-start command.
  • Page 251: Timing Dialout-Delay (E&M Voice Port Command)

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.3.13.5. Example The below configuration sets 250msec Delay-start for a voice port. voice-port 1/0 timing delay-start 250 5.7.3.14. timing dialout-delay (E&M Voice Port Command) To set Dial-out Delay of sending Dial Digit, use “timing dialout-delay” command.
  • Page 252: Timing Wait-Wink (E&M Voice Port Command)

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.3.15. timing wait-wink (E&M Voice Port Command) To set the max. Waiting Time between Outgoing Seizure and Wink Signal, use timing wait-wink command. To apply the default value, use no command. timing wait-wink milliseconds no timing wait-wink 5.7.3.15.1.
  • Page 253: Timing Wink-Wait (E&M Voice Port Caommand)

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.3.16.1. Syntax Keyword / Argument Description milliseconds To set max. Wink-Signal Duration. Unit: milliseconds. The acceptable values” 100~400” . 5.7.3.16.2. Default Value 200 milliseconds 5.7.3.16.3. Command Mode Voice-port Configuration Mode 5.7.3.16.4. Usgae Guideline timing wink-dulation sets Wink-start Dulation for outgoing calls.
  • Page 254: Translate-Incoming

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 milliseconds To set Wink-wait Duration for Wink-start signal. The acceptable values are “ 100~5000” . 5.7.3.17.2. Default Value 200 milliseconds 5.7.3.17.3. Command Mode Voice-port Configuration Mode 5.7.3.17.4. Usage Guideline To set Wink-wait Dulation for outgoing calls.
  • Page 255: Type (E&M Voice Port Command)

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 65535. 5.7.3.18.2. Default Value No translation rule is applied. 5.7.3.18.3. Command Mode Voice-port Configuration Mode 5.7.3.18.4. Usage Guideline This command uses the number translation rules that have been set by “translation-rule” command for the inbound call of the corresponding voice-port.
  • Page 256 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 use no command. type { 1 | 2 | 3 | 5 } no type 5.7.3.19.1. Syntax Keyword / Argument 설명 To set Type-1 for E&M voice port. Refer to the User Guideline for more detailed information.
  • Page 257 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.3.19.5. Example The below configuration sets Description of E&M voice port using Type-5 at the gateway configuration file. voice-port 1/1 type 5 AddPac Technology Co., Ltd.
  • Page 258: Dial Peer Commands

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.4. Dial Peer Commands 5.7.4.1. answer-address To find the VoIP dial peer for the VoIP inbound call incoming to the network as using the calling party number of the inbound call, use “answer-address”...
  • Page 259: Codec

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 The “answer-address” command is used to find the VoIP dial peer for the VoIP inbound calls. The VoIP dial peer for the VoIP inbound call from the network is selected as follows: Firstly, the VoIP dial peer that has the session target matching with the IP address of the inbound call is searched.
  • Page 260: Description (Dial-Peer)

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.4.2.2. Default Value G.723.1 6.3Kbps Codec 5.7.4.2.3. Command Mode Dial-Peer Configuration Mode 5.7.4.2.4. Usage Guideline Use the codec command to define a specific voice coder rate of speech for a dial peer.
  • Page 261: Destination-Pattern

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 no description 5.7.4.3.1. Syntax Keyword / Argument Description string Character String for Dial-Peer. (max length 255) 5.7.4.3.2. Default Value null String 5.7.4.3.3. Command Mode Dial-Peer Configuration Mode 5.7.4.3.4. Usage Guideline Use the description command to include descriptive text about this dial-peer connection.
  • Page 262 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 configured prefix or telephone number. destination-pattern string [ T ] no destination-pattern 5.7.4.4.1. Syntax Keyword / Argument Description Series of digits that specify the E.164 or private String dialing plan telephone number. (max length 55)
  • Page 263 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 used to complete the call. When a router receives voice data, it compares the called number (the full E.164 telephone number) in the packet header with the number configured as the destination pattern for the voice-telephony peer.
  • Page 264: Dtmf-Relay

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.4.5. dtmf-relay To specify how an H.323 gateway relays dual tone multi-frequency (DTMF) tones between telephony interfaces and an IP network, use the dtmf-relay command in dial-peer configuration mode. Use the no form of this command to remove all signaling options and to send the DTMF tones as part of the audio stream.
  • Page 265: Forward-Digits

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 tones with greater fidelity than is possible in-band for most low-bandwidth codecs, such as G.729 and G.723. Without the use of DTMF relay, calls established with low-bandwidth codecs may have trouble accessing automated DTMF-based systems, such as voice-mail, menu-based ACD systems, and automated banking systems.
  • Page 266 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 are forwarded. 5.7.4.6.2. Default Value In default setting, if the called party number matches with the destination pattern of the outbound POTS peer, only digits that are not matched will be forwarded.
  • Page 267: Huntstop

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 forward-digit from 99 If “forward-digit last” is added as below, only last four digits (“6789”) will be forwarded. forward-digit last 4 In the following example, no digit is forwarded. forward-digit last 0 In the following digit, all digits “100123456789”...
  • Page 268: Port

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 dial peers are selected, a hunting group will be made. If a huntstop has been set already in a certain dial peer and if the outbound call to that dial peer fails, a call will be terminated without hunting other dial peers.
  • Page 269: Preference

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.4.8.4. Usage Guideline This command is applicable only to POTS peers . Use the port configuration command to associate the designated voice port with the selected dial peer. This command is used for calls incoming from a telephony interface to select an incoming dial peer and for calls coming from the VoIP network to match a port with the selected outgoing dial peer.
  • Page 270: Prefix

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.4.9.4. Usage Guideline Setting priorities within the hunt group by the preference enables users to adjust the priority of a certain dial peer. 5.7.4.9.5. Example Let’s assume that there is a dial peer as follows:...
  • Page 271: Register

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.4.10.2. Default Value Null String. 5.7.4.10.3. Command Mode Dial-Peer Configuration Mode 5.7.4.10.4. Usage Guideline Use the prefix command to specify a prefix for a specific dial peer. When an outgoing call is initiated to this dial peer, the prefix string value is sent to the telephony interface first, before the telephone number associated with the dial peer.
  • Page 272 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.4.11.1. Syntax This command has no keywords or arguments 5.7.4.11.2. Default Value No default value 5.7.4.11.3. Command Mode Dial-Peer Configuration Mode 5.7.4.11.4. Usage Guideline Use this command to register the E.164 address of an analog telephone line attached to a Foreign Exchange Station (FXS) port of a Gateway.
  • Page 273: Sid

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 dial-peer voice 110 pots port 1/0 destination-pattern 5551212 register e164 The following commands deregister an address with the gatekeeper: dial-peer voice 110 pots no register e164 5.7.4.12. When SID Packet transmission function is enable during silence processing under VAD function activation for call processing of specific dial-peer, use sid command in dial-peer configuration mode.
  • Page 274: Session Target

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 problem with interoperability or unnecessary comfort noise generation, disable this function. 5.7.4.12.5. Example The following command example is disable mode of SID packet transmission function. dial-peer voice 10 voip no sid 5.7.4.13.
  • Page 275: Polarity-Inverse

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.4.13.4. Usage Guideline Use the session-target command to specify a network-specific address or domain name for a dial peer. Whether you select a network-specific address or a domain name depends on the session protocol you select.
  • Page 276: Shutdown (Dial-Peer)

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.4.14.5. Example The below configuration activates polarity- inverse at voice-port 1/0. voice-port 1/0 polarity-inverse 5.7.4.15. shutdown (Dial-Peer) To change the state of the selected dial peer from up to down, use the shutdown dial-peer configuration command.
  • Page 277: Translate-Outgoing

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 configure dial-peer voice 10 pots shutdown 5.7.4.16. translate-outgoing To apply the translation rule to the outbound call of the corresponding dial peer, use this command. To stop applying the translation rule, add “no”...
  • Page 278: Vad

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.4.16.5. Example In the following example, translation rule 10 is created and it is applied to the calling party number of dial-peer 200. Therefore, if the calling party number of the outbound call is 93450, it will be translated into 9563450.
  • Page 279: Voice-Class Codec

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 bandwidth. If you use the no form of this command, VAD is disabled and voice data is continuously transmitted to the IP network. 5.7.4.17.5. Example The following example enables VAD: dial-peer voice 10 voip 5.7.4.18.
  • Page 280 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.4.18.4. Usage Guideline You can assign one voice class to each VoIP dial peer. If you assign another voice class to the same dial peer, the last voice class assigned replaces the previous one.
  • Page 281: Gateway, Voice Service, Voice Class And Rule Configuration Command

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.5. Gateway, Voice Service, Voice Class and Rule Configuration Command 5.7.5.1. announcement Use accouncement command to activate voice announcement function. To disable this function, use the no form of this command. announcement no announcement 5.7.5.1.1.
  • Page 282: Codec Preference

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.5.2. codec preference To specify a list of preferred codecs to use on a dial peer, use the codec preference command in voice-class configuration mode. To disable this function, use the no form of this command.
  • Page 283: Counter

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 voice class codec 99 codec preference 1 g711alaw codec preference 2 g711ulaw codec preference 3 g7231r63 codec preference 4 g729 dial-peer voice 1919 voip voice-class codec 99 5.7.5.3. counter To set VoIP-related counter parameter value, use “counter” command in the voice service setup mode.
  • Page 284: Discovery

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 The cras counter is to retransmit message if no reply is received during timeout tras after sending RAS message – GRQ, RRQ, ARQ and DRQ – to the gatekeeper. 5.7.5.3.5. Example In the following message, the RAS message is tried two times.
  • Page 285: Fax Protocol

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.5.4.5. Example The following command deactivates discovery command. gateway no discovery 5.7.5.5. fax protocol To specify the global default fax protocol for all the Voice over IP (VoIP) dial peers, use the fax protocol command in voice-service configuration mode. To return to the default fax protocol, use the no form of this command.
  • Page 286: Fax Rate

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.5.5.4. Usage Guideline Use the fax protocol t38 command to configure T.38 Fax Relay for VoIP. The t38 keyword enables the T.38 Fax Relay protocol. Optional parameters redundancy is used to send redundant T.38 fax packets.
  • Page 287 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.5.6.2. Default Value 14400 bps 5.7.5.6.3. Command Mode Voice-Service Configuration Mode 5.7.5.6.4. Usage Guideline Use the fax rate command to specify the fax transmission rate to all dial peers. The values for this command apply only to the fax transmission speed and do not affect the quality of the fax itself.
  • Page 288: H323 Call Start

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.5.7. h323 call start To force the H.323 Version 2 gateway to use Fast Connect or Slow Connect procedures for all H.323 calls, use the h323 call start command in voice-service configuration mode. To restore the default condition, use the no form of this command.
  • Page 289: Gkip

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.5.7.5. Example The following example selects Slow Connect procedures for the gateway: voice service voip h323 call start slow 5.7.5.8. gkip To specify the gatekeeper associated with a proxy and control how the gatekeeper is discovered, use the gkip command in gateway configuration mode.
  • Page 290: H323 Call Channel

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 Admission and Status (RAS) server and receives the billing service. The AP2120 VoIP Gateway can designate maximum ten gatekeepers in a gateway using this command. To view the list of the gatekeepers, use “show gateway”...
  • Page 291 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.5.9.1. Syntax Keyword / Argument Description early If you want to open voice channel before voice CONNECT case normal(slow) voice processing, use this command. late If you want to open voice channel after voice...
  • Page 292: H323 Call Response

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.5.10. h323 call response If you want to define message besides ALERT message after call proceeding message responding to Q.931 setup message, use h323 call response command in voice service configuration mode.
  • Page 293: H323-Id

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.5.10.5. Example The following command example shows how to make configuration response message to change progress message. voice service voip h323 call response progress 5.7.5.11. h323-id To configure the H.323 name of the gateway identifying this gateway to its associated gatekeeper, use the h323-id command in gateway configuration mode.
  • Page 294: Lightweight-Irr

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 h323-id GW13@addpac.com 5.7.5.12. lightweight-irr To send IRR(Information Request Response) message as simple information, use this command. To make disable this command, use the no form of this command to set disable mode.
  • Page 295: Max-Digits

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.5.13. max-digits This command is used to limit the number of digits for a user class, which in turn adds to the security of specific out-going signal to the FXO port. The “no”...
  • Page 296: Public-Ip

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 no password 5.7.5.14.1. Syntax Keyword / Argument Description string security code which could be sequence of IA5 characters. (4 digits) 5.7.5.14.2. Default Value Null 5.7.5.14.3. Command Mode User-Class Configuration Mode 5.7.5.14.4. Example The following is the configuration for password “1234”...
  • Page 297: Register

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.5.15.2. Default Value Disable 5.7.5.15.3. Command Mode Gateway Configuration Mode 5.7.5.15.4. Usage Guideline In case of using private network environment with NAT/PAT, IP address of VoIP gateway should be set in VoIP interface of AP2120 VoIP gateway. On the...
  • Page 298: Rule

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.5.16.3. Command Mode Gateway Configuration Mode 5.7.5.16.4. Usage Guideline To make enable H.323 VoIP gateway functions, use register command. If VoIP gateway is enabled, this VoIP gateway try to look for gatekeeper using H.323 RAS GRQ or RRQ message.
  • Page 299 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.5.17.1. Syntax Keyword / Argument Description An identifier to designate the rule within the rule set. Tag values range from 0 to 65535. input-matched-pattern Input digits for pattern matching. Characters that can be entered include numeric data (0 to 9) “#”...
  • Page 300 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 If the substituted-pattern is composed only of IA5 characters (0 ~ 9, # and *) fixed digits of the input-matched-pattern will be converted into the string part of the substituted-pattern and other digits than the fixed digits of the called/calling party will be attached at the end.
  • Page 301: Security Password

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 rule 0 555 . rule 0 555 T In the following example, 555123 is converted into 95551234. rule 0 . 9 rule 0 T 9 5.7.5.18. security password To configure the secure token with gatekeeper, this security password command is used.
  • Page 302: Security Permit-Fxo

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 gateway security password okok1234 5.7.5.19. security permit-FXO For outgoing calls from remote side to PSTN or PABX route through the FXO of the gateway, the security should be concerned. To protect a call from...
  • Page 303: Timeout

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 and the voice class user. Since it is possible to directly attempt calls to the PSTN through this FXO port or indirectly attempt calls to the PSTN through the PBX internal line, unauthorized remote users can attempt calls as well.
  • Page 304 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 t303 value Timeout value from Q.931 Setup message transmission till initial message reception. Values range from 5 to 60 and the default value is 8. T303 value is expressed in seconds. tras value Timeout value from RAS message transmission till reply message reception.
  • Page 305: Translate-Voip-Incoming

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.5.21. translate-voip-incoming Use this command to apply the translation rule to every inbound VoIP call. To remove application of the translation rule, add “no” command to the above command. translate-voip-incoming { called-number | calling-number } tag no translate-voip-incoming { called-number | calling-number } 5.7.5.21.1.
  • Page 306 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 translation-rule 10 rule 0 9 956 rule 1 8 878 voice sevice voip translate-voip-incoming calling-number 10 AddPac Technology Co., Ltd.
  • Page 307: Miscellaneous Commands

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.6. Miscellaneous Commands 5.7.6.1. clear h323 call To force disconnection of a specific call or for all calls active with remote user, use the clear h323 call command in Administrator command mode. clear h323 call { all | local_call_ID } 5.7.6.1.1.
  • Page 308: Clear Voice Port

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.6.2. clear voice port To force disconnection of a call on a specific voice port, use the clear voice port command in Administrator command mode. If port is not specified, disconnect all calls on the system.
  • Page 309: Show Call History

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.6.3.1. Syntax Keyword / Argument Description Display all Information about all active calls summary Display summarized Information about all active calls. 5.7.6.3.2. Default Value No default value 5.7.6.3.3. Command Mode Administrator command 5.7.6.3.4.
  • Page 310: Show Clear-Down-Tone

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 Displays all history information of the call history table last (Optional) Displays the last calls connected. number the number of calls that appear is defined by the number argument. Valid values are from 1 to 100.
  • Page 311: Show Codec Class

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.6.5.2. Default Value No Default Value 5.7.6.5.3. Command Mode Administrator command 5.7.6.5.4. Usage Guideline This command will display not only user added clear-down-tone by voice class clear-down-tone command, but also system providing clear-down-tones.
  • Page 312: Show Dial-Peer

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.6.6.4. Example The following is to display all Codec Class. show codec class 5.7.6.7. show dial-peer To display configuration information for dial peers, use the show dial-peer voice command. If there is no options, display all information of all Dial-Peer..
  • Page 313: Show Dialplan Number

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.6.7.5. Example The following is sample output from the show dial-peer voice command for a POTS dial peer: show dial-peer voice 5.7.6.8. show dialplan number To show which dial peer is reached when a particular telephone number is dialed, use the show dialplan number command in Administrator command mode.
  • Page 314: Show Dialplan Port

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 show dialplan number 4441234 5.7.6.9. show dialplan port To show which POTS dial peer is matched for a specific calling number or voice port, use the show dialplan port command in Administrator command mode.
  • Page 315: Show Num-Exp

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 Administrator command. show gateway 5.7.6.10.1. Syntax This command has no arguments or keywords. 5.7.6.10.2. Default Value No Default Value 5.7.6.10.3. Command Mode Administrator command 5.7.6.10.4. Usage Guideline This command will display not only gatekeeper interaction information such as gatekeeper IP address, registration status, registered aliases, but also system resource information about VoIP gateway (i.e., number of dial-peers, number...
  • Page 316: Show Translation-Rule

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.6.11.1. Syntax This command has no arguments or keywords. 5.7.6.11.2. Default Value No Default Value 5.7.6.11.3. Command Mode Administrator command 5.7.6.11.4. Usage Guideline Even though you create number expansion with wildcard(*), show num-exp will not display wildcard.
  • Page 317: Show User-Class

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.6.12.2. Default Value No Default Value 5.7.6.12.3. Command Mode Administrator command 5.7.6.12.4. Usage Guideline This command is to check if the translation rule has been properly set and to test operations of the translation rule.
  • Page 318: Show Voice Port

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.6.13.3. Command Mode Administrator command 5.7.6.13.4. Usage Guideline This command shows user class tag, password, and max digits can input 5.7.6.13.5. Example To display User Class information : show user-class 5.7.6.14. show voice port To show voice port information , use the show voice port command in Administrator command mode.
  • Page 319: Show Voip-Interface

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 5.7.6.14.4. Usage Guideline This command can be used not only Administrator command, but also Voice-port configuration mode. 5.7.6.14.5. Example To show brief voice port information of this system: show voice port summary 5.7.6.15.
  • Page 320: Debug Voip Call

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 system will be displayed. show voip-interface 5.7.6.16. debug voip call To trace VoIP related events, use the debug VoIP call command in Administrator command mode. debug voip call no debug voip call 5.7.6.16.1.
  • Page 321: Debug Voip

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 undebug voip call 5.7.6.17. debug voip To trace events related to VoIP ASN.1, use the administrator command mode “debug VoIP” debug voip { h225-asn1 | h245-asn1 | ras-asn1 } no debug voip { h225-asn1 | h245-asn1 | ras-asn1 } 5.7.6.17.1.
  • Page 322 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 message tracing will automatically operate in the console. “No debug-port” displays call tracing on the default display console. Caution Message tracing using the debug command gives a high load to the router so it is recommended not to use the debug command under normal conditions.
  • Page 323 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 AddPac Technology Co., Ltd.
  • Page 324: Appandix A. Ap1100 Voip Gateway Specifications

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 Appandix A. AP1100 VoIP Gateway Specifications A-1 Voice over IP (VoIP) Service Specification Support ( Remark 1. VoIP Protocol ITU-T H.323 v2 Protocol Session Initiation Protocol (SIP) H.323과 Dual Stack 2. Vocie Compression G.723.1 MP-MLQ, 6.3Kbps, 5.3Kbps...
  • Page 325 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 A-2 LAN/WAN Service Specification Support ( Remark 1. Ethernet Interface 10BaseT 100BaseTx Auto Sensing 10/100BaseTx (Automatic detection) 2. WAN Service PPPoE Cable Network ADSL Static IP ADSL Dynamic IP 3. Port Configuration management 4.
  • Page 326 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 A-3 Operation management & other features Features Support ( Remark Cold booting 20 sec, 1. Boot & reboot Warm booting 18 sec 2. System Backup & remote loading 3. System LED indication 4.
  • Page 327 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 A-4 AP2120 VoIP Router H/W specification ITEM Specification Remark 1. CPU 32bit RISC Microprocessor 2. Fixed LAN Port 1-port 10/100Mbps Ethernet 3. Fixed WAN Port 1-port 10/100Mbps Ethernet 4. Fixed Console Port 1-port Async.
  • Page 328: Voip(Voice Over Ip) Config. Example

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 VoIP(Voice over IP) Config. Example This parts explanins several examples of VoiceFinder AP2120 Gateway configuration. Configuration 1- FXS-to-FXS Connection example LAN HUB AP2120-B AP2120-A E0.0 E0.0 20.20.20.1 Network 10.10.10.1 Phone B Dial Peer 200 POTS...
  • Page 329 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 router(config)# route 0 0 se 0 Step 3) set POTS Peer router(config)# dial-peer voice 100 pots router(config-dialpeer-pots-100)# port 0/0 router(config-dialpeer-pots-100)# destination-pattern 100 router(config-dialpeer-pots-100)# dial-peer voice 101 pots router(config-dialpeer-pots-101)# port 0/1 router(config-dialpeer-pots-101)# destination-pattern 101...
  • Page 330 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 port = 0/1 (1) prefix = register E.164 = yes administrative status = up VoIP Peers : VoIP peer 300 dest-pattern = 3.. session-target = 30.30.30.1 codec = default codecClass = default...
  • Page 331 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 router(config-dialpeer-voip-200)# destination-pattern 2.. router(config-dialpeer-voip-200)# session target 20.20.20.1 router(config-dialpeer-voip-200)# exit Step 5) Check the configuration router(config)# show run interface loopback0 ip address 127.0.0.1 255.0.0.0 interface ether0.0 ip address 30.30.30.1 255.255.255.0 interface Ethernet0 ip address 100.100.102.1 255.255.255.252...
  • Page 332 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 codecClass = default dtmfRelay = h245-alphanumeric vad = yes translation-outgoing called-number = -1 translation-outgoing calling-number = -1 description = administrative status = up Call Scenario 1) Phone A and Phone B connection Phone A user picks up the phone.
  • Page 333 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 Configuration 2 - FXS-to-FXS Connection with Gatekeeper Gatekeeper LAN HUB 90.90.90.1 AP2120-B AP2120-A E0.0 E0.0 20.20.20.1 Network 10.10.10.1 Phone B Dial Peer 200 POTS Fax A Voice PORT 0/0 Dial Peer 100 POTS...
  • Page 334 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 codec = default codecClass = default dtmfRelay = h245-alphanumeric vad = yes translation-outgoing called-number = -1 translation-outgoing calling-number = -1 description = administrative status = up VoIP peer 200 dest-pattern = 2..
  • Page 335 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 router(config)# dial-peer voice 100 voip router(config-dialpeer-voip-100)# destination-pattern 2.. router(config-dialpeer-voip-100)# session target ras router(config-dialpeer-voip-200)# dial-peer voice 300 voip router(config-dialpeer-voip-300)# destination-pattern 3.. router(config-dialpeer-voip-300)# session target ras router(config-dialpeer-voip-300)# exit router(config)# gateway router(config-gateway)# gkip 90.90.90.1 AP2120-C configuration Refer to Router A,B configuration.
  • Page 336 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 Configuration 3 - FXS-to-FXS Connection example using PLAR mode LAN HUB AP2120-B AP2120-A E0.0 E0.0 20.20.20.1 Network 10.10.10.1 PLAR Phone B Dial Peer 200 POTS Fax A Voice PORT 0/0 Dial Peer 100 POTS...
  • Page 337 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 AP2120-B configuration Same as that of configuration 1 AP2120-C configuration Same as that of configuration 1 Call Scenario 1) Phone A and Phone B connection Phone A user picks up the phone.
  • Page 338 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 Configuration 4 - PSTN Access Using FXO connection LAN HUB AP2120-B AP2120-A E0.0 E0.0 20.20.20.1 Network 10.10.10.1 Dial Peer 101 POTS Phone B Voice PORT 1/0 Dial Peer 200 POTS Destination 100...
  • Page 339 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 VoIP Peers : VoIP peer 200 dest-pattern = 2.. session-target = 20.20.20.1 codec = default codecClass = default dtmfRelay = h245-alphanumeric vad = yes translation-outgoing called-number = -1 translation-outgoing calling-number = -1...
  • Page 340 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 Configuration 5 - Linking PBX Users with FXO, FXS LAN HUB AP2120-A AP2120-B E0.0 E0.0 20.20.20.1 Network 10.10.10.1 Dial Peer 200 POTS Dial Peer 100 POTS Voice PORT 0/0 Voice PORT 1/0...
  • Page 341 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 Call Scenario 1) Phone A To Phone B connection Pick up Phone A. Listen dial tone sound of PBX A machine, and then press dial No. 802 in connecting VoIP gateway A.
  • Page 342 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 Configuration 6 - Linking PBX Users with FXO, FXS(1 Stage Call) LAN HUB AP2120-B AP2120-A E0.0 E0.0 20.20.20.1 Network 10.10.10.1 Dial Peer 200 POTS Dial Peer 100 POTS Voice PORT 0/0 Voice PORT 1/0...
  • Page 343 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 Prefix can be added toVoice port configuration ,,0,, router(config-dialpeer-pots-100)# prefix Description) Enter “100200” from Phone B. Router A uses “100” -> Connected to PBX. 2 sec. delay router A dials “0” to PBX 2 sec.
  • Page 344 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 Configuration 7 – Calling under 2 network domain & Translate-outgoing call Gatekeeper A 15.15.15.1 AP2120-B AP2120-A 10.10.10.1 Phone A Phone B Voice Port 0/0 Voice Port 0/0 Destination 100 Destination 200 Network...
  • Page 345 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 router(config-dialpeer-voip-300)# exit router(config)# gateway router(config-gateway)# gkip 15.15.15.1 router(config-gateway)# exit 3) Phone A to Phone D Basically, Configuraiton 2) requires number translation. When making a call from Phone A to Phone D, there is “200” at the local domain. When configuring...
  • Page 346 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 Configuration 8 – FXO Security LAN HUB AP2120-B AP2120-A E0.0 E0.0 20.20.20.1 Network 10.10.10.1 Dial Peer 200 POTS Voice PORT 0/0 Dial Peer 100 POTS Destination 200 Voice PORT 1/0 Destination 100 Phone B E0.0...
  • Page 347 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 prefix = register E.164 = yes administrative status = up VoIP Peers : VoIP peer 200 dest-pattern = 2.. session-target = 20.20.20.1 codec = default codecClass = default dtmfRelay = h245-alphanumeric vad = yes...
  • Page 348 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 dest-pattern = 2.. session-target = 20.20.20.1 codec = default codecClass = default dtmfRelay = h245-alphanumeric vad = yes translation-outgoing called-number = -1 translation-outgoing calling-number = -1 description = administrative status = up VoIP peer 300 dest-pattern = 3..
  • Page 349 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 digit) Enter the PSTN number of user A (“1234567”). (7 digit) Description) With the password “1234”, only 3 digits are allowed. So only the number “9” and “12” are processed. So the call cannot be established.
  • Page 350: Appendix C Ap1100 Call Finishing Cause Code

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 Appendix C AP1100 Call Finishing Cause Code The following table shows description for call finishing cause code and mapping information for Q.931 cause or H.225 cause. The Call Finish Cause Codes can be displayed with call tracing or show call history all.
  • Page 351 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 undefinedReason (H225) H225 destinationRejection NormalUnspecified (Q931: 31) or unspecified reason from remote side RemoteCallDeflection remote side RELCOM receiving cause RELCOM transmission cause facilityCallDeflection (H225) H225 destinationRejection RemoteSecurityDenial remote side RELCOM receiving cause...
  • Page 352 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 LocalPortShutdowned local side shutdown condition on local voice port RELCOM transmission cause H225 unreachableDestination LocalPeerShutdowned local side shutdown condition on local dial peer RELCOM transmission cause H225 unreachableDestination LocalInterdigitTimerExpired local side Local inter-digit timer expired...
  • Page 353 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 For your reference, the following table shows recommendation of ITU-T for H.225 cause and Q.931 cause mapping for H.323. H225 Cause Q931 Cause noBandwidth NoCircuitChannelAvailable (34) gatekeeperResources ResourceUnavailable (47) unreachableDestination NoRouteToDestination (3)
  • Page 354: Appendix D Cable Specifications

    VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 Appendix D Cable Specifications This Appendix provides information about the Pinout specifications of the following cables used with the VoiceFinder 2120 Gateway. Console Port Signal and Pinout(RJ-45 to DB9) Ethernet Cable Assemble(RJ-45 to RJ-45) Pinout Async.
  • Page 355 VoiceFinder AP2120 VoIP Gateway User’s Guide Version 1.00 [Ethernet Cable Assemble(RJ-45 to RJ-45) Pinout] In order to connect the Gateway with other equipments (i.e. HUB), the RJ-45 to RJ-45 Ethernet Cable is used. The RJ-45 Connector Pin sequence is provided in Diagram C-1 and the transferred signal and Pinout specifications are enlisted in Table C-2 “Serial Ethernet Cable Signal and Pinout”.

Table of Contents