IP Telephony Gateway
Model No.: SP5050/S, SP5052/S, SP5054/S
v103
http://www.micronet.info
Table of Contents
1.
2.
3.
4.
5.
INTRODUCTION ......................................................................................................... 3
1.1
1.2
APPEARANCE ........................................................................................................ 5
2.2
IP ENVIRONMENT SETTING..................................................................................... 7
2.3
3.2
3.3
4.2
4.3
4.4
STEP 2.
STEP 3.
5.1
5.2
5.3
5.4
5.5
SYSTEM CONFIGURATION..................................................................................... 30
5.6
5.7
5.8
5.9
5.10
5.11
5.12
6.
7.
5.13
PASSWORD ......................................................................................................... 38
5.14
5.15
5.16
COMMIT DATA...................................................................................................... 41
5.17
REBOOT SYSTEM................................................................................................. 42
40
6.2
COMMAND LISTS..................................................................................................... 46
7.1
[HELP]................................................................................................................. 46
7.2
[QUIT] ................................................................................................................. 46
7.3
[DEBUG] .............................................................................................................. 47
7.4
[REBOOT] ............................................................................................................ 48
7.5
[FLASH] ............................................................................................................... 48
7.6
[COMMIT]............................................................................................................. 48
7.7
[IFADDR].............................................................................................................. 49
7.8
[TIME] ................................................................................................................. 50
7.9
[PING] ................................................................................................................. 51
7.10
[SYSCONF] .......................................................................................................... 51
7.11
[SIP].................................................................................................................... 52
7.12
[SECURITY].......................................................................................................... 54
7.13
[LINE] .................................................................................................................. 54
7.14
[ROUTE] .............................................................................................................. 56
7.15
[PREFIX] .............................................................................................................. 57
7.16
[PBOOK] .............................................................................................................. 58
7.17
[VOICE] ............................................................................................................... 61
7.18
[TONE] ................................................................................................................ 63
7.19
[FXOPWD]............................................................................................................ 64
7.20
[RECORD]............................................................................................................ 65
7.21
[TOS]................................................................................................................... 66
7.22
[PT]..................................................................................................................... 67
7.23
[ROM].................................................................................................................. 67
1.
Introduction
1.1
y
y
y
y
y
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.168/165-compliant adaptive echo cancellation
y
Dynamic Jitter Buffer
y
Bad Frame Interpolation
y
Gain Settings
y
Management Features
Three easy ways for system configuration
y
Console port: RS-232C port
y
TELNET
y
HTTP Brower (e.g. Internet Explorer)
1.2
Appearance
Front Panel: Here is an example for SP5050/S.
PIN 1, 2: Transmit
PIN 3, 6: Receive
(2) LINE:
RJ-11 connector, FXO interface is for connecting the extension line
of PABX or PSTN Line.
(3) COM:
RS232 console port (DB-9 male connector)
Note: use straightforward cable to connect to your computer.
PINOUTS
Pin Name Dir
Description
RXD
Receive Data
TXD
Transmit Data
GND
System Ground
2.
2.1
System Requirement
Note: Since the Line function feature starts from L1, please plug the
telephone lines from L1.
2.2
IP Environment Setting
2.3
10
11
3.
Initializing Gateway
3.1
Proxy Mode
Proxy Mode
1. Power up the gateway
2. Configure gateway IP, Mask and Gateway address
3. Configure SIP server IP address or Domain
4. Configure the UserID and Password
5. Save the configurations
6. Restart the gateway
12
1. Confirming the values, type commit and press enter to save all the
changes you have done.
2. Type reboot and press enter to reboot the Micronet SP5050/S
Series Gateway.
3. Wait for Micronet SP5050/S Series Gateway initializing in proxy
mode.
15
3.2
Peer-to-Peer Mode
Peer-To-Peer Mode
Peer-to-Peer Mode allows users to call other VoIP devices without using a
proxy. When in Peer-To-Peer mode, Micronet SP5050/S Series Gateway
will send SETUP message directly to the destination IP address once the
dial is finished. Users have 2 methods of dial. One is IP dialing, and the
other is Phonebook dial, which we will describe later. When using IP
address as destination phone number, press * as . in IP address
expression, and press # when dial is finished. When using Phonebook,
users can dial predefined phone number, and press # (optional, to
accelerate the dial) as end of dial.
To configure Peer-To-Peer Mode in Micronet SP5050/S Series Gateway,
follow the steps below:
1.
-----------------------------------------------------------
16
17
3.3
Behind IP-Sharing
IP Sharing function
The function is for user whose network environment is behind IP Sharing
device. It is said Micronet SP5050/S Series Gateway is connected to the IP
Sharing device.
An example such as ADSL network is in the following.
The WAN IP Address obtained from ADSL has two kinds of methods.
One is fixed IP Address, while user applies for one or more fixed IP
Addresses. Another is dynamic IP Address while user applies for
dial-up connection way.
19
4.
4.1
20
4.2
Disconnect Tone, Gateway will configure the tone table (busy tone 1,
busy tone 2, reorder tone 1, and reorder tone 2) with proper frequency
and default tone level and cadence (Ton1/Toff1) automatically. Or you
may read the analysis tone frequency from command line and configure
to one of tone table manually.
The default tone level is set to 8. And the tone cadence (Ton1/Toff1) is
set to four different values on tone table. They are 0.1 second, 0.25
seconds, 0.5 seconds and 0.75 seconds with parameters 10/10, 25/25,
50/50 and 75/75.
If the PBX/PSTN cadence is not the value as default shown as above,
you need to use the following instruction to analyze ON/OFF intervals.
b. You may use your PC (START Program Files Accessories
Multimedia Recorder) with Headset or Microphone to record the
Disconnect Tone via a telephone set from PSTN/PBX and save to a wav
file. Then you can use CoolEdit Pro software to analyze the frequency
and ON/OFF time. Please visit http://www.cooledit.com to download demo
version for analysis. You can use this program to analyze ON/OFF time
and fill in to tone table.
4.3
If the gateway still cannot release the LINE port in two seconds, try to
adjust the frequency by 1 HZ on tone table. For example, your analysis
value is 620/480, take the following procedures.
620/479
620/480
620/481
621/479
621/480
621/481
619/479
619/480
619/481
22
If the LINE port of gateway was locked, please use hangup 0 command to
release LINE 1, hanhup 1 to release LINE 2etc.
4.4
23
5.
Web configuration
The initial version for HTTPD web management interface provides user to
configure easily rather than command operating method through RS-232 /
TELNET.
The configuration function and step is similar with the way through
command line. Basically this version is not the finalized version for web
interface. Initially user please refer to the manual for more information.
Below provide a simple user guide for user to configure via web interface.
Next version for HTTPD web management will not like the command format,
but friendly interface.
Step 1. Use Web Broswer to Connect Gateway
24
25
5.1
Network Interface
z
z
z
z
z
z
z
z
z
z
26
5.2
SIP Config
z
z
z
z
z
z
z
z
27
5.3
Security Config
z
z
Note :
These configuratrion settings provide by Service Provider
28
5.4
Line Configuration
z
z
Type Show the type of this port. There are only one types of
this gateway. (SP5012 / SP5014 will show the FXS and FXO
type. It can not be changed.)
Hunting Group Define the group number of this port. When
the port is busy, the call could be transferred to another port in
the same group.
Hotline Enable or Disable the hotline mode. The hotline
mode will be enabled if you enter the hotline number. The
default setting is disabled.
Registration To show the gateway registered on the Proxy
Server or not.
Status To show the port is busy or ready.
29
5.5
System Configuration
z
z
z
30
5.6
z
z
z
z
z
z
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.
31
5.7
32
5.8
z
z
Input the Name, IP Address and E.164 No. for the destination
device.
Please Note: The E.164 No. will be carried together to the
destination side. It is said if the destination side is requested
to match its E.164 No. (Line No.), user can not input any digit
he wished.
Example :
Input (E164)
Drop
Insert
Output
100
Disable
100
200
Disable
0200
300
Enable
400
Enable
500
500
33
5.9
Prefix Configuration
z
z
z
z
z
z
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
Input (Prefix)
Drop
Insert
Output
100
Disable
100
200
Disable
0200
34
5.10
300
Enable
400
Enable
500
500
Routing Table
z
z
z
z
z
z
The min and max digits are the range for the number you dial. For example:
The min digits is 1 and max digits is 10. The call will follow 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.
35
z
z
z
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.
In fact, there are two directions of the incoming calls (from IP or FXO side).
The explanation of the default routing is as below:
Incoming
calls location
Destination
IP (Default)
Fxo
Fxo (Default)
IP
Explanation
The destination will be the FXO port
when the calls from the IP side without
any define rules.
The destination will be the IP side when
the calls from the FXO port without any
define rules.
The most important usage is for the one-stage-dialing function. For the
one-stage-dialing function under the Proxy mode, users have to make sure
about that the Proxy could support some kind of the function just like the
routing.
36
5.11
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
Note :
This function is only for the calls from the PSTN side. Its not ready for the
IP side as so far.
5.12
IP Packet ToS
The Type of Service needs worked with the network router supported. The
37
router will check all the packets if it support the TOS function. There is a
field in the packet for the TOS value. This WEB is for users to configure
these values to make the packets with the correct values for the TOS
service from the gateway.
According to the RFC 1349 document, the TOS value as following :
1000 minimize delay
0100 maximize throughput
0010 maximize reliability
0001 minimize monetary cost
0000 normal service
These values are the Binary format. Please change to the Decimal and put
these values in to the correct table.
5.13
Password
There are two accounts for login to access or change the configurations.
38
5.14
ROM Upgrade
User could update the firmware just by the web configuration interface.
There are two type for the upgrading procedure. One is using the TFTP
server, another is using the FTP server.
z
z
z
z
z
z
5.15
flash Clean
Press CLEAN will clean all configurations of Gateways and reset to factory
default value.
The password of the account and the networking configuration couldnt be
back to the default setting by this command.
40
5.16
Commit Data
Press COMMIT when any configuration has been changed before reboot
41
5.17
Reboot System
After commit configuration, user has to REBOOT device to be able run the
configurations properly.
42
6.
6.1
TFTP/FTP server
It is necessary to prepare the TFTP/FTP server program on the
host PC as TFTP/FTP server. After TFTP/FTP program set up on
one PC and connecting to network, Micronet SP5050/S Series
Gateway is ready to be updated.
6.2
Download Procedure
43
-askpin
-s
-f
-method
-ftp
44
45
7.
Command lists
7.1
[help]
7.2
[quit]
Type quit will quit the Micronet SP5050/S Series Gateway configuration
mode. And turn back to login prompt.
--------------------------------------------------------------46
usr/config$ quit
Disconnecting...
login:
--------------------------------------------------------------Note: It is recommended that type the quit command before you leave the
console. If so, Micronet SP5050/S Series Gateway will ask password again
when next user connects to console port.
7.3
[debug]
47
7.4
[reboot]
7.5
[flash]
This command will clean the configuration stored in the flash rom and
reboot Micronet SP5050/S Series Gateway in factory default setting.
Parameter Usage:
-clean clean all the user-defined value, and reboot Gateway in factory
default mode.
Note: It is recommended that use flash clean after application firmware
id upgraded.
Warning: Once users execute flash clean, all the configurations of
Micronet SP5050/S Series Gateway will be cleaned. This can only be
executed by user who log in with root.
7.6
[commit]
48
7.7
[ifaddr]
-id
-pwd
-http
7.8
[time]
7.9
[ping]
7.10
[sysconf]
7.11
Set how many rings the gateway will answer the call
( 1 ~ 5 rings )
End of dial.(Enable:1 / Disable:0)
[sip]
Usage:
sip [-mode pxmode]
sip [-px address] [-domain domain] [-prefix prefixstring]
[-line number] [-expire t1]
sip -print
-print
-mode
-px
-domain
-prefix
-line1
-line2
:
:
Note: SP5050 has 6 Lines, SP5054 has 4 Lines, SP5052 has 2 Lines
-expire
-port
-rtp
Example:
sip -px 210.59.163.171 -line1 70 -line2 71
--------------------------------------------------------------Parameter Usages:
-print
print current sip 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 extra proxy is need when Micronet
SP5050/S Series Gateway is in operation.
-px
to assign proxys IP address when Micronet SP5050/S Series
Gateway is in proxy mode.
-domain to assign the domain name of the proxy when it is needed.
For example : proxy.micronet.com.tw
-prefix this will be prefix the alphabets before the sip line number.
-line1
to assign proxy ID.
-expire It just like the TTL function in H323, the gateway will make sure
the registration is success or not for a period times.
53
-port
-rtp
7.12
[security]
7.13
[line]
-hotline
7.14
[route]
56
-delete
-modify
-ip
-fxo
prefix
dst
e164
min
max
hunt
Note:
7.15
[prefix]
Usage:
prefix
prefix
prefix
prefix
7.16
[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.
--------------------------------------------------------------usr/config$ pbook
58
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
--------------------------------------------------------------Parameter Usages:
-print
print out current contents of Phone Book. Users can also add
index number, from 1 to 100, to the parameter to show specific
phone number.
Note: <index number> means the sequence number in phone book. If users do request a
specific index number in phone book, Micronet SP5050/S Series Gateway will give each
record a automatic sequence number as index.
-add
to specify the records 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.
When the destination side is a Gateway, for ex: T1/E1 Gateway,
e164 phone number stands only for Gateway prefix. That is to say,
users have to continue to dial destination number, following the
prefix number. A example is as below:
A Micronet FXO Gateway
In Phonebook, theres a record:
Index
1
Name
B_Gateway
IP
192.168.1.2
E164
0
Note:
1.
3.
(1)
(2)
7.17
[voice]
The voice command is associated with the audio setting information. There
are four voice codecs supported by Micronet SP5050/S Series Gateway.
--------------------------------------------------------------usr/config$ voice
Voice codec setting information and configuration
Usage:
voice [-send [G723 ms] [G729 ms] [G729A ms] [G729B ms] [G729AB ms]
[G711U ms] [G711A ms] ]
[-volume line [voice level] [input level] [dtmf level]]
[-nscng [G711U used1] [G711A used2] [G723 used3]]
[-echo used] [-mindelay t1] [-maxdelay t2] [-optfactor f]
voice -print
voice -priority [G723] [G729] [G729A] [G729B] [G729AB] [G711U] [G711A]
-print
-send
Parameters Usage:
-print
-send
-priority
-nscng
7.18
[tone]
tone
-print
[num]
tone).
Example:
tone -print
tone 1 620 480 8 8 50 50 1023 1023
--------------------------------------------------------------Parameters Usage :
tone x 1 - 4 is disconnect tone, 5 - 8 is remote ring back tone.
7.19
[fxopwd]
64
7.20
[record]
Record your own Greeting, Asking PIN and analyze Disconnect tone
--------------------------------------------------------------usr/config$ record
Record greeting voice and ask pin code voice, tone analize.
Usage:
record -greeting filename
-askpin filename
-tone
Example:
record -greeting greeting.100
record -askpin askpin.100
record -tone
--------------------------------------------------------------Parameters Usage :
-greeting
record the greeting file
-askpin
record the askpin file
-tone
analyze the tone from PSTN or PABX
7.21
[tos]
P X
CC
PT
Sequence Number
Timestamp
SSRC
CSRC [0..15] :::
Note: Users should be aware that TOS is effective only when network
devices (for ex: router, switch.. etc.) support TOS.
66
7.22
[pt]
Selective Retransmission :
Priority bit indicates the importance of the payload
Only important packets are retransmitted
7.23
[rom]
68
69