User’s Manual IP Telephony Gateway, FXS + FXO Interface Model No.: SP5012/S, SP5014/S Website: http://www.micronet.
Steps in configuration STEP 1 Start Up To check out the peripheral equipments and understand the feature of this gateway. Please read this step very carefully before starting the configuring. Connecting the gateway and computer to start configuring by WEB GUI. STEP 2 How to Setup and Connect basically Setting the ip address for this gateway to make sure that it could connect with the internet.
Table of Contents 1 2 3 4 START UP ........................................................................................................................ 5 1.1 INTRODUCTION ........................................................................................................... 5 1.2 FEATURES AND SPECIFICATION .................................................................................... 6 1.3 ACCESSORIES AND EQUIPMENT ......................................................................
5.10 [SYSCONF]................................................................................................................ 54 5.11 [SIP]......................................................................................................................... 56 5.12 [SECURITY] ............................................................................................................... 58 5.13 [LINE] .................................................................................................
1 Start Up 1.1 Introduction Micronet SP5012/S,SP5014/S is a multi-port FXS+FXO gateway. It supports an innovative intelligent call routing function that transparently routes calls to destination either through PSTN or Internet. Micronet SP5012/S,SP5014/S provides voice over IP and FAX over IP services for Internet Telephony Services Provider (ITSP/ISP) and Office/SOHO IP-PBX application.
1.2 Features and specification Features ● IETF RFC 3261 ● Automatically Dial Path Selection (IP or PSTN) ● PSTN Line switch to telephone set when power is failure ● PPPoE support ● Behind NAT router or IP sharing device ● DNS server inquiry ● Provide Peer-to-Peer Mode (Non SIP Proxy needed) selection ● E.164 Dial Plan ● TFTP/FTP software upgrade ● ● ● Remote configuration/ reset LED indication for system status Support Fix IP, DHCP and PPPoE Audio feature ● Codec -- G.711 a/µlaw, G.723.1 (6.3kbps), G.
FXO Features ● 2-wire loop start ● Support auto-attendant (Tone or voice greeting) ● PSTN polarity reversal detection ● Provide 2nd dial tone to PSTN ● ● ● Disconnect tone detection Asking ping function with the incoming calls from PSTN side Record and analyze the Tone from PSTN side Environmental ● Operation temp:0°C to 40°C ● Humidity: 10% to 90% (Non-condensing) 7
1.3 Accessories and equipment ● The voice gateway in 2 FXS and 2 FXO ports or 1 FXS port and 1 FXO port models and two RJ-45 connector (WAN and LAN). ● The AC adapter. ● The CD of User’s Manual. ● The connection cable in RS-232 interface.
1.4 Appearance Front panel: The LED lights provide related system messages of the gateway. SP5012/S SP5014/S Power: TEL: LINE: Light on means Gateway is power on, and vice versa. Light on means the line is in use (off-hook), and vice versa. Light on means the line is in use (off-hook), and vice versa. Status: 1. LED light on means Gateway has successfully registered to Proxy when it is in the Proxy Mode. 2. LED flash means Gateway is not registered to the Proxy when it is in the Proxy Mode. 3.
transmitted received. Back panel: SP5012/S SP5014/S 1. Ethernet Port LAN/WAN: 10/100 Base-T; RJ-45 socket, complied with ETHERNET 10/100base-T. The pin-out is as following: PIN 1, 2: Transmit PIN 3, 6: Receive 2. COM: RS232 console port (DB-9pin 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 3. TEL: RJ-11 connector, FXS interface is for connecting the analog phone sets or trunk line of PABX. 4. LINE: RJ-11 connector, FXO interface is for connecting the extension line of PABX or PSTN Line. 5. 12V DC: Input AC 100V~120V; output DC12V.
2 How to Setup and Connect basically 2.1 System Requirement 1. One PC (a) Pentium 100 or above, 64 RAM, Windows 98 or above. (b) Ethernet card or COM port 2. One standard straightforward RS-232 cable (female connector to Gateway side). 3. Analog telephone sets or the PBX trunk Lines. 4. PBX extension Lines or PSTN Lines. 5. Software tools – Hyper Terminal, TELNET, Web Browser. 2.2 IP Environment Setting User must prepare a valid IP address, complied with IP Network, for Gateway’s proper operation.
Figure 2.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.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.0.0.0, 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. (see figure 2.3) Figure 2.3: WEB 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) (see figure 2.4) Figure 2.
3 You will enter the main page of the configuration after key in the login name and password correctly: (see figure 2.5) Figure 2.5: The main WEB configuration 4 Press the Network Interface to configure the networking of your gateway. (see figure 2.6) Figure 2.
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. (see figure 2.7) Figure 2.7: Configure the static ip address 2 Press the commit if you finish the configuration. (see figure 2.8) Figure 2.
3 Press the reboot if you want the configuration executed. (see figure 2.9) Figure 2.
2.3.2 DHCP mode 1 Enable the DHCP if you are using the cable modem or DHCP server. (see figure 2.10) Figure 2.10: Enable the DHCP function 2 Please commit the data and reboot the machine after you enable the DHCP function.
2.3.3 PPPoE mode 1 Switch to the PPPoE mode and press the “OK” button. Press the Network Interface button after the “OK” button. (see figure 2.11) Figure 2.11: Switch to the PPPoE mode 2 Enter the Login account and password. Press the “OK” button if the configuration is finished. (see figure 2.12) Figure 2.
2 Please commit the data and reboot the machine after you finished the configuration about the PPPoE function.
2.4 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 Proxy mode. The configurations and functions are different. Please make sure about the mode you want and follow up the step to configure your gateway. 2.4.1 Configure the gateway into the Peer-to-Peer mode 1 Enter the SIP Configuration table and change the mode to Peer-to-Peer. Define the port numbers whatever you like.
Figure 2.14: Phone Book 【Example】 Figure 2.15: The example of Phone Book configuration The name of the destination: test The E164 number (phone number) of the destination: 123 The ip address of the destination: 10.1.1.
The call signal port of the destination: 1720 (The port will be 1720 if you don’ t define it) Drop prefix: Enable – The e164 number you define will be deleted Insert prefix: Disable – The e164 number you define will be kept To add a number you define in this table 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. 4 Please Commit it and Reboot the system if the configuration is finished. (see figure 2.
【The application in the drop and insert function】 Input (E164) Drop Insert Output 100 Disable X 100 200 Disable 0 0200 300 Enable X X 400 Enable 500 500 ※ X – Do not enter any numbers 2.4.2 Configure the gateway into the Proxy mode 1 Enter the SIP Config table and change the mode from Peer-to-Peer to Proxy. To change the Proxy information from your service provider (Ex: The Proxy IP, Domain and Line numbers). (see figure 2.17) Figure 2.
configuration. 3 Switch to the Security Config page and put the user account and password in the correct table. Please get this info from your ITSP. Press the OK button if the configuration is finished. (see figure 2.20) Figure 2.20: Configure the Security info 4 Press the Commit Data and Reboot System buttons when you finished the configuration.
3 Advanced There are too many advanced commands for the advanced users. The following chapters are based on the application layer. Please get the info what you need. If you need the command, please watching the chapter of Command Line Interface. 3.1 Line The Line configuration will show the status of the registrations and the ports. It includes the hunt group, hotline, and no answer forward configuration. Press the Line configuration button to enter configuration table (see figure 3.1) Figure 3.
be forwarded to the number you configured. This is only for the E164 number or the phone numbers you want to transfer. This function should be used with the forwardtime command (in the System configuration table). The range of the forward time is 5 to 65535. If the function is enabling, the No Answer forward number is 123, and the forward time is 5 seconds. The call will be forwarded to the destination with 123 numbers when the origin port didn’t answer the call.
3.2 System Configuration There are some parameters in the system configurations, please get more detail as following. (see figure 3.2) Figure 3.2: System Configuration ● ● ● ● ● ● Keypad type – There are tow types for the Keypad. On is the In-Band type, another is the RFC2833 type (Out-Band). User could define the keypad type for the dialing. Inter Digit Time – It’s the time for the time out during the dialing numbers. Forward Time – It’s the time for the no-answer-forward.
3.3 Voice Setting User could define some parameters about the voice in this voice-setting page. (see figure 3.3) Figure 3.3: Voice Setting ● Codec Priority:It’s for the codec setting. User could use the codec, which they want by the setting. There are two firmware versions for SP5014/S. One is for G.723 only, another is for G.729 only. It with no meanings if users use the G.723 version and configure the codec in G.729. User could check out the firmware version first and configure the codec second.
A large jitter buffer causes increase in the delay and decreases the packet loss. A small jitter buffer decreases the delay but increases the packet loss. The size of the jitter buffer depends on the condition of the network, which varies with time. Typically the packet loss should be less than 10% for a good quality of speech. 3.4 Phone Pattern The FXSO could generate some tones, such like the busy tone, dial tone, ring back tone and second dial tone…etc.
3.5 Tone Setting The Tone Setting is for the Tone detecting. The call will be dropped if the pattern of the tone from PSTN side is as same as the pattern in the disconnect tone table. The same result for the Ring Back Tone. User could define the pattern of the disconnect tone if the disconnect tone from PSTN side is not the standard tone. (see figure 3.5) Figure 3.5: Tone Setting ● ● Disconnect Tone – Users could put the correct pattern of the disconnect tone in this table.
3.6 Prefix The Prefix function is using the drop and insert function (see figure 3.6). Figure 3.6: Prefix Configuration There is a rule between Prefix and Routing command, the Prefix command have the higher priority over the Routing command. If there is an incoming call from any sides, the Routing will check this calling number after the Prefix checked (see figure 3.) YES Follow the Routing you configure Check the Prefix Table first NO Follow the Default Routing Figure 3.
There is an example about the configuration, please follow up these steps. 1 Press the Prefix Configuration button to enter the configuration table (see figure 3.6) 2 Enter the index number. Put the prefix numbers you will dial in the prefix table, enable (disable) the drop function and enter the numbers you want to insert (see figure 3.7) Figure 3.7: Configure the Prefix Table The usage is as same as the drop, insert function of the Phone Book.
3 Press the Prefix Configuration button to reload the configuration table (see figure 3.8) Figure 3.8: Show the added table 4 Please Commit it and Reboot the system if the configuration is finished.
3.7 Routing Table Routing Table is a rule to define the destination of the calls you make. You could define the rules by the number you dial or by the ports. The Routing Table button will show you the configuration table (see figure 3.9). In fact, there are three directions of the incoming calls (from IP, FXS and FXO side).
Change the default routing Please follow up the steps if you want to change the default routing: 1 Pick up the side for the incoming calls and define the destination of this side. Press the Change Default to save the data. (see figure 3.10) Figure 3.
2 The default setting is changed after you press the Change Default button. Please press the Routing Table button again to show the new setting. (see figure 3.11) Figure 3.11: The Default Setting Changed 3 Please Commit it and Reboot the system if the configuration is finished.
Add a new Routing Table 1 The default setting is changed after you press the Change Default button. Please press the Routing Table button again to show the new setting. (see figure 3.12) FIGURE 3.12: EDIT AND ADD A NEW ROUTING TABLE ● ● ● ● Index – Define the number of this data. Prefix – Define the number you dial. You could just define the first digit of the numbers Destination – Define the destination of this rule. There are three directions of the destination.
this routing if the number I dial is between 1 and 10 digits. If I dial over 10 digits, this call will follow the default routing. ● Hunt – Define the hunt group function. None – Disable this function Group – The call will search other ports to be the destination with the same group if the origin destination is busy. All – The call will search other ports to be the destination with the same type if the origin destination is busy.
3.8 FXO Password You will get the IVR if you make calls from PSTN side. The IVR will ask you the password you set, and you could make other calls to IP side if the password you type is correct. Please press the FXO Password button to configure the password (see figure 3.14) Figure 3.14: FXO Password ● ● Index – The number of this table. Password – The password you set. This function is only for the calls from the PSTN side. It’s not ready for the IP side as so far.
3.9 Password There are two accounts for login to access or change the configurations. One is “root”, another is “administrator”. Users could define the password for these two login account. The account “root” could make all the configurations back to the default setting, but the account “administrator” couldn’t. This is the difference between these two accounts. Users could define the password for the accounts in this page. (see figure 3.15) Figure 3.
3.10 Upgrade the Firmware User could update the firmware just by the web configuration interface. There are two types for the upgrading procedure. One is using the TFTP server, another is using the FTP server. Please follow the step to update the gateway firmware version. 【Updating the firmware by the FTP server】 1 Pick up the “Rom Upgrade” button to enter the upgrading web page and switch to the FTP method. (see figure 3.16) Figure 3.
2 Key in the IP address, the login name, password of your FTP server and the correct file name. (see figure 3.17) Figure 3.17: FTP information Please pay more attentions about the red blank. The Target File Type has to be matched with the Target File name. Please put the correct info about the Target file in this table. 3 Press the OK button to execute the upgrade procedure. 4 Please press the “Reboot System” button to make it reboot.
switch to the TFTP method. (see figure 3.18) Figure 3.18: ROM Upgrade for TFTP 3 Key in the IP address of your TFTP server, pick up the file type for your upgrade file and the correct file name for upgrading. (see figure 3.19) Figure 3.19 : TFTP information 4 Press the OK button to execute the upgrade procedure. 5 Please press the “Flash Clean” button when the procedure is finished.
6 After pressing the “Flash Clean” button, please press the “Reboot System” button to make it reboot.
4 Console Setup 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 4.1: Hyper Terminal 2. Define a name such as ‘SP5012’ for this new connection. 3.
Figure 4.3: Pick up the right interface to use 4. 5. Configure the COM Port Properties as following: ● Bits per second: 9600 ● Flow control: None Figure 4.4: Configure the right Bps and control Press ‘OK’ button, and then start to configure Gateway.
5 Command List 5.1 [help] Type help or man or ? to list all the available command.
5.2 [quit] Type quit will quit the Gateway configuration mode and turn back to login prompt (in console mode) or disconnect (in TELNET mode). usr/config$ quit Disconnecting... login: Note: It is recommended that type the “quit” command before you leave the console. If so, Gateway will ask password again when next user connects to console port. 5.3 [debug] Open debug message will show up specific information while Gateway is in operation.
5.4 [reboot] After commit command, type reboot to reload Gateway in new configuration. The procedure is as below: usr/config$ reboot .Attached TCP/IP interface to cpm unit 0 Attaching interface lo0...done Hardware auto detect... Hardware Type : 1FXS + 1FXO HTTPD initialized... VoicePacketizermain comming WorkMode : PROXY_MODE incoming InitCallArray....REAL_MAXCALL=4 SIP stack was constructed successfully. Version - 2.2.1.
Warning: Only user who login with root can execute this command. Configurations of IP address and accounts’ passwords will be kept. 5.6 [commit] Save changes after configuring Gateway. ----------------------------------------------------------------------------------------------usr/config$ commit This may take a few seconds, please wait.... Commit to flash memory ok! usr/config$ Note: Users shall use commit to save modified value, or they will not be activated after system reboot. 5.
address. -ipchange Replace IP address if the shared IP is changed. -cmcenter Specify IP address of management center. Note: SNTP mode (0=no update, 1=specify server IP, 2=broadcast mode). Example: ifaddr -ip 210.59.163.202 -mask 255.255.255.0 -gate 210.59.163.254 ifaddr -ipmode 1 ifaddr -sntp 1 210.59.163.254 ifaddr -ipsharing 1 210.59.163.
dynamic IP Address is not working in Peer-to-Peer mode. ----------------------------------------------------------------------------------------------usr/config$ ifaddr -ipsharing 1 -ipchange This is for a special function of IP-Sharing. Some devices could support different ip address from WAN and DMZ port. This function has to be enable if the ip address of DMZ port is different from the WAN port.
PING 192.168.1.254: 56 data bytes 64 bytes from 192.168.1.254: icmp_seq=0. time=5. ms 64 bytes from 192.168.1.254: icmp_seq=1. time=0. ms 64 bytes from 192.168.1.254: icmp_seq=2. time=0. ms 64 bytes from 192.168.1.254: icmp_seq=3. time=0. ms ----192.168.1.254 PING Statistics---4 packets transmitted, 4 packets received, 0% packet loss round-trip (ms) min/avg/max = 0/1/5 usr/config$ 5.10 [sysconf] This command displays system information and configurations.
-eod End of dial.(Enable: 1 / Disable : 0) Example: sysconf -ring 500 usr/config$ Parameters Usage: -print print out all current settings -idtime set the duration (in second) of two pressed digits in dial mode as timed out. If after the duration user hasn’t pressed next number, it will dial out all number pressed. (1-10 seconds) -forwardtime set forward time (5-65535 seconds) for FXS Line. If callee hasn’t answered the call in this time, call will be forward to -keypad assigned number in [line] command.
Type, Gateway may be not functional if set wrong hardware type. -ring ring time for ring detection (in ms). When Gateway has incoming call from PSTN side to FXO port, Gateway will determine it is a ring but not noise only if it is longer than this ring time. Note: In Taiwan the ring time of PSTN usually is 1000ms, so if user set ring time longer that 1000ms, FXO port may not be able to pick up the call from PSTN side.
-expire -port The relative time after which the message expires (0~65535). SIP local UDP port number (5060~5070). Default : 5060 RTP port number (2326~65532). Default : 16384 -rtp Example: sip -px 210.59.163.171 -line1 70 -line2 71 -line3 72 -line4 73 usr/config$ Parameters Usage: -print print current h323 related settings -mode alternatives for proxy or peer-to-peer mode (1=proxy mode; 0=peer-to-peer mode). If users select proxy mode, a valid proxy is needed when Gateway is in operation.
-expire -port -rtp It just like the TTL function in H323, the gateway will make sure the registration is success or not for a period times. define the local sip port for this gateway. to allocate RTP port range—NOT RECOMMENDED. This may be used when RTP port range conflicts with Firewall policy. (each port of Gateway use 2 RTP ports) Note: From –rtp to –conneto commands are for advanced users, please do not change the default settings if not necessary. 5.
5.13 [line] This command is for configure each line parameters of Gateway. ---------------------------------------------------------------------------------------------usr/config$ line Gateway line information and configuration Usage: line -config number [hunt number][hotline number][forward number] line -print Gateway line information. hunt Hunting group. hotline Hot line configuration. forward No answer forward for FXS line.
Proxy or P2P mode. (1) Call out from FXS Line Proxy Mode Usage: Set gateway under proxy mode. Create a Hotline table with “line ” command. ------------------------------------------------------------------------------usr/config$ line –config 1 hotline 1001 ------------------------------------------------------------------------------In this example means: if user picks up phone set of FXS Line1, gateway will automatically dial out “1001”. P2P Mode Usage: Set gateway under P2P mode.
------------------------------------------------------------------------------usr/config$ pbook –add name micronet ip 10.1.1.1 e164 1001 usr/config$ line –config 2 hotline 1001 ------------------------------------------------------------------------------In this example means: if user calls in FXO Line1, gateway will automatically dial out IP address of “1001”. -forward set no answer forward table for FXS Lines. Only FXS Lines provides No Answer Forward function.
[min number][max number][hunt number] route -ip [dst number][SIP number] route -fxs [dst number][SIP number] route -fxo [dst number][SIP number] route -print Routing table information. prefix The prefix of dialed number. dst Destination port(FXS:0/FXO:1/IP:2). e164 Destination e164 number(when destination is FXS or FXO). min Min digits.(0 ~ 255) max Max digits.
-fxs create routing table for incoming call from FXS TELs. -fxo (route –fxs dst “destination port type” e164 “SIP number of port”) create routing table for incoming call from FXO Lines. min max (route –fxo dst “destination port type” e164 “SIPnumber of port”) prefix of dialed number destination port, 0 means FXS TELs, 1 means FXO Lines, 2 means IP side, x means no determinate number. destination SIP number.
determine. (Ex. route –fxs dst 2) (2) If user doesn’t want to determine a specific port to route, SIP number must set as “x”. (Ex. route –ip dst 1 e164 x) (3) Default value: Incoming call from FXS and FXO ports will be forward to IP side directly. 5.15 [prefix] This command is for make rules for drop or insert prefix digits.
(prefix –delete prefix “prefix number”) -modify modify a rule to drop or insert prefix digits of incoming call. prefix drop insert (prefix –modify prefix “prefix number” drop 0/1 insert “insert number”) set which prefix number to implement prefix rule. enable or disable drop function. If this function is enabled, Gateway will drop prefix number on incoming call. set which digit to insert on incoming call. 5.
Example: pbook -add name test e164 1234 ip 192.168.1.10 drop 1 insert 5678 pbook -delete 1 pbook -modify 1 name test e164 5678 ip 192.168.1.10 drop 0 usr/config$ Parameter Usages: -print print out current contents of Phone Book. (pbook -print) Users can also add index number, from 1 to 100, to the parameter to show specific phone number. (Ex. pbook –print 1) Note: means the sequence number in phone book.
5.17 [voice] The voice command is associated with the audio setting information. There are four voice codecs supported by Gateway.
voice volume (0~63, default: 29,28), input gain (0~63, default: 26), dtmf volume (0~31, default: 23), -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: 90). -maxdelay Setting of jitter buffer max delay. (0~150, default: 150).
G.723.1. If the version is 2sipfxso723.100, SP5014/S doesn’t have the codec G.729 series. (2) For SP5012/S, the Application rom has the only one version which is named sipfxso.100 provide all codec. -volume There are three adjustable value. voice volume stands for volume, which can be heard from Gateway side; input gain stands for volume, which the opposite party hears; dtmf volume stands for DTMF volume/level, which sends to its own Line.
usr/config$ phone Phone ringing , ringback tone , busy tone , dial tone setting and notes Usage: phone [-ring [freq ][ringON ][ringOFF ][ringLevel]] [-rbt [freqHi ][freqLo ][freqHiLev][freqLoLev] [Tone1ON][Tone1OFF][Tone2ON ][Tone2OFF ]] [-bt [freqHi ][freqLo ][freqHiLev][freqLoLev] [Tone1ON][Tone1OFF][Tone2ON ][Tone2OFF ]] [-dt [freqHi ][freqLo ][freqHiLev][freqLoLev] [Tone1ON][Tone1OFF][Tone2ON ][Tone2OFF ]] [-flash [freqLo ][freqHi ]] phone [-print [ring]|[rbt]|[bt]|[dt]|[flash]] -print Display phone ri
phone -rbt 480 440 8 8 2000 4000 2000 4000 phone -bt 620 480 8 8 500 500 500 500 phone -dt 440 350 8 8 500 1023 1023 1023 phone -flash 100 300 usr/config$ Parameters Usage: -print print current call progress tone configurations (ring – ring tone, rbt – ring back tone, bt – busy tone, dt – dial tone, flash – flash ). This parameter should be accompanied with tone type.
-dt -flash to set DialTone value. The played tone type, when hook off a phone set of workable Gateway. set the detective flash range in ms, for example, 300-500 ms. 5.19 [tone] This command is basically for FXO ports.
PSTN network. (If user doesn’t know about the frequency of disconnect tone or ring back tone, please refer to [record] command to detect frequency.) For each tone may have 1 set or 2 sets (high and low) of frequencies. If user wants to set 0 in on/off time, please set “1023” represent “0”. (ex. tone 1 620 480 8 8 50 50 1023 1023) (tone “index of tone” “frequency of high” “frequency of low” “level of high” “level of low” “on time of high” “off time of high” “on time of low” “off time of low” ) 5.
passwd password 5.21 [record] User can record greeting and askpin file and analyze tone frequency by calling in FXO line of Gateway. ----------------------------------------------------------------------------------------------usr/config$ record Record greeting voice and ask pin code voice, tone analyze. Usage: record -greeting filename -askpin filename -tone Example: record -greeting greeting.100 record -askpin askpin.100 record -tone usr/config$ Parameter Usages: -greeting record greeting file.
Press (S) to stop record... ............................................................................................ ............................................................................................ ..................................................................................s......... ............................................................................................ ............................... Press (P) to play the voice or (W) to write to flash or (Q) to quit...
Press (S) to stop record... ............................................................................................ ............................................................................................ ............................................................................................ ............................................................................................ ............................................................................................ ...................
Press (R) to start record... r ............................................................................................ ............................................................................................ ............................................................................................ ...................... Analyzing!! Please wait a moment…….. Frequency 1 : 480 Frequency 2 : 620 Frequency 3 (2623) is more than 1000, please ignore it. usr/config$ Note: 1.
4. 5. 6. 7. 8. Pease dial the number of the Tel 1 port. The phone will ring if the number you dial is correct. Pick up the phone and make sure the call is connect. Hang up the phone which is from PSTN side and Tel 1 port will get the disconnect tone. When you get the disconnect tone from the phone set of the Tel 1 port, 9. press and buttons to start recording the disconnect tone. Please hang up the phone if you get the message as below:Analyzing!! Please wait a moment… 10.
tone –print Disconnect tone 1 parameter Frequency high : 620 frequency low : 480 frequency high level :8 frequency low level :8 Tone1 on : 25 Tone1 off : 25 Tone2 on : 1023 Tone2 off : 1023 Disconnect tone 2 parameter Frequency high : 450 frequency low :0 frequency high level :8 frequency low level :0 Tone1 on : 35 Tone1 off : 35 Tone2 on : 1023 Tone2 off : 1023 Disconnect tone 3 parameter Frequency high : 620 frequency low : 480 frequency high level :8 frequency low level :8 Tone1 on : 50 Tone1 off : 50 To
Tone2 off : 50 (Confirm the values is correct or not) (Key in the commit and reboot command if you finish the procedures as above) 【Example-2】 (Make a call into FXO port) usr/config$ record -tone Press (R) to start record... (Please make sure that you are already finish the steps 2 ~ 7) r (Press “Enter” button after you key in “R”) .................................................................................................... .............................................................................
Disconnect tone 2 parameter Frequency high : 450 frequency low :0 frequency high level :8 frequency low level :0 Tone1 on : 35 Tone1 off : 35 Tone2 on : 1023 Tone2 off : 1023 Disconnect tone 3 parameter Frequency high : 620 frequency low : 480 frequency high level :8 frequency low level :8 Tone1 on : 50 Tone1 off : 50 Tone2 on : 1023 Tone2 off : 1023 Disconnect tone 4 parameter Frequency high : 621 frequency low : 481 frequency high level :8 frequency low level :8 Tone1 on : 25 Tone1 off : 25 Tone2 on : 50
RTP payload type configuration and information Usage: pt-print Display the RTP payload type information -rfc2833 Configure the DTMF RFC2833 payload type -dtmf Configure the DTMF payload type -fax Configure the FAX payload type -faxbypass Configure the FAX ByPass payload type -modembypass Configure the MODEM ByPass payload type -redundancy Configure the Redundancy payload type -modemrelay Configure the MODEM Relay payload type Example: pt -rfc2833 96 -fax 101 usr/config$ 5.
-askpin update ask pin code voice file(optional) -s IP address of TFTP/FTP server (mandatory) -f file name(mandatory) -method download via TFTP/FTP (TFTP: mode=0, FTP: mode=1) -ftp specify username and password for FTP Note: This command can run select one option in 'app', 'boot', , 'dsptest', 'dspcore', and 'dspapp'. Example: rom -method 1 rom -ftp vwusr vwusr rom -app -s 192.168.4.101 -f app.
usr/config$ passwd Password setting information and configuration Usage: passwd -set Loginname Password passwd -clean Note: 1. Loginname can be only 'root' or 'administratoar' 2. passwd -clean will clear all passwd stored in flash, please use it with care. Example: passwd -set root Your_Passwd_Setting usr/config$ Parameter Usages: -set (passwd –set “login name” “password”) Note : “login name” can be “root” or “administrator” only.