UC120 IP PBX User Manual
UC120 IP PBX User Manual
UC120 IP PBX User Manual
Website: www.dinstar.com
Preface
Welcome
Thanks for choosing the UC120-1V1S1O Universal Gateway! We hope you will make full
use of this rich-feature gateway. Contact us if you need any technical support:
86-755-26456110/112.
Intended Audience
This manual is aimed primarily at the following people:
⚫ Users
⚫ Engineers who install, configure and maintain the gateway.
Revision Record
Document Name Document Version Firmware Version
UC120-1V1S1O Universal Gateway V1.0 (2019/11/25) 2.55.1.4
User Manual V1.0
Conventions
Gateway or device mentioned in this document refers to the UC120-1V1S1O gateway. Those
words in blue are the contents that users need to pay attention to.
Contents
1 Product Introduction
1.1 Overview
The UC120-1V1S1O gateway is a multi-functional and all-in-one gateway, which integrates
voice service (VoLTE, VoIP and PSTN) and data service (LTE 4G/WCDMA 3G). It provides
three interfaces (including LTE, FXS and FXO), offering seamless connectivity to VoIP
Network, PLMN and PSTN.
Based on SIP, UC120-1V1S1O not only can interact with IPPBX, softswitch and SIP-based
network platforms, but also supports types of WCDMA/LTE frequency ranges, thus meeting
the worldwide requirements about the mobile network.
Besides, the gateway has built-in WiFi and high-speed data handling capacity, allowing users
to enjoy high-speed internet surfing through WiFi or LAN ports.
UC120-1V1S1O is ideally suitable for personal use. Meanwhile, it is perfect for small and
micro enterprises, offering high-speed internet access, good voice service and message
service.
Back View:
inserted.
⚫ SIM Slot: 1
⚫ SD Slot: 1
⚫ Network Port:1 WAN Port & 1 LAN Ports(10/100 Base-T RJ45)
⚫ WiFi:2.4Ghz 802.11n
1.5.4 FXS
⚫ FXS Connector: RJ11
⚫ Caller ID: Bellcore Type 1&2, ETSI, BT, NTT and DTMF
⚫ Answer and Disconnect Signaling: Answer, Disconnect, Busy Tone
⚫ Polarity Reversal
⚫ Hook Flash
1.5.5 FXO
⚫ FXO Connector: RJ11
⚫ Caller ID: FSK and DTMF
⚫ Polarity Reversal
⚫ Answer Delay
⚫ Busy Tone Detection
⚫ No Current Detection
1.5.8 Environmental
⚫ Power Supply: 12VDC, 2A
⚫ Power Consumption: 18W
⚫ Operating Temperature: 0 ℃ ~ 45 ℃
Storage Temperature: -20 ℃~80 ℃
⚫ Humidity: 10%-90% (Non-Condensing)
⚫ Dimensions:260×180×35mm(W/D/H)
⚫ Weight:1.0kg
1.5.9 Maintenance
⚫ Web GUI for Configuration
⚫ Telnet Management
⚫ Configuration Restore & Backup
⚫ Multiple Languages
⚫ Firmware Upgrade: support HTTP/HTTPS/TFTP/FTP
⚫ Auto Provision
⚫ CDR Query and Export
⚫ Syslog Query and Export
⚫ Network Tools: Ping, Traceroute and Nslookup
⚫ Flow Statistics: TCP, UDP, RTP
⚫ Network Capture
2 Quick Installation
⚫ The adapter of the gateway accepts DC input voltage of 12V 2A. Please ensure stable
and safe power supply;
⚫ To reduce the interference to telephone calls, please separate power cables from
telephone lines;
⚫ To guarantee stable running of the gateway, please make sure that there is enough network
bandwidth;
⚫ For better heat dissipation, please place the gateway on a flat surface and do not pile up
with other devices;
⚫ If WiFi is enabled, please ensure the WiFi antennas are well connected with the gateway
⚫ If you want the gateway to communicate with the LTE network, please insert an SIM card.
⚫ Connect network cable to the LAN port(s) and WAN port (please refer to 2.3 Network
Connection);
⚫ Insert a SIM card to the SIM slot, with the chip facing down.
Note: The IP address of LAN port of the gateway and the IP address of PC must be at the
same network segment, while that of WAN port is at a different network segment.
Note: The IP address of PC and that of WAN port of the UC120-1V1S1O gateway are at the
same network segment.
You are also allowed to log in the gateway by using the WAN PORT, but you need to
By default, there is no password for WiFi, and the built-in DHCP server is turned on.
Check the connectivity between the PC and the UC120-1V1S1O. Click Start → Run of PC
and enter cmd to execute ‘ping 192.168.11.1’ to check whether the IP address of LAN port
runs normally.
You also can enter the IP address of WAN port, but it’s required to modify the IP address of
PC to make it at the same network segment with that of WAN port.
It is suggested that you should modify the username and password for security consideration.
By default, the username is admin, while the password is admin@123#. After entering
username and password, click Login to enter into the web interface.
⚫ For three consecutive login failures, you need to slide to validate your user account;
⚫ Failing to log in the Web for ten times consecutively, the IP address of the UC120 device
will be put into the blacklist, and you need to reset a new IP address for the device;
⚫ Successful login or device restart will wipe out login failure records.
3 Basic Operation
⚫ Dial the called number and wait for 4 seconds for dialing timeout, or dial the called
number directly (the system will judge whether the dialing is completed according to
Digitmap and Regular Expression dialplans).
When the called party presses the flash button or the flash hook once again, he or she will
switch back to the first call.
By pressing the flash button or the flash hook, the called party is able to switch between the
new incoming call and the current call.
Example: A gives a call to B and B wants to blindly transfer the call to C. Operation
instructions are as follows:
2. The extension of B rings, and B picks up the phone. Then A and B go into conversation;
3. B presses *1 to trigger blind transfer (at the same time, A can hear the waiting tone). Then
B dials the extension number of C ( end up with # or wait for 4 seconds);
4. The extension of C rings, B hangs up the phone and C picks up the phone. Then C and A
goes into conversation.
Note:
⚫ On the ‘Call Control →Feature Code’ page, feature code service should be ‘On’.
⚫ If B hears continuous busy tones after he dials the extension number of C, it means the call
has timed out.
Example: A gives a call to B and B wants to attended transfer the call to C. Operation
instructions are as follows:
2. The extension of B rings, and B picks up the phone. Then A and B go into conversation;
3. B presses *2 to trigger attended transfer (at the same time, A can hear a waiting tone). Then
B dials the extension number of C;
a. If the extension of C cannot be reached because the dialing/call has timed out, C rejects
the call or C is busy, B will automatically switch to the conversation with A.
b. The extension of C rings (at the same time, B can hear a ringback tone). If B hangs up
the phone at this moment, A will continue to hear the waiting tone. Then if A also hangs up
the phone, the extension of C will continue to ring. If C picks up the phone at this moment,
the call will end directly.
c. The extension of C rings and then C picks up the phone. C and B go into conversation,
and A will continue to hear a waiting tone. If it’s B that hangs up the phone at this moment, C
and A go into conversation. If it’s C that hangs up the phone, B and A go into conversation.
*157* Dial *157*0 to set route mode; dial *157*1 to set bride mode
Note:
A voice prompt indicating successful configuration will be given after each configuration
procedure. Please do not hang up until hearing this voice prompt.
Pass-through: Under the pass-through mode, fax signal is not converted and fax traffic is
carried in RTP packets. It uses the G.711 A or G711U codec in order to reduce the damage to
fax signal.
2. On the condition that the device is running normally, press the RST button for 6 to 12
seconds, and all configurations are restored to the default settings.
3. On the condition that the device is powered off, press the RST button and the WPS button,
and connect the UC120 gateway with power source. After about 30 seconds, the device will
wipe out all configurations, rebuild a file system and then re-load a firmware version (this
method is used in case of version fault).
If you want to restore UC120-1V1S1O to default settings, you can press the RST button for 6
to 12 seconds or you can configure it on the Web interface.
On the Web interface, click System → Backup/Restore/Upgrade and then select the parts
(system, network or service) that need to be restored to default settings. Click Reset and then
restart the device, and the selected parts will be restored to default settings.
4 Configuration Wizard
Note: Although ‘Register’ has been enabled for FXS/FXO port, calls through FXS/FXO port
will take inbound and outbound routes as first priority. For outgoing calls, if outbound route
cannot be matched, then the registered SIP trunk will be selected. For incoming calls, if
inbound route cannot be matched, then the registered FXS/FXO port will be selected.
Generally, local extension number is taken as first priority for call routing selection, followed
by DID, route and then registered port.
Open a web browser on the PC and then enter the IP address of LAN port. Click Login, and
the login GUI is displayed. Both the default username and password are admin.
The role of the current user logging into the Web. And the
6 User Role “exit” sign will pop up when the mouse moves over there. You
can log out of the web from there
5.2 Status
The ‘Status’ meun mainly displays all kinds of status information. It includes the following
sub-menus: Overview, SIP, PSTN, DHCP Client List, VPN, Parking Lot, Current Call, CDRs,
Service, performance and About.
5.2.1 Overview
Log in the Web interface of UC120-1V1S1O, click Status → Overview, and the following
interface will be displayed. On the interface, divice model, firmware version as well as
information about performance, WAN network, VoLTE network, LAN network, WiFi and
DHCP server are shown.
5.2.2 SIP
Click Status → SIP, and the following interface will be displayed. On the interface,
information of SIP profile, SIP Trunk and SIP extension is shown.
Figure 5-3 Status of SIP Profile, SIP Trunk and SIP Extension
5.2.3 PSTN
On the Status → PSTN interface, information of FXS and FXO is shown. Green color means
available or registered, while red color means abnormal, unregistered or prohibited.
If ‘SIP Register Status’ is ‘Registered’, it means FXS and FXO have been registered to SIP
server on the Trunk → SIP/FXO interface respectively. FXS can also be registered to SIP
server on the Extension → FXS interface.
On the Status →DHCP Client List interface, information of DHCP clients connected to the
UC120-1V1S1O gateway, such as client name, Mac address and IP address, is shown.
5.2.5 Fail2ban
On the Status →Fail2ban interface, you can see currently-banned IP addresses t and historic
banned IP addresses. You can also unban those IP addressed that have been blocked before.
Fail2ban is a log-parsing application that monitors system logs for symptoms of an automated
attack on your device. When an attempted compromise is located, using the defined
parameters, Fail2ban will add a new rule to block the IP address of the attacker, either for a set
amount of time or permanently. Fail2ban can also alert you through email that an attack is
occurring.
For the explanation of parameters related to fail2ban, please refer to the “Network
->Fail2ban” section.
5.2.6 VPN
On the Status → VPN interface, the online records and historical records of UC120-1V1S1O
as a L2TP client, a PPTP client and an OpenVPN client are displayed.
Meanwhile, the UC120-1V1S1O gateway can also serve as a VPN server, such as L2TP
server, PPTP server and OpenVPN server. Related online records and historical records are
shown on the Status → VPN ->OpenVPN Server or Status -> VPN -> L2TP/PPTP Server
Access List interface.
On the Status -> Parking Lot interface, the numbers that are parked and the parking duration
are shown.
5.2.9 CDRs
Click Status → CDRs, and you can set query criteria to query the CDRs (Call Detailed
Records) that you want on the displayed interface. Meanwhile, you are allowed to clear CDRs
or export CDRs through clicking the Empty or Export button. The maximum number of
CDRs that can be saved is 5000.
CDRs cannot be saved on the Status → CDRs interface unless the CDRs function has been
enabled on the System → Setting interface.
5.2.10 Service
Click Status → Service, and the service status of UC120-1V1S1O is displayed. This function
is enabled by default. The Web, SSH and Telnet service can be disabled and their ports can be
modified on the Network → Access Control interface. If no running status is shown, it
means exception has occurred on UC120.
Besides, if syslog is disabled on the System → Setting interface, the logs cannot be uploaded
to the server, but log service is still running.
5.2.11 Performance
On the Status ->Performance Interface, you can see the peformance statistics of the system.
5.2.12 About
On the Status → About page, the device model, device SN, hardware ID, MAC address,
IMEI, VoLTE module, boot image, root image, WIFI driver , firmware Version of the
UC120-1V1S1O device are displayed.
5.3 System
Configurations for hostname, timezone, NTP, login username & password, other user name,
provision, TR069, operation log, service log, upgrade/backup/restore, IVR upload, Command
Line, cloud server and device reboot can be carried out in the System section.
5.3.1 Setting
On the System → Setting interface, you can modify the device name, set a new timezone,
synchronize local time and enable CDRs, Syslog as well as built-in NTP server.
Parameter Explanation
Hostname The name of the gateway. After it is configured, the name will be
displayed on the left of the menu bar.
Timezone You can choose a time zone you want. The default value is UTC
(Universal Time Coordinated)
Local Time The current time based on current time zone. It is synchronized with
NTP.
CDRs If it is enabled, CDRs will be saved automatically. 5000 CDRs call be
saved at most and they can be queried on the Status → CDRs
interface. If it is disabled, CDRs will not be saved
Service Log Level There are eight levels, including Debug, Info, Notify, Warning, Error,
Critical, Alert and Emergency
Enable Syslog Whether to enable syslog
Time If NTP server is enabled, the UC120-1V1S1O can be synchronized
Synchronization with the world standard time. Meanwhile, you’re able to add or
reduce NTP servers. Please consult local telecom operators or surf the
internet for the address of NTP servers.
Parameter Explanation
Name The name of the new user. After it is established, the name and the
password will be used to log into the web page of the device.
User Group You can choose a role for the new user, such as administrator,
operator and observer. The default value is administrator.
New Password Setting the login password for the new user. The password needs to
consist of 8 to 32 characters.
Expiration The expiry date when the user cannot log in the device any more.
Status Choose enable or disable.
Web Access The permissions to view status, system, network, profile, extension,
Permission trunk and call control.
5.3.3 Provision
Provision is used to make UC120-1V1S1O automatically upgrade with the latest firmware
stored on an http server, an ftp server or a tftp server.
As for how to configure UC120-1V1S1O and http/ftp/tftp server for Provision, please make
reference to the instruction guide of Provision.
Select the checkbox on the right of Enable, and you will see the following interface:
Parameter Explanation
Periodic Check Whether to enable periodic check. If it is enabled, the gateway will
automatically check whether the firmware version stored on the URL is
updated.
Check Interval The interval to check whether the firmware version stored on the URL
is updated. If it is 3600s, the gateway will check every 3600s.
URL The URL of the http/ftp/tftp server:
For example:
ftp://172.16.77.200/home
tftp://172.16.77.200/provision.xml
http://test.domain.com/test
Username The login username of the http/ftp/tftp server
Password The login password of the http/ftp/tftp server
Note: Proxy Address, Proxy Username and Proxy Password are optional to be configured.
Note: Operation logs are generally used to locate faults by device manufacturer.
5.3.7 Backup/Restore/Upgrade
On the System → Backup/Restore/Upgrade interface, you can back up or restore
configuration data, and can upgrade UC120 to a new version. But you need to restart the
device for the change to take effect after executing restore or upgrade.
Note: the file you choose to be upgraded on the above interface is a local file, while the
version file upgraded through the Provision function is a file from http/ftp/tftp server.
You can download the configuration data to be backed up. Select any of the
Download checkboxes on the left of System, Network and Service, and then click
Download
Select any of the checkboxes on the left of System, Network and Service,
Reset and then click Reset, and configurations related to the selected part will be
restored to factory defaults.
5.3.8 Voice
On the System → Voice interface, you can upload an IVR file according to your needs. At
present, only wav audio file is allowed. The format of the uploaded wav audio file must be:
monaural, 8000hz, 16bit, and size of no more than 1M.
Commonly-used command lines include fxo config, fxo status, fxs config, fxs status, gsm
status, gsm bcch, gsm oper, sip status, sip profile and so on.
5.3.10 Diagnostics
Use a telephone line to connect the FXS port and the FXO port, and then insert an SIM card.
On the System → Diagnostics interface, select a module (FXS/FXO or LTE ) that you want
to diagnose. Click Start, and the gateway will begin to diagnose the selected module(s).
If the progress bar of diagnostics is green, it means the module that is diagnosed works well;
if the progress bar is red, it means the module that is diagnosed is faulty.
NATS Server:
UC120-1V1S1O can work as a NATS client to send messages to a NATS server, and then the
NATS server will open related ports to facilitate the connection with those clients or servers of
users.
2) Operating mode
Both NATS client and management server need to connect to the NATS server;
The management server subscribes to from the NATS server, and the NATS client is
responsible for publishing messages. After receiving the subject published by the client, the
NATS server forwards the message to the management server. The flows of subscribing to
subject message: management server -> NATS server. The flows of reporting a message:
NATS client -> NATS server -> management server;
Configuration steps:
On the "System -> Cloud Server" interface, enable the NATS server and configure other
parameters, such as IP address, port (when TLS is disabled, the port defaults to 4222, you can
choose not to fill in), user name and password (can be empty), enable heartbeat etc.
(3) Configure the same NATS server information on the management server;
(4) Enter the command line on the management server and enter the command to subscribe to
the subject; command format: nats_client subscribe xxxxxx (example: nats_client subscribe
*.server.register)
The following are the three subjects that the management server must subscribe to:
Register subject(used to receive the registration information of the NATS client): nats-client
subscribe *.server register
Event subject (used to receive event messages from NATS clients): nats_client subscribe
*.server.event
Heartbeat subject (used to receive heartbeat messages from NATS clients): nats_client
subscribe *.server.heartbeat
After subscribing , you can use the nats-client status command to view the
Note: registration status and the subjects that have been subscribed. The command
format for unsubscribing subjects is: nats-client unsubscribe *.server.register.
(5) Enable NATS report on the "System -> Event Reporting" interface of UC120-1V1S1O.
To make NATS report work normally, the following three points need to be met:
2) The connection between the NATS client and the NATS server has been established;;
You can view the status of the NATS client by entering "nats-client status" on
Note: the "System -> Command Line" interface. If the status displays "NATS Status:
OK", it means that the NATS client and NATS server are successfully
connected.
Figure 5.26-4 Enter the command to view the status of the NATS client
5.3.12 API
UC120 provides API (Application Programming Interface) to interwork with other devices or
platforms. This function enables you to centrally manage devices through command lines.
For event report through NATS, please refer to the configuration steps of NATS in the Could
Server section.
For event report through URL, please see the following example:
1. Select the event that is to be repported and the way to report the event (URL);
Format: http://ip:port/event?key1=$value1&key2=$value2
http://172.18.111.65:8080/sip?sn=$sn&mac=$username&key=$sip_status
Event refers to startup, callstatus, sip, siptrunk, fxs, fxo, gsm, volte, vpn and cdr, while value
refers to the parameter that needs to be reported. Key can be defined by yourself, but it’s
generally the same with value.
4. On the System→Event Report→Log interface, you can view the report information.
5.3.15 Email
On the System → Email interface, you can configure a email client on UC120, which can be
used to send or reveice emails. The email client can also used to test connection. But on top of
that, SMTP, IMAP and POP 3 services need to be enabled for the email client.
When the email client is used with SMS routing, email and SMS are bound, which brings
great convenience, for example, you can receive an email , although someone is sending you
an SMS message. Meanwhile, logs will be generated can be viewed on the System → Email
→ Log interface.
(50%) and Others(10%). You can also redevide the proportion of each category, disconnect
the USB or execute formatting on this interface.
5.3.18 Reboot
On the System → Reboot interface, you can click Perform Reboot to reboot the
UC120-1V1S1O gateway. After the device is rebooted, those configurations that have been
saved will remain unchanged.
5.4 Network
UC120-1V1S1O works in two modes: route mode and bridge mode. When it is under the
route mode, the IP of WAN must be different from the IP of LAN. But when it is under the
bridge mode, the IP of WAN and the IP of LAN are the same.
5.4.1 Setting
On the Network → Setting interface, you can set the IP address of WAN port and LAN port,
and can turn on WiFi.
Under the route mode, the default IP address of WAN port is a DHCP IP address, while the
default IP address of the LAN port is 192.168.11.1.
In fact, there are three kinds of IP addresses for selection for WAN port and LAN port,
including Static IP address, DHCP and PPPOE.
UC120-1V1S1O is regarded as a DHCP client, which sends a broadcast request and looks for
a DHCP server to answer. Then the DHCP server automatically assigns an IP address to the
UC120-1V1S1O from a defined range of numbers.
Figure 5-33 Default IP Address under Route Mode
Note: When WAN IP is set as DHCP IP, please ensure that there is DHCP server working
normally in the network.
Static IP Address:
Static IP address is a semi-permanent IP address and remains associated with a single
computer over an extended period of time. This differs from a dynamic IP address, which is
assigned ad hoc at the start of each session, normally changing from one session to the next.
If you choose static IP address, you need to fill in the following information:
⚫ IP Address: the IP address of the WAN port of the UC120-1V1S1O;
⚫ Netmask: the netmask of the router connected the UC120-1V1S1O;
⚫ Default Gateway: the IP address of the router connected the UC120-1V1S1O;
⚫ Use custom DNS server: the IP address of the DNS server
PPPoE:
PPPoE is an acronym for point-to-point protocol over Ethernet, which relies on two widely
accepted standards: PPP and Ethernet. PPPoE is a specification for connecting the users on an
Ethernet to the Internet through a common broadband medium, such as a single DSL line,
wireless device or cable modem. PPPOE IP address refers to IP address assigned through the
PPPoE mode.
If you choose PPPoE, you need to fill in to fill in the following information:
⚫ Username: the account name of PPPoE
⚫ Password: the password of PPPoE
⚫ Server Name: the name of the server where PPPoE is placed
5.4.2 VoLTE
On the Network → VoLTE page , you can enable the VoLTE service, and fill in information
of APN,username,password, mode, PIN code, dial number and so on.
Current Mode 4G
Status The LTE module is enabled or not.
5.4.5 Firewall
If the UC120-1V1S1O works under the route mode, you can choose to enable the firewall and
set filter rules to accept or reject certain destination IP addresses.
Configuration Procedures:
1. Select On in the drop-down box on the right of Filter Rules Control
2. Select filter action, accept or reject;
3. Click the New button;
4. Fill in information of filter rule;
5. Click the Save button to save the configuration.
Figure 5-39 Firewall
Note:
: Edit information for the corresponding filter rule.
LAN IP The IP address that you want UC120 to accept or reject. It is the IP
address of a host from local-area network; it can also be a string of
IP addresses, for example, 172.16.11.1/15.
LAN Port The port of LAN host which the accepted or rejected IP address
belongs to
LAN MAC The Mac of the LAN host twhich the accepted or rejected IP
address belongs to
WAN IP The IP address that you want UC120 to accept or reject. It is the IP
address of a host from wide-area network; it can also be a string of
IP addresses, for example, 152.16.11.11/19.
WAN Port The port of WAN host which the accepted or rejected IP address
belongs to
Action Choose accept ot reject
Configuration Procedures:
1. Click Network → Port Mapping, and the following interface will be shown.
5.4.9 Diagnostics
On the Network → Diagnostics interface, you can use three network utilities including Ping,
Traceroute and Nslookup to diagnose the network, and can capture data packages of the
available network ports.
Ping is used to examine whether a network works normally through sending test packets and
calculating response time.
1. Enter the IP address or domain name of a network, a website or a device in the input box
of Ping, and then click Ping.
2. If related messages are received, it means the network works normally; otherwise, the
network is not connected or is connected faultily.
Nslookup (Name Server Lookup) is a network command-line tool to obtain domain name of
internet or to diagnose the problems of DNS.
Instruction for using Nslookup:
1. Enter a domain name and then click Nslookup.
2. View the DNS information from the returned message.
Network Capture
On the following interface, you can capture data packages of the available network ports. You
can also set source IP, source port, destination IP or destination port to capture the packages
that you want.
There is a "and"/" or "logical type. The "and" relationship can only capture a one-way
message, or "or" relationship to fetch the interaction message between a particular IP.
Note: If there are multiple source or destination IP addresses, please use ‘|’ to separate them,
for example, 172.16.115.12|172.16.115.15.
After package capturing is completed, save the captured packages on a computer and then use
a tool to analyze them.
5.4.10 VPN
VPN(Virtual Private Network)is a network technology that creates a secure remote network
connection over a public network through encrypted tunnel and conversion of data’s
destination address. UC120-1V1S1O can serve as a VPN client to connect with VPN server.
Layer 2 Tunneling Protocol (L2TP) is a protocol used to package data of PPP link layer and
transmit the data between two sites over the Internet through a tunnel.
which supports VPN. And its security can be enhanced through PAP (Password
Authentication Protocol) and EAP (Extensible Authentication Protocol).
OpenVPN is a kind of VPN based on the application layer of OpenSSL. It allows VPN
clients to use a sahred key, certificates or username/password to authenticate themselves.
Server Address The IP address of the PPTP server that assigns account to PPTP client
Username The username of the account assigned by PPTP server to PPTP client
Password The password of the account assigned by PPTP server to PPTP client
Server Address The IP address of the L2TP server that assigns account to L2TP client
Username The username of the account assigned by L2TP server to L2TP client
Password The password of the account assigned by L2TP server to L2TP client
5.4.12 Hosts
On the Network → Hosts interface, you can add a host file. After enabling the hosts file, you
can visit the corresponding host by inputting the alias or domain name of the host. The format
of the hosts file is as follows: IP address host alias/domain name.
The hosts file contains the mapping relationship between IP address and host name/alias
/domain name. And the mapping relationship allows quick and convenient access to the host.
5.4.13 Fail2ban
Fail2ban is used to scan system logs and update firewall rules to reject the IP addresses that
show malicious signs (for example, too many login failures) for a specified amount of time.
On the Network → Fail2ban interface, you can configure rules for Fail2ban. For UC120,
Fail2 ban is generally targeted SSH and SIP.
SSH/SIP
Ban Duration (Second) The time period during which the IP addresses that conform to the
banning rule or are in the backlist are prohibited.
Range: 60-315360000 seconds
Max Retry Durations The time period during which the maximum retries have been
(second) executed and then the corresponding IP address will be banned.
For example, if this parameter is set as 60 seconds and the maximum
number of retries is set as 10, an IP address will be banned in case
that it has tried 10 times during 60 seconds.
Range: 5-3600
White List Those IP addresses that are in the white list will not be banned by
Fail2ban.
Black List Those IP addresses that are in the black list will not be banned by
Fail2ban.
Note: If an IP address does not receive any response after it has sent out SSH/SIP attempts,
and the network is reachable, you can go to the Status → Fail2ban interface to check
whether the IP address is banned or not.
5.5 Profile
The Profile menu includes the following sub-menus: SIP, FXS/FXO, Codec, Number, Time,
Manipulation and Dialplan.
5.5.1 SIP
On the Profile → SIP interface, you can set SIP information such as listening port, which will
be used in extension and trunk. Multiple SIP profiles can be configured for one
UC120-1V1S1O device, so you can choose different SIP profiles according to different needs.
The local listening port of this SIP profile. If the SIP profile is
Local Listening Port used by a SIP trunk, the port filled in here is the listening port
for the SIP trunk.
From: User Part : to obtain the caller number from the user
part contained in the ‘From’ field.
From: Display Name: to obtain the caller number from the
display name contained in the ‘From’ field.
Caller Number Source
To: User Part: to obtain the caller number from the user part
contained in the ‘To’ field.
Contact: User Part: to obtain the caller number from the user
part contained in the ‘Contact’ field.
From: User Part : to obtain the called number from the user
part contained in the ‘From’ field.
From: Display Name: to obtain the called number from the
display name contained in the ‘From’ field.
Called Number Source
To: User Part: to obtain the called number from the user part
contained in the ‘To’ field.
Contact: User Part: to obtain the called number from the user
part contained in the ‘Contact’ field.
Inbound Codec Profile The codec supported by SIP for inbound calls
Outbound Codec Profile The codec supported by SIP for outbound calls
Bypass Media(SIP to
Whether to allow SIP to communicate with the server directly
SIP)
Detect Extension is Whether to detect the SIP extension using this SIP profile is
Online online or not
QoS
Whether to enable QoS. QoS is a technology used to solve
network delay or congestion
User Agent Then content of the ‘user agent’ field in SIP packets
Encryption Whether to encrypt this SIP profile
Timer T1 The value of timer T1 in SIP protocol. Default value is 500ms
Timer T2 The value of timer T2 in SIP protocol. Default value is 4000ms
TimerT4 The value of timer T4 in SIP protocol. Default value is 5000ms
Timer T1X64 (ms) The value of timer T1X64 in SIP protocol. Default value is
32000ms
5.5.2 FXS/FXO
On the Profile → FXS/FXO interface, you can configure the driving parameters of FXS port
and FXO port, including tone standard, dial timeout, ring timeout, hook-flash detection,
DTMF parameters, CID-related parameters, impedance, dialplan and so on.
The national standard of dialing tone, busy tone and ring tone;
Tone Group
default value is China
The timeout value for dialing a digit of a telephone number;
Digit Timeout (s) When the time of dialing a digit exceeds this value, the system will
think the dialing has completed; Default value is 4 seconds
The timeout value for dialing the first telephone number after
Dial Timeout (s)
off-hook; Default value is 10 seconds
The timeout value for the ringing of the analog phones of the FXS
Ring Timeout (s)
port when there are incoming calls
No Answer Timeout The timeout value for ending a call which goes out through the FXS
(s) port, when nobody answers the call.
Offhook Current Detect This current threshold is used to determine whether a phone is
Threshold offhook.
Onhook Current Detect This current threshold is used to determine whether a phone is
Threshold onhook.
The national standard of dialing tone, busy tone and ring tone;
Tone Group
default value is China
The timeout value for dialing a digit of a telephone number;
Digit Timeout (s) When the time of dialing a digit exceeds this value, the system
will think the dialing has completed; Default value is 4 seconds
The timeout value for dialing the first telephone number after
Dial Timeout (s)
off-hook; Default value is 10 seconds
The timeout value for the ringing of the analog phones of the FXS
Ring Timeout (s)
port when there are incoming calls
No Answer Timeout The timeout value for ending a call which goes out through the
(s) FXS port, when nobody answers the call.
DTMF Detect
The timeout value to detect CID (in DTMF format)
Timeout(s)
Detect Tone Delta Set the error size to check the busy tone
5.5.3 Codec
UC120-1V1S1O supports four codec modes, including G729, G723, PCMU and PCMA. You
can adjust the priority of these four modes according to you needs.
5.5.4 Number
On the Profile →Number interface, you can set a prefix for calling numbers or called
numbers. When the prefix of a calling number or a called number matches the set prefix, the
call will be passed to choose a route.
Examples:
^0755 Matches the phone numbers with starting digits of 0755.
^0755|^8899|^0110 Matches the phone numbers with starting digits of 0755, 8899
or 0110.
^[1][358][0-9]{9}$ Matches the phone numbers with the first digit as 1, the second
digit as 3, 5 or 8, the left nine digits as any of 0 to 9.
Note: the matching of number prefix also supports some digits that are not conform to the
format of regular expression. For example, 0755 matches the numbers starting with 0755, and
0755|8899|0110 matches the numbers starting with 0755, 8899 or 0110.
Index The index of the SIM number learning rule, used to identify the rule
Name The name of the SIM number learning rule, used to identify the rule
Type UC120 only supports SMS currently.
The destination number that receives the text message. You can
Destination Number
also enter a phone number to have a test.
The text content that is sent to the destination number. It is based on
Send Text
the region where the SIM card belongs to.
Check SMS From The UC120 device will not match the key words of the reply
Number message unless this number is matched.
Keywords The keywords used to detect the SIM number.
5.5.6 Time
On the Profile → Time interface, you can set a time period for calls to choose routes. If the
local time when a call is initiated falls into the set time period, the call will be passed to
choose the corresponding route.
Click the New button, and you will see the following interface:
Time Period Choose the starting time and ending time of a day
5.5.7 Manipulation
Number manipulation refers to the change of a called number or a caller number during
calling process when the called number or the caller number matches the preset rules.
Click the New button, and you will see the following interface:
Add Suffix The suffix added to the caller number or the calling number
The number which replace the caller number or the calling
Replace by
number
If the checkbox on the right of Caller is selected, it means the
caller number will be manipulated; if the checkbox on the right
of Called is selected, it means the called number will be
manipulated.
Note: During number manipulation, deletion rules are carried out first, followed by adding
rules. If ‘Replace by’ has been set, deletion rules and adding rules are invalid.
number is set as 8000, and this speed dial profile is applied to an FXS/SIP extension, the
FXS/SIP extension only needs to dial 1 and the call will be directed to the extension number
of 8000.
5.5.9 Dialplan
Dialplan is used for number dialing of calls through FXS and FXO ports. It supports Regular
Expression (Regex) and DigitMap.
^0755|^8899|^0110 Matches the phone numbers with starting digits of 0755, 8899
or 0110.
^[1][358][0-9]{9}$ Matches the phone numbers with the first digit as 1, the second
digit as 3, 5 or 8, the left nine digits as any of 0 to 9.
DigitMap Syntax:
Digit 0-9
Supported T Timer
Objects A digit, a timer, or one of the symbols of
DTMF
A, B, C, D, #, or *
One or more DTMF symbols enclosed in the [], but
Range []
only one DTMF symbol can be selected
One or more expressions enclosed the
Range ()
(), but only one can be selected
5.5.10 AutoCLIP
AutoCLIP is mainly used to SIP trunks, FXO trunks ans VoLTE trunks and it helps record the
outgoing and incoming calls of a trunk.
You can choose missed calls or all calls. If missed calls is selected, uc120
Record Strategy will record the missed calls of the trunk. If all calls are selected, all the
calls going through the trunk will be recorded
The validity period of a record. For example, if this parameter is set as 2
hours, the record will be valid in 2 hours since the record is generated.
Record Expire (hour) During the validity period, if there is coming call for the extension number
contained in the record, the call will directly led to the extension without
routing.
By default, this parameter is disabled.
Delete Used Record If this parameter is selected, those records that have been used to match
extension number or trunk will be deleted.
By default, this parameter is enabled.
Match Outgoing Trunk If this parameter is enabled, those calls going through the trunks in the
record can coming in without routing.
5.5.11 Recording
On the Profile→ Recording interface, you can choose SD card or Udisk as master/slave
storage location.
Configure a recording profile (or choose one of the two default recording profiles), and then
add it to a SIP/FXS route. When there are calls going through the route and match the
recording profile, the calls will be recorded.
Name The name of the recording profile, used to identify the recording profile
Auto Recording after Answer: start recording after the callee pick up the
phone.
Ban Recording: ether caller or callee enables his function, and then the call
Strategy
in both directions will not be recorded.
Manual Recording after Answer: press *3 to start recording after the callee
answers the call.
Inbound & Outbound: If this recording profile is added to FXS/SIP
extension, both inbound and outbound calls will be recorded.
Inbound: If this recording profile is added to FXS/SIP extension, only
inbound calls will be recorded.
Recording Direction
Outbound: If this recording profile is added to FXS/SIP extension, only
outbound calls will be recorded.
Note: If this recording profile is added to routing, this parameter is invalid
and all calls going through the routing will be recorded.
If the actual recording time is shorter than this value, the recording file will
Min Duration
not be saved.
If the time of initial silence is shorter than this timeout value and there is
Initial Silence Timeout(s) voice afterwards, the recording will not stop.
If the time of initial silence is longer than this timeout value, and there is
voice afterwards, the recording will stop when the recording time reaches
the preset value.
If the time of final silence is shorter than this timeout value and there is
voice afterwards, the recording will not stop.
If the time of final silence is longer than this timeout value, and there is
Final Silence Timeout(s)
voice afterwards, the recording will stop before the call ends.
Note: The uc120 will not execute final silence detection unless the initial
silence is shorter than its timeout value.
You can click Recording List to view the recording files which show the caller/called number,
recording duration and so on. You can also play, download or delete the recording files on this
interface.
Go to the Extension → SIP or Extension → FXS interface, enable the voice mail function,
and then calls that times out will enter into voice mail.
Master/Slave Storage
Select SD card or Udisk
Location
If this maximum number of messages is reached, a prompt voice “the mail
Max Message Per User
box is full” will be played.
Maximum of Login If this maximum number of attempts (by dialing *170*2 to log in the
Attempts voice mailbox) is reached, the call will hang up.
When a call enters into the voice mailbox and the caller dial inexistent
Maximum of Operation
DTMF repeatedly, the caller will be forced to log out the voice mailbox
Failure
after the repetition times exceed this value.
Min Message Time
The minimum duration of a voice mail
(second)
Max Message Time
The maximum duration of a voice mail.
(second)
If this parameter is on, new messages will be played automatically.
Auto Play New Message If it is off, a prompt voice “please dial 1 to listen to new message” will be
given.
If this parameter is on, the caller number will be played together with
Play CID Number
messages.
Play from Latest Message If this parameter is on, the latest messages will be played first.
When to play message date. You can choose ‘Before Playing Message’,
Play Message Date
‘After Playing Message’ and ‘Never’.
You can click Message List to view the voicemail files which show the caller/called number,
message duration and so on. You can also play, download or delete the message files on this
interface.
5.6 Extension
5.6.1 SIP
On the Extension → SIP interface, you can configure the SIP accounts registered in the
UC120-1V1S1O by SIP clients (hereby UC120-1V1S1O is regarded as a SIP server).
Extension The SIP account of the extension registered in UC120 by a SIP client
Password The password of the SIP account registered in UC120 by a SIP client
Direct Inward Dialing; if the called number is same with DID, the call
DID will be directly forwarded to the extension, rather than choosing a
route. Users can set multiple DID.
If ‘Any’ is chosen, all SIP clients are allowed to register the SIP
Register Source
account of this extension; if ‘Specified’ is chosen, only the SIP client
Call Forward When the SIP extension is not registered, you can transfer all the calls
Unregister to the set number
If ‘Call Forward Busy’ feature is enabled, new coming call will be
Call Forward Busy
forwarded when the corresponding local port is busy.
Call Forward No If ‘Call Forward No Reply’ feature is enabled, calls will be forwarded
Reply when nobody answer the calls during a specified period.
Call In Filter When you breathe in to SIP, you match the relevant filter conditions
Call Out Filter When the SIP is called out,The filter conditions are matched
Call In Black List The rules in the list will not take effect
Call Out White List The rules in the list take effect
SIP Profile The SIP profile that is selected for the extension
5.6.2 FXS
On the Extension → FXS interface, you can configure the parameters of the FXS extension.
Slave Server The address and port of the slave SIP server
Delay The delay time for a call to be send out after dialing is completed
If a calling party places a call to a called party which is
Call Waiting otherwise engaged, and the called party has the call waiting feature
enabled, the calling party will hear an IVR voice.
If ‘Do Not Disturb’ feature is enabled, calls cannot reach the called
Do Not Disturb
party.
If ‘Call Forward Unconditional’ feature is enabled, all coming calls
Call Forward
will be forwarded to a preset number.
Unconditional
Call Forward If ‘Call Forward Busy’ feature is enabled, new coming call will be
Busy forwarded when the corresponding local port is busy.
Call Forward No If ‘Call Forward No Reply’ feature is enabled, calls will be forwarded
Reply when nobody answer the calls during a specified period.
Work Mode The working mode of the FXS port, including Voice and POS
When a call is given to the FXS port of UC120-1V1S1O, the call will
Call In Filter
not be connected to the FXO port if it is in the blacklist
When a call goes out from the FXS port of UC120-1V1S1O, the call
Call Out Filter
cannot go out if it is in the blacklist
Call In Black
Calls from the number profiles in the blacklist will be blocked
List
Call Out White
Calls from the number profiles in the whitelist will be not blocked
List
FXS Profile The FXS profile that is selected for this FXS extension
If it is on, this FXS extension can be used, otherwise, the FXS
Status
extension is unavailable.
Note: If ring group function has been set, the call forwarding function is unavailable.
strategy.
For example, when a large number of customers call in at the same time, and the customer
service staff is limited, queue the incoming and play a voice waiting tone or custom music file.
At the same time, the agent can answer the call according to the preset call queue strategy.
Sequential Mode: When there is no incoming call, a new user calls in,
Max idle time : Idle time, namely the time from the end of the agent's
last call to the present; ringing in the order from longest to shortest
time.
Min talk time :The ringing starts from the least to the most according
to the times of calls.
Call Queue
The number of the call queue can be called into the queue.
Number
Agent Wrap The interval time between the next ringing after the agent call hangs
Time(5s-300s) up.
Agent Ring
If the ringing exceeds the time, it will call to the next agent.
Time(5s-300s)
Menu Tone The first menu tone the remote end hears when calling in.
The remote end waits for the agent to answer the waiting tone after
Waiting Music
calling in.
The longest time the caller waits. The caller will exit after this time. 0
means no limit, but it should be noted that this time is not necessary.
Max Wait
For example, an agent is ringing and the caller has reached the timeout.
Time(0s-300s)
The caller will wait until the agent answers or hang up after the
timeout.
Call Forward
If the caller times out, other actions can be configured.
Timeout
If there is no agent in the queue, it will exit the queue (if there is
Leave When
ON-Break, it is still an agent), and the call transfer will be performed
Queue Empty
when the queue is empty.
Max Queue How many users are waiting, those connected are not counted, 0 means
Length no limit, hang up if the maximum number of queues is exceeded.
If the times that the agent does not answer is exceeded, it will enter
Max No Answer On-Break state, in this state, it will not be ringing again until the agent
answer.
Enable Position Timely notify the user of the waiting position in the queue, the first one
Announcement does not notify.
Login Suffix Extensions dial “Call Queue Number” + login suffix, log into the
specified queue, and register as an available member of the queue.
Logout Suffix Extensions dial “Call Queue Number” + logout suffix to exit from the
specified queue and stop receiving calls assigned to the queue.
5.7 Trunk
5.7.1 SIP
SIP trunk can realize the connection between UC120-1V1S1O and IPPBX or SIP servers.
Figure 5-75 Configure SIP Trunk
Address The IP address or domain name of the peer SIP devices or servers
The SIP listening port of the peer SIP devices or servers; 5060 is the
Port
default port
If outbound proxy is used, enter the IP address or domain name of the
Outbound Proxy
proxy server
Port If outbound proxy is used, enter the listening port of the proxy server
Register If it is on, the SIP trunk will send register request to the peer device
Auth Username The username used for register authentication by this SIP trunk
Password The password used for register authentication by this SIP trunk
From Header Choose the registered username or the true caller ID for the ‘from
Username header’ of the invite message when a call goes out.
The validity period after the SIP trunk is registered successfully. When
Expire Seconds the time expires, the SIP trunk will send register request to the server.
Default value is 1800s
When the SIP trunk fails to be registered, the interval to send register
Retry Seconds request;
Default value is 60s
If heartbeat in on, heartbeat (options) messageswill be sent to examine
the connection with servers;
Heartbeat
The default value is ‘Off’
Note:
If the FXS f UC120-1V1S1O intends to register to a server, you need to configure a SIP trunk
connecting UC120-1V1S1O and the server, then enable register for the port and designate the
SIP trunk to it.
5.7.2 FXO
FXO Trunk interconnects the PSTN with UC120-1V1S1O. Calls from the PSTN can come
into the gateway and calls can go out from the gateway to search telephone numbers under the
PSTN.
Different from the FXO ports of other gateways, the FXO port of UC120-1V1S1O only
allows one-time dialing, which means called numbers needs to be dialed directly for calls that
go out from the FXO port.
Extension The extension account of the FXO port, which is used to register
Autodial Number The autodial number of the FXO port when there are incoming calls
FXO Profile The FXS profile that is selected for this FXS extension
If it is on, this FXO trunk can be used, otherwise, the FXO trunk
Status
is unavailable.
Click the Detection button, and the UC120-1V1S1O gateway will automatically detect the
most-matched impedance.
5.8.1 Setting
Figure 5-81 Basic Setting of Call Control
Packet Loss Concealment (PLC) Whether to enable the ‘Packet Loss Concealment’
function
DTMF Min Detect Interval (ms) The minimum time for DTMF detection
Members Select Select FXS extension, SIP extension, SIP trunk, FXO trunk or GSM
trunk
Strategy The strategies for choosing which route under the route group as the
destination route, including Sequence (Ascending), Sequence (Cyclic
Ascending), Simultaneous and Random
5.8.3 Route
On the Call Control → Route interface, you can configure routes for incoming calls and
outgoing calls.
Source The source of the call; it can be the FXS extension, SIP
extension, FXO trunk ,GSM trunk, a customized source or any
Number Profile The profile of the caller number and the called number; please
make reference to the Profile → Number section.The default
value is ‘Off’
Caller Number Prefix The prefix of caller number; it supports regular expression
Called Number Prefix The prefix of called number; it supports regular expression
Time Profile The profile of time during which the route can be used; make
reference to the Profile → Time section
Manipulation If it is on, the caller number or called number of the route will
be manipulated; make reference to the Profile→ Manipulation
section
Failover Action The processing when a call through this route fails
5.8.5 IVR
On the Call Control → IVR interface, you can carry out specific configurations for the IVR
which has been uploaded from the System → Voice interface.
Enable Direct Whether to allow direct dialing of extensions during the playing of IVR
Extension
Repeat Loops If it is set as ‘3’, the call will be hanged up after the IVR has been repeated
for three times during timeout.
Source The source of the SMS route. It can be a trunk or an extension.It also can
be a LTE SMS and USSD.
Action The text message action can choose whether to forward or reply
Dest Number The source of the destination number.There are two sources:custom and
Src get from content.
Add Prefix in The prefix of the SMS content. It is generally ‘none’, which means there
Content is no prefix to be matched.
Add Suffix in The suffix of the SMS content. It is generally ‘none’, which means there
Content is no suffix to be matched.
5.8.7 SMS
If an SIM card has been inserted into the SIM slot, you can send or receive SMS on the SMS
interface. The length of a SMS can not be more than 170 characters.
Notice
If the SIM fails, you will get a notice:SIM1: The module is not recognized successfully.
Please check whether the module is supported or installed !
Send Message
Enter contents into the box on the left, and then input the number of recipient . Click Send in
the last.
Note: If there are mutilple recipients , use | to separate them, for example,
13151103146|18954405566.
Receive Message
All SMS received by UC120 are displayed on the Receive List.
Read Message
Click on the Receive List to read SMS contents.
Reply Message
Click , and then enter SMS contents in the box on the left. Click Send in the last.
Delete Message
Click to delete an SMS.
5.8.8 USSD
USSD (Unstructured Supplementary Service Data) is a global system service for mobile
(GSM) communication technology that is used to send text between a mobile phone and an
application program in the network.
USSD is similar to Short Messaging Service (SMS), but, unlike SMS, USSD transactions
occur during the session only. With SMS, messages can be sent to a mobile phone and stored
for several days if the phone is not activated or within range.
USSD Code USSD code is a special number starting with * or #, followed by 2~3
digits, then ending with #;
Service provider feedbacks a service menu to user according to this
USSD code.
Encode Supports auto, 7-bit and UCS2;
7-bit is used to send original ASCII, while UCS2 is used to send any
languages
USSD Message The Content of the USSD message
5.8.9 Diagnostics
In case that call cannot be connected or voice has quality problem, you can enter into the Call
Control →Diagnostics interface to collect fault-related information and then send it to
technical support to locate fault.
Operation Procedures:
1. Select the module that needd to be traced. For example, if a call from SIP to FXS has
voice problem, you can select SIP message, FXS/FXO and Voice, and then click the Start
button.
2. Give a call, and come back to the Call Control →Diagnostics interface after the call ends.
Then click Stop and download the tracing file.
3. In order to locate faluts more quickly, you sometimes need to enter into the System
→Service Log interface, click export, and then send this exported file and the tracing file to
technical support,
6 Glossary
Glossary Description
Glossary Description