Table of Contents INTRODUCTION..........................4 ......................4 EATURES AND SPECIFICATION ........................5 EFAULT ETTINGS ..........................5 RONT ANEL ..........................6 ANEL ......................7 ARDWARE PECIFICATIONS .........................9 ANEL ......................10 ANEL ONNECTIONS ................... 11 DDITIONAL NSTALLATION EQUIREMENTS TCP/IP P .................... 11 ETTING P THE ROTOCOL WEB CONFIGURATION INTRODUCTION...................14 ..................14 CCESSING THE ONFIGURATION...
Page 3
SUPPORT CONFIGURATION.......................41 SYSTEM CONFIGURATION ......................43 VOICE CONFIGURATION......................45 PHONE CONFIGURATION ......................47 RTP PAYLOAD TYPE CONFIGURATION ..................49 IP PACKET TOS ..........................50 DDNS DEVICE CONFIGURATION ....................51 PREFIX CONFIGURATION ......................53 PASSWORD SCREEN ........................55 VERSION AND INFORMATION ....................56 ROM UPGRADE..........................57 FLASH CLEAN..........................58 COMMIT DATA SCREEN ......................59 REBOOT DATA SCREEN ......................60 COMMAND LIST ...........................61 24.1...
Page 4
About this User’s Manual This user’s guide gives hardware specifications and explains web configuration and command line configuration for the FXS Gateway SP5002, and SP5004. Online Upgrade Please refer to http://www.micronet.info/ for additional support documentation. General Syntax Conventions Mouse action sequences are denoted using a comma. For example, click start,...
SOHO application. There are two models for Micronet FXS Gateways which are SP5002 and SP5004. User can choose 2 ports or 4 ports by different choice. Just an IP address and 2/4 phone sets bring you to Voice over IP world.
IP Address = 10.1.1.3 Subnet mask = 255.0.0.0 Default gateway = 10.1.1.254 Telnet and Web Login Password: Login = root Password = Null (default) Front Panel The LEDs on the front panel indicate the operational status of the Gateway. SP5002 Front Panel...
Hardware Specifications SP5002 LEDs Functions Indicator LEDs Functions Active Description Status Switch to another device, such as PC While plugging on the Ethernet cable, it Blinking must light on and the flash if some data Link/ACT Link/ACT Green is being TX/RX...
Page 9
SP5004 LEDs Functions Indicator LEDs Functions Active Description Status Switch to another device, such as PC While plugging on the Ethernet cable, it Blinking must light on and the flash if some data Link/ACT Link/ACT Green is being TX/RX The Ethernet cable is not connected The 10M LAN is connected 10/100M Green...
Back Panel Port Ethernet Port: Ethernet port is for connecting FXS Gateway to network, transmit rate supports 10/100 Base-T. Ethernet connector(LAN) COM Port: RS232 console port (DB-9pin male connector) Note: Use straightforward cable to connect to your computer. PINOUTS Pin Name Dir Description Receive Data Transmit Data...
Back Panel Connections This section outlines how to connect your FXS Gateway to the LAN and the WAN. In the case of connecting a Cable Modem you must connect the coaxial cable from your cable service to the threaded coaxial cable connect on the back of the cable modem. Step 1.
(Frame Ground) of the FXS Gateway. Additional Installation Requirements In addition to the contents of your package, there are other hardware and software requirements you need before you can install and use your FXS Gateway. These requirements include: 1. A computer with an Ethernet NIC (Network Interface Card) installed. 2.
Page 13
desktop screen. In the “Local Area Connection Status” windows, click the “Properties” button then your Network windows will appear. There is only one tab, “General”, in the Network window. Important: For Windows 2000 & Windows XP Setting, you will find that they differ with Windows 98/ME/NT slightly.
Page 14
Step 11. Click “OK”, Restart your PC to complete the TCP/IP installation. Power up Your FXS Gateway At this point, you should have connected the console port, the LAN Port, the WAN port and the power port to the appropriate devices or lines. Plug the power adapter into a wall outlet.
Web Configuration Introduction The embedded web configuration allows you to use a web browser to manage the FXS Gateway. Accessing the Web Configuration You will need a computer with an Ethernet 10BaseT, 100Base-TX Network Interface Card (NIC). Connect to the LAN port in the FXS Gateway. Use Internet Explorer 5.5 and later or Netscape Navigator 6 and later versions.
Welcome Screen This is the web configuration welcome screen. Click a link on the navigation panel to go to the corresponding screen. FXS Gateway web configuration welcome screen Navigation Panel Links LABEL DESCRIPTION This link takes you to a screen where you can configure the FXS Network Interface Gateway Network Interface Information.
LABEL DESCRIPTION This link takes you to a screen where you can set up Hot Lines Hot Lines configuration. This link takes you to a screen where you can set up Speed Dialing Speed Dial List. PPPoE This link takes you to a screen where you can set up PPPoE Device Configuration Configuration.
Initial Configuration This chapter describes the procedure for the initial configuration of the FXS Gateway. Refer to the relevant chapters in this User’s Guide for descriptions of the fields and buttons within individual screens. General Configuration The FXS Gateway the factory with a default IP address of 10.1.1.3 and a subnet mask of 255.0.0.0, default gateway of 10.1.1.254.
Commit Configuration Data Step 3. Click Reboot Data on the navigation panel. In the Reboot FXS Gateway screen, click the Reboot button. It will take 40 seconds to reboot. Reboot FXS Gateway Step 4. Close the current browser windows and launch your web browser again. Enter the new IP address in the Location or Address field.
screen to Display Commit to Flash OK!, When the Commit Data Ok. Step 3. Click Reboot Data on the navigation panel. In the Reboot FXS Gateway screen, click the Reboot button. It will take 40 seconds to reboot. Step 4. Close the current browser windows and launch your web browser again.
screen to Display Commit to Flash OK! When the Commit Data Ok. Step 3. Click Reboot Data on the navigation panel. In the Reboot FXS Gateway screen, click the Reboot button. It will take 40 seconds to reboot. Step 4. Close the current browser windows and launch your web browser again.
Page 23
Address. Please be noted With Dynamic WAN IP Address, a valid Gatekeeper for FXS Gateway to get register on is a must. In other word, it is not workable in Peer-to-Peer mode while dynamic WAN IP Address. 5. IP Sharing device must have a function to do IP/Port mapping. Some is named as DMZ, some is named as virtual server whatever.
Page 24
Step 4. Click Reboot Data on the navigation panel. In the Reboot FXS Gateway screen, click the Reboot button. It will take 40 seconds to reboot. Step 5. Close the current browser windows and launch your web browser again. Enter the new IP address in the Location or Address field. Press [Enter].
Making a VoIP Call This Chapter covers the basic configuration the gateway for making VoIP calls. One is the Peer-to-Peer mode, another is GK routed mode. The configurations and functions are different. Please make sure about the mode you want and follow up the step to configure your gateway.
Page 26
Phone Book Step 3. E.g. enter the Index: 1, Name: test1, IP address: 192.168.4.72 and e164 No.: 20 of the destination and click the Add Data button. Phone Book – New Record Step 4. On table will display on the first index.
Phone Book Step 5. Click Commit Data on the navigation panel. In the Commit Configuration Data screen, click the Commit button. In the Commit Configuration Data screen to Display Commit to Flash OK! when the Commit Data Ok. Step 6. Click Reboot Data on the navigation panel.
Page 29
Step 3. Click Commit Data on the navigation panel. In the Commit Configuration Data screen, click the Commit button. In the Commit Configuration Data screen to Display Commit to Flash OK!, When the Commit Data Ok. Step 4. Click Reboot Data on the navigation panel. In the Reboot FXS Gateway screen, click the Reboot button.
This Chapter covers the basic how to upgrade FXS Gateway ROM Version. Before you start downloading 1. TFTP server program is available to obtain from Micronet driver download page. 2. Please create one directory for TFTP server program on one local PC, and then execute it.
Page 31
Step 4. In the Flash Clean screen to Display Flash cleaned!! Please reboot your system!! when the Flash Clean Ok. Step 5. Click Reboot Data on the navigation panel. In the Reboot FXS Gateway screen, click the Reboot button. It will take 40 seconds to reboot. Step 6.
Network Interface This Chapter covers setup Network Interface identification information for FXS Gateway. Click Network Interface in the navigation panel and open the Network Interface screen. Use this screen to setup Network Interface identification information for the FXS Gateway.
Page 33
The following table describes this screen. LABEL DESCRIPTION IP Mode Select use defines the networking type for this gateway. It could support the Static, DHCP and PPPoE function. IP Address Enter the IP Address of the VoIP Gateway in dotted decimal notation for e.g.
Page 34
LABEL DESCRIPTION Reboot After Select enable or disable this function will make the gateway restart Remote Host automatically if the PPPoE connection is disconnected or the IP Disconnection address was taken back by the ISP. OK [button] Click [OK] button to save your changes back to the VoIP Gateway volatile memory.
H323 Configuration This Chapter covers setup H.323 related parameters. Click H323 Configuration in the navigation panel and open the H323 Configuration screen.
Page 36
The following table describes this screen. LABEL DESCRIPTION Mode Select Gatekeeper routed mode or Peer-to-Peer mode. GateKeeper IP Set Gatekeeper IP Address in dotted decimal notation Address e.g.192.168.4.71. GateKeeper IP Set redundancy second 2 Gatekeeper IP Address in dotted decimal notation e.g.192.168.4.71.
Page 37
LABEL DESCRIPTION Start Allocate Port Range The port range for this gateway (1024 to 19999). Response Timeout Set max waiting time for 1st response to a new call e.g.15 (1~200). Connection Timeout Set max waiting times for call establishment after receiving 1st response of a new all e.g.200 (1~20000).
Line Configuration This chapter explains the Line Status Information Screen. Click Line Configuration in the navigation panel to open the Line Configuration Information screen. The following table describes this screen. LABEL DESCRIPTION Line Number This field Display the Line Number. Type This field Display the port type.
Page 39
Note: Hunting Group field auto display data follow VoIP Gateway line port number, if you see Hunting Group field display [Null], you can’t set it.
Phone Book Configuration This Chapter covers Phone Book function allows users to define their own numbers, which mapping to real IP address. It is effective only in peer-to-peer mode. When adding a record to Phone Book, users do not have to reboot the machine, and the record will be effective immediately.
Page 41
LABEL DESCRIPTION Drop Prefix The filed display the drop function. Insert Prefix The field displays the insert digits number. New Record Index Set up an Index number from 1 to 100, to the parameter to show specific phone number. Name Set up a descriptive name (max 20 byte).
10. Support Configuration This Chapter provides some extra functions that might be needed by users. Click Support Configuration in the navigation panel and open the Support Configuration screen. The following table describes this screen. LABEL DESCRIPTION T.38 FAX Select enable/disable for T.38 FAX function. When T.38 ability is on, VoIP Gateway will automatically defer codec (G.723 or G.729a) to T.38 when FAX signal is detected.
Page 43
LABEL DESCRIPTION shorten the connection time if the opposite party also supports Fast Start. H.245 Tunneling Select enable/disable for H.245 Tunneling function. If the function is on, VoIP Gateway will send H.245 (Call Control messages) via H.225’s (Call Signal messages) link. The function is effective only when both side support h245 tunnel.
11. System Configuration This Chapter covers System Information and configuration. Click System Configuration in the navigation panel and open the System Configuration screen. The following table describes this screen. LABEL DESCRIPTION Inter Digit Time The call will be sent out if user didn’t enter the digits after this timer. From 1 to 10.
Page 45
LABEL DESCRIPTION 5 to 65535. Keypad Type Select In-Band: The DTMF signal sending by RTP. Out-Band: The DTMF signal sending not by RTP. Including the H.245 (Alpha), H.245 (Signal), Q.931 and RFC 2833. User defined Prefix Select on/off for User defined local zone prefix switch. If user Switch enables prefix function, once user dials out, gateway will automatically add prefix number before number user dialed.
12. Voice Configuration This Chapter covers the voice-associated and audio setting information. Click Voice Configuration in the navigation panel and open the Voice Configuration screen. The following table describes this screen. LABEL DESCRIPTION Codec Priority Set priority preference of installed codes, G.723, G.711A, G.711U, G.729, G.729A, G.729B, G.729AB.
Page 47
LABEL DESCRIPTION Line2/ Set voice volume stands for volume, which can be heard from VoIP Line1 Volume Gateway side (0~63, default: 28). Set input gain stands for volume, which the opposite party hears (0~38, default: 28). Set dtmf volume stands for DTMF volume/level (0~31, default: 23). Line3/ Set voice volume stands for volume, which can be heard from VoIP TEL2 Volume...
13. Phone Configuration This Chapter covers FXS Gateway progress tone is configurable. Default tone value is set according to U.S. tone specification. Users may adjust the values according to their own country’s tone specification or users-defined tone specification. Click Phone Configuration in the navigation panel and open the Phone Configuration screen.
Page 49
LABEL DESCRIPTION workable VoIP Gateway. 2nd Dial Tone This option is only for SP5012/SP5014. Not applicable here. Flash Timer Setting the detective flash range in ms, for example, 300-500 ms. OK [button] Click [OK] button to save your changes back to the VoIP Gateway volatile memory.
14. RTP Payload Type Configuration This Chapter covers RTP Payload Type information and configuration. Click RTP Payload Type Configuration in the navigation panel and open the RTP Payload Type Configuration screen. The following table describes this screen. LABEL DESCRIPTION RFC2833 Payload Set the payload type for RFC2833 type.
15. IP Packet ToS This Chapter covers IP Packet ToS (Type of Service)/Differentiated Service configuration. Click IP Packet ToS in the navigation panel and open the IP Packet ToS Configuration screen. The following table describes this screen. LABEL DESCRIPTION Signaling Packet Set the Signaling Packet DSCP code value, the value of is from 0 to DSCP Code 63, e.g.0.
16. DDNS Device Configuration This chapter covers DDNS related information. Click DDNS Configuration in the navigation panel and open the DDNS Device Configuration screen. The following table describes this screen. LABEL DESCRIPTION Status Select enable or disable to use DDNS device function. Server Enter the server address of your DDNS server.
Page 53
LABEL DESCRIPTION OK [button] Click [OK] button to save your changes back to the VoIP Gateway volatile memory. Note: Support DDNS Server: www.dyndns.org.
17. Prefix Configuration This chapter covers prefix related information. Click Prefix Configuration in the navigation panel and open the Prefix Drop/Insert Configuration screen. The following table describes this screen. LABEL DESCRIPTION Index This field refers to the index number. Prefix This field refers to the numbers that could be into VoIP gateway.
Page 55
LABEL DESCRIPTION means to drop prefix number when dialing out. The function is disable means to keep prefix number. Insert Setting the digits that you want to insert in this number (1~30 digits). Add Data [button] Click [Add Data] button to insert the information table. Delete Date [button] Input the index number on index filed, and then click [Delete Data] button will to delete the record from the table.
18. Password Screen This chapter explains how to change the FXS Gateway password. Click Password Configuration in the navigation panel to open the Password Configuration screen. Use the Password Configuration to set root and administrator password for the VoIP Gateway. The following table describes this screen.
19. Version and Information This chapter allows you to see FXS Gateway Version Information. Click Version and Information in the navigation panel to open the Version and Information screen. [figure] The following table describes this screen. LABEL DESCRIPTION Boot Rom This field refers to the Boot Rom Version.
20. ROM Upgrade This Chapter explains how to update firmware. Click ROM Upgrade in the navigation panel and open the ROM Configuration screen. The following table describes this screen. LABEL DESCRIPTION Server IP Address Enter the FTP or TFTP Server IP Address. Target File Name Enter the file name prepared to upgrade.
21. Flash Clean This Chapter explains how to save change and clean all of the user defined values to the factory default. Click Flash Clean in the navigation panel and open the Flash Clean Screen. The following table describes this screen. LABEL DESCRIPTION Clean...
22. Commit Data Screen This chapter explains how to save change after configuring FXS Gateway. Click Commit Data in the navigation panel and open the Commit Configuration Data screen. The following table describes this screen. LABEL DESCRIPTION Commit Save changes after configuring FXS Gateway.
23. Reboot Data Screen This Chapter explains how to reboot FXS Gateway in new configuration. Click Reboot System in the navigation panel and open the Reboot VoIP Gateway screen. The following table describes this screen. LABEL DESCRIPTION Reboot reboot FXS Gateway in new configuration...
24. Command List This chapter introduces the command line interface and lists all of the commands. 24.1 Hyper Terminal Setting A terminal emulator is needed when using RS-232 port to configure FXS Gateway. There are kinds of terminal emulator software. Here, we use Microsoft HyperTerminal to depict how to set up terminal emulator: Step 1.
Step 3. After pressing OK button, the next window appears. And then choose COM1/2 Port, which you are going to use. Step 4. Configure the COM Port Properties as following: Bits per second: 9600, Flow control: None, Press OK button, and then start to configure FXS Gateway.
Page 64
and the power port to the appropriate devices or lines. Plug the power adapter into a wall outlet. The Power LED should be on. The Status LED will come on after the system tests are complete. The WAN LED and one of the LAN LEDs come on immediately after the Status LED come on, if connections have been made to the LAN and WAN ports.
Set Password To set your own password in root login name, just input command “passwd –set root ****”. For example, if password of root account is prepared as ”voip”, configuration is usr/config$ passwd -set root voip Setting Login: root Password: voip usr/config$ 24.3 Command Structure...
24.3.2 Application Mode Configuration It is including Basic mode, such as Gatekeeper and Peer-to-Peer, and Advanced mode, such as Hotline mode and IP-Sharing mode. It will be detailed in the next Chapter. 24.3.3 Saving Your Configuration Save the change of configurations for Gateway and apply the new configurations by rebooting the device.
Page 67
to [h323] command. Several important H323 parameters are listed below when setting gatekeeper mode: [–gk], [gwtype], [-prefix], [–line1], [–line2], [–line3], and [–line4]. Step 1. Setting gatekeeper mode, and line number usr/config$ h323 mode 0 (default gatekeeper mode) usr/config$ h323 gk 192.168.1.1 prefix 1 line1 11 line2 12 line3 13 line4 14 For example: usr/config$ h323 -print H.323 stack relate information...
Page 68
usr/config$ Note: This is to set gatekeeper IP address as [192.168.1.1], prefix as [1], line 1 number as [11], line 2 number as [12], line 3 number as [13], and line 4 number as [14]. The gateway type is kept as default value as Gateway Type. Step 2.
Page 69
Line3(TEL 2) : 1003 Line4(LINE 2) : 1004 Alias(H323-ID) : 4FXS-0015db Display Information : 4FXS RTP port : 16384 H225 Call signal port : 1720 Destination H225 call signal port : 1720 Allocated port range start port : 1024 end port : 1043 Response timeOut : 15...
Page 70
24.4.3 Hotline Mode The Hotline Mode is applied in limited two peers. User just picks up the phone set and then hears ring back tone or dial tone depended on configurations of destination device. Gatekeeper Mode Step 1. Set gateway under Gatekeeper mode. Step 2.
Page 71
24.4.4 Forward Mode Set no answer forward table provides No Answer Forward function. For call forward function, it can works under GK or P2P mode. GK Mode Usage: Step 1. Setting Line1 busy forward Line2 usr/config$ line –config 1 forward 1002 This example means if user calls in FXS Line and hasn’t been answered in forward time (please refer to [sysconf -forwardtime] command), gateway will automatically forward this call to phone number [1002].
Page 72
24.4.5 Behind IP-Sharing Mode The function is for user whose network environment is behind IP Sharing device. It is said Gateway is connected to the IP Sharing device. An example such as ADSL network is in the following. Step 1. The WAN IP Address obtained from ADSL has two kinds of methods.
Page 73
Dynamic IP Address: usr/config$ ifaddr –ipsharing 1 Note: With Dynamic WAN IP Address, a valid Gatekeeper for Gateway to get register on is a must. In other word, it is not workable in Peer-to-Peer mode while dynamic WAN IP Address. Step 5.
Page 74
24.4.6 PPPoE Mode Step 1. Set PPPoE mode, using [ifaddr] usr/config$ ifaddr –mode 2 (PPPoE mode) Step 2. Input the user id & password provided by your ISP, using [ifaddr] usr/config$ ifaddr –id 123@hinet.net (PPPoE login account) usr/config$ ifaddr –pwd 123 (PPPoE login Passowd) Step 3.
Page 75
IPSharing : no IPSharing device. IP change : Disable PPPoE user name : 84460791@hinet.net PPPoE password : ******** PPPoE reboot : Yes usr/config$ Step 4. After the configuration [commit] and [reboot] the device. usr/config$ commit usr/config$ reboot Step 5. Then Gateway connection succeeds. For example: usr/config$ ifaddr -print IP mode : PPPoE...
Page 77
24.4.7 H.450 Call Hold, Transfer and Forward Mode Gateway provides H.450 function including call hold, transfer and forward. Please be noted that both calling and called site have to support H.450 feature. For call forward function, it only works under GK mode. Of course, GK must support H.450 feature. To enable H.450 feature, it is better for user to prepare a telephone set supported [FLASH] function on keypad.
24.5 How to upgrade Before you start downloading Step 1. Please confirm Host PC, which is installed as TFTP / FTP server and device is in available network. Step 2. Remember the current configuration, such as [h323], [line], [pbook], and you change configuration data.
Page 79
usr/config$ rom –method 1 usr/config$ rom –ftp id password usr/config$ rom –print For example: usr/config$ rom -print Download Method : FTP FTP username : test FTP password : test Boot Rom : sdboot.200 Application Rom : 4afxs.203a.bin DSP App : 48302ce3.140 DSP Kernel : 48302ck.140 DSP Test Code : 483cbit.bin usr/config$...
Page 80
usr/config$ rom –method 0 usr/config$ rom –print For example: usr/config$ rom –print Download Method : TFTP Boot Rom : sdboot.200 Application Rom : 4afxs.203a DSP App : 48302ce3.140 DSP Kernel : 48302ck.140 DSP Test Code : 483cbit.bin usr/config$ Step 2. Boot2m upgrade 1.
Page 81
usr/config$ ifaddr -ifshow cpm (unit number 0): Flags: (0x8063) UP BROADCAST MULTICAST ARP RUNNING Type: ETHERNET_CSMACD Internet address: 192.168.13.80 Broadcast address: 192.168.15.255 Netmask 0xfffff800 Subnetmask 0xfffff800 Ethernet address is 00:11:3b:00:27:43 Metric is 0 Maximum Transfer Unit size is 1500 0 octets received 0 octets sent 221 packets received 0 packets sent...
24.6 Commands with Gateway The following table lists all of the commands that you can use with the Gateway. Refer to the following chapters for descriptions of commonly used commands. This user’s guide describes commands that are helpful for configuring the Gateway.
Page 84
24.6.1 [quit] Type [quit] will quit the Gateway configuration mode. And turn back to login prompt. usr/config$ quit Disconnecting.. login: root Welcome to Terminal Configuration Mode Please enter your configuration item usr/config$ Note: It is recommended that type the [quit] command before you leave the console. Then, the gateway will ask password again when next user connects to console port.
Page 85
Parameter Usages: -status: Display the enabled debug flags. -add: Add debug flag. -- h323: h323 related information -- vp: voice related information -delete: Remove specified debug flag. -open: Start to show debug messages. -close: Stop showing debug messages. In this example, user open debug flags including h323, vp, h323vp. usr/config$ debug -add h323 vp h323vp usr/config$ debug –open For example:...
Page 86
successful 2 2 Initialize OSS libraries...OK! VP v1.44 stack open sucessfully. cmInitialize succeed! Ras port:1024 CallSignal port:1720 login: 24.6.4 [flash] Clean the configuration stored in flash. usr/config$ flash Flash memory information and configuration Usage: flash [-clean] flash -clean Clean the configuration stored. Note: This command will clean the configuration stored in the flash and reboot it.
Page 87
Flash clean ok!! Rebooting ... Attached TCP/IP interface to cpm unit 0 Attaching interface lo0...done Hardware Type : 4FXS HTTPD initialized... cmInitialize succeed! Ras port:1024 CallSignal port:1720 AC4804[0] is ok AC4804[1] is ok successful 2 2 Initialize OSS libraries...OK! VP v1.44 stack open sucessfully. login: 24.6.5 [commit]...
Page 88
24.6.6 [ifaddr] Configure and display Gateway network information. LAN information and configuration Usage: ifaddr [-print][-mode used][-ip IP Address][-mask Subnet Mask] [-gate Default Gateway][-dns 1 IP Address][-http portnumber] [-sntp mode [server]][-timezone GMT] [-ipsharing used IP address][-ipchange used][-id PPPoE username] [-pwd PPPoE password][-reboot used] -print Display network information and configuration.
Page 89
ifaddr -sntp 1 210.59.163.254 ifaddr -ipsharing 1 210.59.163.254 ifaddr -ipchange 1 ifaddr -id 123456@hinet.net -pwd 123456 -reboot 1 Parameter Usages: -print: Print current IP setting and status -mode: Specify WAN IP mode (0=Static, 1=DHCP, 2=PPPoE), DHCP mode: Dynamic Host Configuration, PPPoE mode: PPPoE Dial-up function. -ip: Assigned IP address for Gateway -mask:...
Page 90
-reboot: If the connection disconnected by the ISP, the unit will reboot and get the ip again. For example: usr/config$ ifaddr –print IP mode : Static Internet address information IP address : 192.168.13.78 Subnet mask : 255.255.248.0 Default gateway : 192.168.8.254 DNS primary : 168.95.1.1 DNS secondary...
Page 91
24.6.8 [ping] Use [ping] to test whether a specific IP is reachable or not. For example: if 192.168.1.2 is not existing while 210.63.15.32 exists. Users will have the following results: usr/config$ ping 192.168.1.2 no answer from 192.168.1.2 usr/config$ ping192.168.1.254 PING 192.168.1.254: 56 data bytes 64 bytes from 192.168.1.254: icmp_seq=0.
Page 92
4=RFC2833. -prefixsw User defined local zone prefix switch (0=OFF, 1=ON). -prefixdisab Local zone prefix disable character (one character from 0~9, *, or NONE('-' key)). -usrdefprefix User defined local zone prefix (0 ~ 20 digits). -codec Codec select method (0=Caller, 1=Master). -localrbt Local ring back tone (0=Disable, 1=Enable).
Page 93
Note: The above three commands [prefixsw], [prefixdisab] and [usrdefprefix] have to work together. If user would like to dial 9 to replace 123456789, he can firstly switch on the command [sysconf -prefixsw 1], secondly to define the prefix digits as 12345678 [sysconf –usrdefprefix 12345678]. While user would like to dial other numbers, he can dial a defined digit –...
Page 94
usr/config$ 24.6.10 [h323] This command is to configure H.323 related parameters. usr/config$ h323 H.323 stack information and configuration Usage: h323 [-print][-mode used][-gk IP address][-algk IP address][-gwtype used] [-dfgw IP address][-prefix number][-line number][-passwd number] [-alias h323id][-display information][-gkid ID][-gkdis used] -print Display H.323 stack information and configuration. -mode Configure as Gatekeeper mode or Peer-to-Peer mode (0=Gatekeeper, 1=Peer-to-Peer).
Page 95
-q931 H225 call signal port (1024~65535). -dstq931 Destination H225 call signal port (1024~65535). -range Dynamically allocated port range (1024~19999). -respto Max waiting time for 1st response to a new call (1~200). -connto Max waiting time for call establishment after receiving 1st response of a new call (1~20000).
Page 96
Note: Line number follow Gateway port number display, if you use FXS-02 Gateway you can only setup line1 & line2 number. User can also set “x” in line number to disable the port. If the port is disabled, it can only receive calls but not calling out. Line1 &...
For example: usr/config$ h323 -print H.323 stack relate information RAS mode : GK mode Gatekeeper IP address : 192.168.13.71 Second Gatekeeper IP : 192.168.13.71 Gateway Type : Gateway Registered prefix number : 100 Line1 : 1001 Line2 : 1002 Line3 : 1003 Line4 : 1004...
Page 98
Line2 : 001 Line3 : 002 Line4 : 003 Alias(H323-ID) : 4FXS-002743 Display Information : 4FXS RTP port : 16384 H225 Call signal port : 1720 Destination H225 call signal port : 1720 Allocated port range start port : 1024 end port : 1043 Response timeOut...
Page 99
-config: determine which line to configure --hunt: Set hunting group flag of each line. User can assign different hunt group number represent different hunt group. --hotline: Set hotline table. The Hotline Mode is applied in limited two channels. User just picks up the phone set of one FXS TEL or calls in one FXO line, and gateway will automatically dial out a phone number.
Page 100
prefix : The prefix of dialed number. drop : Drop prefix (0=Disable, 1=Enable). insert : 1~10 digits. -modify Modify prefix drop/insert information index : The prefix index number record. prefix : The prefix of dialed number. drop : Drop prefix (0=Disable, 1=Enable). insert : 1~10 digits.
Page 101
Index Prefix Drop Insert ======================================================== Enable 2000 usr/config$ 24.6.13 [pbook] Phone Book function allows users to define their own numbers, which mapping to real IP address. It is effective only in peer-to-peer mode. When adding a record to Phone Book, users do not have to reboot the machine, and the record will be effective immediately.
Page 102
insert : 1 ~ 10 digits. -delete Delete phone book index record. Note: Range of IP address setting (0.0.0.0~255.255.255.255). Range of index setting value (1~100). Example: pbook -print pbook -add name test e164 1234 ip 192.168.1.10 pbook -add name test e164 1234 ip 192.168.1.10 port 1720 drop 1 insert 5678 pbook -modify 1 name test e164 5678 ip 192.168.1.10 port 1720 drop 0 pbook -delete 1 usr/config$...
Page 103
usr/config$ pbook –delete 3 PhoneBook Rules: The e164 number defined in phone book will fully carry to destination. It is not just a representative number for destination’s IP Address. In other words, user dial this e164 number to reach destination, destination will receive the number and find out if it is matched to its e164, including Line number in some particular device.
Page 105
determines the listed sequence in h.245 TCS message. The codec listed in left side has the highest priority when both parties determining final codec. User can also select the particular codec without others. usr/config$ voice –priority g723 (only select this codec) usr/config$ voice –priority g723 g729 g711u g711a (select four codecs, and g723 is the first choice) -volume:...
Page 106
G.711U : 40 ms G.711A : 40 ms Priority order codec : g7231 g729 g729a g729b g729ab g711u g711a Volume levels voice volume : 29 28 29 28 input gain : 36 36 36 36 dtmf volume : 23 23 23 23 No sound compress &...
Page 107
-t38asn1 T.38(FAX) ASN.1 support (0=Disabled, 1=Enabled). -faxrdd FAX redundancy depth (0 ~ 2). -fstart Fast start (0=Disabled, 1=Enabled). -tunnel H245 Tunneling (0=Disabled, 1=Enabled). -h245fs H245 message after FastStart support (0=Disabled, 1=Enabled). -earlyh245 EarlyH245 support (0=Disabled, 1=Enabled). -h450 H450 support (0=Disabled, 1=Enabled). Example: support -t38 1 support -t38ecm 1...
Page 108
-earlyh245: Enable or disable early H.245 function. The function is effective only when both sides support early H.245. -h450: Enable or disable H.450 related features, which include transfer, hold and forward. Note: It is not recommended to change the value in this command, only if users do know well the application.
Page 109
usr/config$ Note: Index: Line channel. Reg: Line registration Gatekeeper status. If you use registration Gatekeeper server, then display registration status [No] or [OK]. Status: Line status in use display [busy] or not use display [Ready]. When you set h323 line number [x] disable, the status field not check h323 line number setup.
Page 110
busy tone configuration set. dial tone configuration set. -flash flash configuration set. Note: ringing frequency : 15 ~ 100 (Unit : Hz) ringing ring ON/OFF : 0 ~ 8000 (Unit : ms) ringing level : 0 ~ 94 (Unit : V) tone frequency : 0 ~ 65535 (Unit : Hz)
Page 111
For example: Ring Back Tone usr/config$ phone -print rbt Phone ring back tone paramter Ringback Tone frequency high : 440 Ringback Tone frequency low : 480 Ringback Tone frequency high level : 13 Ringback Tone frequency low level : 13 Ringback Tone tone1 on : 100 Ringback Tone tone1 off...
Page 112
Dial Tone frequency low level Dial Tone frequency high level : 8 Dial Tone tone1 on : 500 Dial Tone tone1 off : 1023 Dial Tone tone2 on : 500 Dial Tone tone2 off : 1023 usr/config$ Flash usr/config$ phone -print flash Phone flash paramter Flash frequency high : 300 Flash frequency low : 100...
Page 113
-sigtype: The package of call signal (0~63). Note: The value of rtptype and sigtype is from 0 to 63. It’s working only if it is supported by your network. For example: usr/config$ tos –print IP Packet ToS information: Signalling Packet: DSCP Code : 0 Media Packet DSCP Code : 0...
Page 114
-delay Setting the service delay time (1~59 minutes or 1~24 horus). -force Force execute the dynamic DNS service. Example: ddns -print ddns -enable 1 ddns -server member.dyndns.org -hostname ipphone.dyndns.org ddns -delay 30 m (30 minutes) ddns -delay 12 h (12 hours) ddns -force 11.22.33.44 usr/config$ Parameter Usages:...
Page 115
IP Check Server2 : checkip.dyndns.org Delay : Off usr/config$...
Page 116
24.6.20 [pt] RTP payload type configuration and information usr/config$ pt RTP payload type configuration and information Usage: pt [-print][-rfc2833 type][-dtmf type][-fax type][-faxbypass type] [-modembypass type][-redundancy type][-modemrelayp type] pt -print Display the RTP payload type information. -rfc2833 Configurate the DTMF RFC2833 payload type. -dtmf Configurate the DTMF payload type.
Page 117
24.6.21 [rom] ROM file information and firmware upgrade function. usr/config$ rom ROM files updating commands Usage: rom [-print][-app][-boot][-boot2m][-dsptest][-dspcore][-dspapp] [-s TFTP/FTP server ip][-f filename][-method used] [-ftp [username][passwd]] rom -print Show versions of rom files (optional). -app Update main application code (optional). -boot Update main boot code (optional).
Page 118
check the exactly Rom file before doing download procedure. To specify TFTP server’s IP address when upgrading ROM files. To specify the target file name, which will replace the old one. -method: To decide using TFTP or FTP as file transfer server. [0] stands for TFTP, while [1] stands for FTP.
Page 119
Example: passwd -set root Your_Passwd_Setting passwd -clean usr/config$ Parameter Usages: –set: Set login name and password, input login name then input new password. -clean: Will clear all password setup, and change null. Note: Gateway Login name only use [root] or [administrator]. [root] and [administrator] have the same authorization, except commands that can be excuted by [Login name: root] only [passwd –set root], [rom –boot], [room-boot2m] and [flash –clean].
Need help?
Do you have a question about the SP5002 and is the answer not in the manual?
Questions and answers