148
for configuration management of MAX systems through a serial connection Version 1.01 MAX 8/16 Command Reference Guide MAX Family of VoIP Telephony Devices TM for the

Command Reference - net2phone

  • Upload
    others

  • View
    29

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Command Reference - net2phone

for

MAX 8/16

Command ReferenceGuide

of V

for the

MAX Family

oIP Telephony Devices

TM

configuration management ofMAX systems through a

serial connection

Version 1.01

Page 2: Command Reference - net2phone

ii

The specifications and information regarding the products in this manual are subject to change without notice.All statements, information, and recommendations in this manual are believed to be accurate but arepresented without warranty of any kind, express or implied. Users must take full responsibility for theirapplication of any products.

The software license and limited warranty for the accompanying product are set forth in the information packetthat shipped with the product and are incorporated herein by this reference. If you are unable to locate thesoftware license or limited warranty, contact your Net2Phone representative for a copy.

The following information is for FCC compliance of Class A devices: This equipment has been tested andfound to comply with the limits for a Class A digital device, pursuant to part 15 of the FCC rules. These limitsare designed to provide reasonable protection against harmful interference when the equipment is operated ina commercial environment. This equipment generates, uses, and can radiate radio-frequency energy and, ifnot installed and used in accordance with the instruction manual, may cause harmful interference to radiocommunications. Operation of this equipment in a residential area is likely to cause harmful interference, inwhich case users will be required to correct the interference at their own expense.

The following information is for FCC compliance of Class B devices: The equipment described in this manualgenerates and may radiate radio-frequency energy. If it is not installed in accordance with Net2Phone'sinstallation instructions, it may cause interference with radio and television reception. This equipment has beentested and found to comply with the limits for a Class B digital device in accordance with the specifications inpart 15 of the FCC rules. These specifications are designed to provide reasonable protection against suchinterference in a residential installation. However, there is no guarantee that interference will not occur in aparticular installation.

Modifying the equipment without Net2Phone's written authorization may result in the equipment no longercomplying with FCC requirements for Class A or Class B digital devices. In that event, your right to use theequipment may be limited by FCC regulations, and you may be required to correct any interference to radio ortelevision communications at your own expense.

You can determine whether your equipment is causing interference by turning it off. If the interference stops, itwas probably caused by the Net2Phone equipment or one of its peripheral devices. If the equipment causesinterference to radio or television reception, try to correct the interference by using one or more of the followingmeasures:

· Turn the television or radio antenna until the interference stops.· Move the equipment to one side or the other of the television or radio.· Move the equipment farther away from the television or radio.· Plug the equipment into an outlet that is on a different circuit from the television or radio. (That is, make

certain the equipment and the television or radio are on circuits controlled by different circuit breakers orfuses.)

Modifications to this product not authorized by Net2Phone could void the FCC approval and negate yourauthority to operate the product.

Notwithstanding any other warranty herein, all document files and software of these suppliers are provided "asis" with all faults. Net2Phone and the above-named suppliers disclaim all warranties, expressed or implied,including, without limitation, those of merchantability, fitness for a particular purpose and non-infringement orarising from a course of dealing, usage, or trade practice.

In no event shall Net2Phone or its suppliers be liable for any indirect, special, consequential, or incidentaldamages, including, without limitation, lost profits or loss or damage to data arising out of the use or inability touse this manual, even if Net2Phone or its suppliers have been advised of the possibility of such damages.

Net2Phone, MAX, MAX 8, MAX 8/16, MAX E1/T1, net2phone, and the Net2Phone logo are registeredtrademarks of Net2Phone, Inc. in the US and certain other countries. All other trademarks mentioned in thisdocument are the property of their respective owners.

Command Reference Guide for the MAX Family of VoIP Telephony Devices

Rev. 1.01 July 2001

Copyright © 2001, Net2Phone, Inc. All Rights Reserved

The use, disclosure, modification, transfer, or transmittal of this work for any purpose, in any form, or by anymeans, without the written permission of Net2Phone, is strictly forbidden.

Printed in Korea

Page 3: Command Reference - net2phone

iii

Table of Contents

INTRODUCTION.......................................................................................................................................... 1Conventions Used in this Guide .......................................................................................................... 1About Console Commands ................................................................................................................. 1Basic Command Line Navigation ........................................................................................................ 1

1. BASIC COMMANDS................................................................................................................................ 31.1 Dir (or LS) ................................................................................................................................. 41.2 CD............................................................................................................................................. 51.3 Help........................................................................................................................................... 6

2. SYSTEM COMMANDS............................................................................................................................ 72.1 Reset......................................................................................................................................... 82.2 Date [yyyy-mm-dd] .................................................................................................................... 92.3 Time [hh:mm:ss]..................................................................................................................... 102.4 Password <login name>.......................................................................................................... 112.5 Sysname [system name]......................................................................................................... 122.6 Versioninfo .............................................................................................................................. 132.7 Slotinfo .................................................................................................................................... 14

3. CONFIGURATION MANAGEMENT COMMANDS................................................................................ 163.1 Default..................................................................................................................................... 173.2 Load........................................................................................................................................ 193.3 Save........................................................................................................................................ 20

4. SYSTEM CONFIGURATION COMMANDS........................................................................................... 214.1 Show....................................................................................................................................... 224.2 Change [parameter][value]...................................................................................................... 23

5. IP CONFIGURATION COMMANDS ...................................................................................................... 245.1 Show....................................................................................................................................... 255.2 Change ................................................................................................................................... 26

6. ROUTING TABLE CONFIGURATION COMMANDS............................................................................. 326.1 Show....................................................................................................................................... 336.2 Add.......................................................................................................................................... 346.3 Del........................................................................................................................................... 36

7. NET2PHONE (N2P) PROTOCOL CONFIGURATION COMMANDS .................................................... 387.1 Show....................................................................................................................................... 397.2 Change ................................................................................................................................... 40

8. ADDRESS CONFIGURATION COMMANDS ........................................................................................ 428.1 Show....................................................................................................................................... 438.2 Myaddr .................................................................................................................................... 448.3 Peeraddr (not applicable to Net2Phone MAX 8) .................................................................... 468.4 Gport ....................................................................................................................................... 49

9. DSP CONFIGURATION COMMANDS .................................................................................................. 509.1 Show....................................................................................................................................... 519.2 Change ................................................................................................................................... 52

10. FXS CONFIGURATION COMMANDS ................................................................................................ 5510.1 Show....................................................................................................................................... 5610.2 Change ................................................................................................................................... 57

Page 4: Command Reference - net2phone

iv

11. FXO CONFIGURATION COMMANDS................................................................................................ 5911.1 Show...................................................................................................................................... 6011.2 Change .................................................................................................................................. 61

12. DIGITAL TRUNK CONFIGURATION COMMANDS............................................................................ 6312.1 Show....................................................................................................................................... 6412.2 Change ................................................................................................................................... 65

13. R2 CONFIGURATION COMMANDS.................................................................................................. 6913.1 Show....................................................................................................................................... 7013.2 Change ................................................................................................................................... 71

14. SYSTEM CALL STATISTICS DISPLAY COMMANDS........................................................................ 7514.1 Show....................................................................................................................................... 7614.2 Clear ....................................................................................................................................... 77

15. FXS STATISTICS DISPLAY COMMANDS ........................................................................................ 7815.1 Show....................................................................................................................................... 7915.2 Clear ....................................................................................................................................... 80

16. FXO STATISTICS DISPLAY COMMANDS ........................................................................................ 8116.1 Show....................................................................................................................................... 8216.2 Clear ....................................................................................................................................... 83

17. DIGITAL TRUNK STATISTICS DISPLAY COMMANDS .................................................................... 8417.1 Show....................................................................................................................................... 8517.2 Clear ....................................................................................................................................... 86

18. R2 STATISTICS DISPLAY COMMANDS........................................................................................... 8718.1 Show....................................................................................................................................... 8818.2 Clear ....................................................................................................................................... 89

19. NET2PHONE PROTOCOL TEST COMMANDS ................................................................................. 9019.1 Trace....................................................................................................................................... 9119.2 Ologin...................................................................................................................................... 9219.3 Ologout ................................................................................................................................... 9319.4 Cstate...................................................................................................................................... 9419.5 Ostate ..................................................................................................................................... 95

20. VOICE PROMPT TEST COMMANDS................................................................................................. 9620.1 Record .................................................................................................................................... 9720.2 Play ......................................................................................................................................... 9820.3 Save_NV................................................................................................................................. 9920.4 Read_NV .............................................................................................................................. 100

21. FXS STATUS DISPLAY COMMAND ................................................................................................ 10121.1 Show..................................................................................................................................... 102

22. FXO STATUS DISPLAY COMMANDS............................................................................................. 10322.1 Show..................................................................................................................................... 104

23. DIGITAL TRUNK STATUS DISPLAY COMMANDS......................................................................... 10523.1 Atx......................................................................................................................................... 10623.2 Loopback .............................................................................................................................. 107

24. R2 STATUS DISPLAY COMMANDS ............................................................................................... 10824.1 Show..................................................................................................................................... 10924.2 Block ..................................................................................................................................... 11024.3 Unblock ................................................................................................................................. 111

Page 5: Command Reference - net2phone

v

25. TRACE INFORMATION COMMANDS.............................................................................................. 11225.1 Show..................................................................................................................................... 11325.2 R2 ......................................................................................................................................... 11425.3 Lapd...................................................................................................................................... 115

26. AUTOMATIC SYSTEM DIAGNOSIS COMMAND............................................................................. 11626.1 Automatic .............................................................................................................................. 117

27. MPU DIAGNOSTIC COMMANDS..................................................................................................... 11827.1 Nvram ................................................................................................................................... 11927.2 RTC....................................................................................................................................... 12027.3 Pcm_as ................................................................................................................................. 121

28. AVU DIAGNOSTIC COMMANDS..................................................................................................... 12228.1 Lxf_as ................................................................................................................................... 12328.2 Lxs_lb.................................................................................................................................... 12428.3 Dsp_as.................................................................................................................................. 12528.4 Dsp_act................................................................................................................................. 12628.5 Dsp_lb................................................................................................................................... 127

29. DVU DIAGNOSTIC COMMANDS .................................................................................................... 12829.1 Trunk_as ............................................................................................................................... 12929.2 Trunk_lb ................................................................................................................................ 13029.3 Dsp_as.................................................................................................................................. 13129.4 Dsp_act................................................................................................................................. 13229.5 Dsp_lb................................................................................................................................... 133

30. NETWORK UTILITY COMMANDS.................................................................................................... 13430.1 Ping....................................................................................................................................... 13530.2 ARP....................................................................................................................................... 13630.3 Route .................................................................................................................................... 13730.4 Who....................................................................................................................................... 13830.5 QOS ...................................................................................................................................... 139

31. DEFAULT CONFIGURATION VALUES........................................................................................... 140

Page 6: Command Reference - net2phone

1

Introduction

Conventions Used in this GuideIn this Guide, text that will be displayed on your PC screen is set in �Courier� font, and the text youare to type for commands or in response to prompts is set in �Courier Bold� font.

The words �console� and �serial� are used interchangeably.

About Console CommandsThis Guide describes commands that are typed on a PC keyboard while it is connected to theNet2Phone MAX device through a terminal-emulator program, such as HyperTerminal. Section 2.1.2 ofmost MAX User Guides explains how to connect a PC to a MAX unit through the PC�s and Max�s serialports.

Controlling a system by means of typed commands is known as controlling at the �command line.�Commands typed at the command line are not case-sensitive. Upper, lower, and mixed case lettersmay be used.

Basic Command Line NavigationNavigation at the MAX command line is similar to navigation at the DOS command line, except that thebackslash (\) is replaced by a forward slash (/).

When the system is ready to receive a command, it displays a �command line prompt.� The name of thecurrent working directory is always displayed to the right of the command line prompt.

The root directory prompt, e.g. �SYS_NAME:>�, consists of the Max 8�s system name (where�SYS_NAME� represents the name), a colon, and a right wedge.

The explanations that follow will employ the �cd� command to illustrate the use of path statements witha command. The cd command is used to change from the current working directory to a different one.This command is discussed in detail in Section 1.2 in this Guide.

A target directory can be specified as an absolute path starting from a specified location, or as arelative path based on the current directory.

���� An absolute path statement contains the entire path from the root directory, e.g.SYS_NAME:/CONFIG/N2P>, where N2P is the active directory.

���� A relative path includes the path from the current directory or its parent. In a relative pathstatement, a single dot ( . ) takes the place of the path name of the current directory, and adouble dot ( .. ) takes the place of the path name of the parent directory.

Let us assume that your current working folder is SYS_NAME:/CONFIG/>.

• To change from the current working directory to its child, SYS_NAME:/CONFIG/N2P>, youwould type CD ./N2P.

Example:

SYS_NAME:/CONFIG/> CD ./N2PSYS_NAME:/CONFIG/N2P>

Net2Phone MAX Command Reference Guide Introduction

Page 7: Command Reference - net2phone

2

• To go back to SYS_NAME:/CONFIG/>, you would type cd.. .

Example:

SYS_NAME:/CONFIG/N2P> CD..SYS_NAME:/CONFIG/>

• To change from SYS_NAME:/CONFIG/N2P> to its sibling,SYS_NAME:/CONFIG/Show>, you would type CD../Show.

Example:

SYS_NAME:/CONFIG/N2P> CD../ShowSYS_NAME:/CONFIG/Show>

Net2Phone MAX Command Reference Guide Introduction

Page 8: Command Reference - net2phone

3

1. Basic Commands

Command directoryBasic commands can be executed in any directory (i.e., at any prompt).

Command functionBasic commands are used primarily for directory navigation and for command system help.

Available commands

Name Descriptiondir List sub-directories and commands.cd Change directory.help Display command usage.? Display command usage.! Execute previous command.

Net2Phone MAX Command Reference Guide Section 1 � Basic Commands

Page 9: Command Reference - net2phone

4

1.1 Dir (or LS)

Synopsis: This command and �ls� command in the root directory are identical. Both will display theexecutable commands and sub-directories that reside in the current directory.

Sub-directories are often represented in text with a forward slash ( / ) after the last character, todifferentiate them from the executable commands.

[Example]

SYS_NAME:> dirSYstem/ Config/ STatistics/ Test/ Netutil/

The capitalized letters in the directory and command name listing represent the abbreviated form ofthose names. The abbreviated names may be used instead of the full names in issuing commands orspecifying paths.

Net2Phone MAX Command Reference Guide Section 1 � Basic Commands

Page 10: Command Reference - net2phone

5

1.2 CD

This command in the root directory is used to change from the current working directory to a differentdirectory. The target directory can be specified as an absolute path starting from a specified route, or asa relative path based on the current directory.

[Example 1]

SYS_NAME:> cd systemSYS_NAME:/SYSTEM>

[Example 2]

SYS_NAME:/CONFIG/N2P> cd /systemSYS_NAME:/SYSTEM>

From the root directory, you may move to a target directory by typing only the directory name, or justthe first two or three characters of the name.

[Example 3]

SYS_NAME:/> systemSYS_NAME:/SYSTEM>

Net2Phone MAX Command Reference Guide Section 1 � Basic Commands

Page 11: Command Reference - net2phone

6

1.3 Help

Synopsis: This command in the root directory lists and briefly describes the executable commandspresent in the current directory and its subdirectories.

The �help� command can be issued with either absolute or relative path names. The following exampleshows the use of the �help� command at the SYS_NAME:/SYSTEM> prompt. The abbreviation �H� and�?� perform the same function.

[Example]

SYS_NAME:/SYSTEM> help

RESET : Reset system

DATE : Set & display date

TIME : Set & display time

Sysname : Set & display system name

Versioninfo : Display system version information

PASSWORD : Change user password

Net2Phone MAX Command Reference Guide Section 1 � Basic Commands

Page 12: Command Reference - net2phone

7

2. System Commands

Command directorySYS_NAME:/SYSTEM>

Command functionSystem commands are used to control system-related modules.

After a command is executed, the message �Command successfully end.� (sic.) is displayed atthe prompt to confirm that the command was executed successfully.

If a command that can include parameters is issued without specifying any parameters, the currentstatus of the system is reported along with a usage or syntax reminder:

usage: DATE [ new-date( yyyy–mm–dd) ]

Available commands

Name Descriptionreset Reboots system.date Show/change date.time Show/change time.password Change password.sysname Change system name.versioninfo Show system software version.

Net2Phone MAX Command Reference Guide Section 2 � System Commands

Page 13: Command Reference - net2phone

8

2.1 Reset

Synopsis: This command in the /SYSTEM/ directory restarts the system hardware and software forsystem initialization without the need to cycle the power off and on. It must be issued at theSYS_NAME:/SYSTEM> prompt, and has no parameters.

[Example]

SYS_NAME:/SYSTEM> resetCAUTION!!! This command isn't recoverable. Are you sure(y/n)?

After the system resets, the usual boot messages are displayed. The operator must then log in again.Press the <Enter> key, and the Login prompt will appear.

Net2Phone MAX Command Reference Guide Section 2 � System Commands

Page 14: Command Reference - net2phone

9

2.2 Date [yyyy-mm-dd]

Synopsis: This command in the /SYSTEM/ directory is used to verify or change the system date.Issuing the command without any parameter simply displays the current system date.

Issuing the command with the yyyy�mm�dd parameter changes the current system date to the datespecified.

[Example 1] Query the system date.

SYS_NAME:/SYSTEM> date

Current Date is 2000–01–01 SAT

usage: DATE [ new-date( yyyy–mm–dd) ]

[Example 2] Change the system date.

SYS_NAME:/SYSTEM> date 2000-02-18Command successfully end. (sic. – this is the command confirmation)

[Example 3] Confirm the new date.

SYS_NAME:/SYSTEM> dateCurrent Date is 2000-02-18 FRI

usage: date [new-date(yyyy-mm-dd)]

Net2Phone MAX Command Reference Guide Section 2 � System Commands

Page 15: Command Reference - net2phone

10

2.3 Time [hh:mm:ss]

Synopsis: This command in the /SYSTEM/ directory is used to verify or change the system time.Issuing the command without any parameter displays the current time.

Issuing the command with the hour/minute/second parameter changes the current system time to thetime specified.

[Example 1] Query the system time.

SYS_NAME:/SYSTEM> timeCurrent Time is 02:10:22

usage : time [new–time(hh:mm:ss)]

[Example 2] Change the system time.

SYS_NAME:/SYSTEM> time 16:32:30Command successfully end.

[Example 3] Confirm the new time.

SYS_NAME:/SYSTEM> timeCurrent Time is 16:32:35

usage : time [new-time(hh:mm:ss)]

Net2Phone MAX Command Reference Guide Section 2 � System Commands

Page 16: Command Reference - net2phone

11

2.4 Password <login name>

Synopsis: This command in the /SYSTEM/ directory is used to change a user�s password.

The Net2Phone MAX�s authentication system retains information on three �login� (user) names. Thelogin names are fixed but the passwords associated with them can be changed as needed.

Passwords may not exceed eight characters. The default login names and passwords are as follows:

Login name Passwordroot n2psysadm n2pmanager n2p

[Example 1]

SYS_NAME:/SYSTEM> password

Usage: password <login name>

[Example 2] Change the sysadm password.

SYS_NAME:/SYSTEM> password sysadm

Old Password: * * * * * * * *

New Password : * * * * * * * *

Confirm Password : * * * * * * * *Password for user sysadm changed

Net2Phone MAX Command Reference Guide Section 2 � System Commands

Page 17: Command Reference - net2phone

12

2.5 Sysname [system name]

Synopsis: This command in the /SYSTEM/ directory is used to change the system name.

[Example 1]

SYS_NAME:/SYSTEM> sysnameSystem name is SYS_NAME

usage: sysname

[Example 2] Change the system name to �ACME�.

SYS_NAME:/SYSTEM> sysname ACMEConfiguration is not yet saved. You must save the changed configuration.

Command successfully end.

As the prompt states, the new system name is in memory, but has not yet been saved. Proceed asfollows to save the new name:

JANG:/SYSTEM> ../config/saveThis command isn't recoverable. Are you sure(y/n)? y

Configurations in working memory are saved to NV-memory.

JANG:/SYSTEM> sysnameSystem name is JANG

usage: sysname

Net2Phone MAX Command Reference Guide Section 2 � System Commands

Page 18: Command Reference - net2phone

13

2.6 Versioninfo

Synopsis: This command in the /SYSTEM/ directory displays the current version information for thesystem hardware and software.

[Example 1]

SYS_NAME:/SYSTEM> versioninfo

Copyright (c) 2000 by LGE

All Rights Reserved

Welcome to Net2Phone MAX 8

Hardware Version is Pv0E0v0E1v0

Software Version is MAX 8 0.85

Software is linked at Jan 11 2001 18:51:29.

Web program is linked at Jan 9 2001 13:07:55.

Net2Phone MAX Command Reference Guide Section 2 � System Commands

Page 19: Command Reference - net2phone

14

2.7 Slotinfo

Synopsis: This command in the SYS_NAME:/SYSTEM> directory is used to diagnose the operation ofvarious boards installed in the system including AVU and DVU board.

[Example 1]

SYS_NAME:/SYSTEM> slotinfoUSAGE : slotinfo [slot]

==============================================================SYS_NAME Main Board Status ---- Daughter board isn't detected==============================================================SYS_NAME Slot Board Status==============================================================SLOT TYPE STATUS==============================================================1 EMPTY BAD2 AVU (Analog I/F 8 port) GOOD3 EMPTY BAD==============================================================

[Parameter description]

Type Descriptionavu Analog Voice board status.dvu Digital Voice board status.

Status Descriptiongood Normal board operation.bad Board is not installed in the slot, or is abnormal.

Net2Phone MAX Command Reference Guide Section 2 � System Commands

Page 20: Command Reference - net2phone

15

[Example 2] Verification of slot no. 1 installation information

SYS_NAME:/SYSTEM> slotinfo 1

==============================================================SYS_NAME Slot Board Status [1]

==============================================================board type | AVU (Analog I/F 8 port)board status | GOODboard base address | 0x60000000

----------------------------------------------------------------------h/W port number | 1 2 3 4

----------------------------------------------------------------------interface type | FXO FXO FXS FXSlogical port number | 0 1 0 1group port number | --- --- --- ---local port address |peer/remote address |

----------------------------------------------------------------------h/W port number | 5 6 7 8

----------------------------------------------------------------------interface type | EMPTY EMPTY EMPTY EMPTYlogical port number |group port number | --- --- --- ---local port address |peer/remote address |

==============================================================

[Example 3] Verification on slot no. 2 installation information

SYS_NAME:/SYSTEM> slotinfo 2

===============================================================SYS_NAME Slot Board Status [2]

===============================================================board type | DVU (Digital Trunk I/F 1 port)board status | GOODboard base address | 0x64000000

----------------------------------------------------------------------h/W port number | 1 ---

----------------------------------------------------------------------interface type | E1 NIU-FE1logical port number | 0 0group port number | --- ---local port address |peer/remote address |

===============================================================channel type | I=Incoming O=Outgoing B=Bothway

| S=Signaling-CH F=Frame-Sync X=undefined----------------------------------------------------------------------channel number | 1 2 3

| 01234567890123456789012345678901----------------------------------------------------------------------h/w port [1] | FIIIIIIIIIIIIIIISIIIIIIIIIIIIIII

==========================================================

Net2Phone MAX Command Reference Guide Section 2 � System Commands

Page 21: Command Reference - net2phone

16

3. Configuration Management Commands

Command directorySYS_NAME:/CONFIG>

Command functionConfiguration management commands handle the backup processing for the values that are set upthrough the configuration command.

Available commands

Name Descriptiondefault Set all parameters to factory default.load Load all parameters from NVRAM to DRAM.save Save all parameters from DRAM to NVRAM.

Net2Phone MAX Command Reference Guide Section 3 � Configuration Management Control

Page 22: Command Reference - net2phone

17

3.1 Default

Synopsis: This command in the /CONFIG/ directory sets all the system parameters to the factorydefault values.

When the �default� setting command is executed in the SYS_NAME:/CONFIG directory, all Net2PhoneMAX systems restore the default configuration values that were set at the factory.

Caution!• All routing table contents are deleted when the Default command is executed.• All address table contents are deleted when the Default command is executed.• IP configurations are not influenced by the Default command.

[Example]

SYS_NAME:/CONFIG> defaultThis command isn’t recoverable.

Are you sure( y/n )? y

==============================================================System Configurations==============================================================pcm_coding_law (pcm) : A-LAWnv-memory save mode (save) : MANUALyes/no prompt mode (prompt) : ENABLE(ON)watchdog timer (wdt) : ENABLE(ON)

==============================================================

==============================================================N2P Operation Mode : Incoming/Outgoing==============================================================---- -------------------- -------------------- -----Port Account Pin Login---- -------------------- -------------------- -----

1 N2 N3 N4 N5 N6 N7 N8 N

---- -------------------- -------------------- -----

(continues on next page)

Net2Phone MAX Command Reference Guide Section 3 � Configuration Management Control

Page 23: Command Reference - net2phone

18

(Example, continued)

==============================================================N2P Configuration==============================================================------------------------------------------System Name : ITGS 1CAPA_FLAG : TXSFCodec Type : 51VPort Start : 21000Client Name : net2foneDoorman 1 IP : 169.132.184.211Doorman 1 Port : 6801Doorman 2 IP : 216.53.10.1Doorman 2 Port : 6801TCP Start Port : 4000JB Upper : 4JB Lower : 1------------------------------------------

==============================================================FXS Configurations==============================================================ring cadence on time (ron) : 1 secring cadence off time (roff) : 2 secring frequency (rfreq) : 20 Hzpolarity reversal (pola) : DISABLE(OFF)Voice Output Gain (vgain) : -3 dbmPCM Input Gain (igain) : -3 dbmoff hook guard time (t1) : 200 mson hook guard time (t2) : 300 mshook flash guard time (t3) : 0 mswait first DTMF timer (t4) : 15 secwait second DTMF timer (t5) : 12 secwait on-hook timer (t6) : 30 secwait connect from net (t7) : 120 sec

==============================================================

==============================================================DSP(Voice Compression) Configurations==============================================================Call progress tone country (cptc) : KOREAVoice codec type (codec) : G.723(LOW-BW/5.3kbps)Silence compression (sc) : DISABLE(OFF)Echo Cancellation (ec) : ENABLE(ON)Post Filter (pf) : ENABLE(ON)High Pass Filter (hpf) : ENABLE(ON)DTMF Output Gain (dgain) : -5 dbmCall Progress Tone Attenuation (cgain) : 0 dbmJitter Buffer Minimum Delay (jbmd) : 40 msJitter Buffer Option Factor (jbof) : 7DTMF Detection Threshold Time (ddt) : 30 ms

==============================================================

Net2Phone MAX Command Reference Guide Section 3 � Configuration Management Control

Page 24: Command Reference - net2phone

19

3.2 Load

Synopsis: This command in the /CONFIG/ directory downloads all the parameters from the NV(non-volatile)-memory of the system.

[Example]

SYS_NAME:/CONFIG> loadThis command isn’t recoverable. Are you sure( y/n )?

Configuration in NV-memory is loaded to working memory.

* SAVE mode should be set to MANUAL mode. See the �Show� command, Section 4.1.

Net2Phone MAX Command Reference Guide Section 3 � Configuration Management Control

Page 25: Command Reference - net2phone

20

3.3 Save

Synopsis: This command in the /CONFIG/ directory saves all the current parameter values set in thesystem to the NV-memory.

[Example]

SYS_NAME:/CONFIG> save

This command isn’t recoverable.

Are you sure( y/n )? yConfiguration in working memory is saved to NV-memory.

Net2Phone MAX Command Reference Guide Section 3 � Configuration Management Control

Page 26: Command Reference - net2phone

21

4. System Configuration Commands

Command directorySYS_NAME:CONFIG/COMMON>

Command functionThese commands deal with the configuration information management of the system. It sets PCMcoding mode, NV-memory save method, use of prompt, and clock source.

Available commands

Name Descriptionshow Show basic system parameters.change Change basic system parameters.

Net2Phone MAX Command Reference Guide Section 4 � System Configuration Commands

Page 27: Command Reference - net2phone

22

4.1 Show

Synopsis: This command in the /CONFIG/COMMON/ displays the status of• PCM coding mode,• save mode,• prompt mode, and• clock source.

[Example]

SYS_NAME:/CONFIG/COMMON> show

=====================================================

System Configurations

=====================================================

pcm_coding_law (pcm) : A-LAW

nv-memory save mode (save) : MANUAL

yes/no prompt mode (prompt) : ENABLE(ON)

watchdog timer (wdt) : ENABLE(ON)

=====================================================

Net2Phone MAX Command Reference Guide Section 4 � System Configuration Commands

Page 28: Command Reference - net2phone

23

4.2 Change [parameter][value]

Synopsis: This command in the /CONFIG/COMMON/ directory sets• PCM coding mode,• NV-memory save mode,• prompt mode, and• and clock source.

[Example 1]

SYS_NAME:/CONFIG/COMMON> change

=====================================================

Change Configuration Command Usage

=====================================================

change <parameter> <value>

=====================================================

parameter ; pcm - pcm coding law

; save - nv-memory save mode

; prompt - yes/no prompt mode

; wdt - watch-dog timer & reset

value ; pcm - alaw|ulaw

; save - manual|auto

; prompt - on|off

; wdt - enable|disable

=====================================================

[Parameter description]

Parameter Descriptionpcm Set PCM Coding type to �A-law/µ-law coding.�save Set NV-memory Save mode of the changed parameter value.prompt For executing some commands, set whether or not to use the prompt.

[Example 2] Set up the pcm coding type with �alaw� (reserved for future use).

SYS_NAME:/CONFIG/COMMON> change pcm alawConfiguration is not saved. You must save the changed configuration.

Command successfully end.

You Must RESET to apply modified value(s)to system.

Net2Phone MAX Command Reference Guide Section 4 � System Configuration Commands

Page 29: Command Reference - net2phone

24

5. IP Configuration Commands

Command directorySYS_NAME:/CONFIG/IP>

Command functionCommand functions are used to display and/or change the IP address, sub-net mask, baud-rate, andother LAN parameters.

Available commands

Name Descriptionshow Show IP parameters.change Change IP parameters.

Net2Phone MAX Command Reference Guide Section 5 � IP Configuration Commands

Page 30: Command Reference - net2phone

25

5.1 Show

Synopsis: This command in the /CONFIG/IP/ directory displays the current LAN and terminalcommunications parameters.

[Example]

SYS_NAME:/CONFIG/IP> show

-------- LAN Parameters --------------------------

LAN IP - 165.243.134.245

LAN Subnet Mask - 255.255.255.0

Default G/W IP - 165.243.134.254

LAN Ether Addr - 00:40:5A:34:76:44

-------- Console Parameters ----------------------

Console BaudRate- 19200 BPS

-------- DNS Parameters --------------------------

1st DNS SERVER IP - 0.0.0.0

2nd DNS SERVER IP - 0.0.0.0

Domain Name -

--------------------------------------------------

Net2Phone MAX Command Reference Guide Section 5 � IP Configuration Commands

Page 31: Command Reference - net2phone

26

5.2 Change

Synopsis: This command in the /CONFIG/IP/ directory displays the current LAN and terminalcommunications parameters and permits their modification from an interactive menu.

Note: To enable or disable DHCP from HyperTerminal, refer to Entering Static IP Addresses viaHyperTerminal in the MAX User Guides.

[Example 1] Display the menu.

SYS_NAME:/CONFIG/IP> change

-------- LAN Parameters --------------------------

LAN IP - 165.243.134.245

LAN Subnet Mask - 255.255.255.0

Default G/W IP - 0.0.0.0

LAN Ether Addr - 00:40:5A:34:76:44

-------- Console Parameters ----------------------

Console BaudRate- 19200 BPS

-------- DNS Parameters --------------------------

1st DNS SERVER IP - 0.0.0.0

2nd DNS SERVER IP - 0.0.0.0

Domain Name -

--------------------------------------------------

1. Change IP Address.

2. Change IP Netmask.

3. Change Def. G/W IP.

4. Change Console Baudrate.

5. Change 1st DNS Server IP.

6. Change 2nd DNS Server IP.

7. Change DNS Domain Name.

0. Exit Menu.

What do you want to change (0-4) ? :

Net2Phone MAX Command Reference Guide Section 5 � IP Configuration Commands

Page 32: Command Reference - net2phone

27

[Example 2] Enter or change IP address.

SYS_NAME:/CONFIG/IP> change

-------- LAN Parameters --------------------------

LAN IP - 165.243.134.245

LAN Subnet Mask - 255.255.255.0Default G/W IP - 0.0.0.0

LAN Ether Addr - 00:40:5A:34:76:44

-------- Console Parameters ----------------------Console BaudRate- 19200 BPS

-------- DNS Parameters --------------------------1st DNS SERVER IP - 0.0.0.0

2nd DNS SERVER IP - 0.0.0.0

Domain Name ---------------------------------------------------

1. Change IP Address.2. Change IP Netmask.

3. Change Def. G/W IP.

4. Change Console Baudrate.5. Change 1st DNS Server IP.

6. Change 2nd DNS Server IP.

7. Change DNS Domain Name.0. Exit Menu.

What do you want to change (0-4) ? : 1

Enter IP Address : 165.243.134.245

-------- LAN Parameters --------------------------LAN IP - 165.243.134.245

LAN Subnet Mask - 255.255.255.0

Default G/W IP - 0.0.0.0LAN Ether Addr - 00:40:5A:34:76:44

-------- Console Parameters ----------------------

Console BaudRate- 19200 BPS-------- DNS Parameters --------------------------

1st DNS SERVER IP - 0.0.0.0

2nd DNS SERVER IP - 0.0.0.0Domain Name -

--------------------------------------------------

(continues on next page)

Net2Phone MAX Command Reference Guide Section 5 � IP Configuration Commands

Page 33: Command Reference - net2phone

28

(Example 2, continued)

1. Change IP Address.

2. Change IP Netmask.

3. Change Def. G/W IP.

4. Change Console Baudrate.

5. Change 1st DNS Server IP.

6. Change 2nd DNS Server IP.

7. Change DNS Domain Name.

0. Exit Menu.

What do you want to change (0-4) ? : 0

You Must RESET to apply modified value(s) to system.

SYS_NAME:/CONFIG/IP> ../system/reset

[Example 3] Enter or change IP netmask.

SYS_NAME:/CONFIG/IP> change

-------- LAN Parameters --------------------------

LAN IP - 165.243.134.245

LAN Subnet Mask - 255.255.255.0

Default G/W IP - 0.0.0.0

LAN Ether Addr - 00:40:5A:34:76:44

-------- Console Parameters ----------------------

Console BaudRate- 19200 BPS

-------- DNS Parameters --------------------------

1st DNS SERVER IP - 0.0.0.0

2nd DNS SERVER IP - 0.0.0.0

Domain Name -

--------------------------------------------------

(continues on next page)

Net2Phone MAX Command Reference Guide Section 5 � IP Configuration Commands

Page 34: Command Reference - net2phone

29

(Example 3, continued)

1. Change IP Address.

2. Change IP Netmask.

3. Change Def. G/W IP.

4. Change Console Baudrate.

5. Change 1st DNS Server IP.

6. Change 2nd DNS Server IP.

7. Change DNS Domain Name.

0. Exit Menu.

What do you want to change (0-4) ? : 2

Enter IP Netmask : 255.255.255.0

-------- LAN Parameters --------------------------

LAN IP - 165.243.134.245

LAN Subnet Mask - 255.255.255.0

Default G/W IP - 0.0.0.0

LAN Ether Addr - 00:40:5A:34:76:44

-------- Console Parameters ----------------------

Console BaudRate- 19200 BPS

-------- DNS Parameters --------------------------

1st DNS SERVER IP - 0.0.0.0

2nd DNS SERVER IP - 0.0.0.0

Domain Name -

--------------------------------------------------

1. Change IP Address.

2. Change IP Netmask.

3. Change Def. G/W IP.

4. Change Console Baudrate.

5. Change 1st DNS Server IP.

6. Change 2nd DNS Server IP.

7. Change DNS Domain Name.

0. Exit Menu.

What do you want to change (0-4) ? : 0

You Must RESET to apply modified value(s) to system.

SYS_NAME:/CONFIG/IP> ../system/reset

Net2Phone MAX Command Reference Guide Section 5 � IP Configuration Commands

Page 35: Command Reference - net2phone

30

[Example: 4] Enter or change gateway address.

SYS_NAME:/CONFIG/IP> change

-------- LAN Parameters --------------------------

LAN IP - 165.243.134.245

LAN Subnet Mask - 255.255.255.0

Default G/W IP - 0.0.0.0

LAN Ether Addr - 00:40:5A:34:76:44

-------- Console Parameters ----------------------

Console BaudRate- 19200 BPS

-------- DNS Parameters --------------------------

1st DNS SERVER IP - 0.0.0.0

2nd DNS SERVER IP - 0.0.0.0

Domain Name -

--------------------------------------------------

1. Change IP Address.

2. Change IP Netmask.

3. Change Def. G/W IP.

4. Change Console Baudrate.

5. Change 1st DNS Server IP.

6. Change 2nd DNS Server IP.

7. Change DNS Domain Name.

0. Exit Menu.

What do you want to change (0-4) ? : 3

Enter Def. G/W IP : 165.243.134.254-------- LAN Parameters --------------------------

LAN IP - 165.243.134.245

LAN Subnet Mask - 255.255.255.0

Default G/W IP - 165.243.134.254

LAN Ether Addr - 00:40:5A:34:76:44

-------- Console Parameters ----------------------

Console BaudRate- 19200 BPS

-------- DNS Parameters --------------------------

1st DNS SERVER IP - 0.0.0.0

2nd DNS SERVER IP - 0.0.0.0

Domain Name -

--------------------------------------------------

(continues on next page)

Net2Phone MAX Command Reference Guide Section 5 � IP Configuration Commands

Page 36: Command Reference - net2phone

31

(Example 4, continued)

1. Change IP Address.

2. Change IP Netmask.

3. Change Def. G/W IP.

4. Change Console Baudrate.

5. Change 1st DNS Server IP.

6. Change 2nd DNS Server IP.

7. Change DNS Domain Name.

0. Exit Menu.

What do you want to change (0-4) ? : 0

You Must RESET to apply modified value(s) to system.

SYS_NAME:/CONFIG/IP> ../system/reset

Net2Phone MAX Command Reference Guide Section 5 � IP Configuration Commands

Page 37: Command Reference - net2phone

32

6. Routing Table Configuration Commands

Command directorySYS_NAME:/CONFIG/ROUTE>

Command functionThese commands manage the routing table which is used in call routing.

Available commands

Name Descriptionshow Show prefix table.add Add numbers to route table.del Delete numbers registered in prefix table.

Net2Phone MAX Command Reference Guide Section 6 � Routing Table Configuration Commands

Page 38: Command Reference - net2phone

33

6.1 Show

Synopsis: This command in the /CONFIG/ROUTE/ directory displays the prefix table.

[Example]

SYS_NAME:/CONFIG/ROUTE> show

==================================================================

PREFIX TABLE

==================================================================

INTF PORT NUMBERS TRNC PRE-NUM POST-NUM EXTRA_INFO

===================================================================

FXS 0 1000 0 0x00000000

FXS 1 1001 0 0x00000000

FXS 2 1002 0 0x00000000

FXS 3 1003 0 0x00000000

FXS 4 1004 0 0x00000000

FXS 5 1005 0 0x00000000

FXS 6 1006 0 0x00000000

FXS 7 1007 0 0x00000000

VOIP 0 ~ 0 0x00000000

VOIP 0 ***~ 0 0x00000000

====================================================================

Net2Phone MAX Command Reference Guide Section 6 � Routing Table Configuration Commands

Page 39: Command Reference - net2phone

34

6.2 Add

Synopsis: This command in the /CONFIG/ROUTE/ directory adds the numbers required for callrouting to the routing table.

[Example 1]

SYS_NAME:/CONFIG/ROUTE> add

===========================================================

ADD Command Usage

===========================================================

add intf <port> nums [<trnc>] [pre] [post] <extra>

===========================================================

intf ; interface name (fxs, fxo, em, cas, ccs, net)

port ; port number of interface (0 ~ )

nums ; prefix numbers ('0' ~ '9','*','#',NULL)

trnc ; the number of truncation (0 ~ 31)

pre ; pre-attached numbers ('0' ~ '9','*','#',NULL)

post ; post-attached numbers ('0' ~ '9','*','#',NULL)

extra ; extra-information (hexa-decimal)

===========================================================

[Parameter description]

Parameter Descriptionintf Select local trunk I/F type (fxs, fxo, em, cas, ccs, net).port Set up logical port number for each interface (0 ~ ).nums Set up prefix number (�0� ~ �9�, �*�, �#�, NULL ).trnc Set up truncation number (0 ~ 31).pre Set up pre-attached number (�0� ~ �9�, �*�, �#�, NULL).post Set up post-attached number (�0� ~ �9�, �*�, �#�, NULL).extra Used for IP rotation (hexa, decimal).

Note: References to �FXO� are not applicable to the MAX 8.

Net2Phone MAX Command Reference Guide Section 6 � Routing Table Configuration Commands

Page 40: Command Reference - net2phone

35

[Example 2] Assume that port interface is �fxs�, the telephone number is �1001�, and there is notruncation, pre-num, or post-num.

SYS_NAME:/CONFIG/ROUTE> show

====================================================================PREFIX TABLE

====================================================================

INTF PORT NUMBERS TRNC PRE-NUM POST-NUM EXTRA_INFO

====================================================================

FXS 0 1000 0 0x00000000

VOIP 0 ~ 0 0x00000000

VOIP 0 ***~ 0 0x00000000

====================================================================

SYS_NAME:/CONFIG/ROUTE> add fxs 1 1001 0 null nullPrefix Table Add success

SYS_NAME:/CONFIG/ROUTE> show

=============================================================PREFIX TABLE

=============================================================

INTF PORT NUMBERS TRNC PRE-NUM POST-NUM EXTRA_INFO

==============================================================

FXS 0 1000 0 0x00000000

FXS 1 1001 0 0x00000000

VOIP 0 ~ 0 0x00000000

VOIP 0 ***~ 0 0x00000000

==============================================================

Net2Phone MAX Command Reference Guide Section 6 � Routing Table Configuration Commands

Page 41: Command Reference - net2phone

36

6.3 Del

Synopsis: This command in the /CONFIG/ROUTE/ folder deletes registered numbers in the prefixtable.

[Example 1]

SYS_NAME:/CONFIG/ROUTE> del

===============================================================

DEL Command Usage

===============================================================

del all | [intf <port> nums]

===============================================================

intf ; interface name (fxs, fxo, em, cas, ccs, net, voip, vofr)

port ; port number of interface (0 ~ )

nums ; prefix numbers ('0' ~ '9','*','#',NULL)

===============================================================

[Parameter description]

Parameter Descriptionintf Select local trunk I/F type. (fxs, fxo, em, cas, ccs, net).

port Set up logical port number for each interface. (0 ~ ).nums Sets up prefix number. (�0� ~ �9�, �*�, �#�, NULL).

NOTE: References to �FXO� are not applicable to the MAX 8.

Net2Phone MAX Command Reference Guide Section 6 � Routing Table Configuration Commands

Page 42: Command Reference - net2phone

37

[Example 2] Delete the number �1001� from the prefixes registered in the routing table.

SYS_NAME:/CONFIG/ROUTE> show

==============================================================

PREFIX TABLE

==============================================================

INTF PORT NUMBERS TRNC PRE-NUM POST-NUM EXTRA_INFO

==============================================================

FXS 0 1000 0 0x00000000

FXS 1 1001 0 0x00000000

VOIP 0 ~ 0 0x00000000

VOIP 0 ***~ 0 0x00000000

==============================================================

SYS_NAME:/CONFIG/ROUTE> del fxs 1 1001 0Prefix Table Delete success

SYS_NAME:/CONFIG/ROUTE> show

==============================================================

PREFIX TABLE

==============================================================

INTF PORT NUMBERS TRNC PRE-NUM POST-NUM EXTRA_INFO

==============================================================

FXS 0 1000 0 0x00000000

VOIP 0 ~ 0 0x00000000

VOIP 0 ***~ 0 0x00000000

===================================================================

Net2Phone MAX Command Reference Guide Section 6 � Routing Table Configuration Commands

Page 43: Command Reference - net2phone

38

7. Net2Phone (N2P) Protocol Configuration Commands

Command directorySYS_NAME:/CONFIG/N2P>

Command functionCommands in this directory are used to configure Net2Phone protocol parameters.

Available commands

Name Descriptionshow Show N2P configuration.change Change N2P configuration.default Change N2P configuration to factory default.

Net2Phone MAX Command Reference Guide Section 7 � Protocol Configuration Commands

Page 44: Command Reference - net2phone

39

7.1 Show

Synopsis: This command in the /CONFIG/N2P/ folder displays the current N2P configurations on theterminal.

Available information: operation mode, doorman server IP, account information, jitter buffer, etc.

[Example 1]

SYS_NAME:/CONFIG/N2P> show

N2P Operation Mode : Incoming/Outgoing

---- ------------------ -------------------- -----

Port Account Pin Login

---- ------------------ -------------------- -----

1 201530469351 11051 N

2 201530469352 11052 N

3 N

4 N

5 14102466047 1000 Y

6 N

7 N

8 N

---- ------------------ -------------------- -----

N2P Configuration

------------------------------------------

System Name : SYS_NAME

CAPA_FLAG : TXSF

Codec Type : 51

VPort Start : 21000

Client Name : net2fone

Doorman 1 IP : call1.net2phone.com

Doorman 1 Port : 6801

Doorman 2 IP : call2.net2phone.com

Doorman 2 Port : 6801

TCP Start Port : 4000

JB Upper : 4

JB Lower : 1

Net2Phone MAX Command Reference Guide Section 7 � Protocol Configuration Commands

Page 45: Command Reference - net2phone

40

7.2 Change

Synopsis: This command in the /CONFIG/N2P/ folder is used to change current N2P configurationparameters.

Syntax: change <config_item> < parameter_1> < parameter_2><parameter_3> etc. …

Config item Command format & parameter descriptionport Format : change port port_number account pin login

port_number : <1~|all>account : account stringpin : PIN stringlogin : 0 if login is not needed, 1 if login is neededRegisters/changes account number and PIN for each physical voice port.

capa Format : change capa capa_stringcapa_string : string from SFTX9Changes protocol capability.

codec Format : change codec codec_number codec_number : 21 [or] 31 [or] 41 [or] 51

21 :(3fSX)31 :(6fSX)41 :(2fG.723)51 :(3fG.723)

Changes codec used by the system.vport Format : change vport vport_start

vport start : starting voice UDP port numberChanges initial UDP port number used by voice packets.

tport Format : change tport tcp_port_starttcp_port_start : starting control TCP port numberChanges initial TCP port number used by control messages.

client Format : change client name_stringname_string : client nameChanges the client name.

dm1 Format : change dm1 ip portip : IP address in string form (host_name.domain_name)port : port numberChanges First Doorman server IP address (string form) & UDP port number.

dm2 Format : change dm2 ip portip : IP address in string form (host_name.domain_name)port : port numberChanges Second Doorman server IP address (string form) & UDP portnumber.

ub Format : change ub ub_valueub_value : upper bound value

Changes the jitter buffer upper bound.lb Format : change lb lb_value

lb_value : lower bound valueChanges the jitter buffer lower bound.

Net2Phone MAX Command Reference Guide Section 7 � Protocol Configuration Commands

Page 46: Command Reference - net2phone

41

[Example]

SYS_NAME:/CONFIG/N2P> change

change port port_number account pin login

port_number : <1~|all>

account : account string

pin : pin string

login : 0 for login not needed, 1 for login needed

change capa capa_string

capa_string : string from SFTX9

change codec codec_number

codec_number : one of 21(3fSX),

31(6fSX),

41(2fG.723),

51(3fG.723)

change vport vport_start

vport start : starting voice UDP port number

change tport tcp_port_start

tcp_port_start : starting control TCP port number

change client name_string

name_string : client name

change dm1 ip port

ip : ip address using dotted notation

port : port number

change dm2 ip port

ip : ip address using dotted notation

port : port number

change ub ub_value

ub_value : upper bound value

change lb lb_value

lb_value : lower bound value

Net2Phone MAX Command Reference Guide Section 7 � Protocol Configuration Commands

Page 47: Command Reference - net2phone

42

8. Address Configuration Commands

Command directorySYS_NAME/CONFIG/ADDRESS>

Command functionAddress configuration commands are used to manage the logical addresses allocated to each analogvoice interface port.

Available commands

Name Descriptionshow Show registered addresses.myaddr Register local addresses.peeraddr Register peer addresses.gport Group and assign multiple ports as a single address.

Net2Phone MAX Command Reference Guide Section 8 � Address Configuration Commands

Page 48: Command Reference - net2phone

43

8.1 Show

Synopsis: This command in the /CONFIG/ADDRESS/ directory displays registered port addresses.

[Example]

SYS_NAME:/CONFIG/ADDRESS> show

==============================================================

Address TABLE==============================================================

INTF PORT LOCAL-ADDR PEER-ADDR GROUP-PORT

==============================================================

FXS 0

FXS 1

FXS 2

FXS 3

FXS 4

FXS 5

FXS 6

FXS 7

VOIP 0

==============================================================

Net2Phone MAX Command Reference Guide Section 8 � Address Configuration Commands

Page 49: Command Reference - net2phone

44

8.2 Myaddr

Synopsis: This command in the /CONFIG/ADDRESS/ directory registers local addresses, which areused as calling party addresses in tracking calls.

[Example 1]

SYS_NAME:/CONFIG/ADDRESS> myaddr

===============================================================

MYADDR Command Usage

===============================================================

myaddr intf <port> nums

===============================================================

intf ; local interface name (fxs)

port ; port number of interface (0 ~ )

nums ; my address ('0' ~ '9',NULL)

===============================================================

[Parameter description]

Parameter Descriptionintf Select local trunk I/F type (fxs, fxo, em, cas, ccs, net).port Set up logical port number for each interface (0 ~ ).nums Set up prefix number (�0� ~ �9�, �*�, �#�, NULL).

[Example 2] Enter a local address �1000� in FXS logical port 0.

SYS_NAME:/CONFIG/ADDRESS> show

==============================================================

Address TABLE

==============================================================

INTF PORT LOCAL-ADDR PEER-ADDR GROUP-PORT

==============================================================

FXS 0

FXS 1

==============================================================

SYS_NAME:/CONFIG/ADDRESS> myaddr fxs 0 1000Configuration is not saved. You must save the changed configurations.Command successfully end.

SYS_NAME:/CONFIG/ADDRESS> ../saveThis command isn't recoverable. Are you sure(y/n)? yConfigurations in working memory are saved to NV-memory.

(Continued on next page)

Net2Phone MAX Command Reference Guide Section 8 � Address Configuration Commands

Page 50: Command Reference - net2phone

45

(Example 2, continued)

SYS_NAME:/CONFIG/ADDRESS> show

==============================================================

Address TABLE

==============================================================

INTF PORT LOCAL-ADDR PEER-ADDR GROUP-PORT

==============================================================

FXS 0 1000

FXS 1

==============================================================

[Example 3] Delete the local address �1000� from FXS logical port 0.

SYS_NAME:/CONFIG/ADDRESS> show

==============================================================

Address TABLE

==============================================================

INTF PORT LOCAL-ADDR PEER-ADDR GROUP-PORT

==============================================================

FXS 0 1000

FXS 1

==============================================================

SYS_NAME:/CONFIG/ADDRESS> myaddr fxs 0 nullConfiguration is not saved. You must save the changed configurations.

Command successfully end.

SYS_NAME:/CONFIG/ADDRESS> ../save

This command isn't recoverable. Are you sure (y/n)? yConfigurations in working memory are saved to NV-memory.

SYS_NAME:/CONFIG/ADDRESS> show

==============================================================

Address TABLE

==============================================================

INTF PORT LOCAL-ADDR PEER-ADDR GROUP-PORT

==============================================================

FXS 0

FXS 1

==============================================================

Net2Phone MAX Command Reference Guide Section 8 � Address Configuration Commands

Page 51: Command Reference - net2phone

46

8.3 Peeraddr (not applicable to Net2Phone MAX 8)

Synopsis: This command in the /CONFIG/ADDRESS/ directory registers peer addresses which areused as called-party numbers in outgoing calls and in hot lines.

Peer addresses must be registered for the FXO interface as discussed in the 8/16 User Guide.

[Example 1]

SYS_NAME:/CONFIG/ADDRESS> peeraddr

===============================================================

PEER-ADDR Command Usage

===============================================================

peeraddr intf <port> nums

===============================================================

intf ; local interface name (fxs, fxo, em, cas, ccs)

port ; port number of interface (0 ~ )

nums ; destination address ('0' ~ '9',NULL)

===============================================================

[Parameter description]

Parameter Descriptionintf Select local trunk I/F type (fxs, fxo, em, cas, ccs, net).port Set up logical port number for each interface (0 ~ ).nums Enter a called party number (�0� ~ �9�, NULL).

Net2Phone MAX Command Reference Guide Section 8 � Address Configuration Commands

Page 52: Command Reference - net2phone

47

[Example 2] Enter a peeraddr �1000� in FXO.

Note: References to �FXO� are not applicable to the MAX 8.

SYS_NAME:/CONFIG/ADDRESS> show==============================================================

Address TABLE

==============================================================

INTF PORT LOCAL-ADDR PEER-ADDR GROUP-PORT

==============================================================

FXS 0

FXS 1

FXO 0

==============================================================

SYS_NAME:/CONFIG/ADDRESS> peeraddr fxo 0 1000

Configuration is not saved. You must save the changed configurations.

Command successfully end.

SYS_NAME:/CONFIG/ADDRESS> ../save

This command isn't recoverable. Are you sure (y/n)? yConfigurations in working memory are saved to NV-memory.

SYS_NAME:/CONFIG/ADDRESS> show

==============================================================

Address TABLE

==============================================================

INTF PORT LOCAL-ADDR PEER-ADDR GROUP-PORT

==============================================================

FXS 0

FXS 1

FXO 0 1000

==============================================================

Net2Phone MAX Command Reference Guide Section 8 � Address Configuration Commands

Page 53: Command Reference - net2phone

48

[Example 3] Delete peeraddr �1000� from FXO.

Note: References to �FXO� are not applicable to the MAX 8.

SYS_NAME:/CONFIG/ADDRESS> show

==============================================================

Address TABLE

==============================================================

INTF PORT LOCAL-ADDR PEER-ADDR GROUP-PORT

==============================================================

FXS 0

FXS 1

FXO 0 1000

==============================================================

SYS_NAME:/CONFIG/ADDRESS> peeraddr fxo 0 nullConfiguration is not saved. You must save the changed configurations.

Command successfully end.

SYS_NAME:/CONFIG/ADDRESS> ../save

This command isn't recoverable. Are you sure (y/n)? yConfigurations in working memory are saved to NV-memory.

SYS_NAME:/CONFIG/ADDRESS> show

==============================================================

Address TABLE

==============================================================

INTF PORT LOCAL-ADDR PEER-ADDR GROUP-PORT

==============================================================

FXS 0

FXS 1

FXO 0

==============================================================

Net2Phone MAX Command Reference Guide Section 8 � Address Configuration Commands

Page 54: Command Reference - net2phone

49

8.4 Gport

Synopsis: This command in the /CONFIG/ADDRESS/ directory is used to group multiple portstogether and assign them a single address.

[Example 1]

SYS_NAME:/CONFIG/ADDRESS> gport

==============================================================

GROUP-PORT Command Usage

==============================================================

gport intf <gport> <port-range> [<port-range>...]

==============================================================

intf ; local interface name (fxs, net)

gport ; group port number of interface (100~107|none)

port-range ; logical port ranges of interface (0~|0-1|all)

==============================================================

[Example 2] Configure group port number 100 with an FXS interface.

SYS_NAME:/CONFIG/ADDRESS> show

==============================================================

Address TABLE

==============================================================

INTF PORT LOCAL-ADDR PEER-ADDR GROUP-PORT

==============================================================

FXS 0

FXS 1

CAS 0

==============================================================

SYS_NAME:/CONFIG/ADDRESS> gport fxs 100 all

SYS_NAME:/CONFIG/ADDRESS> show

==============================================================

Address TABLE

==============================================================

INTF PORT LOCAL-ADDR PEER-ADDR GROUP-PORT

==============================================================

FXO 0

FXS 0 100

FXS 1 100

CAS 0

==============================================================

Net2Phone MAX Command Reference Guide Section 8 � Address Configuration Commands

Page 55: Command Reference - net2phone

50

9. DSP Configuration Commands

Command directory

SYS_NAME/CONFIG/DSP/>

Command functionDSP configuration commands are used to set up voice-compression-related parameter values.

Available commands

Name Descriptionshow Show DSP parameters.change Change DSP parameters.

Net2Phone MAX Command Reference Guide Section 9 � DSP Configuration Commands

Page 56: Command Reference - net2phone

51

9.1 Show

Synopsis: This command in the /CONFIG/DSP/ directory displays the assigned DSP parameter value.

[Example]

SYS_NAME:/CONFIG/DSP> show

==============================================================

DSP(Voice Compression) Configurations

==============================================================

Call progress tone country (cptc) : KOREA

Voice codec type (codec) : G.723(LOW-BW/5.3kbps)

Silence compression (sc) : DISABLE(OFF)

Echo Cancellation (ec) : ENABLE(ON)

Post Filter (pf) : ENABLE(ON)

High Pass Filter (hpf) : ENABLE(ON)

DTMF Output Gain (dgain) : -5 dbm

Call Progress Tone Attenuation (cgain) : 0 dbm

Jitter Buffer Minimum Delay (jbmd) : 40 ms

Jitter Buffer Option Factor (jbof) : 7

DTMF Detection Threshold Time (ddt) : 30 ms

==============================================================

Net2Phone MAX Command Reference Guide Section 9 � DSP Configuration Commands

Page 57: Command Reference - net2phone

52

9.2 Change

Synopsis: This command in the /CONFIG/DSP/ directory is used to set voice compression parametervalues.

Syntax: change <parameter> <value>

[Parameter description]

Parameter Description

cptc Set up local tone used in voice call progress (korea|israel).

codecAssign voice compression method.(g723l|g723h|g729a|alaw|ulaw)

sc Determine whether to compress silence (on, off).ec Determine whether to use echo (on, off).pf Determine whether to use post filter (on, off).hpf Determine whether to use high pass filter (on, off).cgain Sets up call progress output attenuation value (-31 ~ 0 db).igain Set up PCM input Gain (-31 ~ 0 db).jbmd Set up jitter buffer minimum delay (0 ~ 150 msec).jbof Set up jitter buffer option factor (0 ~ 7).ddt Set up DTMF detection threshold time (30 ~ msec).

Net2Phone MAX Command Reference Guide Section 9 � DSP Configuration Commands

Page 58: Command Reference - net2phone

53

[Example 1]

SYS_NAME:/CONFIG/DSP> change

==============================================================

DSP (Voice Compression) Configurations

==============================================================

change <parameter> <value>

==============================================================

parameter ; cptc - Call progress tone country

; codec - Voice codec type

; sc - Silence compression (VAD active)

; ec - echo cancellation

; pf - Post Filter

; hpf - High Pass Filter

; cgain - Call Progress Output Attenuation Value

; igain - PCM Input Gain

; jbmd - Jitter Buffer Minimum Delay

; jbof - Jitter Buffer Option Factor

; ddt - DTMD Detection Threshold Time

value ; cptc - korea|israel

; codec - g723l|g723h|g729a|alaw|ulaw

; sc,ec,pf,hpf - on|off

; dgain,cgain - -31 ~ 0 (dBm)

; jbmd - 0 ~ 150 (ms)

; jbof - 0 ~ 7

; ddt - 30 ~ (ms)

==============================================================

Net2Phone MAX Command Reference Guide Section 9 � DSP Configuration Commands

Page 59: Command Reference - net2phone

54

[Example 2] Set DTMF output gain to - 7 dbm.

SYS_NAME:/CONFIG/DSP> show

==============================================================DSP(Voice Compression) Configurations

==============================================================Call progress tone country (cptc) : KOREAVoice codec type (codec) : G.723(LOW-BW/5.3kbps)Silence compression (sc) : DISABLE(OFF)Echo Cancellation (ec) : ENABLE(ON)Post Filter (pf) : ENABLE(ON)High Pass Filter (hpf) : ENABLE(ON)DTMF Output Gain (dgain) : -5 dbmCall Progress Tone Attenuation (cgain) : 0 dbmJitter Buffer Minimum Delay (jbmd) : 40 msJitter Buffer Option Factor (jbof) : 7DTMF Detection Threshold Time (ddt) : 50 ms

==============================================================

SYS_NAME:/CONFIG/DSP> change dgain - 7Configuration is not saved. You must save the changed configurations.

Command successfully end.

SYS_NAME:/CONFIG/DSP> ../save

This command isn't recoverable. Are you sure (y/n)? yConfiguration in working memory is saved to NV-memory.

SYS_NAME:/CONFIG/DSP> show

==============================================================

DSP(Voice Compression) Configurations

==============================================================

Call progress tone country (cptc) : KOREA

Voice codec type (codec) : G.723(LOW-BW/5.3kbps)

Silence Compression (sc) : DISABLE(OFF)

Echo Canceleration (ec) : ENABLE(ON)

Post Filter (pf) : ENABLE(ON)

High Pass Filter (hpf) : ENABLE(ON)

DTMF Output Gain (dgain) : -7 dbm

Call Progress Tone Attenuation (cgain) : 0 dbm

Jitter Buffer Minimum Delay (jbmd) : 40 ms

Jitter Buffer Option Factor (jbof) : 7

DTMF Detection Threshold Time (ddt) : 50 ms

==============================================================

Net2Phone MAX Command Reference Guide Section 9 � DSP Configuration Commands

Page 60: Command Reference - net2phone

55

10. FXS Configuration Commands

Command directory

SYS_NAME:/CONFIG/FXS/>

Command functionFXS configuration commands are used to set the parameters of the FXS interface, used in connectinganalog telephones to the MAX 8 and 8/16 systems.

Available commands

Name Descriptionshow Show FXS parameters.change Change FXS parameters.

Net2Phone MAX Command Reference Guide Section 10 � FXS Configuration Commands

Page 61: Command Reference - net2phone

56

10.1 Show

Synopsis: This command in the /CONFIG/FXS/ directory displays the FXS parameters.

[Example]

SYS_NAME:/CONFIG/FXS> show

========================================================

FXS Configurations

========================================================

ring cadence on time (ron) : 1 sec

ring cadence off time (roff) : 2 sec

ring frequency (rfreq) : 20 Hz

polarity reversal (pola) : DISABLE(OFF)

Voice Output Gain (vgain) : -3 dbm

PCM Input Gain (igain) : -3 dbm

off hook guard time (t1) : 200 ms

on hook guard time (t2) : 300 ms

hook flash guard time (t3) : 0 ms

wait first DTMF timer (t4) : 15 sec

wait second DTMF timer (t5) : 12 sec

wait on-hook timer (t6) : 30 sec

wait connect from net (t7) : 120 sec

=========================================================

Net2Phone MAX Command Reference Guide Section 10 � FXS Configuration Commands

Page 62: Command Reference - net2phone

57

10.2 Change

Synopsis: This command in the /CONFIG/FXS/ directory is used to set the FXS parameters.

Syntax: change <parameter> <value>

[Parameter description]

Parameter Descriptionron Ring Cadence On time (1~4 sec).roff Ring Cadence Off time (1~4 sec).rfreq Ring Frequency (20 ~ 30 Hz).pola Selection on polarity reversion (Y, N).vgain Voice energy sent to the FXS interface (-31 ~ 31 dbm).Igain Voice energy received from the FXS interface (-31 ~ 31 dbm).t1 Off-Hook guard time (150~ msec).

t2On-Hook guard time 300 (960~3000 msec).in hook flash disabled : setup less than 960msec.

t3Hook-flash time 0 (300~960 m sec).0: disable hook flash

t4 Maximum time to detect the first digit after off-hook (1 ~ 30 sec).t5 Maximum time to wait for the second digit after the first digit (1 ~ 30 sec).t6 Generation duration of release tone (1 ~ 100 sec).t7 Generation duration of ringback tone (30 ~ 200 sec).

Net2Phone MAX Command Reference Guide Section 10 � FXS Configuration Commands

Page 63: Command Reference - net2phone

58

[Example 1]

SYS_NAME:/CONFIG/FXS> change===================================================================Change Configuration Command Usage

change <parameter> <value>

===================================================================

parameter

; ron - ring cadence on time [O/G]

; roff - ring cadence off time [O/G]

; rfreq - ring frequency [O/G]

; pola - polarity reversion send (use to charge)

; vgain - Voice Output Gain

; igain - PCM Input Gain

; t1 - off hook guard time (to off-hook detect)

; t2 - on hook guard time (to on-hook detect)

; t3 - hook flash guard time (to hook-flash detect)

; t4 - wait first DTMF from phone time out

; t5 - wait second DTMF from phone time out

; t6 - wait on-hook from phone time out (release tone send)

; t7 - wait connection from network time out (ringback tone)

value

; ron,roff - 1 ~ 4 sec

; rfreq - 20 ~ 30 Hz

; pola - on|off

; vgain,igain - 31 ~ 31 (dBm)

; t1 - 150 ~ ms

; t2 - 300(960) ~ 3000ms (<960:in hook flash disabled)

; t3 - 0(300) ~ 960ms (0:disable hook flash)

; t4~5 - 1 ~ 30 sec

; t6 - 1 ~ 100 sec

; t7 - 30 ~ 200 sec

===================================================================

[Example 2] Set the Ring Cadence On time to 1 second.

SYS_NAME:/CONFIG/FXS> change ron 1Configuration is not saved. You must save the changed configurations.

Command successfully end.

SYS_NAME:/CONFIG/FXS> ../save

This command isn’t recoverable. Are you sure (y/n)? yConfiguration in working memory is saved to NV-memory.

Net2Phone MAX Command Reference Guide Section 10 � FXS Configuration Commands

Page 64: Command Reference - net2phone

59

11. FXO Configuration Commands

Command directory

SYS_NAME:/CONFIG/FXO/>

Command functionFXO configuration commands are used to set up the FXO interface parameters, which are used inconnecting the MAX 8 and 8/16 systems to a PBX.

Available commands

Name Descriptionshow Show FXO parameters.change Change FXO parameters.

Net2Phone MAX Command Reference Guide Section 11 � FXO Configuration Commands

Page 65: Command Reference - net2phone

60

11.1 Show

Synopsis: This command in the /CONFIG/FXO/ directory displays the FXO parameters.

[Example]

SYS_NAME:/CONFIG/FXO> show=======================================================

FXO Configurations=======================================================dial duration (dur) : 200 msdial interval (intv) : 200 msdial mode (mode) : NO WAIT DIAL TONE(1)ring number (nring) : 2 timespolarity reversal (pola) : DISABLE(OFF)Voice Output Gain (vgain) : -3 dbmPCM Input Gain (igain) : -3 dbmring off detect (t1) : 6 secwait connect from net (t2) : 60 secwait dialtone (t3) : 1 secwait digit from net (t4) : 12 sechook flash guard time(t5) : 300 mscurrent detection time(t6) : 100 ms

========================================================

Net2Phone MAX Command Reference Guide Section 11 � FXO Configuration Commands

Page 66: Command Reference - net2phone

61

11.2 Change

Synopsis: This command in the /CONFIG/FXO/ directory is used to set the FXO parameters.

Syntax: change <parameter> <value>

[Parameter description]

Parameter Descriptiondur DTMF duration to detect digits (40 ~ 500 msec).intv Inter-digit duration to detect digits. (60 ~ 1000 msec).

Select whether or not to verify the dial tone.0 wait dial tone (digit transmission after verifying the dial tone)1 Do not wait dial tone (transmit digit as if dial tone is detected).mode

2immediately connect (digit transmission with a packet through theinband tone).

nring Set the number of rings for ring detection (number 1 ~ 10).pola Selection of the polarity reversion (Y/N).vgain Voice energy sent to the FXO interface (-31 ~ 31 dbm).Igain Voice energy received from the FXO interface (-31 ~ 31 dbm).t1 Ring off time setup for stopping the ring detection (4 ~ 30 sec).t2 Connection duration to determine the connection identification (1 ~ 120 sec).t3 Dial tone duration to detect the dial ton (1 ~ 120 sec).t4 Time the switch waits for the digit (1 ~ 120 sec).t5 Hook flash guard time (0 ~ 960 msec).t6 Current detection time (10 ~ 1000 msec).

Current detection time (10 ~ 1000 msec).

Net2Phone MAX Command Reference Guide Section 11 � FXO Configuration Commands

Page 67: Command Reference - net2phone

62

[Example 1]

SYS_NAME:/CONFIG/FXO> change=====================================================================

Change Configuration Command Usage

=====================================================================

change <parameter> <value>

=====================================================================

parameter ; dur - dial duration (DTMF on time at dialing) [O/G]

; intv - dial interval (DTMF off time at dialing) [O/G]

; mode - dial mode (dial to PX/PBX) [O/G]

; nring - ring number before answer [I/C]

; pola - polarity reversion receive (use to charge)

; vgain - Voice Output Gain

; igain - PCM Input Gain

; t1 - ring off detect time out (to release line)

; t2 - wait connection from network time out

; t3 - wait dial tone from PX/PBX time out

; t4 - wait digit from network timeout

; t5 - hook flash guard time

; t6 - current detection time

value ; dur - 40 ~ 500 (ms)

; intv - 60 ~ 1000 (ms)

; mode - 0(wait dialtone from PX/PBX before dialing)

; 1(no wait or skip dialtone from PX/PBX)

; 2(immediately connect / DTMF encoded in voicepacket)

; nring - 1 ~ 10

; pola - on|off

; vgain,igain - -31 ~ 31 (dBm)

; t1 - 4 ~ 30 (sec)

; t2~4 - 1 ~ 120 (sec)

; t5 - 0 ~ 960 (ms)

; t6 - 10~ 1000 (ms)

=====================================================================

[Example 2] Set DURATION to 200ms.

SYS_NAME:/CONFIG/FXO> change dur 200Configuration is not saved. You must save the changed configurations

Command successfully end.

SYS_NAME:/CONFIG/FXO> ../saveThis command isn’t recoverable. Are you sure (y/n) ? yConfigurations in working memory is saved to NV-Memory.

Net2Phone MAX Command Reference Guide Section 11 � FXO Configuration Commands

Page 68: Command Reference - net2phone

63

12. Digital Trunk Configuration Commands

Command directory

SYS_NAME:/CONFIG/DTRUNK/>

Command functionThese commands are used to set up the frame mode, signaling type, and clock mode, required for thedigital trunk interface.

Available commands

Name Descriptionshow Show digital trunk parameters.change Change digital trunk parameters.

Net2Phone MAX Command Reference Guide Section 12 � Digital Trunk Configuration Commands

Page 69: Command Reference - net2phone

64

12.1 Show

Synopsis: This command in the /CONFIG/DTRUNK/ directory displays the setup value of the digitaltrunk parameter.

[Example 1]

SYS_NAME:/CONFIG/DTRUNK> showUsage : show cfg|line

cfg - configuration display

line - line(channel) type display

[Example 2] Determining the current Dtrunk configuration status.

SYS_NAME:/CONFIG/DTRUNK> show cfg

=================================================================Digital Trunk Configurations

=================================================================trunk type (type) : T1line code (lcode) : AMI(T1, E1)frame mode (frame) : D4(T1)signaling type (sig) : R2(CAS)Voice Output Gain (vgain) : -3 dbmPCM Input Gain (igain) : -3 dbm

=================================================================

[Example 3] Determining the current trunk channel status.

SYS_NAME:/CONFIG/DTRUNK> show line

==============================================================Channel Type configurations==============================================================channel type | I=Incoming O=Outgoing B=Bothway

| S=Signaling-CH F=Frame-Sync X=undefined----------------------------------------------------------------------channel number | 1 2 3

| 01234567890123456789012345678901----------------------------------------------------------------------[slot/port] [2/0] | FIIIIIIIIIIIIIIISIIIIIIIIIIIIIII

==============================================================

Net2Phone MAX Command Reference Guide Section 12 � Digital Trunk Configuration Commands

Page 70: Command Reference - net2phone

65

12.2 Change

Synopsis: This command in the /CONFIG/FXO/ directory sets up the parameters for the digital trunk.

[Example 1]

SYS_NAME:/CONFIG/DTRUNK> changeUsage : change cfg | line <parameter> <values>

cfg – configuration change

line – line(channel) type change

[Example 2]

SYS_NAME:/CONFIG/DTRUNK> change cfg=========================================================================

Change Digital Trunk Configuration Command Usage=========================================================================change cfg <parameter> <value>

=========================================================================parameter ; type - digital trunk type

; lcode - line code; frame - frame mode; sig - signaling type; vgain - Voice Output Gain; igain - PCM Input Gain

value ; type - E1|T1 (E1:2.048Mhz, T1:1.544Mhz); lcode - AMI|HDB3|B8ZS (AMI(T1, E1),HDB3(E1),B8ZS(T1)); frame - D4|ESF|SLS96|CRC4|NOCRC4 (D4~SLS96:T1

CRC4,NOCRC4:E1); sig - R2|DTMF|ISDN (R2,DTMF:CAS ISDN:CCS); vgain,igain - -31 ~ 31 (dBm)

=========================================================================

Net2Phone MAX Command Reference Guide Section 12 � Digital Trunk Configuration Commands

Page 71: Command Reference - net2phone

66

[Parameter description]

Parameter DescriptionDigital trunk type setup (E1|T1).T1 1.544MhztypeE1 2.048MhzSelection of frame generation mode (D4/ESF/SLS96/CRC4/NOCRC4).T1 D4, ESF, SLS96frameE1 CRC4, NOCRC4Signaling mode selection (R2 / DTMF / ISDN).CAS R2, DTMFsigCCS ISDN

Igain Voice energy received from the digital interface (-31 ~ 31 dbm).slot Set up the slot number (1~3).

Selection on channel type (ic / og / both).ic Incomingog Outgoing

ch-type

both Bothwaych-range Channel value assignment (0~31). Ex: 0, 1-16, all

[Example 3]

SYS_NAME:/CONFIG/DTRUNK> change line==============================================================Change Digital Trunk Line Type Command Usage==============================================================change line <slot> ch-type <ch-range> [<ch-range>...]

==============================================================slot

; slot number (1 ~ 3)ch-type

; channel type (ic/og/both); ic=incoming, og=outgoing, both=bothway

ch-range; channel values (0 ~ 31); ex) 0, 1-16, all

==============================================================

Net2Phone MAX Command Reference Guide Section 12 � Digital Trunk Configuration Commands

Page 72: Command Reference - net2phone

67

[Example 4] Set up the Trunk Type with �E1�.

SYS_NAME:/CONFIG/DTRUNK> show cfg==============================================================

Digital Trunk Configurations==============================================================trunk type (trunk) : T1frame mode (frame) : D4(T1)signaling type (sig) : R2(CAS)

==============================================================

SYS_NAME:/CONFIG/DTRUNK> change cfg type e1Configuration is not saved. You must save the changed configurations

Command successfully end.

You Must RESET to apply modified value(s) to system.

SYS_NAME:/CONFIG/DTRUNK> ../save

This command isn't recoverable. Are you sure(y/n)?y

Configurations in working memory is saved to NV-Memory.

SYS_NAME:/CONFIG/DTRUNK> ../../system/reset

CAUTION!!! this command isn't recoverable. Are you sure(y/n)? y

SYS_NAME:/CONFIG/DTRUNK> show cfg

==============================================================Digital Trunk Configurations==============================================================trunk type (trunk) : E1frame mode (frame) : CRC4(E1)signaling type (sig) : R2(CAS)

==============================================================

Net2Phone MAX Command Reference Guide Section 12 � Digital Trunk Configuration Commands

Page 73: Command Reference - net2phone

68

[Example 5] Setup the �17~31 ch� of the E1 Line with �Outgoing�.

SYS_NAME:/CONFIG/DTRUNK> show line

==============================================================Channel Type configurations==============================================================channel type | I=Incoming O=Outgoing B=Bothway

| S=Signaling-CH F=Frame-Sync X=undefined---------------------------------------------------------------channel number | 1 2 3

| 01234567890123456789012345678901---------------------------------------------------------------[slot/port] [2/1] | FIIIIIIIIIIIIIIISIIIIIIIIIIIIIII==============================================================

SYS_NAME:/CONFIG/DTRUNK> change line 2 og 17-31Configuration is not saved. You must save the changed configurations

Command successfully end.

You Must RESET to apply modified value(s) to system.

SYS_NAME:/CONFIG/DTRUNK> ../save

This command isn't recoverable. Are you sure(y/n)? yConfigurations in working memory is saved to NV-Memory.

SYS_NAME:/CONFIG/DTRUNK> ../../system/reset

CAUTION!!! this command isn't recoverable. Are you sure(y/n)? y

SYS_NAME:/CONFIG/DTRUNK> show line

==============================================================

Channel Type configurations==============================================================channel type | I=Incoming O=Outgoing B=Bothway

| S=Signaling-CH F=Frame-Sync X=undefined----------------------------------------------------------------------channel number | 1 2 3

| 01234567890123456789012345678901----------------------------------------------------------------------[slot/port] [2/1] | FIIIIIIIIIIIIIIISOOOOOOOOOOOOOOO==============================================================

Net2Phone MAX Command Reference Guide Section 12 � Digital Trunk Configuration Commands

Page 74: Command Reference - net2phone

69

13. R2 Configuration Commands

Command directory

SYS_NAME:/CONFIG/R2/>

Command functionThis command sets up the parameters used by the R2 signaling mode.

Available commands

Name Descriptionshow Show R2 parameters.change Change R2 parameters.

Net2Phone MAX Command Reference Guide Section 13 � R2 Configuration Commands

Page 75: Command Reference - net2phone

70

13.1 Show

Synopsis: This command in the /CONFIG/R2/ directory shows the parameters used in the R2signaling mode.

[Example]

SYS_NAME:/CONFIG/R2> show=====================================================================

R2 Configurations=====================================================================Dialing Mode (dmode) : 1(ENBLOC)R2 Line signaling type (stype) : E&M IMMrobbed bit reversal(rbr) : DISABLE(OFF)Ringback tone send in alert (rsend) : DISABLE(OFF)Alert Msg send to network (asend) : ENABLE(ON)O/G II-Group signal (categ) : 1(PRI-SUBSCRIBER)O/G request Charge (charge) : YES(Charge)I/C A-Group signal (acomp) : NO(Request B-group signal)I/C Calling Party Addr Request (sareq) : NO(No Request)max number of digits to receive(mrxd) : 0R2-MFC Tone Output Gain (gain) : -20 dbmSeizure Guard Time (t1) : 30 msClear Forward Guard Time (t2) : 200 msClear Forward Wait Guard Time (t3) : 30000 msSeizure Ack Guard Time (t4) : 1000 msGlare Guard Time (t5) : 360 msAnswer Guard Time (t6) : 200 msClear Backward Guard Time (t7) : 200 msRelease Guard Time (t8) : 200 msReanswer Guard Time (t9) : 200 msRelease Wait Guard Time (t10) : 1000 msBlock Detect Guard Time (t11) : 640 msGlare Detect Guard Time (t12) : 200 msIf glare is detected, stay seizure(t13): 500 ms

Net2Phone MAX Command Reference Guide Section 13 � R2 Configuration Commands

Page 76: Command Reference - net2phone

71

13.2 Change

This command in the /CONFIG/R2/ directory sets up all the parameters used in the R2 signalingmode.

Syntax: change <parameter> <value>

[Parameter description]

Parameter Descriptioncateg R2 II-Group signal for the user category (1~15).charge Request charge.acomp R2 A-Group signal (address complete).sareq Calling party (source) address request.stype R2 line signaling type (wink-start | immediate).

mrxdRestrict the number of digits received. (If �0�, it delivers the call with end-of-digit without restriction.

gain Output level of the MFC R2 tone.t1 Seizure guard time (0 ~ 1000 msec).t2 Clear forward guard time (0 ~ 1000 msec).t3 Clear forward wait guard time (1000 ~ 400000 msec).t4 Seizure ack guard time (100 ~ 10000 msec).t5 Clear guard time (0 ~ 1000 msec).t6 Answer guard time (0 ~ 1000 msec).t7 Clear backward guard time (0 ~ 1000 msec).t8 Release guard time (0 ~ 10000 msec).t9 Re-answer guard time (0 ~ 1000 msec).t10 Release wait guard time (0 ~ 10000 msec).t11 block guard time (0 ~ 1000 msec).t12 Glare Detect Guard Time (100 ~ 10000 msec).t13 If glare is detected, stay seizure (100 ~ 10000 msec).

Net2Phone MAX Command Reference Guide Section 13 � R2 Configuration Commands

Page 77: Command Reference - net2phone

72

[Example 1]

SYS_NAME:/CONFIG/R2> change

==========================================================================Configuration Change Command Usage

==========================================================================change <parameter> <value>

==========================================================================parameter ; dmode - dialing(address sending) mode [O/G]

; stype - R2 line signaling type; rbr - robbed bit reversal; rsend - ringback tone send in seizure [I/C]; asend - alert message send to network [O/G]; categ - R2 II-Group signal (user category) [O/G]; charge - request charge [O/G]; acomp - R2 A-Group signal (address complete) [I/C]; sareq - calling party(source) address request [I/C]; mrxd - maximum number of digits to receive [I/C]; gain - R2-MFC tone output gain; t1 - Seizure Guard Time [I/C]; t2 - Clear Forward Guard Time [I/C]; t3 - Clear Forward Wait Guard Time [I/C]; t4 - Seizure Ack Guard Time [O/G]; t5 - Glare Guard Time [O/G]; t6 - Answer Guard Time [O/G]; t7 - Clear Backward Guard Time [O/G]; t8 - Release Guard Time [O/G]; t9 - Reanswer Guard Time [O/G]; t10 - Release Wait Guard Time [O/G]; t11 - Block Detect Guard Time [O/G]; t12 - Glare Detect Guard Time [O/G]; t13 - If glare is detected, stay seizure [O/G]

value ; dmode - overlap|enbloc; stype - wink(wink-start) [E1]; emi(E&M immediate)|emd(E&M delay)|emw(E&M wink) [T1]; rbr - on|off [T1]; dsend,rsend - on|off; categ - 1 ~ 15 (R2 recommendation ITU-T Q. series ref.); charge,acomp,sareq - no|yes; mrxd - 0 ~ 20 (0:unlimitted); gain - -31 ~ 0 (dBm); t1~11 - 0 ~ 1000 (ms); t3 - 1000 ~ 60000 (ms); t4,12,13 - 100 ~ 10000 (ms); t8,10 - 0 ~ 10000 (ms)

Net2Phone MAX Command Reference Guide Section 13 � R2 Configuration Commands

Page 78: Command Reference - net2phone

73

[Example 2] Set up the Seizure Guard time (t1) with 50 msec.

SYS_NAME:/CONFIG/R2> show

==============================================================R2 Configurations==============================================================O/G II-Group signal (categ) : 1(PRI-SUBSCRIBER)O/G request Charge (charge) : CHARGEI/C A-Group signal (acomp) : request B-group signalI/C Calling Party Addr Request (sareq) : NO REQUESTR2 Line signaling type (stype) : WINK STARTmax number of digits to receive(mrxd) : 0R2-MFC Tone Output Gain (gain) : -20 dbmSeizure Guard Time (t1) : 30 msClear Forward Guard Time (t2) : 200 msClear Forward Wait Guard Time (t3) : 30000 msSeizure Ack Guard Time (t4) : 1000 msClare Guard Time (t5) : 360 msAnswer Guard Time (t6) : 200 msClear Backward Guard Time (t7) : 200 msRelease Guard Time (t8) : 200 msReanswer Guard Time (t9) : 200 msRelease Wait Guard Time (t10) : 1000 msBlock Detect Guard Time (t11) : 640 ms==============================================================

SYS_NAME:/CONFIG/R2> change t1 50Configuration is not saved. You must save the changed configurations

Command successfully end.

You Must RESET to apply modified value(s) to system.

SYS_NAME:/CONFIG/R2> ../save

This command isn't recoverable. Are you sure(y/n)? yConfigurations in working memory is saved to NV-Memory.

SYS_NAME:/CONFIG/R2> ../../system/resetCAUTION!!! this command isn't recoverable. Are you sure(y/n)? y

(continues on next page)

Net2Phone MAX Command Reference Guide Section 13 � R2 Configuration Commands

Page 79: Command Reference - net2phone

74

(Example 2, continued)

SYS_NAME:/CONFIG/R2> show

==============================================================R2 Configurations==============================================================O/G II-Group signal (categ) : 1(PRI-SUBSCRIBER)O/G request Charge (charge) : CHARGEI/C A-Group signal (acomp) : request B-group signalI/C Calling Party Addr Request (sareq) : NO REQUESTR2 Line signaling type (stype) : WINK STARTmax number of digits to receive(mrxd) : 0R2-MFC Tone Output Gain (gain) : -20 dbmSeizure Guard Time (t1) : 50 msClear Forward Guard Time (t2) : 200 msClear Forward Wait Guard Time (t3) : 30000 msSeizure Ack Guard Time (t4) : 1000 msClare Guard Time (t5) : 360 msAnswer Guard Time (t6) : 200 msClear Backward Guard Time (t7) : 200 msRelease Guard Time (t8) : 200 msReanswer Guard Time (t9) : 200 msRelease Wait Guard Time (t10) : 1000 msBlock Detect Guard Time (t11) : 640 ms==============================================================

Net2Phone MAX Command Reference Guide Section 13 � R2 Configuration Commands

Page 80: Command Reference - net2phone

75

14. System Call Statistics Display Commands

Command directory

SYS_NAME:/STATISTICS/CALL/>

Command functionThis command controls the display of system call statistical information.

Available commands

Name Descriptionshow Show system call statistics.clear Clear system call statistics.

Net2Phone MAX Command Reference Guide Section 14 � System Call Statistics Display Commands

Page 81: Command Reference - net2phone

76

14.1 Show

Synopsis: This command in the /STATISTICS/CALL/ directory displays statistical information suchas local and network information, destination address, call start time, call duration, and call processingstatus.

[Example]

SYS_NAME:/ STATISTICS/CALL > show

====================================================================CALL RECORDS

====================================================================

LOCAL NET DEST-ADDR CALL-START-TIME CONV-TIME CONV-ST

====================================================================

FXS[1:00] -> VOIP[0:00] 2001 00/01/01 09:05:32 00:00:14 OK

FXS[5:00] -> VOIP[0:03] 2005 00/01/01 09:05:33 00:00:14 OK

FXS[1:00] -> VOIP[0:14] 2001 00/01/01 09:05:49 00:00:13 OK

FXS[3:00] -> VOIP[0:08] 2003 00/01/01 09:05:49 00:00:13 OK

FXS[5:00] -> VOIP[0:15] 2005 00/01/01 09:05:49 00:00:13 OK

FXS[0:00] -> VOIP[0:10] 2000 00/01/01 09:05:49 00:00:13 OK

FXS[4:00] -> VOIP[0:13] 2004 00/01/01 09:05:49 00:00:13 OK

FXS[2:00] -> VOIP[0:11] 2002 00/01/01 09:05:49 00:00:13 OK

FXS[6:00] -> VOIP[0:12] 2006 00/01/01 09:05:49 00:00:13 OK

FXS[7:00] -> VOIP[0:09] 2007 00/01/01 09:05:49 00:00:13 OK

FXS[2:00] -> VOIP[0:21] 2002 00/01/01 09:07:47 00:00:13 OK

FXS[6:00] -> VOIP[0:23] 2006 00/01/01 09:07:47 00:00:13 OK

FXS[1:00] -> VOIP[0:16] 2001 00/01/01 09:07:47 00:00:13 OK

FXS[5:00] -> VOIP[0:18] 2005 00/01/01 09:07:47 00:00:13 OK

FXS[3:00] -> VOIP[0:17] 2003 00/01/01 09:07:47 00:00:13 OK

FXS[7:00] -> VOIP[0:19] 2007 00/01/01 09:07:47 00:00:14 OK

FXS[0:00] -> VOIP[0:20] 2000 00/01/01 09:07:47 00:00:14 OK

FXS[4:00] -> VOIP[0:22] 2004 00/01/01 09:07:47 00:00:14 OK

====================================================================

Net2Phone MAX Command Reference Guide Section 14 � System Call Statistics Display Commands

Page 82: Command Reference - net2phone

77

14.2 Clear

Synopsis: This command in the /STATISTICS/CALL/ directory is used to initialize system callstatistics.

Net2Phone MAX Command Reference Guide Section 14 � System Call Statistics Display Commands

Page 83: Command Reference - net2phone

78

15. FXS Statistics Display Commands

Command directory

SYS_NAME:/STATISTICS/FXS/>

Command functionThis command displays FXS statistical information.

Available commands

Name Descriptionshow Show FXS statistics.clear Clear FXS statistics.

Net2Phone MAX Command Reference Guide Section 15 � FXS Statistics Display Commands

Page 84: Command Reference - net2phone

79

15.1 Show

Synopsis: This command in the /STATISTICS/FXS directory displays statistical data such as rings,hook, and polarity reversion per port.

[Example]

SYS_NAME:/STATISTICS/FXS> show

===============================================================FXS Statistics

===============================================================PORT | RING RING-TRIP OFF-HOOK ON-HOOK POL-REV

===============================================================0 | 0 0 43 43 01 | 0 0 41 41 02 | 0 0 42 42 03 | 0 0 40 40 04 | 0 0 40 40 05 | 0 0 41 41 06 | 0 0 42 42 07 | 0 0 42 42 0

===============================================================

Net2Phone MAX Command Reference Guide Section 15 � FXS Statistics Display Commands

Page 85: Command Reference - net2phone

80

15.2 Clear

Synopsis: This command in the /STATISTICS/FXS directory is used to initialize statistical data forrings, hook, and polarity reversion per port, for FXS ports.

Net2Phone MAX Command Reference Guide Section 15 � FXS Statistics Display Commands

Page 86: Command Reference - net2phone

81

16. FXO Statistics Display Commands

Command directory

SYS_NAME:/STATISTICS/FXO/>

Command functionThe FXO Statistics Display commands are used to display FXO statistical information.

Available commands

Name Descriptionshow Show FXO statistics.clear Clear FXO statistics.

Net2Phone MAX Command Reference Guide Section 16 � FXO Statistics Display Commands

Page 87: Command Reference - net2phone

82

16.1 Show

Synopsis: This command in the /STATISTICS/FXO directory is used to display statistical data suchas rings, hook, and polarity reversion per port.

[Example]

SYS_NAME:/STATISTICS/FXO> show

=========================================================FXO Statistics

=========================================================PORT | RING RING-TRIP OFF-HOOK ON-HOOK POL-REV

=========================================================0 | 0 0 0 0 0

=========================================================

Net2Phone MAX Command Reference Guide Section 16 � FXO Statistics Display Commands

Page 88: Command Reference - net2phone

83

16.2 Clear

Synopsis: This command in the /STATISTICS/FXS directory is used to initialize statistics data suchas rings, hooks, and polarity reversion per port for FXO.

Net2Phone MAX Command Reference Guide Section 16 � FXO Statistics Display Commands

Page 89: Command Reference - net2phone

84

17. Digital Trunk Statistics Display Commands

Command directory

SYS_NAME:/STATISTICS/DTRUNK/>

Command functionDigital Trunk Statistics Display commands are used to Display statistical information about the digitaltrunk.

Available commands

Name Descriptionshow Show digital trunk statistics.clear Clear digital trunk statistics.

Net2Phone MAX Command Reference Guide Section 17 � Digital Trunk Statistics Display Commands

Page 90: Command Reference - net2phone

85

17.1 Show

Synopsis: This command in the /STATISTICS/DTRUNK directory displays digital trunk informationand alarm statistics.

[Example 1]

SYS_NAME:/STATISTICS/DTRUNK> showUsage : show info|alarm

info - information display

alarm - alarm status & counts display

[Example 2]

SYS_NAME:/STATISTICS/DTRUNK> show info

----------------------------------------------------------------------TRK: Bind Type Sig Major Alarm Minor Alarm Clk----------------------------------------------------------------------2/1: R2L E1 CAS OOS LOS No Alarm S----------------------------------------------------------------------

[Example 3]

SYS_NAME:/STATISTICS/DTRUNK> show alarm

----------------------------------------------------------------------SLOT/PORT : CURRENT-ALARM

2/1 : MAJOR-ALARM : LOS FOOS----------------------------------------------------------------------FOOS CSOOS MFOOS LOS AIS AIS16 RAI MFALM SLIP----------------------------------------------------------------------2 0 0 0 0 0 0 0 0----------------------------------------------------------------------

Net2Phone MAX Command Reference Guide Section 17 � Digital Trunk Statistics Display Commands

Page 91: Command Reference - net2phone

86

17.2 Clear

Synopsis: This command in the /STATISTICS/DTRUNK directory is used to display digital trunkinformation and statistical alarm information.

Net2Phone MAX Command Reference Guide Section 17 � Digital Trunk Statistics Display Commands

Page 92: Command Reference - net2phone

87

18. R2 Statistics Display Commands

Command directory

SYS_NAME:/STATISTICS/R2/>

Command functionDisplays statistical information about R2.

Available commands

Name Descriptionshow Show R2 statistics.clear Clear R2 statistics.

Net2Phone MAX Command Reference Guide Section 18 � R2 Statistics Display Commands

Page 93: Command Reference - net2phone

88

18.1 Show

Synopsis: This command in the /STATISTICS/R2 directory displays information about R2 and alarmstatistics.

[Example]

SYS_NAME:/STATISTICS/R2> show===================================================================

Show R2 Statistics Command Usage===================================================================show ch|rc <port> [<ch-range>]

===================================================================ch ; channel information displayrc ; release cause & counts displayport ; port number of CAS interface (0 ~ )ch-range ; channel values (0 ~ 31)

; ex) 0, 1-16, all===================================================================

Net2Phone MAX Command Reference Guide Section 18 � R2 Statistics Display Commands

Page 94: Command Reference - net2phone

89

18.2 Clear

Synopsis: This command in the /STATISTICS/R2 directory is used to initialize information about R2and alarm statistics.

Net2Phone MAX Command Reference Guide Section 18 � R2 Statistics Display Commands

Page 95: Command Reference - net2phone

90

19. Net2Phone Protocol Test Commands

Command directory

SYS_NAME:/TEST/N2P>

Command functionThis command is used for testing the Net2Phone VoIP protocol.

Available commands

Name Descriptiontrace Set trace flagologin Log in to OPALologout Log out from OPALcstate Call stateostate Opal state

Net2Phone MAX Command Reference Guide Section 19 � Net2Phone Protocol Test Commands

Page 96: Command Reference - net2phone

91

19.1 Trace

Synopsis: This command in the /TEST/N2P directory is used for tracing protocol-related messagesand status.Syntax : trace [trace_item_flag_field] where trace_item_flag_field are 8-digit hexadecimal numbers,each bit representing a trace item.

Trace item Bit fieldmessage_trace 0x00000001xmsg_trace 0x00000002call_state_trace 0x00000004map_state_trace 0x00000008opal_state_trace 0x00000010api_trace 0x00000020gen_timer_trace 0x00000040map_timer_trace 0x00000080opal_timer_trace 0x00000100

By setting/resetting the bit field of each trace item, you can turn on/off the tracing function for that traceitem.

[Example 1]

SYS_NAME:/TEST/N2P> traceMESSAGE_TRACE : 0x00000001XMSG_TRACE : 0x00000002CALL_STATE_TRACE : 0x00000004MAP_STATE_TRACE : 0x00000008OPAL_STATE_TRACE : 0x00000010API_TRACE : 0x00000020GEN_TIMER_TRACE : 0x00000040MAP_TIMER_TRACE : 0x00000080OPAL_TIMER_TRACE : 0x00000100*** N2P Trace Flag : 0x00000000 ***

[Example 2]

SYS_NAME:/TEST/N2P> trace ffffSYS_NAME:/TEST/N2P> traceMESSAGE_TRACE : 0x00000001XMSG_TRACE : 0x00000002CALL_STATE_TRACE : 0x00000004MAP_STATE_TRACE : 0x00000008OPAL_STATE_TRACE : 0x00000010API_TRACE : 0x00000020GEN_TIMER_TRACE : 0x00000040MAP_TIMER_TRACE : 0x00000080OPAL_TIMER_TRACE : 0x00000100*** N2P Trace Flag : 0x0000FFFF ***SYS_NAME:/TEST/N2P>

Net2Phone MAX Command Reference Guide Section 19 � Net2Phone Protocol Test Commands

Page 97: Command Reference - net2phone

92

19.2 Ologin

Synopsis: This command in the /TEST/N2P directory is used to log in to the OPAL server manuallywhen the automatic login procedure fails.

Syntax: ologin port_number where port_number is the physical port number of the MAX 8 or 8/16.

[Example]

SYS_NAME:/TEST/N2P> ologin 0N2P_U_CALLPREPARE, 0 201530469351 11051

OPALEV type:2, id(0), p0(0), p1(0), p2(0) p3(0)

Net2Phone MAX Command Reference Guide Section 19 � Net2Phone Protocol Test Commands

Page 98: Command Reference - net2phone

93

19.3 Ologout

Synopsis: This command in the TEST/N2P directory is used to log out from the OPAL server manuallywhen the automatic logout procedure fails.

Syntax: ologout port_number where port_number is the physical port number of MAX 8 or 8/16.

For a detailed example, type �ologout� from the prompt �system_name:/TEST/N2P>.�

[Example]

SYS_NAME:/TEST/N2P> ologout 0N2P_U_LOGOUT, 0

Net2Phone MAX Command Reference Guide Section 19 � Net2Phone Protocol Test Commands

Page 99: Command Reference - net2phone

94

19.4 Cstate

Synopsis: This command in the /TEST/N2P/ directory displays the call state of each physical port onthe Net2Phone Max 8 and 8/16.

[Example]

SYS_NAME:/TEST/N2P> cstate

[1] port call state : CALL_STATE_IDLE

[2] port call state : CALL_STATE_IDLE

[3] port call state : CALL_STATE_IDLE

[4] port call state : CALL_STATE_IDLE

[5] port call state : CALL_STATE_IDLE

[6] port call state : CALL_STATE_IDLE

[7] port call state : CALL_STATE_IDLE

[8] port call state : CALL_STATE_IDLE

SYS_NAME:/TEST/N2P>

Net2Phone MAX Command Reference Guide Section 19 � Net2Phone Protocol Test Commands

Page 100: Command Reference - net2phone

95

19.5 Ostate

Synopsis: This command in the /TEST/N2P/ directory displays the opal state of each physical port onthe MAX 8 and 8/16.

[Example]

SYS_NAME:/TEST/N2P> ostate

[1] port opal state : OPAL_STATE_INIT

[2] port opal state : OPAL_STATE_IC_L2

[3] port opal state : OPAL_STATE_INIT

[4] port opal state : OPAL_STATE_INIT

[5] port opal state : OPAL_STATE_INIT

[6] port opal state : OPAL_STATE_INIT

[7] port opal state : OPAL_STATE_INIT

[8] port opal state : OPAL_STATE_INIT

SYS_NAME:/TEST/N2P>

Net2Phone MAX Command Reference Guide Section 19 � Net2Phone Protocol Test Commands

Page 101: Command Reference - net2phone

96

20. Voice Prompt Test Commands

Command directory

SYS_NAME:/TEST/VOCFILE>

Command functionThese commands are used for testing of voice prompts.

Available commands

Name Descriptionrecord Record voice prompt to DRAM.play Play voice prompt from DRAM.save_nv Save voice file from DRAM to flash memory.read_nv Read voice file from flash memory to DRAM.

Net2Phone MAX Command Reference Guide Section 20 � Voice Prompt Test Commands

Page 102: Command Reference - net2phone

97

20.1 Record

Synopsis: This command in the TEST/VOCFILE directory causes voice prompts to be recorded toDRAM.

Syntax: record file_number recording_time

Parameter Descriptionfile_number File number of the voice prompt.recording_time Recording time of the voice prompt (in seconds).

Voice prompts are generated by speaking into a telephone connected to FXS port number 1.• Total voice prompts available: 16• Maximum length of voice prompts: 20 seconds• First 3 voice prompts are used for NET2PHONE application ONLY

File number Descriptionfile 0 Follow me message.file 1 Continue to hold message.file 2 Terminate �follow me� message.

[Example]

SYS_NAME:/TEST/VOCFILE> record 0 10SYS_NAME:/TEST/VOCFILE> VocFile (0, size(6600)) write done

Voc file record end

Net2Phone MAX Command Reference Guide Section 20 � Voice Prompt Test Commands

Page 103: Command Reference - net2phone

98

20.2 Play

Synopsis: This command in the TEST/VOCFILE directory causes recorded voice prompts from DRAMto be played back.

Syntax: play file_number where file_number is the file number of the voice prompt.

[Example]

SYS_NAME:/TEST/VOCFILE> playUsage: play file_#

SYS_NAME:/TEST/VOCFILE> play 0play 0, 0x003B5130, 6600

Net2Phone MAX Command Reference Guide Section 20 � Voice Prompt Test Commands

Page 104: Command Reference - net2phone

99

20.3 Save_NV

Synopsis: This command in the TEST/VOCFILE directory is used to save all voice files from DRAM toflash memory.

[Example]

SYS_NAME:/TEST/VOCFILE> save_nvSYS_NAME:/TEST/VOCFILE>

Net2Phone MAX Command Reference Guide Section 20 � Voice Prompt Test Commands

Page 105: Command Reference - net2phone

100

20.4 Read_NV

Synopsis: The �READ_NV� command in the /TEST/DIAG/SYSTEM/ directory reads all voice filesfrom flash memory to DRAM.

Format : read_nv

[Example]

SYS_NAME:/TEST/VOCFILE> read_nvSYS_NAME:/TEST/VOCFILE>

Net2Phone MAX Command Reference Guide Section 20 � Voice Prompt Test Commands

Page 106: Command Reference - net2phone

101

21. FXS Status Display Command

Command directory

SYS_NAME:/TEST/FXS/>

Command functionThis command is used to display FXS status.

Available commands

Name Descriptionshow Display FXS status.

Net2Phone MAX Command Reference Guide Section 21 � FXS Status Display Command

Page 107: Command Reference - net2phone

102

21.1 Show

Synopsis: The �show� command in the /TEST/FXS/ directory displays type and status per port, localand peer address status, and routed prefix status.

[Example]

SYS_NAME:/TEST/FXS> show================================================================

FXS Channel Status display================================================================[S/P] PORT TYPE STATUS LOCAL-ADDR PEER-ADDR PREFIX================================================================2/1 0 BOTH BUSY 20002/2 1 BOTH IDLE 20012/3 2 BOTH BUSY 20022/4 3 BOTH BUSY 20032/5 4 BOTH IDLE 20042/6 5 BOTH BUSY 20052/6 6 BOTH IDLE 20062/7 7 BOTH BUSY 2007

================================================================

Net2Phone MAX Command Reference Guide Section 21 � FXS Status Display Command

Page 108: Command Reference - net2phone

103

22. FXO Status Display Commands

Command directory

SYS_NAME:/TEST/FXO/>

Command functionThis command is used to display FXO status.

Available commands

Name Descriptionshow Display FXO status.

Net2Phone MAX Command Reference Guide Section 22 � FXO Status Display Commands

Page 109: Command Reference - net2phone

104

22.1 Show

Synopsis: This command in the /TEST/FXO/ directory displays type and status per port, local andpeer address status, and routed prefix status.

[Example]

SYS_NAME:/TEST/FXO> show===============================================================

FXO Channel Status display===============================================================[S/P] PORT TYPE STATUS LOCAL-ADDR PEER-ADDR PREFIX

===============================================================2/1 0 BOTH IDLE

===============================================================

Net2Phone MAX Command Reference Guide Section 22 � FXO Status Display Command

Page 110: Command Reference - net2phone

105

23. Digital Trunk Status Display Commands

Command directory

SYS_NAME:/TEST/DTRUNK/>

Command functionThis command is used to display digital trunk status.

Available commands

Name Descriptionatx Receives alarm information and selects whether to generate

and target alarms.loopback Selects whether to use local loopback, remote loopback, or no

loopback.

Net2Phone MAX Command Reference Guide Section 23 � Digital Trunk Status Display Commands

Page 111: Command Reference - net2phone

106

23.1 Atx

Synopsis: This command in the /TEST/DTRUNK/ directory receives alarm information, selectswhether to generate alarms, and targets alarms. It also checks to see if the connection state and alarmnotification function of the link layer is normal in T1/E1 digital trunk connections.

[Example]

SYS_NAME:/TEST/DTRUNK> atx

================================================================Alarm Transmit Command Usage

================================================================atx on|off ais|ais16|yellow

================================================================

[Parameter description]

Parameter Descriptionais Alarm indication signal ( T1/E1).ais16 Alarm indication signal for channel 16 (T1/E1).yellow Mainly used to check T1 connection status.

[Example] Transmitting �ais� to a remote station.

SYS_NAME:/TEST/DTRUNK> atx on ais

Net2Phone MAX Command Reference Guide Section 23 � Digital Trunk Status Display Commands

Page 112: Command Reference - net2phone

107

23.2 Loopback

Synopsis: This command in the /TEST/DTRUNK/ directory is used to select local, remote, or noloopback.

[Example 1]

SYS_NAME:/TEST/DTRUNK> loopback==============================================================

Loopback Command Usage==============================================================loopback on|off|show [local|remote]

==============================================================

[Example 2] Local loopback setup

SYS_NAME:/TEST/DTRUNK> loopback showdigital trunk in not looped

SYS_NAME:/TEST/DTRUNK> loopback on local

SYS_NAME:/TEST/DTRUNK> loopback showdigital trunk is local loopback

Net2Phone MAX Command Reference Guide Section 23 � Digital Trunk Status Display Commands

Page 113: Command Reference - net2phone

108

24. R2 Status Display Commands

Command directory

SYS_NAME:/TEST/R2/>

Command functionThis command is used to display R2 status.

Available commands

Name Descriptionshow Display R2 status.

Net2Phone MAX Command Reference Guide Section 24 � R2 Status Display Commands

Page 114: Command Reference - net2phone

109

24.1 Show

Synopsis: This command in the /TEST/R2/ directory is used to display R2 trunk channel status.

[Example]

SYS_NAME:/TEST/R2> show

======================================================================Channel Status display

======================================================================channel type | I=Incoming O=Outgoing B=Bothway

| S=Signaling-CH F=Frame-Sync X=undefined----------------------------------------------------------------------channel status | f=Fail b=Block i=Idle u=bUsy

----------------------------------------------------------------------channel number | 1 2 3

| 01234567890123456789012345678901----------------------------------------------------------------------[slot/port] [1/0] | FIIIIIIIIIIIIIIISIIIIIIIIIIIIIII

----------------------------------------------------------------------[ R2(CAS) ] [1/0] | iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii

======================================================================

Net2Phone MAX Command Reference Guide Section 24 � R2 Status Display Commands

Page 115: Command Reference - net2phone

110

24.2 Block

Synopsis: This command in the /TEST/R2/ directory executes the block command on the R2Channel.

[Example 1]

SYS_NAME:/TEST/R2> block

=============================================================Digital Trunk Channel Block Command Usage

=============================================================blockch <port> <ch-range>port ; port number of CAS interface (0 ~ )ch-range ; channel values (0 ~ 31)

; ex) 0, 1-16, all=============================================================

[Example 2] Blocking R2 channels 17 through 32

SYS_NAME:/TEST/R2> show===================================================================

Channel Status display===================================================================channel type | I=Incoming O=Outgoing B=Bothway

| S=Signaling-CH F=Frame-Sync X=undefined----------------------------------------------------------------------channel status | f=Fail b=Block i=Idle u=bUsy

----------------------------------------------------------------------channel number | 1 2 3

| 01234567890123456789012345678901----------------------------------------------------------------------[slot/port] [1/0] | FIIIIIIIIIIIIIIISIIIIIIIIIIIIIII

----------------------------------------------------------------------[ R2(CAS) ] [1/0] | iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii

====================================================================

SYS_NAME:/TEST/R2> block 0 17-31SYS_NAME:/TEST/R2> show====================================================================

Channel Status display====================================================================channel type | I=Incoming O=Outgoing B=Bothway

| S=Signaling-CH F=Frame-Sync X=undefined----------------------------------------------------------------------channel status | f=Fail b=Block i=Idle u=bUsy

----------------------------------------------------------------------channel number | 1 2 3

| 01234567890123456789012345678901----------------------------------------------------------------------[slot/port] [1/0] | FIIIIIIIIIIIIIIISIIIIIIIIIIIIIII

----------------------------------------------------------------------[ R2(CAS) ] [1/0] | iiiiiiiiiiiiiiiiibbbbbbbbbbbbbbbb

====================================================================

Net2Phone MAX Command Reference Guide Section 24 � R2 Status Display Commands

Page 116: Command Reference - net2phone

111

24.3 Unblock

Synopsis: This command in the /TEST/R2/ directory executes the unblock command on the R2Channel.

[Example 1]

SYS_NAME:/TEST/R2> unblock

=============================================================Digital Trunk Channel Block Command Usage

=============================================================blockch <port> <ch-range>port ; port number of CAS interface (0 ~ )ch-range ; channel values (0 ~ 31)

; ex) 0, 1-16, all=============================================================

[Example 2] Unblocking R2 channels 17~31

SYS_NAME:/TEST/R2> show

======================================================================Channel Status display

======================================================================channel type | I=Incoming O=Outgoing B=Bothway

| S=Signaling-CH F=Frame-Sync X=undefined----------------------------------------------------------------------channel status | f=Fail b=Block i=Idle u=bUsy

----------------------------------------------------------------------channel number | 1 2 3

| 01234567890123456789012345678901----------------------------------------------------------------------[slot/port] [1/0] | FIIIIIIIIIIIIIIISIIIIIIIIIIIIIII

----------------------------------------------------------------------[ R2(CAS) ] [1/0] | iiiiiiiiiiiiiiiibbbbbbbbbbbbbbbb

======================================================================

SYS_NAME:/TEST/R2> unblock 0 17-31SYS_NAME:/TEST/R2> show

======================================================================Channel Status display

======================================================================channel type | I=Incoming O=Outgoing B=Bothway

| S=Signaling-CH F=Frame-Sync X=undefined----------------------------------------------------------------------channel status | f=Fail b=Block i=Idle u=bUsy

----------------------------------------------------------------------channel number | 1 2 3

| 01234567890123456789012345678901----------------------------------------------------------------------[slot/port] [1/0] | FIIIIIIIIIIIIIIISIIIIIIIIIIIIIII

----------------------------------------------------------------------[ R2(CAS) ] [1/0] | iiiiiiiiiiiiiiiibbbbbbbbbbbbbbbb

======================================================================

Net2Phone MAX Command Reference Guide Section 24 � R2 Status Display Commands

Page 117: Command Reference - net2phone

112

25. Trace Information Commands

Command directory

SYS_NAME:/TEST/TRACE/>

Command functionThis command is used to manage R2 and LAPD trace information.

Available commands

Name Descriptionshow Display R2 and LAPD trace information usage status.r2 Activate/deactivates R2 tracing.lapd Activate/deactivates LAPD tracing.

Net2Phone MAX Command Reference Guide Section 25 � Trace Information Commands

Page 118: Command Reference - net2phone

113

25.1 Show

Synopsis: This command in the /TEST/TRACE/ directory is used to display R2 and LAPD traceinformation usage status.

[Example]

SYS_NAME:/TEST/TRACE> show

===================================================================Trace State

===================================================================r2 trace : OFFlapd trace : UN-AVAILABLE===================================================================

Net2Phone MAX Command Reference Guide Section 25 � Trace Information Commands

Page 119: Command Reference - net2phone

114

25.2 R2

Synopsis: This command in the /TEST/TRACE/ directory is used to activate R2 tracing.

[Example 1]

SYS_NAME:/TEST/TRACE> r2

===============================================================R2 Trace Command Usage

===============================================================r2 on|off

===============================================================trace value is on or off

[Example 2] Activating R2 call tracing

SYS_NAME:/TEST/TRACE> show

===================================================================Trace State

===================================================================r2 trace : OFFlapd trace : UN-AVAILABLE

===================================================================

SYS_NAME:/TEST/TRACE> r2 on

SYS_NAME:/TEST/TRACE> show

===================================================================Trace State

===================================================================r2 trace : ONlapd trace : UN-AVAILABLE

===================================================================

Net2Phone MAX Command Reference Guide Section 25 � Trace Information Commands

Page 120: Command Reference - net2phone

115

25.3 Lapd

Synopsis: This command in the /TEST/TRACE/ directory is used to activate LAPD tracing.

[Example]

SYS_NAME:/TEST/TRACE> lapd

===============================================================LAPD Trace Command Usage

===============================================================lapd on|off

===============================================================trace value is on or off

Net2Phone MAX Command Reference Guide Section 25 � Trace Information Commands

Page 121: Command Reference - net2phone

116

26. Automatic System Diagnosis Command

Command directory

SYS_NAME:/TEST/DIAG/>

Command functionThis command is used to diagnose normal/abnormal operation of Net2Phone MAX 8 and 8/16 systems,test each element of each board, and display the results.

Warning !

• All cables, except the system power cable and serial cable, must be disconnected whenrunning this command.

• After system diagnosis, the �reset� command must be issued before operating the system.

Available commands

Name Descriptionautomatic Perform all diagnosis procedures.

Net2Phone MAX Command Reference Guide Section 26 � Automatic System Diagnosis Command

Page 122: Command Reference - net2phone

117

26.1 Automatic

Synopsis: This command in the /TEST/DIAG/directory is used to initiate all diagnosis procedures.

[Example]

SYS_NAME:/TEST/DIAG> automatic

Net2Phone MAX Command Reference Guide Section 26 � Automatic System Diagnosis Command

Page 123: Command Reference - net2phone

118

27. MPU Diagnostic Commands

Command directory

SYS_NAME:/TEST/DIAG/MPU>

Command functionThese commands are used to diagnose MPU board elements and displays the results.

Available commands

Name Descriptionnvram Diagnose system NVRAM.rtc Check the system real time clock operation status.pcm_as Diagnose PCM switch operation status.

Warning !

• All cables, except the power cable and serial cable, must be disconnected when running thesecommand.

• After system diagnosis, the �reset� command must be issued before operating the system.

Net2Phone MAX Command Reference Guide Section 27 � MPU Diagnostic Commands

Page 124: Command Reference - net2phone

119

27.1 Nvram

Synopsis: This command in the /TEST/DIAG/SYSTEM/ directory is used to diagnose systemNVRAM.

[Example]

SYS_NAME:/TEST/DIAG/SYSTEM> nvram

--------------------------------------------------Test NVRAM

--------------------------------------------------Testing ........ OKTest finished

Net2Phone MAX Command Reference Guide Section 27 � MPU Diagnostic Commands

Page 125: Command Reference - net2phone

120

27.2 RTC

Synopsis: This command in the /TEST/DIAG/SYSTEM/ directory checks the system real time clockoperation and status.

[Example]

SYS_NAME:/TEST/DIAG/SYSTEM> rtc

--------------------------------------------------Test RTC

--------------------------------------------------Current is 2000-01-01 SAT 01:16:00RTC Testing .... GOOD

Net2Phone MAX Command Reference Guide Section 27 � MPU Diagnostic Commands

Page 126: Command Reference - net2phone

121

27.3 Pcm_as

Synopsis: This command in the /TEST/DIAG/ directory diagnosis PCM switch operation status.

[Example]

SYS_NAME:/TEST/DIAG> pcm_as

--------------------------------------------------Test PCM switch - Access

--------------------------------------------------Result : GOODTest finished

Net2Phone MAX Command Reference Guide Section 27 � MPU Diagnostic Commands

Page 127: Command Reference - net2phone

122

28. AVU Diagnostic Commands

Command directory

SYS_NAME:/TEST/DIAG/AVU>

Command functionThis command is used to diagnose AVU elements and display the results.

Warning !

• All cables, except the power cable and serial cable, must be disconnected when running thesecommands.

• After system diagnosis, the �reset� command must be issued before operating the system.

Available commands

Name Descriptionlxf_as Diagnose line interface operation status.lxf_lb Put line interface into loopback state.dsp_as Diagnose DSP operation status.dsp_act Diagnose DSP encoding status.dsp_lb Line interface is put into loopback state and a tone is transmitted from

DSP to line interface.

Net2Phone MAX Command Reference Guide Section 28 � AVU Diagnostic Commands

Page 128: Command Reference - net2phone

123

28.1 Lxf_as

Synopsis: This command in the /TEST/DIAG/AVU/ directory is used to diagnose line interfaceoperation status.

[Example]

SYS_NAME:/TEST/DIAG/AVU> lxf_as

---------------------------------------------------------Test line interface(on AVU) - Access

---------------------------------------------------------[Slot : 3]

FXO 00: GOOD FXO 01: GOOD FXS 00: GOOD FXS 01: GOODFXS 00: GOOD FXS 01: GOOD FXS 02: GOOD FXS 03: GOODTest finished

Net2Phone MAX Command Reference Guide Section 28 � AVU Diagnostic Commands

Page 129: Command Reference - net2phone

124

28.2 Lxs_lb

Synopsis: This command in the /TEST/DIAG/AVU/ directory puts the line interface into loopbackstate. Data is then sent from the PCM switch to the line interface, and the command function testswhether the sent data was received normally.

[Example]

SYS_NAME:/TEST/DIAG/AVU> lxf_lb

---------------------------------------------------------Test line interface(on AVU) - Loopback

---------------------------------------------------------[Slot : 3][FXO 00] ... OK[FXO 01] ... OK[E&M 00] ... OK[E&M 01] ... OK[FXS 00] ... OK[FXS 01] ... OK[FXS 02] ... OK[FXS 03] ... OKTest finished

Net2Phone MAX Command Reference Guide Section 28 � AVU Diagnostic Commands

Page 130: Command Reference - net2phone

125

28.3 Dsp_as

Synopsis: This command in the /TEST/DIAG/DSP/ directory is used to diagnose DSP operationstatus.

[Example]

SYS_NAME:/TEST/DIAG/DSP> dsp_as

--------------------------------------------------Test DSP(on AVU) - Access

--------------------------------------------------[Slot : 3]

DSP 30: GOOD DSP 31: GOOD DSP 32: GOOD DSP 33: GOODDSP 35: GOOD DSP 36: GOOD DSP 37: GOOD DSP 38: GOODTest finished

Net2Phone MAX Command Reference Guide Section 28 � AVU Diagnostic Commands

Page 131: Command Reference - net2phone

126

28.4 Dsp_act

Synopsis: This command in the /TEST/DIAG/DSP/ directory is used to diagnose the DSP encodingstatus.

[Example]

SYS_NAME:/TEST/DIAG/DSP> dsp_act 2

--------------------------------------------------Test DSP(on AVU) - Activation

--------------------------------------------------[Slot : 3][Time 1]

DSP 30: [32] GOOD DSP 31: [32] GOOD DSP 32: [32] GOOD DSP 33: [33] GOODDSP 35: [33] GOOD DSP 36: [34] GOOD DSP 37: [34] GOOD DSP 38: [35] GOOD

[Time 2]

DSP 30: [33] GOOD DSP 31: [32] GOOD DSP 32: [33] GOOD DSP 33: [34] GOODDSP 35: [33] GOOD DSP 36: [34] GOOD DSP 37: [34] GOOD DSP 38: [34] GOODTest finished

Net2Phone MAX Command Reference Guide Section 28 � AVU Diagnostic Commands

Page 132: Command Reference - net2phone

127

28.5 Dsp_lb

Synopsis: This command in the /TEST/DIAG/DSP/ directory puts the line interface into the loopbackstate, transmits a tone from DSP to the interface, then tests whether the transmitted tone was detectedby DSP.

[Example]

SYS_NAME:/TEST/DIAG/DSP> dsp_lb

--------------------------------------------------Test DSP(on AVU) - Loopback

--------------------------------------------------[Slot : 3][DSP No.][ 30] .... OK[ 31] .... OK[ 32] .... OK[ 33] .... OK[ 35] .... OK[ 36] .... OK[ 37] .... OK[ 38] .... OKTest finished

Net2Phone MAX Command Reference Guide Section 28 � AVU Diagnostic Commands

Page 133: Command Reference - net2phone

128

29. DVU Diagnostic Commands

Command directory

SYS_NAME:/TEST/DIAG/DVU>

Command functionThese commands are used to diagnose DVU board elements and display the results.

Available commands

Name Descriptiontrunk_as Diagnose trunk port operation statustrunkk_lb Put trunk port into loopback statusdsp_as Diagnose DSP operation statusdsp_act Diagnoses DSP encoding statedsp_lb Trunk port is put into loopback state, and a tone is transmitted from DSP to trunk port

Warning !

• All cables, except the power cable and serial cable, must be disconnected when running thesecommands.

• After system diagnosis, the �reset� command must be issued before operating the system.

Net2Phone MAX Command Reference Guide Section 29 � DVU Diagnostic Commands

Page 134: Command Reference - net2phone

129

29.1 Trunk_as

Synopsis: This command in the /TEST/DIAG/SYSTEM/ directory is used to diagnose port operationstatus.

[Example]

SYS_NAME:/TEST/DIAG/DVU> trunk_as

--------------------------------------------------Test trunk port - Access

--------------------------------------------------[Slot : 1]Port 0: GOODTest finished

Net2Phone MAX Command Reference Guide Section 29 � DVU Diagnostic Commands

Page 135: Command Reference - net2phone

130

29.2 Trunk_lb

Synopsis: This command in the /TEST/DIAG/SYSTEM/ directory puts the trunk port into loopbackstate. Data is then sent from the PCM switch to the trunk port, and the command function tests whetherthe sent data was normally received.

[Example]

SYS_NAME:/TEST/DIAG/DVU> trunk_lb

--------------------------------------------------Test trunk port - Loopback

--------------------------------------------------Configuration : E1[Slot : 1][Port/Channel][ 0/ 1] ... OK[ 0/ 2] ... OK

…[ 0/ 29] ... OK[ 0/ 30] ... OK[ 0/ 31] ... OKTest finished

Net2Phone MAX Command Reference Guide Section 29 � DVU Diagnostic Commands

Page 136: Command Reference - net2phone

131

29.3 Dsp_as

Synopsis: This command in the /TEST/DIAG/DVU/ directory is used to diagnose DSP on DVUoperation status.

[Example]

SYS_NAME:/TEST/DIAG/DVU> dsp_as

--------------------------------------------------Test DSP(on DVU) - Access

--------------------------------------------------[Slot : 1]

DSP 00: GOOD DSP 01: GOOD DSP 02: GOOD DSP 03: GOODDSP 04: GOOD DSP 05: GOOD DSP 06: GOOD DSP 07: GOODDSP 08: GOOD DSP 09: GOOD DSP 10: GOOD DSP 11: GOODDSP 12: GOOD DSP 13: GOOD DSP 14: GOOD DSP 15: GOODDSP 16: GOOD DSP 17: GOOD DSP 18: GOOD DSP 19: GOODDSP 20: GOOD DSP 21: GOOD DSP 22: GOOD DSP 23: GOODDSP 24: GOOD DSP 25: GOOD DSP 26: GOOD DSP 27: GOODDSP 28: GOOD DSP 29: GOODTest finished

Net2Phone MAX Command Reference Guide Section 29 � DVU Diagnostic Commands

Page 137: Command Reference - net2phone

132

29.4 Dsp_act

Synopsis: This command in the /TEST/DIAG/DVU/ directory is used to diagnose the DSP on DVUencoding status.

[Example]

SYS_NAME:/TEST/DIAG/DVU> dsp_act 2

--------------------------------------------------Test DSP(on DVU) - Activation

--------------------------------------------------[Slot : 1][Time 1]

DSP 00: [33] GOOD DSP 01: [33] GOOD DSP 02: [33] GOOD DSP 03: [33] GOODDSP 04: [34] GOOD DSP 05: [35] GOOD DSP 06: [34] GOOD DSP 07: [35] GOODDSP 08: [36] GOOD DSP 09: [36] GOOD DSP 10: [36] GOOD DSP 11: [37] GOODDSP 12: [37] GOOD DSP 13: [38] GOOD DSP 14: [38] GOOD DSP 15: [38] GOODDSP 16: [39] GOOD DSP 17: [39] GOOD DSP 18: [39] GOOD DSP 19: [39] GOODDSP 20: [40] GOOD DSP 21: [40] GOOD DSP 22: [41] GOOD DSP 23: [41] GOODDSP 24: [41] GOOD DSP 25: [41] GOOD DSP 26: [41] GOOD DSP 27: [41] GOODDSP 28: [43] GOOD DSP 29: [44] GOOD

[Time 2]

DSP 00: [32] GOOD DSP 01: [33] GOOD DSP 02: [33] GOOD DSP 03: [33] GOODDSP 04: [34] GOOD DSP 05: [34] GOOD DSP 06: [35] GOOD DSP 07: [35] GOODDSP 08: [35] GOOD DSP 09: [35] GOOD DSP 10: [36] GOOD DSP 11: [36] GOODDSP 12: [38] GOOD DSP 13: [37] GOOD DSP 14: [38] GOOD DSP 15: [38] GOODDSP 16: [38] GOOD DSP 17: [39] GOOD DSP 18: [40] GOOD DSP 19: [40] GOODDSP 20: [40] GOOD DSP 21: [41] GOOD DSP 22: [41] GOOD DSP 23: [41] GOODDSP 24: [42] GOOD DSP 25: [42] GOOD DSP 26: [43] GOOD DSP 27: [43] GOODDSP 28: [43] GOOD DSP 29: [43] GOOD

Test finished

Net2Phone MAX Command Reference Guide Section 29 � DVU Diagnostic Commands

Page 138: Command Reference - net2phone

133

29.5 Dsp_lb

Synopsis: This command in the /TEST/DIAG/DVU/ directory puts the trunk port into loopback state,transmits a tone from DSP to the trunk port, then tests whether the transmitted tone was detected byDSP.

[Example]

SYS_NAME:/TEST/DIAG/DVU> dsp_lb

--------------------------------------------------Test DSP(on DVU) - Loopback

--------------------------------------------------Configuration : E1[Slot : 1][DSP No.][ 0] .... OK[ 1] .... OK

…[ 27] .... OK[ 28] .... OK[ 29] .... OKTest finished

Net2Phone MAX Command Reference Guide Section 29 � DVU Diagnostic Commands

Page 139: Command Reference - net2phone

134

30. Network Utility Commands

Command directory

SYS_NAME:/NETUTIL>

Command functionNetwork utility commands are used for status monitoring and routing control.

Available commands

Name Descriptionping Check network connection statusarp Display the Ethernet address corresponding to given IP addressroute Manage the routing table setup in the systemwho Show the current logged-in usersqos Diffserv configuation get/set

Net2Phone MAX Command Reference Guide Section 30 � Network Utility Commands

Page 140: Command Reference - net2phone

135

30.1 Ping

Synopsis: This command in the /NETUTIL/ directory is used to check network connection status andto determine whether other hosts can be reached. Two parameters follow this command. Host addressis mandatory and count is optional.

Syntax: ping [target IP address] [count]

[Example 1]

SYS_NAME:/NETUTIL> pingUsage: ping destination [count]

[Example 2] Ping execution

SYS_NAME:/ NETUTIL> ping 165.243.134.152 3Ping to 165.243.134.152, count = 3, bytes=60, timeout=1000

Reply from 165.243.134.152, 80 bytes, time = 0 msec, seq=1Reply from 165.243.134.152, 80 bytes, time = 0 msec, seq=2Reply from 165.243.134.152, 80 bytes, time = 0 msec, seq=3

Net2Phone MAX Command Reference Guide Section 30 � Network Utility Commands

Page 141: Command Reference - net2phone

136

30.2 ARP

Synopsis: This command in the /NETUTIL/ directory displays the hardware address that correspondsto a given IP address.

[Example 1]

SYS_NAME:/ NETUTIL> arpUsage: arp -a

-d ip-address

[Example 2] Arp execution

SYS_NAME:/NETUTIL> arp -a

IP Address Physical Address Interface Type--------------- ------------------- ------------ -----165.243.134.078 00:10:5A:87:6C:B7 01 03--------------- ------------------- ------------ -----

Net2Phone MAX Command Reference Guide Section 30 � Network Utility Commands

Page 142: Command Reference - net2phone

137

30.3 Route

Synopsis: This command in the /NETUTIL/ directory manages the routing table setup in the system.

[Example 1]

SYS_NAME:/NETUTIL> route

Usage: route -s

-a dest netmask gateway

-d dest netmask gateway

[Example 2] Route execution

SYS_NAME:/ NETUTIL> route –s

Number of routing table size is 3=================== IP Routing Table ==========================No Dest Mask Gateway Intf Type Protocol==================================================================0 0.0.0.0 0.0.0.0 165.243.129.1 1 4 21 127.0.0.1 0.0.0.0 127.0.0.1 6 3 22 165.243.129.0 255.255.255.0 165.243.129.101 1 3 2

===================================================================

Net2Phone MAX Command Reference Guide Section 30 � Network Utility Commands

Page 143: Command Reference - net2phone

138

30.4 Who

Synopsis: This command in the /NETUTIL/ directory displays the current logged-in users.

[Example]

SYS_NAME:/NETUTIL> who

---------- --------------- ---------- ------------

NET FROM USER STATE

---------- --------------- ---------- ------------

console console root logged in

---------- --------------- ---------- ------------

Net2Phone MAX Command Reference Guide Section 30 � Network Utility Commands

Page 144: Command Reference - net2phone

139

30.5 QOS

Synopsis: This command in the /NETUTIL/ directory shows and sets the current Diffserv configuration.

The following example demonstrates command usage and the codepoint values that can be used.

[Example]

SYS_NAME:/NETUTIL> QoSUsage : qos -s <value>

-g

The �-s� option is used for setting the priority level of outgoing IP packets. This priority level is alsocalled the �codepoint.� Higher code point values indicate a higher priority for router packet processing.However, if router resources are unavailable, then higher priority packets are discarded first, so amedian code point value is recommended when router capacity is limited.

The �-g� option is used for showing current codepoint setting.

There are 12 code point values in the AF (assured forwarding) code point range, classified as Low,Med, and High codepoints. The classes are graduated as follows: Average, Bronze, Silver, Gold.

Choose one of the following codepoints and enter the value as a hexadecimal number. Using one ofthe values in the AF codepoint table is recommended.

=========================================================Recommended Codepoint for Standard Per-Hop Behavior

=========================================================1. DE(Default Expected) : 00000000(00)2. EF(Expected Forwarding) : 10111000(b8)3. AF(Assured Forwarding) : 00101000(28)-10011000(98)

[AF code point table]---------------------------------------------------------Grade | Ave | Bronze | Silver | Gold

---------------------------------------------------------Low | 00101000 | 01001000 | 01101000 | 10001000Med | 00110000 | 01010000 | 01110000 | 10010000High | 00111000 | 01011000 | 01111000 | 10011000

---------------------------------------------------------

Net2Phone MAX Command Reference Guide Section 30 � Network Utility Commands

Page 145: Command Reference - net2phone

140

31. Default Configuration Values

All MAX systems retrieve their factory default configuration values when a default setting command isexecuted.

IP configurations are not influenced by the Default command

Warning !

• All routing table contents are deleted when the Default command is executed.• All address table contents are deleted when the Default command is executed.

==============================================================System Configurations==============================================================pcm_coding_law (pcm) : A-LAWnv-memory save mode (save) : MANUALyes/no prompt mode (prompt) : ENABLE(ON)watchdog timer (wdt) : ENABLE(ON)primary clock source (clkp) : FREE RUNsecondary clock source (clks) : FREE RUN

==============================================================

==============================================================N2P Operation Mode : Incoming/Outgoing==============================================================---- -------------------- -------------------- -----Port Account Pin Login---- -------------------- -------------------- -----

1 N2 N3 N4 N5 N6 N7 N8 N

---- -------------------- -------------------- -----

(continues on next page)

Net2Phone MAX Command Reference Guide Section 31 � Default Configuration Values

Page 146: Command Reference - net2phone

141

(System Configurations, continued)

==============================================================N2P Configuration==============================================================------------------------------------------System Name : ITGS 1CAPA_FLAG : TXSFCodec Type : 51VPort Start : 21000Client Name : net2foneDoorman 1 IP : 169.132.184.211Doorman 1 Port : 6801Doorman 2 IP : 216.53.10.1Doorman 2 Port : 6801TCP Start Port : 4000JB Upper : 4JB Lower : 1------------------------------------------

==============================================================FXS Configurations==============================================================ring cadence on time (ron) : 1 secring cadence off time (roff) : 2 secring frequency (rfreq) : 20 Hzpolarity reversal (pola) : DISABLE(OFF)Voice Output Gain (vgain) : -3 dbmPCM Input Gain (igain) : -3 dbmoff hook guard time (t1) : 200 mson hook guard time (t2) : 300 mshook flash guard time (t3) : 0 mswait first DTMF timer (t4) : 15 secwait second DTMF timer (t5) : 12 secwait on-hook timer (t6) : 30 secwait connect from net (t7) : 120 sec

==============================================================

(continues on next page)

Net2Phone MAX Command Reference Guide Section 31 � Default Configuration Values

Page 147: Command Reference - net2phone

142

(System Configurations, continued)

==============================================================FXO Configurations==============================================================dial duration (dur) : 200 msdial Interval (intv) : 200 msdial mode (mode) : NO WAIT DIAL TONE(1)ring number (nring) : 2 timespolarity reversal (pola) : DISABLE(OFF)Voice Output Gain (vgain) : -3 dbmPCM Input Gain (igain) : -3 dbmring off detect (t1) : 6 secwait connect from net (t2) : 60 secwait dialtone (t3) : 15 secwait digit from net (t4) : 12 sec

============================================================

============================================================Digital Trunk Configurations============================================================trunk type (trunk) : E1frame mode (frame) : CRC4(E1)signaling type (sig) : R2(CAS)Voice Output Gain (vgain) : -3 dbmPCM Input Gain (igain) : -3 dbm

============================================================

All digital Trunk channels (line) are set to I/C mode.

=============================================================R2 Configurations=============================================================O/G II-Group signal (categ) : 1(PRI-SUBSCRIBER)O/G request Charge (charge) : YES(Charge)I/C A-Group signal (acomp) : NO(Request B-group signal)I/C Calling Party Addr Request (sareq) : NO(No Request)R2 Line signaling type (stype) : WINK STARTRobbed bit reversion(rbr) : DISABLE(OFF)max number of digits to receive(mrxd) : 0R2-MFC Tone Output Gain (gain) : -20 dbmSeizure Guard Time (t1) : 30 msClear Forward Guard Time (t2) : 200 msClear Forward Wait Guard Time (t3) : 30000 msSeizure Ack Guard Time (t4) : 1000 msClare Guard Time (t5) : 360 msAnswer Guard Time (t6) : 200 msClear Backward Guard Time (t7) : 200 msRelease Guard Time (t8) : 200 msReanswer Guard Time (t9) : 200 msRelease Wait Guard Time (t10) : 1000 msBlock Detect Guard Time (t11) : 640 ms

==============================================================

(continues on next page)

Net2Phone MAX Command Reference Guide Section 31 � Default Configuration Values

Page 148: Command Reference - net2phone

143

(System Configurations, continued)

==============================================================DSP(Voice Compression) Configurations==============================================================Call progress tone country (cptc) : KOREAVoice codec type (codec) : G.723(LOW-BW/5.3kbps)Silence compression (sc) : DISABLE(OFF)Echo Cancellation (ec) : ENABLE(ON)Post Filter (pf) : ENABLE(ON)High Pass Filter (hpf) : ENABLE(ON)DTMF Output Gain (dgain) : -5 dbmCall Progress Tone Attenuation (cgain) : 0 dbmJitter Buffer Minimum Delay (jbmd) : 40 msJitter Buffer Option Factor (jbof) : 7DTMF Detection Threshold Time (ddt) : 30 ms

==============================================================

Net2Phone MAX Command Reference Guide Section 31 � Default Configuration Values