Net2Phone MAX 8, MAX 8/16, MAX 16 Reference Manual

Page 1
Command Reference
Guide
for configuration management of
MAX systems through a
serial connection
Version 1.0
MAX 8/16
and
MAX 8
/
16
TM
TM
Page 2
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 are presented without warranty of any kind, express or implied. Users must take full responsibility for their application of any products.
The software license and limited warranty for the accompanying product are set forth in the information packet that shipped with the product and are incorporated herein by this reference. If you are unable to locate the software 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 and found to comply with the limits for a Class A digital device, pursuant to part 15 of the FCC rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment. This equipment generates, uses, and can radiate radio-frequency energy and, if not installed and used in accordance with the instruction manual, may cause harmful interference to radio communications. Operation of this equipment in a residential area is likely to cause harmful interference, in which 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 manual generates and may radiate radio-frequency energy. If it is not installed in accordance with Net2Phone's installation instructions, it may cause interference with radio and television reception. This equipment has been tested and found to comply with the limits for a Class B digital device in accordance with the specifications in part 15 of the FCC rules. These specifications are designed to provide reasonable protection against such interference in a residential installation. However, there is no guarantee that interference will not occur in a particular installation.
Modifying the equipment without Net2Phone's written authorization may result in the equipment no longer complying with FCC requirements for Class A or Class B digital devices. In that event, your right to use the equipment may be limited by FCC regulations, and you may be required to correct any interference to radio or television communications at your own expense.
You can determine whether your equipment is causing interference by turning it off. If the interference stops, it was probably caused by the Net2Phone equipment or one of its peripheral devices. If the equipment causes interference to radio or television reception, try to correct the interference by using one or more of the following measures:
· 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 or fuses.)
Modifications to this product not authorized by Net2Phone could void the FCC approval and negate your authority to operate the product.
Notwithstanding any other warranty herein, all document files and software of these suppliers are provided "as is" 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 or arising 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 incidental damages, including, without limitation, lost profits or loss or damage to data arising out of the use or inability to use this manual, even if Net2Phone or its suppliers have been advised of the possibility of such damages.
Net2Phone, MAX 8, MAX 8/16, net2phone, and the Net2Phone logo are registered trademarks of Net2Phone, Inc. in the US and certain other countries. All other trademarks mentioned in this document are the property of their respective owners.
Net2Phone MAX 8 and MAX 8/16 Command Reference Guide
Rev. 1.0 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 any means, without the written permission of Net2Phone, is strictly forbidden.
Printed in Korea
Page 3
iii
Table of Contents
INTRODUCTION.......................................................................................................................................... 1
Conventions Used in this Guide .......................................................................................................... 1
About Console Commands ................................................................................................................. 1
Basic Command Line Navigation ........................................................................................................ 1
1. BASIC COMMANDS................................................................................................................................ 3
1.1 Dir (or LS) ................................................................................................................................. 4
1.2 CD............................................................................................................................................. 5
1.3 Help........................................................................................................................................... 6
2. SYSTEM COMMANDS............................................................................................................................ 7
2.1 Reset......................................................................................................................................... 8
2.2 Date [yyyy-mm-dd] .................................................................................................................... 9
2.3 Time [hh:mm:ss]..................................................................................................................... 10
2.4 Password <login name>.......................................................................................................... 11
2.5 Sysname [system name]......................................................................................................... 12
2.6 Versioninfo .............................................................................................................................. 13
2.7 Slotinfo .................................................................................................................................... 14
3. CONFIGURATION MANAGEMENT COMMANDS................................................................................ 16
3.1 Default..................................................................................................................................... 17
3.2 Load ........................................................................................................................................ 19
3.3 Save........................................................................................................................................ 20
4. SYSTEM CONFIGURATION COMMANDS........................................................................................... 21
4.1 Show ....................................................................................................................................... 22
4.2 Change [parameter][value]...................................................................................................... 23
5. IP CONFIGURATION COMMANDS ...................................................................................................... 24
5.1 Show ....................................................................................................................................... 25
5.2 Change ................................................................................................................................... 26
6. ROUTING TABLE CONFIGURATION COMMANDS............................................................................. 32
6.1 Show ....................................................................................................................................... 33
6.2 Add.......................................................................................................................................... 34
6.3 Del........................................................................................................................................... 36
7. NET2PHONE (N2P) PROTOCOL CONFIGURATION COMMANDS .................................................... 38
7.1 Show ....................................................................................................................................... 39
7.2 Change ................................................................................................................................... 40
8. ADDRESS CONFIGURATION COMMANDS ........................................................................................ 42
8.1 Show ....................................................................................................................................... 43
8.2 Myaddr .................................................................................................................................... 44
8.3 Peeraddr (not applicable to Net2Phone MAX 8) .................................................................... 46
8.4 Gport ....................................................................................................................................... 49
9. DSP CONFIGURATION COMMANDS .................................................................................................. 50
9.1 Show ....................................................................................................................................... 51
9.2 Change ................................................................................................................................... 52
10. FXS CONFIGURATION COMMANDS ................................................................................................ 55
10.1 Show ....................................................................................................................................... 56
10.2 Change ................................................................................................................................... 57
11. FXO CONFIGURATION COMMANDS................................................................................................ 59
11.1 Show ...................................................................................................................................... 60
11.2 Change .................................................................................................................................. 61
Page 4
iv
12. DIGITAL TRUNK CONFIGURATION COMMANDS............................................................................ 63
12.1 Show ....................................................................................................................................... 64
12.2 Change ................................................................................................................................... 65
13. R2 CONFIGURATION COMMANDS.................................................................................................. 69
13.1 Show ....................................................................................................................................... 70
13.2 Change ................................................................................................................................... 71
14. SYSTEM CALL STATISTICS DISPLAY COMMANDS........................................................................ 75
14.1 Show ....................................................................................................................................... 76
14.2 Clear ....................................................................................................................................... 77
15. FXS STATISTICS DISPLAY COMMANDS ........................................................................................ 78
15.1 Show ....................................................................................................................................... 79
15.2 Clear ....................................................................................................................................... 80
16. FXO STATISTICS DISPLAY COMMANDS........................................................................................ 81
16.1 Show ....................................................................................................................................... 82
16.2 Clear ....................................................................................................................................... 83
17. DIGITAL TRUNK STATISTICS DISPLAY COMMANDS .................................................................... 84
17.1 Show ....................................................................................................................................... 85
17.2 Clear ....................................................................................................................................... 86
18. R2 STATISTICS DISPLAY COMMANDS........................................................................................... 87
18.1 Show ....................................................................................................................................... 88
18.2 Clear ....................................................................................................................................... 89
19. NET2PHONE PROTOCOL TEST COMMANDS................................................................................. 90
19.1 Trace....................................................................................................................................... 91
19.2 Ologin...................................................................................................................................... 92
19.3 Ologout ................................................................................................................................... 93
19.4 Cstate...................................................................................................................................... 94
19.5 Ostate ..................................................................................................................................... 95
20. VOICE PROMPT TEST COMMANDS.................................................................................................96
20.1 Record .................................................................................................................................... 97
20.2 Play ......................................................................................................................................... 98
20.3 Save_NV................................................................................................................................. 99
20.4 Read_NV .............................................................................................................................. 100
21. FXS STATUS DISPLAY COMMAND ................................................................................................ 101
21.1 Show ..................................................................................................................................... 102
22. FXO STATUS DISPLAY COMMANDS............................................................................................. 103
22.1 Show ..................................................................................................................................... 104
23. DIGITAL TRUNK STATUS DISPLAY COMMANDS......................................................................... 105
23.1 Atx......................................................................................................................................... 106
23.2 Loopback .............................................................................................................................. 107
24. R2 STATUS DISPLAY COMMANDS ............................................................................................... 108
24.1 Show ..................................................................................................................................... 109
24.2 Block ..................................................................................................................................... 110
24.3 Unblock ................................................................................................................................. 111
25. TRACE INFORMATION COMMANDS.............................................................................................. 112
25.1 Show ..................................................................................................................................... 113
25.2 R2 ......................................................................................................................................... 114
25.3 Lapd ...................................................................................................................................... 115
26. AUTOMATIC SYSTEM DIAGNOSIS COMMAND............................................................................. 116
26.1 Automatic .............................................................................................................................. 117
Page 5
v
27. MPU DIAGNOSTIC COMMANDS..................................................................................................... 118
27.1 Nvram ................................................................................................................................... 119
27.2 RTC....................................................................................................................................... 120
27.3 Pcm_as ................................................................................................................................. 121
28. AVU DIAGNOSTIC COMMANDS..................................................................................................... 122
28.1 Lxf_as ................................................................................................................................... 123
28.2 Lxs_lb.................................................................................................................................... 124
28.3 Dsp_as.................................................................................................................................. 125
28.4 Dsp_act................................................................................................................................. 126
28.5 Dsp_lb................................................................................................................................... 127
29. DVU DIAGNOSTIC COMMANDS .................................................................................................... 128
29.1 Trunk_as ............................................................................................................................... 129
29.2 Trunk_lb ................................................................................................................................ 130
29.3 Dsp_as.................................................................................................................................. 131
29.4 Dsp_act................................................................................................................................. 132
29.5 Dsp_lb................................................................................................................................... 133
30. NETWORK UTILITY COMMANDS.................................................................................................... 134
30.1 Ping....................................................................................................................................... 135
30.2 ARP....................................................................................................................................... 136
30.3 Route .................................................................................................................................... 137
30.4 Who....................................................................................................................................... 138
30.5 QOS ...................................................................................................................................... 139
31. DEFAULT CONFIGURATION VALUES........................................................................................... 140
Page 6
1
Introduction
Conventions Used in this Guide
In this Guide, text that will be displayed on your PC screen is set in “Courier” font, and the text you are 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 Commands
This Guide describes commands that are typed on a PC keyboard while it is connected to the Net2Phone MAX 8 or 8/16 through a terminal-emulator program, such as HyperTerminal. Section
2.1.2 of the MAX 8 and MAX 8/16 User Guide explains how to connect a PC to a MAX unit through the PC’s and Max’s serial ports.
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 letters may be used.
Basic Command Line Navigation
Navigation on the Net2Phone MAX 8 and 8/16 is similar to navigation at the DOS command line, except that the backslash (\) is replaced by a foward slash (/).
When the system is ready to receive a command, it displays a “command line prompt.” The name of the current 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 with a 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 a relative 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 path
statement, a single dot (
. ) takes the place of the path name of the current directory, and a
double 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>,
you would type
CD ./N2P.
Example:
SYS_NAME:/CONFIG/> CD ./N2P SYS_NAME:/CONFIG/N2P>
Net2Phone MAX Command Reference Guide Introduction
Page 7
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../Show SYS_NAME:/CONFIG/Show>
Net2Phone MAX Command Reference Guide Introduction
Page 8
3
1. Basic Commands
Command directory
Basic commands can be executed in any directory (i.e., at any prompt).
Command function
Basic commands are used primarily for directory navigation and for command system help.
Available commands
Name Description
dir 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
4
1.1 Dir (or LS)
Synopsis: This command and “ls” command in the root directory are identical. Both will display the executable 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, to differentiate them from the executable commands.
[Example]
SYS_NAME:> dir SYstem/ Config/ STatistics/ Test/ Netutil/
The capitalized letters in the directory and command name listing represent the abbreviated form of those names. The abbreviated names may be used instead of the full names in issuing commands or specifying paths.
Net2Phone MAX Command Reference Guide Section 1 – Basic Commands
Page 10
5
1.2 CD
This command in the root directory is used to change from the current working directory to a different directory. The target directory can be specified as an absolute path starting from a specified route, or as a relative path based on the current directory.
[Example 1]
SYS_NAME:> cd system
SYS_NAME:/SYSTEM>
[Example 2]
SYS_NAME:/CONFIG/N2P> cd /system
SYS_NAME:/SYSTEM>
From the root directory, you may move to a target directory by typing only the directory name, or just the first two or three characters of the name.
[Example 3]
SYS_NAME:/> system
SYS_NAME:/SYSTEM>
Net2Phone MAX Command Reference Guide Section 1 – Basic Commands
Page 11
6
1.3 Help
Synopsis: This command in the root directory lists and briefly describes the executable commands present in the current directory and its subdirectories.
The “help” command can be issued with either absolute or relative path names. The following example shows 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
7
2. System Commands
Command directory
SYS_NAME:/SYSTEM>
Command function
System commands are used to control system-related modules.
After a command is executed, the message “
Command successfully end.” (sic.) is
displayed at the prompt to confirm that the command was executed successfully.
If a command that can include parameters is issued without specifying any parameters, the current status of the system is reported along with a usage or syntax reminder:
usage: DATE [ new-date( yyyy–mm–dd) ]
Available commands
Name Description
reset 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
8
2.1 Reset
Synopsis: This command in the /SYSTEM/ directory restarts the system hardware and software for system initialization without the need to cycle the power off and on. It must be issued at the
SYS_NAME:/SYSTEM> prompt, and has no parameters.
[Example]
SYS_NAME:/SYSTEM> reset
CAUTION!!! 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
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 date specified.
[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-18
Command successfully end. (sic. – this is the command confirmation)
[Example 3] Confirm the new date.
SYS_NAME:/SYSTEM> date
Current Date is 2000-02-18 FRI usage: date [new-date(yyyy-mm-dd)]
Net2Phone MAX Command Reference Guide Section 2 – System Commands
Page 15
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 the time specified.
[Example 1] Query the system time.
SYS_NAME:/SYSTEM> time
Current Time is 02:10:22 usage : time [new–time(hh:mm:ss)]
[Example 2] Change the system time.
SYS_NAME:/SYSTEM> time 16:32:30
Command successfully end.
[Example 3] Confirm the new time.
SYS_NAME:/SYSTEM> time
Current Time is 16:32:35 usage : time [new-time(hh:mm:ss)]
Net2Phone MAX Command Reference Guide Section 2 – System Commands
Page 16
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. The login 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 Password
root n2p sysadm n2p
manager 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
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> sysname
System name is SYS_NAME usage: sysname
[Example 2] Change the system name to “ACME”.
SYS_NAME:/SYSTEM> sysname ACME
Configuration 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 as follows to save the new name:
JANG:/SYSTEM> ../config/save
This command isn't recoverable. Are you sure(y/n)? y
Configurations in working memory are saved to NV-memory.
JANG:/SYSTEM> sysname
SystemnameisJANG usage: sysname
Net2Phone MAX Command Reference Guide Section 2 – System Commands
Page 18
13
2.6 Versioninfo
Synopsis: This command in the /SYSTEM/ directory displays the current version information for the system 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
14
2.7 Slotinfo
Synopsis: This command in the SYS_NAME:/SYSTEM> directory is used to diagnose the operation of various boards installed in the system including AVU and DVU board.
[Example 1]
SYS_NAME:/SYSTEM> slotinfo
USAGE : slotinfo [slot]
============================================================== SYS_NAME Main Board Status ---- Daughter board isn't detected ============================================================== SYS_NAME Slot Board Status ============================================================== SLOT TYPE STATUS ============================================================== 1 EMPTY BAD 2 AVU (Analog I/F 8 port) GOOD 3 EMPTY BAD ==============================================================
[Parameter description]
Type Description
avu Analog Voice board status.
dvu Digital Voice board status.
Status Description
good
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
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 | GOOD board base address | 0x60000000
---------------------------------------------------------------------­h/W port number |1234
---------------------------------------------------------------------­interface type | FXO FXO FXS FXS logical port number |0101 group port number | --- --- --- --­local port address | peer/remote address |
---------------------------------------------------------------------­h/W port number |5678
---------------------------------------------------------------------­interface type | EMPTY EMPTY EMPTY EMPTY logical 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 | GOOD board base address | 0x64000000
---------------------------------------------------------------------­h/W port number | 1 ---
---------------------------------------------------------------------­interface type | E1 NIU-FE1 logical port number | 0 0 group 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
16
3. Configuration Management Commands
Command directory
SYS_NAME:/CONFIG>
Command function
Configuration management commands handle the backup processing for the values that are set up through the configuration command.
Available commands
Name Description
default 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
17
3.1 Default
Synopsis: This command in the /CONFIG/ directory sets all the system parameters to the factory default values.
When the “default” setting command is executed in the
SYS_NAME:/CONFIG directory, the
Net2Phone MAX 8 and 8/16 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> default
This command isn’t recoverable. Are you sure( y/n )?
y
==============================================================
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)
==============================================================
============================================================== N2P Operation Mode : Incoming/Outgoing ==============================================================
---- -------------------- -------------------- ----­Port Account Pin Login
---- -------------------- -------------------- ----­1 N 2 N 3 N 4 N 5 N 6 N 7 N 8 N
---- -------------------- -------------------- -----
(continues on next page)
Net2Phone MAX Command Reference Guide Section 3 – Configuration Management Control
Page 23
18
(Example, continued)
==============================================================
N2P Configuration
==============================================================
------------------------------------------
System Name : ITGS 1 CAPA_FLAG : TXSF Codec Type : 51 VPort Start : 21000 Client Name : net2fone Doorman 1 IP : 169.132.184.211 Doorman 1 Port : 6801 Doorman 2 IP : 216.53.10.1 Doorman 2 Port : 6801 TCP Start Port : 4000 JB Upper : 4 JB Lower : 1
------------------------------------------
==============================================================
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
==============================================================
==============================================================
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 3 – Configuration Management Control
Page 24
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> load
This 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
20
3.3 Save
Synopsis: This command in the /CONFIG/ directory saves all the current parameter values set in the system to the NV-memory.
[Example]
SYS_NAME:/CONFIG> save
This command isn’t recoverable. Are you sure( y/n )?
y
Configuration in working memory is saved to NV-memory.
Net2Phone MAX Command Reference Guide Section 3 – Configuration Management Control
Page 26
21
4. System Configuration Commands
Command directory
SYS_NAME:CONFIG/COMMON>
Command function
These commands deal with the configuration information management of the system. It sets PCM coding mode, NV-memory save method, use of prompt, and clock source.
Available commands
Name Description
show Show basic system parameters. change Change basic system parameters.
Net2Phone MAX Command Reference Guide Section 4 – System Configuration Commands
Page 27
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
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 Description
pcm 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 alaw
Configuration 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
24
5. IP Configuration Commands
Command directory
SYS_NAME:/CONFIG/IP>
Command function
Command functions are used to display and/or change the IP address, sub-net mask, baud-rate, and other LAN parameters.
Available commands
Name Description
show Show IP parameters. change Change IP parameters.
Net2Phone MAX Command Reference Guide Section 5 – IP Configuration Commands
Page 30
25
5.1 Show
Synopsis: This command in the /CONFIG/IP/ directory displays the current LAN and terminal communications 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
26
5.2 Change
Synopsis: This command in the /CONFIG/IP/ directory displays the current LAN and terminal communications parameters and permits their modification from an interactive menu.
Note: To enable or disable DHCP from HyperTerminal, refer to Entering Static IP Addresses via HyperTerminal in the MAX 8 and MAX 8/16 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
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.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) ? :
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.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 33
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.
Whatdoyouwanttochange(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
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
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
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
32
6. Routing Table Configuration Commands
Command directory
SYS_NAME:/CONFIG/ROUTE>
Command function
These commands manage the routing table which is used in call routing.
Available commands
Name Description
show 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
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
34
6.2 Add
Synopsis: This command in the /CONFIG/ROUTE/ directory adds the numbers required for call routing 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 Description
intf 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
35
[Example 2] Assume that port interface is “fxs”, the telephone number is “1001”, and there is
no truncation, 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> addfxs110010nullnull
Prefix 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
36
6.3 Del
Synopsis: This command in the /CONFIG/ROUTE/ folder deletes registered numbers in the prefix table.
[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 Description
intf 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
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> delfxs110010
Prefix 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
38
7. Net2Phone (N2P) Protocol Configuration Commands
Command directory
SYS_NAME:/CONFIG/N2P>
Command function
Commands in this directory are used to configure Net2Phone protocol parameters.
Available commands
Name Description
show 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
39
7.1 Show
Synopsis: This command in the /CONFIG/N2P/ folder displays the current N2P configurations on the terminal.
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 3N 4N 5 14102466047 1000 Y 6N 7N 8N
---- ------------------ -------------------- -----
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
40
7.2 Change
Synopsis: This command in the /CONFIG/N2P/ folder is used to change current N2P configuration parameters.
Syntax:
change <config_item> < parameter_1> < parameter_2>
<parameter_3> etc. …
Config item Command format & parameter description
port
Format : change port port_number account pin login port_number : <1~|all> account : account string pin : PIN string login : 0 if login is not needed, 1 if login is needed Registers/changes account number and PIN for each physical voice port.
capa
Format : change capa capa_string capa_string : string from SFTX9 Changes 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 number Changes initial UDP port number used by voice packets.
tport
Format : change tport tcp_port_start tcp_port_start : starting control TCP port number Changes initial TCP port number used by control messages.
client
Format : change client name_string name_string : client name Changes the client name.
dm1
Format : change dm1 ip port ip : IP address in string form (host_name.domain_name) port : port number Changes First Doorman server IP address (string form) & UDP port number.
dm2
Format : change dm2 ip port ip : IP address in string form (host_name.domain_name) port : port number Changes Second Doorman server IP address (string form) & UDP port number.
ub
Format : change ub ub_value
ub_value : upper bound value
Changes the jitter buffer upper bound.
lb
Format : change lb lb_value
lb_value : lower bound value
Changes the jitter buffer lower bound.
Net2Phone MAX Command Reference Guide Section 7 – Protocol Configuration Commands
Page 46
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
42
8. Address Configuration Commands
Command directory
SYS_NAME/CONFIG/ADDRESS>
Command function
Address configuration commands are used to manage the logical addresses allocated to each analog voice interface port.
Available commands
Name Description
show 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
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
44
8.2 Myaddr
Synopsis: This command in the /CONFIG/ADDRESS/ directory registers local addresses, which are used 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 Description
intf 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 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)? y Configurations in working memory are saved to NV-memory.
(Continued on next page)
Net2Phone MAX Command Reference Guide Section 8 – Address Configuration Commands
Page 50
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 null
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)? y Configurations 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
46
8.3 Peeraddr (not applicable to Net2Phone MAX 8)
Synopsis: This command in the /CONFIG/ADDRESS/ directory registers peer addresses which are used 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 Description
intf 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
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)? y Configurations 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
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 null
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)? y Configurations 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
49
8.4 Gport
Synopsis: This command in the /CONFIG/ADDRESS/ directory is used to group multiple ports together 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
50
9. DSP Configuration Commands
Command directory
SYS_NAME/CONFIG/DSP/>
Command function
DSP configuration commands are used to set up voice-compression-related parameter values.
Available commands
Name Description
show Show DSP parameters.
change Change DSP parameters.
Net2Phone MAX Command Reference Guide Section 9 – DSP Configuration Commands
Page 56
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
52
9.2 Change
Synopsis: This command in the /CONFIG/DSP/ directory is used to set voice compression parameter values.
Syntax: change <parameter> <value>
[Parameter description]
Param eter
Description
cptc Set up local tone used in voice call progress (korea|israel).
codec
Assign 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
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
54
[Example 2] Set DTMF output gain to - 7 dbm.
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) : 50 ms ==============================================================
SYS_NAME:/CONFIG/DSP> change dgain - 7 Configuration 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)? y Configuration 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
55
10. FXS Configuration Commands
Command directory
SYS_NAME:/CONFIG/FXS/>
Command function
FXS configuration commands are used to set the parameters of the FXS interface, used in connecting analog telephones to the MAX 8 and 8/16 systems.
Available commands
Name Description
show Show FXS parameters.
change Change FXS parameters.
Net2Phone MAX Command Reference Guide Section 10 – FXS Configuration Commands
Page 61
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
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 Description
ron 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).
t2
On-Hook guard time 300 (960~3000 msec). in hook flash disabled : setup less than 960msec.
t3
Hook-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
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~4sec ; 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~30sec ; 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 1
Configuration 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)? y Configuration in working memory is saved to NV-memory.
Net2Phone MAX Command Reference Guide Section 10 – FXS Configuration Commands
Page 64
59
11. FXO Configuration Commands
Command directory
SYS_NAME:/CONFIG/FXO/>
Command function
FXO configuration commands are used to set up the FXO interface parameters, which are used in connecting the MAX 8 and 8/16 systems to a PBX.
Available commands
Name Description
show Show FXO parameters.
change Change FXO parameters.
Net2Phone MAX Command Reference Guide Section 11 – FXO Configuration Commands
Page 65
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 ms dial interval (intv) : 200 ms dial mode (mode) : NO WAIT DIAL TONE(1) ring number (nring) : 2 times polarity reversal (pola) : DISABLE(OFF) Voice Output Gain (vgain) : -3 dbm PCM Input Gain (igain) : -3 dbm ring off detect (t1) : 6 sec wait connect from net (t2) : 60 sec wait dialtone (t3) : 1 sec wait digit from net (t4) : 12 sec hook flash guard time(t5) : 300 ms current detection time(t6) : 100 ms
========================================================
Net2Phone MAX Command Reference Guide Section 11 – FXO Configuration Commands
Page 66
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 Description
dur 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
2
immediately connect (digit transmission with a packet through the inband 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
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 voice
packet) ; 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 200
Configuration is not saved. You must save the changed configurations Command successfully end.
SYS_NAME:/CONFIG/FXO>
../save
This command isn’t recoverable. Are you sure (y/n) ? y Configurations in working memory is saved to NV-Memory.
Net2Phone MAX Command Reference Guide Section 11 – FXO Configuration Commands
Page 68
63
12. Digital Trunk Configuration Commands
Command directory
SYS_NAME:/CONFIG/DTRUNK/>
Command function
These commands are used to set up the frame mode, signaling type, and clock mode, required for the digital trunk interface.
Available commands
Name Description
show Show digital trunk parameters. change Change digital trunk parameters.
Net2Phone MAX Command Reference Guide Section 12 – Digital Trunk Configuration Commands
Page 69
64
12.1 Show
Synopsis: This command in the /CONFIG/DTRUNK/ directory displays the setup value of the digital trunk parameter.
[Example 1]
SYS_NAME:/CONFIG/DTRUNK> show
Usage : 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) : T1 line code (lcode) : AMI(T1, E1) frame mode (frame) : D4(T1) signaling type (sig) : R2(CAS) Voice Output Gain (vgain) : -3 dbm PCM 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
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> change
Usage : 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
66
[Parameter description]
Parameter Description
Digital trunk type setup (E1|T1).
T1 1.544Mhz
type
E1 2.048Mhz
Selection of frame generation mode (D4/ESF/SLS96/CRC4/NOCRC4).
T1 D4, ESF, SLS96frame
E1 CRC4, NOCRC4
Signaling mode selection (R2 / DTMF / ISDN).
CAS R2, DTMF
sig
CCS 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 Incoming
og Outgoing
ch-type
both Bothway
ch-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
67
[Example 4] Set up the Trunk Type with “E1”.
SYS_NAME:/CONFIG/DTRUNK> show cfg
==============================================================
Digital Trunk Configurations
==============================================================
trunk type (trunk) : T1
frame mode (frame) : D4(T1) signaling type (sig) : R2(CAS)
==============================================================
SYS_NAME:/CONFIG/DTRUNK> change cfg type e1
Configuration 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) : E1
frame mode (frame) : CRC4(E1) signaling type (sig) : R2(CAS)
==============================================================
Net2Phone MAX Command Reference Guide Section 12 – Digital Trunk Configuration Commands
Page 73
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-31
Configuration 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 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
69
13. R2 Configuration Commands
Command directory
SYS_NAME:/CONFIG/R2/>
Command function
This command sets up the parameters used by the R2 signaling mode.
Available commands
Name Description
show Show R2 parameters.
change Change R2 parameters.
Net2Phone MAX Command Reference Guide Section 13 – R2 Configuration Commands
Page 75
70
13.1 Show
Synopsis: This command in the /CONFIG/R2/ directory shows the parameters used in the R2 signaling mode.
[Example]
SYS_NAME:/CONFIG/R2> show
=====================================================================
R2 Configurations
=====================================================================
Dialing Mode (dmode) : 1(ENBLOC) R2 Line signaling type (stype) : E&M IMM robbed 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) : 0 R2-MFC Tone Output Gain (gain) : -20 dbm Seizure Guard Time (t1) : 30 ms Clear Forward Guard Time (t2) : 200 ms Clear Forward Wait Guard Time (t3) : 30000 ms Seizure Ack Guard Time (t4) : 1000 ms Glare Guard Time (t5) : 360 ms Answer Guard Time (t6) : 200 ms Clear Backward Guard Time (t7) : 200 ms Release Guard Time (t8) : 200 ms Reanswer Guard Time (t9) : 200 ms Release Wait Guard Time (t10) : 1000 ms Block Detect Guard Time (t11) : 640 ms Glare Detect Guard Time (t12) : 200 ms If glare is detected, stay seizure(t13): 500 ms
Net2Phone MAX Command Reference Guide Section 13 – R2 Configuration Commands
Page 76
71
13.2 Change
This command in the /CONFIG/R2/ directory sets up all the parameters used in the R2 signaling mode.
Syntax: change <parameter> <value>
[Parameter description]
Parameter Description
categ 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).
mrxd
Restrict 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
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(R2recommendation 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
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) : CHARGE I/C A-Group signal (acomp) : request B-group signal I/C Calling Party Addr Request (sareq) : NO REQUEST R2 Line signaling type (stype) : WINK START max number of digits to receive(mrxd) : 0 R2-MFC Tone Output Gain (gain) : -20 dbm Seizure Guard Time (t1) : 30 ms Clear Forward Guard Time (t2) : 200 ms Clear Forward Wait Guard Time (t3) : 30000 ms Seizure Ack Guard Time (t4) : 1000 ms Clare Guard Time (t5) : 360 ms Answer Guard Time (t6) : 200 ms Clear Backward Guard Time (t7) : 200 ms Release Guard Time (t8) : 200 ms Reanswer Guard Time (t9) : 200 ms Release Wait Guard Time (t10) : 1000 ms Block Detect Guard Time (t11) : 640 ms ==============================================================
SYS_NAME:/CONFIG/R2> change t1 50
Configuration 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)? y Configurations in working memory is saved to NV-Memory.
SYS_NAME:/CONFIG/R2>
../../system/reset
CAUTION!!! 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
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) : CHARGE I/C A-Group signal (acomp) : request B-group signal I/C Calling Party Addr Request (sareq) : NO REQUEST R2 Line signaling type (stype) : WINK START max number of digits to receive(mrxd) : 0 R2-MFC Tone Output Gain (gain) : -20 dbm Seizure Guard Time (t1) : 50 ms Clear Forward Guard Time (t2) : 200 ms Clear Forward Wait Guard Time (t3) : 30000 ms Seizure Ack Guard Time (t4) : 1000 ms Clare Guard Time (t5) : 360 ms Answer Guard Time (t6) : 200 ms Clear Backward Guard Time (t7) : 200 ms Release Guard Time (t8) : 200 ms Reanswer Guard Time (t9) : 200 ms Release Wait Guard Time (t10) : 1000 ms Block Detect Guard Time (t11) : 640 ms ==============================================================
Net2Phone MAX Command Reference Guide Section 13 – R2 Configuration Commands
Page 80
75
14. System Call Statistics Display Commands
Command directory
SYS_NAME:/STATISTICS/CALL/>
Command function
This command controls the display of system call statistical information.
Available commands
Name Description
show Show system call statistics.
clear Clear system call statistics.
Net2Phone MAX Command Reference Guide Section 14 – System Call Statistics Display Commands
Page 81
76
14.1 Show
Synopsis: This command in the /STATISTICS/CALL/ directory displays statistical information such as local and network information, destination address, call start time, call duration, and call processing status.
[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
77
14.2 Clear
Synopsis: This command in the /STATISTICS/CALL/ directory is used to initialize system call statistics.
Net2Phone MAX Command Reference Guide Section 14 – System Call Statistics Display Commands
Page 83
78
15. FXS Statistics Display Commands
Command directory
SYS_NAME:/STATISTICS/FXS/>
Command function
This command displays FXS statistical information.
Available commands
Name Description
show Show FXS statistics.
clear Clear FXS statistics.
Net2Phone MAX Command Reference Guide Section 15 – FXS Statistics Display Commands
Page 84
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|0043430 1|0041410 2|0042420 3|0040400 4|0040400 5|0041410 6|0042420 7|0042420
===============================================================
Net2Phone MAX Command Reference Guide Section 15 – FXS Statistics Display Commands
Page 85
80
15.2 Clear
Synopsis: This command in the /STATISTICS/FXS directory is used to initialize statistical data for rings, hook, and polarity reversion per port, for FXS ports.
Net2Phone MAX Command Reference Guide Section 15 – FXS Statistics Display Commands
Page 86
81
16. FXO Statistics Display Commands
Command directory
SYS_NAME:/STATISTICS/FXO/>
Command function
The FXO Statistics Display commands are used to display FXO statistical information.
Available commands
Name Description
show Show FXO statistics.
clear Clear FXO statistics.
Net2Phone MAX Command Reference Guide Section 16 – FXO Statistics Display Commands
Page 87
82
16.1 Show
Synopsis: This command in the /STATISTICS/FXO directory is used to display statistical data such as 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|00 000
=========================================================
Net2Phone MAX Command Reference Guide Section 16 – FXO Statistics Display Commands
Page 88
83
16.2 Clear
Synopsis: This command in the /STATISTICS/FXS directory is used to initialize statistics data such as rings, hooks, and polarity reversion per port for FXO.
Net2Phone MAX Command Reference Guide Section 16 – FXO Statistics Display Commands
Page 89
84
17. Digital Trunk Statistics Display Commands
Command directory
SYS_NAME:/STATISTICS/DTRUNK/>
Command function
Digital Trunk Statistics Display commands are used to Display statistical information about the digital trunk.
Available commands
Name Description
show Show digital trunk statistics.
clear Clear digital trunk statistics.
Net2Phone MAX Command Reference Guide Section 17 – Digital Trunk Statistics Display Commands
Page 90
85
17.1 Show
Synopsis: This command in the /STATISTICS/DTRUNK directory displays digital trunk information and alarm statistics.
[Example 1]
SYS_NAME:/STATISTICS/DTRUNK> show
Usage : 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
----------------------------------------------------------------------
20 0 0 00 00 0
----------------------------------------------------------------------
Net2Phone MAX Command Reference Guide Section 17 – Digital Trunk Statistics Display Commands
Page 91
86
17.2 Clear
Synopsis: This command in the /STATISTICS/DTRUNK directory is used to display digital trunk information and statistical alarm information.
Net2Phone MAX Command Reference Guide Section 17 – Digital Trunk Statistics Display Commands
Page 92
87
18. R2 Statistics Display Commands
Command directory
SYS_NAME:/STATISTICS/R2/>
Command function
Displays statistical information about R2.
Available commands
Name Description
show Show R2 statistics.
clear Clear R2 statistics.
Net2Phone MAX Command Reference Guide Section 18 – R2 Statistics Display Commands
Page 93
88
18.1 Show
Synopsis: This command in the /STATISTICS/R2 directory displays information about R2 and alarm statistics.
[Example]
SYS_NAME:/STATISTICS/R2> show
===================================================================
Show R2 Statistics Command Usage
===================================================================
show ch|rc <port> [<ch-range>]
===================================================================
ch ; channel information display rc ; release cause & counts display port ; 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
89
18.2 Clear
Synopsis: This command in the /STATISTICS/R2 directory is used to initialize information about R2 and alarm statistics.
Net2Phone MAX Command Reference Guide Section 18 – R2 Statistics Display Commands
Page 95
90
19. Net2Phone Protocol Test Commands
Command directory
SYS_NAME:/TEST/N2P>
Command function
This command is used for testing the Net2Phone VoIP protocol.
Available commands
Name Description
trace Set trace flag
ologin Log in to OPAL
ologout Log out from OPAL
cstate Call state
ostate Opal state
Net2Phone MAX Command Reference Guide Section 19 – Net2Phone Protocol Test Commands
Page 96
91
19.1 Trace
Synopsis: This command in the /TEST/N2P directory is used for tracing protocol-related messages and 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 field
message_trace 0x00000001
xmsg_trace 0x00000002 call_state_trace 0x00000004
map_state_trace 0x00000008
opal_state_trace 0x00000010
api_trace 0x00000020
gen_timer_trace 0x00000040
map_timer_trace 0x00000080 opal_timer_trace 0x00000100
By setting/resetting the bit field of each trace item, you can turn on/off the tracing function for that trace item.
[Example 1]
SYS_NAME:/TEST/N2P> trace MESSAGE_TRACE : 0x00000001 XMSG_TRACE : 0x00000002 CALL_STATE_TRACE : 0x00000004 MAP_STATE_TRACE : 0x00000008 OPAL_STATE_TRACE : 0x00000010 API_TRACE : 0x00000020 GEN_TIMER_TRACE : 0x00000040 MAP_TIMER_TRACE : 0x00000080 OPAL_TIMER_TRACE : 0x00000100 *** N2P Trace Flag : 0x00000000 ***
[Example 2]
SYS_NAME:/TEST/N2P> trace ffff SYS_NAME:/TEST/N2P> trace MESSAGE_TRACE : 0x00000001 XMSG_TRACE : 0x00000002 CALL_STATE_TRACE : 0x00000004 MAP_STATE_TRACE : 0x00000008 OPAL_STATE_TRACE : 0x00000010 API_TRACE : 0x00000020 GEN_TIMER_TRACE : 0x00000040 MAP_TIMER_TRACE : 0x00000080 OPAL_TIMER_TRACE : 0x00000100 *** N2P Trace Flag : 0x0000FFFF ***
SYS_NAME:/TEST/N2P>
Net2Phone MAX Command Reference Guide Section 19 – Net2Phone Protocol Test Commands
Page 97
92
19.2 Ologin
Synopsis: This command in the /TEST/N2P directory is used to log in to the OPAL server manually when 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 0
N2P_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
93
19.3 Ologout
Synopsis: This command in the TEST/N2P directory is used to log out from the OPAL server manually when 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 0
N2P_U_LOGOUT, 0
Net2Phone MAX Command Reference Guide Section 19 – Net2Phone Protocol Test Commands
Page 99
94
19.4 Cstate
Synopsis: This command in the /TEST/N2P/ directory displays the call state of each physical port on the 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
95
19.5 Ostate
Synopsis: This command in the /TEST/N2P/ directory displays the opal state of each physical port on the 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
Loading...