User’s Manual IP Telephony Gateway Model No.: SP5050 / SP5052 / SP5054 http://www.micronet.info Version 2.
Table of Contents 1. 2. 3. 4. INTRODUCTION ......................................................................................2 1.1 Features and specification .............................................................2 1.2 Accessories and equipment ...........................................................3 1.3 Appearance ......................................................................................4 SETTING UP THE TCP/IP PROTOCOL...................................................
1. Introduction Micronet SP5050 series VoIP FXO Gateway provides voice/fax service over IP network with H.323 v3 protocol. By connecting to your existing ADSL or cable modem service, which allows the use of a single, network for voice and fax services with consequent saving in network infrastructure and greatly reduced telephone charges. Ideal solution for providing low cost communications between headquarters and branch offices in the world, as well as for SOHO and office telephony applications.
y y y y y y Support static IP and DHCP Provide QoS function by ToS (Type Of Service) setting Provide T.38/FAX and voice Auto-Switching Microsoft NetMeeting v3.0 compatible TFTP/FTP software upgrade Remote configuration/reset via Telnet and web browser Audio Features y Codec -- G.711 a/μ-law, G.723.1 (6.3K/bps), G.729A (Optional) y VAD (Voice Activity Detection), CNG (Comfort Noise Generate) y G.
1.3 Appearance Front Panel: Here is an example for SP5050. Power: L1-L6: Link: Light on means Micronet SP5050 is power on. Light on means the line is in use. Light on means Micronet SP5050 is connected to the network correctly. Act: LED should be light on and in flash display when data is transmitting. Ready: Light on and in slow flash means Micronet SP5050 is in operation mode. Status: 1. Light on means Micronet SP5050 successfully registered to Gatekeeper when it is set as Gatekeeper Mode. 2.
The pin-out is as following: PIN 1, 2: Transmit PIN 3, 6: Receive COM: RS232 console port (DB-9 male connector) Note: use straightforward cable to connect to your computer. PINOUTS Pin Name Dir Description 2 RXD Receive Data 3 TXD Transmit Data 5 GND System Ground LINE: RJ-11 connector, FXO interface is for connecting the extension line of PABX or PSTN Line. AC Power: 100V~120 VAC power supply.
2. Setting Up the TCP/IP Protocol 2.1 System Requirements 1. One PC with: (a) Pentium 100 or above, 64 RAM, Windows 98 or above; (b) Ethernet card or COM port 2. One standard straight-forward RS-232 cable (female connector to Gateway side). 3. PBX extension Lines or PSTN Lines. 4. Software tools: (a) Hyper Terminal, TELNET, or Web Browser; (b) Gatekeeper (optional). Note: Since the Line function feature starts from L1, please plug the telephone lines from L1. 2.
panel. 2. Enter the network configuration. Figure 1. Network Configuration 3. Select the Property of the LAN card. 4. Setup the IP address, subnet mask and default Gateway as below: Figure 2. Configure the network 5. Click OK after you finished the network setup.
The default IP address, Netmask and default Gateway address of the Gateway is 10.1.1.3, 255.255.0.0, and 10.1.1.254.
2.3 Network configurations in your Gateway 1. Key in the IP address of the Gateway (http://10.1.1.3) with the browser 2. After key in the IP address, you have to enter the user name and password to enter the WEB configuration. (Username: root; No password) Figure 3.
3. You will enter the main page of the configuration after key in the login name and password correctly: Figure 4. The main web page 4. Press the Network Interface to configure the networking of your Gateway: Figure 5.
2.3.1 Static IP address 1. Please get the correct IP address, Netmask and default Gateway address from your ISP first. Press the OK button if you finished. Figure 6. Configure the static IP address 2. Press the commit if you finish the configuration. Figure 7.
3. Press the reboot if you want the configuration executed. Figure 8. Reboot the system 2.3.2 DHCP mode 1. Enable the DHCP if you are using the cable modem or DHCP server. Figure 9.
2. Please commit the data and reboot the machine after you enable the DHCP function. 2.3.3 PPPoE mode 1. Press the PPPoE Configuration and put the info of the PPPoE account and password in the configuration table. Figure 10. Configure the PPPoE function 2. Please commit the data and reboot the machine after you finished the configuration of PPPoE.
3. Making a VoIP Call There are two modes that you could configure 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. 3.1 Configure the Gateway in the Peer-to-Peer mode 1. Enter the H323 Configuration table and change the mode to Peer-to-Peer. Figure 11. Configure the Peer-to-Peer mode 2.
3. Enter the Phone Book configuration table and configure the name, IP address and phone number of the destination. Figure 12. Phone Book 【Example】 Figure 13.
This is the first record of Phone Book. So the index is 1 The name of the destination: test The E164 number (phone number) of the destination: 123 The IP address of the destination: 10.1.1.100 4. Press the “Add Data” button when you finished, and the new table will display on the first index if you press the Phone Book configuration button. Figure 14. To show the Phone Book record 5. Please Commit it and Reboot the system if the configuration is finished.
3.2 Configure the Gateway into the GK routed mode 1. Enter the H323 Configuration table and change the mode from Peer-to-Peer to GK routed. To change the GK information from your service provider (Ex: The Gatekeeper IP, Registered Prefix and Registered Alias). Figure 15. Configure the GK info 2. Press the OK button which is on the bottom of this page to save the configuration. Figure 16.
3. Press the Commit Data and Reboot System buttons when you finished the configuration. There are two types in the GK routed mode you could choose. One is Gateway type and another is Terminal type. There are some different functions, applications and configurations between the Gateway type and Terminal type. In FXO series Gateway, the only difference between the Gateway and Terminal type is for registering on the Cisco GK.
4. Command List 4.1 Hyper Terminal Setting A terminal emulator is needed when using RS-232 port to configure Gateway. There are kinds of terminal emulator software. Here, we use Microsoft HyperTerminal to depict how to set up terminal emulator: 1. Execute the Hyper Terminal program, and then the following windows will pop-up on the screen. (START – Program files – Accessories – Communication – Hyper Terminal) Figure 17.
2. Define a name such as ‘SP5050’ for this new connection. Figure 18. Edit the name of the connection 3. After pressing OK button, the next window appears. Then choose COM1/2 Port, which you are going to use. Figure 19.
4. Configure the COM Port Properties as following: Bits per second: 9600 Flow control: None Figure 20. COM properties 5. Press ‘OK’ button, and then start to configure Gateway.
4.2 Command List 4.2.1 [help] command Type help or man or ? to list all the available command.
And turn back to login prompt. usr/config$ quit Disconnecting... login: Note: It is recommended that type the “quit” command before you leave the console. If so, Micronet FXO Gateway will ask password again, when next user connects to console port. 4.2.3 [debug] command Open debug message will show up specific information while Micronet FXO Gateway is in operation. After executing the debug command, it should execute command debug -open as well. One example is demonstrated below.
AC4804[2] is OK Successful Initialize OSS libraries...OK! open stack successful cmInitialize succeed! GK mode selected. login: 4.2.5 [flash] command This command will clean the configuration stored in the flash rom and reboot Micronet FXO Gateway in factory default setting. Parameter Usage: -clean clean all the user-defined value, and reboot Micronet FXO Gateway in factory default mode. Note: It is recommended that use “flash –clean” after application firmware id upgraded.
4.2.7 [ifaddr] command Configure and display Micronet FXO Gateway network information. usr/config$ ifaddr LAN information and configuration Usage: ifaddr [-print]|[-dhcp used]|[-sntp mode [server]] ifaddr [-ipsharing used [deviceAddr]][-cmcenter ip address] ifaddr [-ip ipaddress] [-mask subNetmask] [-gate defaultGateway] -print Display LAN information and configuration. -ip Specify IP address. -mask Set Internet subnet mask.
Parameters Usage: -print print current IP setting -ip assigned IP address for Micronet FXO Gateway -mask internet subnet mask -gate IP default Gateway -dhcp Dynamic Host Configuration (1 = ON; 0 = OFF) -sntp Simple Network Time Protocol (1 = ON; 0 = OFF) When SNTP function is activated, users have to specify a SNTP server as network time source. An example is demonstrated below: usr/config$ ifaddr -sntp 1 10.1.1.1 while 10.1.1.1 stands for SNTP server’s IP address. -http Change http port.
IP-Sharing, user can enable IP sharing function and specify public IP address of IP-sharing. 4.2.8 [time] command When SNTP function of Micronet FXO Gateway is enabled and SNTP server can be found as well, type time command to show current network time. usr/config$ time Current time is THU JAN 01 05:29:23 1970 4.2.9 [ping] command 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.
disconnect tone. If Micronet FXO Gateway can’t hang up call and release line correctly, please use this function to analyze disconnect tone of PSTN side. 1. Greeting Voice Record : please follow instructions on screen ; first, call in line1 of Micronet FXO Gateway from PSTN side(now can’t hear greeting) and press “enter” to start record .After finishing recording, please press “enter” again to stop recording. Then choose “y/n” to replay and save or not.
2. Disconnect Tone Analysis : please follow instructions on screen ; first call in line1 of Micronet FXO Gateway from PSTN side(now can’t hear greeting), hang up the phone and press “enter” to start record disconnect tone. Finally, choose “y/n” to save data analyzed or not. Notice that system will save one set of frequency analyzed and 4 set different on/off time in “busytone1”,”busytone2” ,“reordertone1” , “reordertone2” (Please refer to tone command) .
3. exit : exit this command usr/config$ greetrd ================================================== Welcome to Voice Record/Analysis Mode -------------------------------------------------1.Greeting Voice Record. 2.Disconnect Tone Analysis. 3.exit. -------------------------------------------------Please input function(1~3): 3 Are you sure to EXIT?!(y/n): y usr/config$ 4.2.11 [pbook] command Phone Book function allows users to define their own numbers, which mapping to real IP address.
-delete Delete a record from Phonebook. -insert Insert a record to Phonebook in specified position. -modify Modify an exist record. Note: If parameter 'end_record' is omited, only record 'start_record' will be display. If both parameters 'end_record' and 'start_record' are omited, all records will be display. Range of IP address setting (0.0.0.0 ~ 255.255.255.255). Range of index setting value (1~100), Example: pbook -print 1 10 pbook -print 1 pbook -print pbook -add name Test ip 210.59.163.
-modify number for it. modify an existing record. When using this command, users have to specify the record’s index number, and then make the change. Phonebook Rules: To meet the requirements of communicating with trunk Gateway or other applications, Phonebook has following characteristics to be noticed. When the destination side is a terminal, for ex: IP Phone or soft phone, e164 number stands for exact destination phone number.
number plan very well to avoid the numbering conflict. If users already defined “0” for specific trunk Gateway, other terminal started with “0” shall be avoided, or the number will be routed to the trunk Gateway defined “0”. 2. If user wants to set 2 sets of similar e164 such as 123 and 1234, please be careful configure 123 first, or it may cause problem when user dial 1234, Micronet FXO Gateway may dials out IP address of 123. 3. (1) If called party is FXO product, please set e164 of pbook as e.
4.2.12 [pppoe] Display PPPoE related information. PPPoE device information and configuration Usage: pppoe [-print]|[-open]|[-close] pppoe [-dev on/off][-id username][-pwd password] -print Display PPPoE device information. -dev Enable(=1) or Disable(=0) device. -open Open PPPoE connection. -close Disconnect PPPoE connection. -id Connection user name. -pwd Connection password. -reboot Reboot after remote host disconnection. Parameter Usage: -print -dev -open -close -id -pwd -reboot print PPPoE status.
4.2.13 [ddns] command This command supports the DDNS function. usr/config$ ddns The dynamic DNS service information and configuration Usage: ddns [-print] ddns [-enable 0/1] ddns [-serve Address] [-hostname Name] [-id ID] [-passwd Password] [-checkip option] [-checkipsrv Address] [-delay time] [-force IP] -print Display Dynamic DNS information and configuration. -enable 1:Enabled/0:Disable the dynmaic DNS service. -server Specify DDNS server address. -hostname Registered domain name.
Parameter Usages: -enable -server -hostname enable the DDNS function enter the server address of the DDNS server you use enter the domain name address which you get from the DDNS server -id key in your id -passwd key in your password -checkIP enable or disable the check current user’s IP address -checkIPsrv1 enter the IP address of the check server -checkIPsrv2 the secondary IP address of the check server -delay service delay time -force execute the DDNS function all the times Note: Support DDNS Server: ww
-ringdet Specify Gateway ring detect method. (0:For 1st hardware version, 1:For 2st hardware version. -plan Number of digits for dial plan. (any positive number.) -port Enable/Disable individual port. -idto The duration of two pressed digits in dial mode -eod Digit type of end of dialing. ( 0:No end of dialing, 1:[*] button, 2:[#] button ) -seizure Choose line seizure mode (None/UCD). -2nddial Config GW to accept 2nd dtmf set.
sysconf -2nddial 0 -drule out_filter 002 in_insert x in_drop 1 sysconf -askpin 1 -pincode set1 12345 usr/config$ Parameter Usages: - service: 0Æ Dial In Service In Dial-In-Service, Micronet FXO Gateway will pick up incoming calls from PSTN, play pre-recorded voice greeting or, and then have users to make a 2nd dial to destination.
- seizure button, 2:[#]button ) line seizure mode. None (0) Æ when calling from IP side, choose L1 every time if it is available. UCD (1) Æ when calls from IP side, choose L1 for the first time, and L2 for the 2nd time, (cyclic) Note: Do not enable this function together with group (please refer to 5.18). - 2nddial This command is necessary for setting one time dial method use. While user would like to skip 2nddial process, Micronet FXO Gateway must close 2nddial and set as 0 (2nddial off).
-askpin: -ring - keypad - pincode - cid - faxrdd 0Æ disables ASKPIN function 1Æ enables ASKPIN function, and apply to the whole unit. Every channel uses the same PINCODE. 2Æ enables ASKPIN function, and apply to each channel respectively. Every channel uses a different pin code. To set when dial in Micronet FXO Gateway from PSTN side, Micronet FXO Gateway will pick the call immediately or rings for specific times before picks up.
H.323 stack information and configuration Usage: h323 h323 [-gk ipaddress] [-multicast used] [-e164 number] [-alias h323id] [-rtp port] [-h245 port] [-ttl time] [-gkfind port] [-ras port] [-range [start num1] [end num2]] h323 -print -print Display H.323 stack information and configuration. -mode Configure as Gatekeeper mode or Peer-to-Peer mode. -gk Gatekeeper IP address. (0.0.0.0 ~ 255.255.255.255) -gkname Gatekeeper ID -dfgw Default Gateway IP address. (0.0.0.0 ~ 255.255.255.
-print -mode -gk -gkname -dfgw print current h323 related settings alternatives for gatekeeper or peer-to-peer mode (0=gatekeeper mode; 1=peer-to-peer mode). If users select gatekeeper mode, a extra gatekeeper is need when Micronet FXO Gateway is in operation. To assign gatekeeper’s IP address when Micronet FXO Gateway is in gatekeeper mode. To assign Gatekeeper ID when Micronet FXO Gateway is in gatekeeper mode. to set IP address of default Gateway, this function is the same as Microsoft NetMeeting. A.
press 101 or 102 dialing to line1 or line2 of Micronet SP5052 after hearing greeting of Micronet FXO Gateway. -e164 -alias -gkdis -rtp -h225 -q931 -ttl -gkfind -gwtype -ras -range -respto e164 number, which is registered as phone number in gatekeeper. h323 ID, an identification in h323 world for other parties’ recognition. The field might be used as a key of authorization or accounting in some VoIP application. It is recommended to assign a special name, or it might conflict with other devices.
-connto new call (1~200). connection timeout. Max waiting time for call establishment after receiving 1st response of a new call (1~20000). 4.2.16 [voice] command The voice command is associated with the audio setting information. There are four voice codecs (g.729a optional) supported by Micronet FXO Gateway.
input gain (0~63, default: 32), dtmf volume (0~31, default: 27), -nscng No sound compression and CNG. (G.723.1 only, On=1, Off=0). -echo Setting of echo canceller. (On=1, Off=0, per port basis). -mindelay Setting of jitter buffer min delay. (0~150, default: 100). -maxdelay Setting of jitter buffer max delay. (0~150, default: 150).
-mindelay -maxdelay the minimum jitter buffer size. (Default value= 90 ms) the minimum jitter buffer size. (Default value= 150 ms) usr/config$ voice –mindelay 90 –maxdelay 150 -optfacor 7 -echo activate each canceller (1 = ON; 0 = OFF). Note: be sure to know well the application before you change voice parameters because this might cause incompatibility. 3.2.17 [tos] command ToS service allows users to achieve QoS on IP network.
devices (for ex: router, switch.. etc.) support ToS. 2. tos -rtptype 14 -sigtype 10 is top priority of package. 4.2.18 [tone] command Tone detection of Micronet FXO Gateway is configurable if the bureau line is connected to PABX or PSTN. Users can refer to “greetrd” command for tone recording and analysis. Sometimes the frequencies might shift from standard level. In such a situation, users have to adjust the tone value manually using this command.
-t38 T.38(FAX) enabled/disabled. -t38ecm T.38(FAX) ECM enabled/disabled. -fstart Fast start enabled/disabled. -tunnel H245 Tunneling enabled/disabled. -h245fs H245 separate channel after faststart. Example: support -t38 1 support -t38ecm 1 support -fstart 1 support -tunnel 0 support -h245fs 1 usr/config$ Parameter Usages: -print -t38 -t38ecm -fstart -tunnel -h245fs print current setting in support command. to switch ON/OFF (1 = ON; 0 = OFF) T.38 function.T.38 function is for FAX.
incompatibility with other devices. 2. If user wants to use T.38 fax under fast start mode, please make sure “h245fs” function is enabled, or fax can’t work normally. 4.2.20 [group] command This command is for grouping 4 ports of Micronet FXO Gateway. If users need to register at least 2 numbers separately to gatekeeper, then this command is needed for such an application.
Parameter Usages: - print - enable - disable - number - pattern - e164 display current grouping information enable grouping function disable grouping function set how many groups will be divided set how many members in each group set e164 of each group For ex: if users need to divide Micronet FXO Gateway into L1 in the 1st group, and L2 in the 2nd group), and have them register to gatekeeper separately (e164=100 for 1st group; e164=200 for 2nd group).
$sysconf -service 2 (HotLine service) $sysconf -2nddial 0 (2nddial off) $h323 -mode 1 (peer-to-peer mode) Line To Line feature should be used together with: $sysconf -service 2 (HotLine service/Line To Line ) $sysconf -2nddial 1 (2nddial on) $h323 -mode 1 (peer-to-peer mode) Example: bureau -pstn 2011 2012 2013 2014 2015 2016 bureau -hotline 1 192.168.4.69 628 2 192.168.4.200 999 usr/config$ Parameter Usages: - print display bureau line information and configuration.
- hotline numbers information. the same function with table command. 4.2.22 [prefix] command This function can do digits replacement of incoming call from IP side or PSTN side. usr/config$ prefix Prefix setting information and configuration Usage: prefix [-pstnrule index oldnumber newnumber (index = 1 ~ 6)] [-iprule index oldnumber newnumber (index = 1 ~ 6)] prefix -print -print Display prefix information and configuration. -pstnrule Set PSTN incoming prefix rule information.
4.2.23 [rom] command ROM file information and firmware upgrade function. usr/config$ rom ROM files updating commands Usage: rom [-app] [-dsptest] [-dspcore] [-dspapp] [-rbpcm] [-htpcm] [-greeting] -s TFTP/FTPserver ip -f filename rom [-method mode] [-ftp username password] rom -print -print show versions of rom files.
Parameter Usages: -print show versions of all rom files -app, boot, dsptest, dspcore, dspapp to update main Application program code, Boot code, DSP testing code, DSP kernel code, or DSP application code. -boot2m boot2m parameter let users to upgrade the whole system flash, including all the firmware that mentioned above.
-ftp if users choose FTP in above item, it is necessary to specify pre-defined username and password when upgrading files. 4.2.24 [passwd] command For security concern, users have to input the password before entering configuration mode.