NetEngine AR V300R019 CLI-based Configuration Guide - Voice
NetEngine AR V300R019 CLI-based Configuration Guide - Voice
NetEngine AR V300R019 CLI-based Configuration Guide - Voice
V300R019
Issue 07
Date 2021-12-01
and other Huawei trademarks are trademarks of Huawei Technologies Co., Ltd.
All other trademarks and trade names mentioned in this document are the property of their respective
holders.
Notice
The purchased products, services and features are stipulated by the contract made between Huawei and
the customer. All or part of the products, services and features described in this document may not be
within the purchase scope or the usage scope. Unless otherwise specified in the contract, all statements,
information, and recommendations in this document are provided "AS IS" without warranties, guarantees
or representations of any kind, either express or implied.
The information in this document is subject to change without notice. Every effort has been made in the
preparation of this document to ensure accuracy of the contents, but all statements, information, and
recommendations in this document do not constitute a warranty of any kind, express or implied.
Website: https://e.huawei.com
Contents
2.20.3 Example for Expanding the Capacity of the Live-Network PBX................................................................... 423
2.20.4 Example for Configuring PBX Sharing for Different Enterprises.................................................................. 433
2.20.5 Example for Configuring an AR as a Branch Gateway to Access UC......................................................... 440
Intended Audience
This document provides the basic concepts, configuration procedures, and
configuration examples in different application scenarios of the voice feature.
This document describes how to configure the voice feature.
This document is intended for:
● Data configuration engineers
● Commissioning engineers
● Network monitoring engineers
● System maintenance engineers
Symbol Conventions
The symbols that may be found in this document are defined as follows.
Symbol Description
Symbol Description
Command Conventions
The command conventions that may be found in this document are defined as
follows.
Convention Description
Security Conventions
● Password setting
– When configuring a password, the cipher text is recommended. To ensure
device security, change the password periodically.
– When you configure a password in plain text that starts and ends with
%@%@, @%@%, %#%#, or %^%# (the password can be decrypted by
the device), the password is displayed in the same manner as the
configured one in the configuration file. Do not use this setting.
– When you configure a password in cipher text, different features cannot
use the same cipher-text password. For example, the cipher-text password
set for the AAA feature cannot be used for other features.
● Encryption algorithm
Currently, the device uses the following encryption algorithms: 3DES, AES,
RSA, SHA1, SHA2, and MD5. 3DES, RSA and AES are reversible, while SHA1,
SHA2, and MD5 are irreversible. The encryption algorithms DES, 3DES, RSA
(RSA-1024 or lower), MD5 (in digital signature scenarios and password
encryption), and SHA1 (in digital signature scenarios) have a low security,
which may bring security risks. If protocols allowed, using more secure
encryption algorithms, such as AES, RSA (RSA-2048 or higher), SHA2, and
HMAC-SHA2, is recommended. The encryption algorithm depends on actual
networking. The irreversible encryption algorithm must be used for the
administrator password, SHA2 is recommended.
● Personal data
Some personal data (such as MAC or IP addresses of terminals) may be
obtained or used during operation or fault location of your purchased
products, services, features, so you have an obligation to make privacy policies
and take measures according to the applicable law of the country to protect
personal data.
● The terms mirrored port, port mirroring, traffic mirroring, and mirroring in this
manual are mentioned only to describe the product's function of
communication error or failure detection, and do not involve collection or
processing of any personal information or communication data of users.
Declaration
● This manual is only a reference for you to configure your devices. The
contents in the manual, such as web pages, command line syntax, and
command outputs, are based on the device conditions in the lab. The manual
provides instructions for general scenarios, but do not cover all usage
scenarios of all product models. The contents in the manual may be different
from your actual device situations due to the differences in software versions,
models, and configuration files. The manual will not list every possible
difference. You should configure your devices according to actual situations.
● The specifications provided in this manual are tested in lab environment (for
example, the tested device has been installed with a certain type of boards or
only one protocol is run on the device). Results may differ from the listed
specifications when you attempt to obtain the maximum values with multiple
functions enabled on the device.
2 PBX Configuration
The voice feature of the AR router provides the voice conference services. This
service involves transmission of conference access passwords in plaintext using
RTP between VoIP terminals and the AR router. Therefore, ensure that these
services are used in trusted networks. Note that the conference access passwords
here are valid within the specific conference time.
If the above-mentioned services are used in non-trusted networks, encrypted IPSec
channels can be set up between the AR router on the terminal side and the AR
router that provides such services to ensure password transmission security. For
details, see CLI-based Configuration > Configuration Guide - VPN.
AR PBX
IPSec
LAN
IP
Network
AR AG
Encrypted channels are set up using IPSec between the AR router deployed in the
terminal area and the AR router that provides voice PBX services in the service
area. Then, passwords involved in the above-mentioned services are transmitted
over the encrypted IPSec channels.
Intra-office
A logical PBX is an exchange office. When the calling and called parties are in the
same exchange office, the call is an intra-office call.
Inter-office
When an exchange office communicates with another exchange office through a
trunk line, the call is an inter-office call.
Trunk
A trunk is a logical link between two exchange offices. Inter-office calls must be
transmitted by trunks. To set up a connection channel with a remote office, a
trunk is bound to the signaling and media addresses of the local office and
signaling address of the remote office.
Trunk Group
A trunk group is a set of trunks for inter-office calls with the same attributes.
Call Prefix
A call prefix, an important attribute of the call service, defines a call number rule
and describes the call number distribution and routing plans in an exchange office.
A call prefix identifies the service attribute (basic service or supplementary service;
intra-office call, national long-distance call, or international long-distance call) of
a dialing plan and determines the range of dialed number length. Call prefixes can
also be used to control call permissions. A PBX checks the validity of a dialed
number and connects or rejects the call based on the call prefix. A call can be
connected correctly only if the call matches the correct call prefix. Therefore, a
correct call prefix configuration is the key to the call service. A call must match at
least one call prefix.
Call Route
A call route binds an inter-office call prefix to a trunk group so that calls with the
specified call prefix are transmitted on the specified trunk line.
Enterprise
A PBX system is divided into multiple virtual PBX systems based on enterprise
names. Users in an enterprise can directly call each other, while users in different
enterprises cannot directly call each other.
DN set
A DN set is also called a dial plan. DN sets divide a physical network or a device
into multiple logical networks.
Call Flowchart
The calling party can be a trunk user, intra-office user, or moderator of a
conference system or IVR process. The following information is required for
initiating a call: enterprise, DN set, calling information (includes number, call
source, and rights), called number, and so on. The PBX sends the call information
to the number analysis module.
Figure 2-2 shows the call routing process and Figure 2-3 shows the pre-routing
number change process.
Intra-office user
Conference/IVR call Trunk intra-office call
initiates a call
No Rejected by Yes
Obtain calling right whitelist/blacklist?
according to service user Country code/
and conference/IVR rights Release
area code
call
regulation
Information carried in a calling
number: such as enterprise, DN set,
calling information (includes
number, call source, and rights), and Calling number
called number discrimination?
No
Yes
Calling number change
Prefix analysis
Does
No
calling party right meet the Release
prefix right requirement? call
Yes
Long-/short-number change
Number mapping
Pre-routing number change
Start
Prefix analysis is
successful
Calling number changes according
Y Y Y
Called number
changes from Y Called number Called number
ExtNum to mapping? changes according
InnNum to rule
N
Pre-routing called N
number change?
Y
Called number changes
according to rule
Prefix reanalysis?
N
End
a. For an inter-office outgoing prefix, the PBX finds the corresponding trunk
according to the route bound to the prefix, performs post-routing number
change, and then checks whether the calling party has the inter-office
outgoing call against the blacklist and whitelist. If the calling party has
the right, the call is connected; otherwise, the call is released.
b. For an intra-office prefix, the PBX determines whether to accept or reject
the call according to the call acceptation/rejection conditions configured
by the called user. If the called user does not configure the call
acceptation/rejection conditions, the PBX directly calls the intra-office
user.
c. For a new/supplementary service prefix, if the calling party is a trunk
user, the call is released; if the calling party is not a trunk user, the PBX
checks whether the calling party meets the service right and status
requirements. If so, the call is connected; otherwise, the call fails.
d. For a conference access prefix or IVR, the PBX connects the calling party
to the conference or completes the IVR call.
Calling Before analyzing the called number For the configuration method,
numbe prefix, the PBX changes the see 2.10.1 Calling Number
r number according to the Discrimination.
discrimi enterprise, DN set, and number of
nation the calling party. When the calling
party initiates an inter-office
outgoing call, the new number is
used.
Prefix Prefixes include basic call prefixes, For the configuration method,
analysi new service management prefixes, see 2.9 Configuring a Call
s new service triggering prefixes, and Prefix.
IVR prefixes. The rights of a basic
call prefix include Inter, Local,
National-toll, and International-
toll. The PBX handles the prefix
dialed by the calling party only
when the calling party has the
rights of the prefix.
Pre- This function allows the PBX to For the concept and
routing delete, modify, and insert calling configuration method, see
numbe and called numbers. You can 2.10.4 Configuring a Pre-
r configure whether to perform routing Number Change Plan.
change reanalysis and play reanalysis dial
tone.
Route The PBX associates the prefixes to For the concept and
selectio routes, and find routes for calls. If a configuration method, see
n route selection policy is configured, 2.15.5 Configuring Intelligent
the PBX selects routes according to Routing.
the policy.
Post- The PBX changes calling and called For the concept and
routing numbers according to prefixes and configuration method, see
numbe trunk groups. 2.10.5 Configuring a Post-
r routing Number Change Plan.
change
Start
Prepare for
configuration
Configuring Toll
Fraud Prevention
Configure a PBX
POTS user SIP user ISDN user
user
Configure a call
AT0 SIP AT0 SIP PRA
prefix
Configure a trunk
BRA H.323 SIP IP
group
Configure a call
PRA R2
route
Configure
services
Advanced
configuration Mandatory Mandatory
task subtask
Follow-up
procedure Optional Optional
task subtask
End
NOTICE
Plan and configure the service data by strictly following the information described
in 2.7 Configuring Toll Fraud Prevention. Otherwise, toll fraud (placing
international toll calls or premium-rate telephone numbers bypassing the security
policies) may occur, causing economic losses.
Task Description
Licensing Requirements
For devices that support voice functions (such as PBX, SIP AG, and H.248 AG),
their licensing requirements for the voice functions are as follows:
By default, voice functions cannot be used. To use voice functions, apply for and
purchase the following license from the Huawei local office.
NOTE
This function is not under license control on AR617VW, AR617VW-LTE4, and AR617VW-
LTE4EA.
Hardware Requirements
● The 4FXS1FXO, 16FXS, 32FXS, and 4FXS voice cards support POTS users. For
the mapping between the device and voice card, see 4FXS1FXO (4-Port FXS
+ 1-Port FXO Voice Interface Card), 16FXS (16-Port FXS Voice Interface Card),
32FXS (32-Port FXS Voice Interface Card), 4FXS (4-Port FXS Voice Interface
Card) in the NetEngine AR Get to Know the Product-Hardware Description-
Cards-Voice Card.
● The 2BST voice card supports providing voice services to ISDN phone users.
For the mapping between the device and voice card, see 2BST (2-Port ISDN
S/T Voice Interface Card) in the NetEngine AR Get to Know the Product-
Hardware Description-Cards-Voice Card.
● The E1T1-M interface card supports connecting a router to a TDM PBX
through E1 interface. For the mapping between the device and voice card, see
1E1/T1-M (1-Port Channelized E1/T1/PRI/VE1 Multiflex Trunk Interface Card)
in the NetEngine AR Get to Know the Product-Hardware Description-Cards-
E1/T1 Card.
● The 4FXS voice card only supports PBX.
● The 4FXS voice card does not support three-party services.
● The 4FXS voice card of the AR6300, AR6300-S, and AR6300K does not support
Master/Slave Switchover.
Feature Limitations
None.
Context
When providing voice communication, you can configure the device to work in
PBX, SIP AG, or H.248 AG mode. Before using PBX voice services, configure the
device to work in PBX mode. Before the configuration, run the display voice
service-mode command to query the working mode of the device. If the working
mode is not PBX, you need to run the display current-configuration command to
query the configurations and then delete all configurations in the voice view.
Then, set the working mode of the device to PBX. If the device works in PBX mode,
skip this configuration.
In PBX mode, the device exchanges data between enterprise users and the Public
Switched Telephone Network (PSTN). As the IP PBX, the device can connect to SIP
users and integrate voice communication into enterprise data networks so that an
integrated voice and data network is established to connect offices and employees
around the world.
Prerequisites
The license for PBX voice services has been obtained. For details about the voice
license description and the methods of applying for, loading, and activating a
license, see the License Usage Guide.
Procedure
Step Action Command Description
Verification
Action Command Expected Result
View the display voice The command output shows that the
working service-mode device works in PBX mode.
mode of the <Huawei>display voice service-mode
The voice service mode is PBX.
device.
Context
An interface is used by a PBX to exchange data with other network devices.
Interfaces on the PBX are numbered in format of slot ID/card ID/interface ID.
The Ethernet IP address for an interface is to implement LAN networking, while
media and signaling IP address pools provide alternate IP addresses for the SIP
server and SIP trunk.
NOTE
To improve network reliability, configure the loopback interface IP address for voice
communication. A loopback interface is always Up at the physical layer and link layer
unless it is manually shut down. For details on how to configure a loopback interface, see
Configuring a Loopback Interface.
Example
# Set the Ethernet IP address of interface GE0/0/0 to 192.168.1.3, and add IP
address 192.168.1.3 to media and signaling IP address pools.
<Huawei> system-view
[Huawei] interface gigabitethernet 0/0/0
[Huawei-GigabitEthernet0/0/0] ip address 192.168.1.3 24
[Huawei-GigabitEthernet0/0/0] quit
[Huawei] voice
[Huawei-voice] voip-address media interface gigabitethernet 0/0/0 192.168.1.3
[Huawei-voice] voip-address signalling interface gigabitethernet 0/0/0 192.168.1.3
[Huawei-voice] save
Verification
Action Command Expected Result
IP type : Signal IP
Method : Static
Interface : GigabitEthernet0/0/0
IP address : 192.168.1.3
Context
The PBX adds digits to calling numbers to display incoming numbers, meeting user
needs. It regulates called numbers to accurately locate called parties.
NOTE
● Digits are collected at one time. The PBX cannot collect digits one by one.
● The PBX does not support number regulation over an R2 trunk.
● Figure 2-5 shows the calling number regulation process for incoming calls
over a trunk.
Yes
Are one or more country
code prefixes and country
codes matched?
No
No
Yes
Intra-office call
● Figure 2-6 shows the called number regulation process for incoming calls
over a trunk.
Yes
Delete the prefix of the
country code
No
No Is area code prefix the same Is country code the same as
as default value? default value?
Yes Yes
Delete the prefix of the area code Delete the country code
Yes
Yes
Intra-office call Is intra-office user called?
No
Inter-office call
No Does called
number contain
default country prefix
code?
Yes
Yes No
No Yes
Delete area code prefix and Supplement default area
Supplement default area supplement default country code , country code and
code and area code prefix code and country code country code prefix
prefix
Inter-office call
Procedure
Ste Action Command Description
p
Example
Set the default country code to 86 and area code to 571, and enable country code
and area code change.
<Huawei> system-view [Huawei] voice [Huawei-voice] pbx default-country-code 86 default-area-code
571 [Huawei-voice] pbx enable-country-area-transform enable [Huawei-voice] save
Verification
Action Command Expected Result
Context
When multiple enterprises need to share one PBX, you can configure enterprises
on the PBX and virtualize the PBX into multiple PBXs. Configuring enterprises on
the PBX facilitates user management. Each terminal user is included in an
enterprise, and enterprises are independent and make inter-office calls.
NOTE
NOTE
By default, the PBX provides the DN set defaultdialplan for the enterprise default and new
enterprises.
Figure 2-8 shows the mapping between the PBX, enterprise, and DN set.
PBX
Enterprise name: default
Default PBX DN set: defaultdialplan
Enterprise A
Enterprise A
Virtual PBX DN set: defaultdialplan
(Optional) DN set
Enterprise B Enterprise B
Virtual PBX
… ... DN set: defaultdialplan
Procedure
Step Action Command Description
Example
Create an enterprise named hw and a DN set hwdnset.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] enterprise hw
[Huawei-voice-enterprise-hw] dn-set hwdnset
[Huawei-voice-enterprise-hw] save
Verification
Action Command Expected Result
Prerequisites
You have finished 2.5.2 Configuring Media and Signaling IP Address Pools.
Procedure
Step Action Command Description
Example
# Configure a SIP server. Set its signaling IP address to 192.168.1.3, signaling port
number to 5060, media IP address to 192.168.1.3, registration URI to abcd.com,
and home domain to abcd.com.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] sipserver
[Huawei-voice-sipserver] signalling-address ip 192.168.1.3 port 5060
[Huawei-voice-sipserver] media-ip 192.168.1.3
[Huawei-voice-sipserver] register-uri abcd.com
[Huawei-voice-sipserver] home-domain abcd.com
[Huawei-voice-sipserver] reset
[Huawei-voice-sipserver] save
Verification
Action Command Expected Result
NOTICE
Plan and configure the service data according to this document. Otherwise, toll
fraud (making international toll calls or premium-rate telephone numbers
bypassing security policies) may occur, causing economic losses.
User C User D
2
1
4
User B User E
PBX1 PBX2
PRA
User A User F
IP
Network
Unauthorized Unauthorized
user registartion
Incoming call
Yes
No Intra-office/Outgoing
Is the call an IVR call?
call
Yes
Yes
Intra-office/Outgoing call
NOTICE
If the device is deployed on the public network or the preceding ports are not
disabled on the SBC or firewall, unauthorized users may log in to the device and
modify the configuration data.
● User levels correspond to command levels. A user can run only the commands
of the same level or lower levels. You can configure different user levels for
different Telnet or SSH login users to ensure device security.
● The device provides AAA and password authentication. Configuring a user
authentication mode enhances device security. Ensure complexity of the
authentication password to prevent the password from being easily cracked.
To ensure password security, change the password periodically.
NOTICE
If the user level and login authentication are not configured, unauthorized users
can easily log in to the device and modify the configuration data.
Context
Call rights are classified into five types:
● 0: intra-office call
● 1: local call
● 2: national toll call
● 3: international toll call
● 4: local survival call
It is recommended that you configure prefixes for intra-office, local, national toll,
and international toll calls. By default, even if the national and international toll
call prefixes are not configured, the system automatically determines whether a
call is a local, national toll, or international toll call according to the number a
user has dialed. If the user does not have the corresponding call rights, the system
denies the call. If a user has the requirements to make national or international
toll calls, configure the national (ddd) or international (idd) toll call rights.
NOTE
The 214 control point enables or disables automatic determination and call restriction
functions, and it does not affect the call restriction functions when national and
international toll call prefixes are configured.
In the tandem scenario, if the outgoing prefix of PBX2 is the same as the country
code prefix or area code prefix of PBX1, users under PBX1 need to dial the
outgoing prefix (for example, 9) of PBX1, outgoing prefix (for example, 0) of
PBX2, and then a user number, which is 90+user number, and one digit of the
called number needs to be deleted on PBX1. Figure 2-11 shows the trunk tandem
network. Assuming that the country code prefix is 00 and area code prefix is 0, if a
user under PBX1 has only the right to make local calls, the user cannot make
outgoing calls by dialing 90+user number. This is because PBX1 considers 0+user
number as a toll call number. When the national and international toll call
prefixes are not configured, configure the 214 control point so that the system will
restrict calls not according to the calling parties' call-out rights. For details, see
pbx number-parameter.
User C
PBX1 PBX2
User C
0+User C
90+User C
User A User B
NOTICE
If the 214 control point is configured for the system to restrict calls not according
to the calling parties' call-out rights, toll fraud may occur. In this case, the national
and international toll call prefixes must be configured to prevent toll fraud.
Mapping between the call prefix attribute and call-out rights for calls transferred
over a trunk and the IVR:
Assume that the right for the inter-office call prefix between PBX1 and PBX2 is 1.
If the scenario where PSTN users make incoming calls through PBX1 and calling
users on PBX2 is not limited, the following setting is recommended:
● If a PSTN user calls a user on PBX2 through the trunk of PBX1, the call-out
right of the trunk must contain the call-out right (right 1) of the inter-office
call prefix.
● If a PSTN user dials the IVR through PBX1 and calls a user on PBX2, the IVR
and trunk call-out rights of PBX1 must contain the call-out right (right 1) of
the inter-office call prefix.
NOTICE
If a trunk has local right or more rights, a user can make a call over this trunk and
calls inter-office users, which may cause a call fraud.
result, a call fraud occurs. To prevent users from dialing the IVR and inter-office
user's number, set the second-dialing number length to the intra-office number
length. For details, see IVR Configuration.
NOTICE
When the IVR has local right or more rights, a user can dial the IVR, hear the
second-stage dialing tone, and dial the inter-office user's number, which may
cause a call fraud.
NOTICE
out how to obtain it. To ensure password security, change the password
periodically.
● For enterprise users, access the web self-help service system using the
corresponding user name and password. After a successful login, click Change
Password in the upper right corner to change the password.
● For the administrator, run the web-password cipher command in the user
view to change the password.
NOTICE
If the self-help service password is not changed or kept, unauthorized users may
use this password to log in to the PBX to modify conference management and
service registration data, for example, configure the PBX to forward all calls to a
destination toll call number.
NOTICE
The default value of control point 205 is 10. The value of control point 205 ranges
from 0 to 300, in seconds. It is recommended that you adjust the protection time
to a proper value. If a short protection time is used, unauthorized users may
continuously use different passwords to initiate registration to the PBX, and the
user passwords may finally be cracked.
For details on how to configure a CDR server, see 2.15.6 Configuring Connection
Data for the CDR Server.
● An inter-office user cannot log in to the enterprise PBX through the Internet.
● An inter-office user calls the IVR, but outgoing calls cannot be made. For
example, when an inter-office user calls the IVR, performs second-stage
dialing, and dials a number, the call fails.
● When an inter-office user dials the intra-office call prefix + inter-office call
prefix + toll call number, the toll call fails. For example, user C cannot make a
call by dialing 0 + 00 + 001123456789.
● A user cannot be registered with the PBX through no-authentication or an IP
address not whitelisted, or cannot log in to the self-help service through the
default password.
● Call forwarding cannot be implemented when call forwarding conditions are
not met. For example, call forwarding is performed at work hours. Call
forwarding cannot be implemented at off-work hours.
● If an external user can log in to the PBX, solve the problem according to 2.7.2
Preventing Theft of the Administrator Right.
● If a user calls the IVR, performs second-stage dialing as prompted, and
successfully makes a call, solve the problem according to 2.7.3 Preventing
Calls from Being Transferred Through a Trunk and the IVR.
● If an inter-office user dials the intra-office call prefix + inter-office call prefix +
toll call number, solve the problem according to 2.7.3 Preventing Calls from
Being Transferred Through a Trunk and the IVR.
● If a user cannot be registered with the PBX through no-authentication or an
IP address not whitelisted, or cannot log in to the self-help service through
the default password, solve the problem according to 2.7.4 Preventing
Registration or Login of Unauthorized Users.
● If the call forwarding service is implemented when call forwarding conditions
are not met, solve the problem according to 2.7.5 Preventing Unauthorized
Call Forwarding.
Context
POTS users refer to POTS phone users or fax machine users. POTS user devices
connect to voice cards (4FXS1FXO or 16/32FXS , and 4FXS card) of the PBX
through common phone lines.
As shown in Figure 2-12, the PBX connects to POTS users.
POTS POTS
Fax machine
phone phone
The PBX can control call-in and call-out rights. Calls are classified into intra-office
calls, local calls, national toll calls, international toll calls and local survival call.
Procedure
Step Action Command Description
Example
Configure a POTS user. Set the user name to 7000, telephone number to 7000,
and long code to 28987000, enable the national toll call right, and bind physical
interface 4/0/1 to the POTS user.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] pbxuser 7000 pots
[Huawei-voice-pbxuser-7000] port 4/0/1
[Huawei-voice-pbxuser-7000] telno 7000 long-telno 28987000
Verification
Action Command Expected Result
Verify the POTS display voice pbxuser The parameter values in the
user [ pbxuser-name ] command output are
configuration. consistent with the setting.
Context
A SIP user connects calls on the SIP server through SIP. SIP user devices can be IP
phones, eSpace software terminals, and POTS phones connected to the eSpace
IAD. The PBX as the SIP server receives registration and session requests of SIP
users.
PBX
IAD
IP eSpace soft
phone terminal
POTS POTS
phone phone
The PBX can control call-in and call-out rights. Calls are classified into intra-office
calls, local calls, national toll calls, international toll calls and local survival call.
Procedure
Step Action Command Description
Example
Configure a SIP user with the user name 7100, device identifier 7100, telephone
number 7100, long number 28987100, and authentication password a12345.
Grant the national long-distance call-out permission to the SIP user.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] pbxuser 7100 sipue
[Huawei-voice-pbxuser-7100] sipue 7100
[Huawei-voice-pbxuser-7100] telno 7100 long-telno 28987100
[Huawei-voice-pbxuser-7100] eid-para password cipher
Please input user password(6-64 chars): ******
[Huawei-voice-pbxuser-7100] call-right out ddd enable
[Huawei-voice-pbxuser-7100] save
Verification
Action Command Expected Result
Verify the SIP display voice pbxuser The parameter values in the
user [ pbxuser-name ] command output are
configuration. consistent with the setting.
Context
When an ISDN user connects an ISDN telephone line to the BRA interface of a
PBX, the BRA interface must work in NT mode.
The PBX can control call-in and call-out rights. Calls are classified into intra-office
calls, local calls, national toll calls, international toll calls and local survival call.
NOTICE
After the working mode of the 2BST card is configured, original service data on
the 2BST card and interfaces of the 2BST card will become invalid.
Example
Configure an ISDN user. Set the user name to 7200, telephone number to 7200,
and long code to 28987200, enable the national toll call right, and bind physical
interface 2/0/1 of the 2BST card to the ISDN user.
<Huawei> system-view
[Huawei] set workmode slot 1 bri bri-voice nt-mode
[Huawei] voice
[Huawei-voice] pbxuser 7200 bra
[Huawei-voice-pbxuser-7200] port 2/0/1
[Huawei-voice-pbxuser-7200] telno 7200 long-telno 28987200
[Huawei-voice-pbxuser-7200] call-right out ddd enable
[Huawei-voice-pbxuser-7200] save
Verification
Action Command Expected Result
Verify the ISDN display voice pbxuser The parameter values in the
user [ pbxuser-name ] command output are
configuration. consistent with the setting.
Context
A call prefix is a string of consecutive digits starting from the first digit of a called
number. It can be the first digit or several digits starting from the first digit of a
called number. That is, a call prefix is a subset of a called number. For example,
you can define either of the following intra-office call prefixes for the called
number 1234:
● First digit: 1
● First two digits: 12
● First three digits: 123
● Called number: 1234
Dial
912345678
12345678 7000
NOTE
A call prefix can be flexibly configured, and depends on the user number plan.
It is recommended that you configure prefixes for intra-office, local, national toll,
and international toll calls. By default, even if the national and international toll
call prefixes are not configured, the system automatically determines whether a
call is a local, national toll, or international toll call according to the number a
user has dialed. If the user does not have the corresponding call rights, the system
denies the call. If a user has the requirements to make national or international
toll calls, configure the national (ddd) or international (idd) toll call rights.
NOTE
The 214 control point enables or disables automatic determination and call restriction
functions, and it does not affect the call restriction functions when national and
international toll call prefixes are configured.
In the tandem scenario, if the outgoing prefix of PBX2 is the same as the country
code prefix or area code prefix of PBX1, users under PBX1 need to dial the
outgoing prefix (for example, 9) of PBX1, outgoing prefix (for example, 0) of
PBX2, and then a user number, which is 90+user number, and one digit of the
called number needs to be deleted on PBX1. Figure 2-16 shows the trunk tandem
network. Assuming that the country code prefix is 00 and area code prefix is 0, if a
user under PBX1 has only the right to make local calls, the user cannot make
outgoing calls by dialing 90+user number. This is because PBX1 considers 0+user
number as a toll call number. When the national and international toll call
prefixes are not configured, configure the 214 control point so that the system will
restrict calls not according to the calling parties' call-out rights. For details, see
pbx number-parameter.
User C
PBX1 PBX2
User C
0+User C
90+User C
User A User B
NOTICE
If the 214 control point is configured for the system to restrict calls not according
to the calling parties' call-out rights, toll fraud may occur. In this case, the national
and international toll call prefixes must be configured to prevent toll fraud.
Procedure
Step Action Command Description
Example
Set the intra-office call prefix to 7 and inter-office call prefix to 9.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] callprefix 7
[Huawei-voice-callprefix-7] prefix 7
[Huawei-voice-callprefix-7] call-type category basic-service attribute 0
[Huawei-voice-callprefix-7] digit-length 3 4
[Huawei-voice-callprefix-7] quit
[Huawei-voice] callprefix 9
[Huawei-voice-callprefix-9] prefix 9
[Huawei-voice-callprefix-9] call-type category basic-service attribute 1
[Huawei-voice-callprefix-9] digit-length 1 15
[Huawei-voice-callprefix-9] save
Verification
Action Command Expected Result
Verify the call display voice callprefix The parameter values in the
prefix [ callprefix-name ] command output are
configuration. consistent with the setting.
Context
Calling number discrimination can be used in the following scenarios:
● To show a specific number to the called party, configure the specific number
to replace the calling number.
● To change the number as a specific number, configure a new number to
replace the called number.
● To control the call-out right for calling numbers over a trunk, configure the
call-out right.
Call 12345678
PBX
Called number: Calling number:
12345678 28987000
Calling number: Called number:
7000 12345678
User A User B
7000 12345678
Prerequisites
● A PBX user has been configured. For details about the configuration, see 2.8
Configuring a PBX User.
● A call prefix has been configured. For details about the configuration, see 2.9
Configuring a Call Prefix.
● The PSTN assigns number 28987000 to the PBX user.
Procedure
Ste Action Command Description
p
Example
Crete calling number change plan 0. Bind it to calling prefix 7* for changing the
calling numbers to 28987000. Set the called number change rule to deleting the
first digit.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] caller-change 0
[Huawei-voice-caller-change-0] callerprefix 7*
[Huawei-voice-caller-change-0] caller del-then-insert 1 32 28987000
[Huawei-voice-caller-change-0] called del 1 1
[Huawei-voice-caller-change-0] save
Verification
Action Command Expected Result
Context
Short codes can be only used by intra-office users, and cannot be identified by
carrier-side devices. To implement communication between enterprise users and
carrier-side users, configure long and short codes and number mapping so that
the numbers displayed can be identified by the carrier-side devices. For example,
the short and long codes of an intra-office user are 7000 and 28987000. When
short code 7000 is used to call user 28980808, calling number 28987000 is
displayed. Figure 2-18 shows networking of long and short codes.
PBX
Prerequisites
● A PBX user has been configured. For details on how to configure a PBX user,
see 2.8 Configuring a PBX User.
● A call prefix has been configured. For details on how to configure a call prefix,
see 2.9 Configuring a Call Prefix.
● The long codes allocated by the PSTN to PBX users are 28987000 and
28987001.
Procedure
Step Action Command Description
Example
Configure short code 7000 and long code 28987000 for user 7000, and configure
the PBX to display 28987000 for inter-office call prefix 9.
<Huawei> system-view [Huawei] voice [Huawei-voice] pbxuser 7000 [Huawei-voice-pbxuser-user7000]
telno 7000 long-telno 28987000 [Huawei-voice-pbxuser-user7000] quit [Huawei-voice] callprefix 9
[Huawei-voice-callprefix-9] special-deal long-caller enable [Huawei-voice-callprefix-9] save
Verification
Action Command Expected Result
Verify display voice callprefix The configured value of Long cli switch is
the call callprefix-name displayed.
prefix [Huawei-voice]display voice callprefix 9
configu Callprefix
ration. :9 Enterprise : default Dn-set
: DefaultDialPlan Prefix :9 Call
category
: Basic service Call attribute : 1(Local)
Minimum length
:1 Maximum length : 15 Ring delay(s) :0
Long
cli switch : enable
Context
When number discrimination and long and short codes number change rules are
not matched, number mapping is recommended. PBX1 and PBX2 in a company
connect to the PSTN through PRA trunks, and they are connected through a trunk.
On PBX1, the intra-office call prefix is 70 and the call attribute is inter; the inter-
office call prefix is 71 and the call attribute is local. For example, 7000, 7001, and
7100 are mapped to 28987000, 28987001, and 28987100 respectively. When
carrier-side user 28980808 calls 28987100 through PBX1, PBX1 determines that
the number is not an intra-office number. Then PBX1 re-parses the number and
forwards the call to PBX2 according to call prefix 71. Figure 2-19 shows
networking of number mapping.
User D
Number: 28980808
PBX1 PBX2
Prerequisites
● A user number has been configured. For details on how to configure a user
number, see 2.8.1 Configuring a POTS User.
● A call prefix has been configured. For details on how to configure a call prefix,
see 2.9 Configuring a Call Prefix.
● A trunk group has been created and its connection parameters have been
configured. For details about the configuration, see 2.11 Configuring Trunk
Groups.
● The long codes allocated by the PSTN to PBX users are 28987000, 28987001,
and 28987100.
Procedure
Step Action Command Description
Example
Map 7000 and 7001 to 28987000 and 28987001 of enterprise default respectively,
and enable called number mapping for intra-office call prefix 2 and calling
number mapping for inter-office call prefix 9.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] number-map 0
[Huawei-voice-number-map-0] internal-num 7000
[Huawei-voice-number-map-0] external-num 28987000
[Huawei-voice-number-map-0] quit
[Huawei-voice] number-map 1
[Huawei-voice-number-map-1] internal-num 7001
[Huawei-voice-number-map-1] external-num 28987001
[Huawei-voice-number-map-1] quit
[Huawei-voice] callprefix 2
[Huawei-voice-callprefix-2] special-deal called-map enable
[Huawei-voice-callprefix-2] quit
[Huawei-voice] callprefix 9
[Huawei-voice-callprefix-9] special-deal caller-map enable
[Huawei-voice-callprefix-9] save
Verification
Action Command Expected Result
Context
You can configure pre-routing number change plans to define various dialing
modes and change the calling number displayed on the called party's phone. For
example, a POTS user (using the number 28761000) connected to a PBX makes a
local call by dialing 0755 28961000. The configured call route connects local
outgoing calls with call prefix 2896. Therefore, a pre-routing number change plan
needs to be configured to remove 9 from the called number. Then the number is
re-analyzed. You can configure the PBX to delete a call prefix in the pre-routing
number change plan so that the PBX can accurately locate the called party. In this
plan, the calling or called number is changed after number analysis and before
route selection. After a number changes, the PBX re-analyzes the number and
plays the two-stage dial tone.
Prerequisites
● A PBX user has been configured. For details on how to configure a PBX user,
see 2.8 Configuring a PBX User.
● An inter-office call prefix has been configured. For details on how to configure
an inter-office call prefix, see 2.9 Configuring a Call Prefix.
Procedure
Ste Action Command Description
p
Example
Bind call prefix 9 to pre-routing number change plan 0, and configure the PBX to
map calling numbers to 28980808 and to delete the first digit from called
numbers.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] beforeroute-change 0
[Huawei-voice-beforeroute-change-0] callprefix 9
[Huawei-voice-beforeroute-change-0] caller del-then-insert 1 32 28980808
[Huawei-voice-beforeroute-change-0] called del 1 1
[Huawei-voice-beforeroute-change-0] save
Verification
Action Command Expected Result
Context
A post-routing number change plan provides various dialing modes and changes
the calling number displayed on the called party's phone. A post-routing number
change plan can change a called number to a long code to ensure that it complies
with the required number format. For example, a POTS user (using the number
7000) connected to a PBX makes a national toll call by dialing 057128980000. A
post-routing number change plan adds 12523 to the called number
057128980000. 12523 is the call prefix defined by the carrier for the enterprise.
When the carrier's device detects call prefix 12523, it connects the outgoing call
through the matching trunk. This reduces the call fees of the enterprise. You can
configure the PBX to delete a call prefix in the post-routing number change plan
so that the PBX can accurately locate the called party.
Prerequisites
● A PBX user has been configured. For details on how to configure a PBX user,
see 2.8 Configuring a PBX User.
● An inter-office call prefix has been configured. For details on how to configure
an inter-office call prefix, see 2.9 Configuring a Call Prefix.
● An inter-office trunk group has been configured. For details on how to
configure an inter-office trunk group, see 2.11 Configuring Trunk Groups.
Procedure
Ste Action Command Description
p
Example
Bind post-routing number change plan 0 to inter-office call prefix 8 and SIP IP
trunk group, and configure the PBX to map calling numbers to 28980808 and to
add 12523 to called numbers.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] afterroute-change 0
[Huawei-voice-afterroute-change-0] callprefix 8
[Huawei-voice-afterroute-change-0] trunk-group sipip
[Huawei-voice-afterroute-change-0] caller del-then-insert 1 32 28980808
[Huawei-voice-afterroute-change-0] called insert 1 12523
[Huawei-voice-afterroute-change-0] save
Verification
Action Command Expected Result
Context
In a voice project, the existing TDM PBX needs to connect to the iMSS through
trunks for bidirectional trunk-based tandem calls. Figure 2-20 shows the network
diagram.
To meet the hunt service requirements on the iMSS, with regard to trunk-based
tandem calls from the TDM PBX (narrowband side) to the iMSS (broadband side),
also ensure that calling numbers in SIP messages can be recognized on the
broadband side. To achieve so, the trunk gateway uses the GNR list to check
whether the calling numbers can be recognized on the broadband side. Table 2-4
describes the negotiation rules.
Result of Calling SIP Message (From Field) SIP Message (PAI Field)
Number
Matching
NOTE
The trunk gateway uses the GNR list to check calling numbers, and this list contains several full
numbers that can be recognized on the broadband side.
The GNR number uniquely identifies a GNR list. When matching fails, the GNR number is sent
to the broadband side as the default calling number, and the GNR number also must be
recognized on the broadband side.
Prerequisites
The following data has been configured on the device for implementing basic
bidirectional trunk-based tandem calling:
● Digital trunks (PRA/BRA) to the TDM PBX and SIP trunks to the iMSS
● Data (such as DN set) of trunks to the TDM PBX and to the iMSS
Configuration Procedure
Step Action Command Description
SIP AT0 2 0 0
Configuration Example
Create GNR list 123456, add numbers 1234567890 to 1234567894 as full numbers
to the GNR list, and bind the GNR list to trunk groups pra1 and sip1.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] gnr-number 123456
[Huawei-voice-gnrnumber-123456] full-number 1234567890 number 5 steplen 1
[Huawei-voice-gnrnumber-123456] quit
[Huawei-voice] trunk-group pra1
[Huawei-voice-trunkgroup-pra1] gnr-number 123456
[Huawei-voice-trunkgroup-pra1] quit
[Huawei-voice] trunk-group sip1
[Huawei-voice-trunkgroup-sip1] gnr-number 123456
[Huawei-voice-trunkgroup-sip1] number-parameter 125 2
[Huawei-voice-trunkgroup-sip1] quit
[Huawei-voice] save
Usage Example
Action Command Expected Result
Query the display voice trunk-group [ trunk- The GNR list bound to
GNR list group-name [ para-value ] ] the trunk groups in the
bound to command output is the
the trunk desired one.
groups.
Context
Enterprises request PSTN telephone numbers of a certain number, and use
common telephone lines as AT0 trunk lines so that enterprise users can share the
trunk lines. Outgoing calls occupy one trunk line, and the PSTN telephone number
is displayed. After calls are ended, the trunk line is released. Incoming calls reach
the PBX through the AT0 trunk, and then the PBX forwards the incoming calls to a
PBX user or access number of the enterprise switchboard. The trunk line use
efficiency is high, and enterprises do not need to request independent PSTN
telephone numbers for all enterprise employees.
An AT0 trunk uses FXO interfaces, so the PBX must be configured with the voice
card such as the 4FXS1FXO or 4FXO card providing FXO interfaces.
The PBX can add several trunks of the same type to a trunk group, which are
invoked by call routes. Even if there is only one trunk, a trunk group needs to be
configured to facilitate trunk management.
The PBX connects to the PSTN through an AT0 trunk group, as shown in Figure
2-21.
Figure 2-21 Connecting the PBX to the PSTN through an AT0 trunk group
AT0 trunk
group
PBX
Procedure
Step Action Command Description
7 (Optional) default-caller-telno -
Configure the telno-value
default number
displayed.
Example
# Create an AT0 trunk group named at0a, bind the AT0 trunk connected to FXO
interface 4/0/4 to the AT0 trunk group, and set the default called number to the
access number 7200.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] trunk-group at0a fxo
[Huawei-voice-trunkgroup-at0a] trunk-at0 4/0/4 default-called-telno 7200
[Huawei-voice-trunkgroup-at0a] save
Verification
Action Command Expected Result
Verify the AT0 display voice trunk-group The parameter values in the
trunk group [ name [ para-value ] ] command output are
configuration. consistent with the settings.
Background
The PBX can add several trunks of the same type to a trunk group, which are
invoked by call routes. Even if there is only one trunk, a trunk group needs to be
configured to facilitate trunk management.
After an enterprise applies for SIP users from the carrier, configure a SIP AT0 trunk
group to implement voice communication between PBX users and inter-office
users. A SIP AT0 trunk group, similar to an AT0 trunk group based on POTS users,
works over the IP network and uses SIP.
The SIP users are separately registered on the carrier network such as the IMS
network. Then trunks of the SIP AT0 trunk group are formed. The carrier network
connects to common SIP users, and does not learn about the private network. An
enterprise user occupies one trunk of the SIP AT0 trunk group to make outgoing
calls. Incoming calls are transmitted to the enterprise switchboard or an enterprise
user.
By default, a SIP AT0 trunk allocated by the carrier network to the PBX cannot
support multiple calls at the same time. For example, when a SIP AT0 trunk is
used for the automatic switchboard, multiple calls cannot be set up using the
automatic switchboard. If a SIP AT0 trunk group needs to support multiple
concurrent calls, configure the SIP AT0 multi-call service. For details, see trunk-
sipat0.
Table 2-6 describes the transport protocols that can be used by a SIP AT0 trunk.
Table 2-6 Transport protocols that can be used by a SIP AT0 trunk
Transport Description
Protocol
The PBX connects to the IMS network through a SIP AT0 trunk group, as shown in
Figure 2-22.
Figure 2-22 Connecting the PBX to the IMS network through a SIP AT0 trunk
group
IMS
network
SIP AT0
trunk group
PBX
Procedure
Step Action Command Description
13 Reset the SIP AT0 reset You must reset the SIP
trunk group. AT0 trunk group to
make new or modified
parameters of the SIP
AT0 trunk group take
effect.
Example
Configure a SIP AT0 trunk group named sipat0 that connects the enterprise and
IMS network of the carrier, and set the signaling and media IP addresses and
signaling port number at the local end to 192.168.1.3 and 5061 respectively. The
SIP user number allocated by the carrier is 56623000, and the authentication
password is 123456. When an external user makes a call to 56623000, the phone
of user A (phone number: 7222) rings. If an external user wants to make a call to
an intra-office user other than user A, the external user can make a call to user A
and ask user A to transfer the call to the target user. Set the IP address and port
number of the IMS network to 192.168.10.10 and 5060 respectively. Set the user
name format for authentication to 0 (Userinfo).
<Huawei> system-view
[Huawei] voice
[Huawei-voice] trunk-group sipat0 sip trunk-circuit
[Huawei-voice-trunkgroup-sipat0] signalling-address ip 192.168.1.3 port 5061
[Huawei-voice-trunkgroup-sipat0] media-ip 192.168.1.3
[Huawei-voice-trunkgroup-sipat0] peer-address static 192.168.10.10 5060
[Huawei-voice-trunkgroup-sipat0] register-uri abcd.com
[Huawei-voice-trunkgroup-sipat0] home-domain abcd.com
[Huawei-voice-trunkgroup-sipat0] trunk-sipat0 56623000 default-called-telno 7222 password cipher
Please input user password(1-32 chars):******
[Huawei-voice-trunkgroup-sipat0] number-parameter 19 0
[Huawei-voice-trunkgroup-sipat0] reset
[Huawei-voice-trunkgroup-sipat0] save
Verification
Action Command Expected Result
Check the SIP display voice trunk-group The parameter values in the
AT0 trunk [ name [ para-value ] ] command output are
group consistent with the settings.
configuration.
Context
The PBX can add several trunks of the same type to a trunk group, which are
invoked by call routes. Even if there is only one trunk, a trunk group needs to be
configured to facilitate trunk management.
After an enterprise applies for SIP users from the carrier, configure a SIP PRA trunk
group to implement voice communication between PBX users and inter-office
users.
Unlike a SIP AT0 trunk group, a SIP PRA trunk group uses trunk group registration.
That is, the SIP PRA trunk group sends a registration message to complete number
registration of a group of SIP users. Then trunks of the SIP PRA trunk group are
formed. The carrier network connects to common SIP users, and does not learn
about the private network. An enterprise user occupies one trunk of the SIP PRA
trunk group to make outgoing calls. Incoming calls are transmitted to the
enterprise switchboard or an enterprise user.
Table 2-7 describes the transport protocols that can be used by a SIP PRA trunk.
Table 2-7 Transport protocols that can be used by a SIP PRA trunk
Transport Description
Protocol
The PBX connects to the IMS network through a SIP PRA trunk group, as shown in
Figure 2-23.
Figure 2-23 Connecting the PBX to the IMS network through a SIP PRA trunk
group
IMS
network
SIP PRA
trunk group
PBX
Procedure
Step Action Command Description
13 Reset the SIP reset You must reset the SIP PRA
PRA trunk group. trunk group to make new
or modified parameters of
the SIP PRA trunk group
take effect.
NOTE
On the PBX, the same sipue user as the one on the IMS needs to be added, and this user
needs to register with the PBX.
Example
An enterprise connects to the IMS network of a carrier through a SIP PRA trunk
group named sippra, and the group registration ID is 81234567. The signaling and
media IP addresses are both 192.168.1.3, and the signaling port number is 5062.
The IP address of the IMS network is 192.168.10.10, and the port number is 5060.
The home domain and registrar URI of the peer trunk group are both abcd.com.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] trunk-group sippra sip trunk-group
[Huawei-voice-trunkgroup-sippra] signalling-address ip 192.168.1.3 port 5062
[Huawei-voice-trunkgroup-sippra] media-ip 192.168.1.3
[Huawei-voice-trunkgroup-sippra] peer-address static 192.168.10.10 5060
[Huawei-voice-trunkgroup-sippra] home-domain abcd.com
[Huawei-voice-trunkgroup-sippra] register-uri abcd.com
[Huawei-voice-trunkgroup-sippra] register-id 81234567 password cipher
Please input user password(1-32 chars):******
[Huawei-voice-trunkgroup-sippra] reset
[Huawei-voice-trunkgroup-sippra] save
Verification
Action Command Expected Result
Verify the SIP display voice trunk-group The parameter values in the
PRA trunk [ name [ para-value ] ] command output are
group consistent with the settings.
configuration.
Context
The PBX and the peer device connected by a SIP IP trunk have equivalent
positions. That is, the PBX at one end of a SIP IP trunk does not need to register
with the device at the other end. Unlike a circuit trunk that defines a physical
channel, a SIP IP trunk defines a logical channel and solves authentication and
addressing problems between local and remote offices.
When you configure a SIP IP trunk for the PBX, the remote end must be the device
supporting SIP IP trunks.
Table 2-8 describes the transport protocols that can be used by a SIP IP trunk.
Transport Description
Protocol
The PBX can add several trunks of the same type to a trunk group, which are
invoked by call routes. Even if there is only one trunk, a trunk group needs to be
configured to facilitate trunk management.
The PBX connects to the remote device through SIP IP trunk groups, as shown in
Figure 2-24.
Procedure
Step Action Command Description
Example
An enterprise network connects an IP PBX through a SIP IP trunk group named
sipip01. The signaling and media IP addresses are both 192.168.1.3, and the
signaling port number is 5063. The IP address of the peer IP PBX is 192.168.10.10,
and its port number is 5060. The home domain and registrar URI of the peer trunk
group are both abcd.com.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] trunk-group sipip01 sip no-register
[Huawei-voice-trunkgroup-sipip01] signalling-address ip 192.168.1.3 port 5063
[Huawei-voice-trunkgroup-sipip01] media-ip 192.168.1.3
[Huawei-voice-trunkgroup-sipip01] peer-address static 192.168.10.10 5060
[Huawei-voice-trunkgroup-sipip01] home-domain abcd.com
[Huawei-voice-trunkgroup-sipip01] register-uri abcd.com
[Huawei-voice-trunkgroup-sipip01] reset
[Huawei-voice-trunkgroup-sipip01] save
Verification
Action Command Expected Result
Verify the SIP IP display voice trunk-group The parameter values in the
trunk group [ name [ para-value ] ] command output are
configuration. consistent with the settings.
Context
Unlike a circuit trunk that defines a physical channel, an H.323 trunk defines a
logical channel. The H.323 trunk is used to authenticate the gateway, gatekeeper,
and external gatekeeper on the H.323 network where the PBX is used.
● Registration mode
– One-to-one registration mode
As shown in Figure 2-26, PBX5 is a gateway and PBX6 is a gatekeeper.
PBX6 needs to authenticate the registered PBX5 through gwid. After PBX5
is successfully authenticated, PBX5 and PBX6 can communicate with each
other.
IP
network
H.323 trunk
One-to-one
PBX5 Registration mode PBX6
(GW) (GK)
User F
User E
Prerequisites
Media and signaling IP address pools have been configured. For details, see 2.5.2
Configuring Media and Signaling IP Address Pools.
and of PBX4 is 192.168.3.4. The port numbers of the PBX3 and PBX4 are both
1719.
# Configure the H.323 attributes for PBX3.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] h323-attribute
[Huawei-voice-h323-attribute] localip 192.168.3.3
[Huawei-voice-h323-attribute] reset
[Huawei-voice-h323-attribute] save
# Configure the trunk group for PBX3.
[Huawei-voice] trunk-group h323a h323 gk-gk
[Huawei-voice-trunkgroup-h323a] media-ip 192.168.3.3
[Huawei-voice-trunkgroup-h323a] peer-address static 192.168.3.4 1719
[Huawei-voice-trunkgroup-h323a] send-heartbeat enable
[Huawei-voice-trunkgroup-h323a] reset
[Huawei-voice-trunkgroup-h323a] quit
# The methods on PBX3 and PBX4 are the same except that the local and remote IP addresses on the two
ends are different.
Verification
Action Command Expected Result
Context
If the voice interface card 2BST that supports the BRA interface or a router with a
BRA interface is deployed in a PBX, the PBX can connect to the ISDN through a
BRA trunk. In this case, the BRA interface must work in TE mode.
The PBX can add several trunks of the same type to a trunk group, which are
invoked by call routes. Even if there is only one trunk, a trunk group needs to be
configured to facilitate trunk management. BRA trunk groups use Digital
Subscriber Signaling No.1 (DSS1) or QSIG as the control signaling.
The PBX connects to the ISDN through a BRA trunk group, as shown in Figure
2-28.
Figure 2-28 Connecting the PBX to the ISDN through a BRA trunk group
ISDN
BRA Trunck
group
BRA2/0/0
PBX
NOTICE
After the working mode of the 2BST card is configured, original service data on
the 2BST card and interfaces of the 2BST card will become invalid.
Example
Create a BRA trunk group named braa, bind the BRA trunk connected to BRA
interface 2/0/0 to the BRA trunk group, and set the default called number to the
access number 7200. Configure a clock source for the BRA interface.
<Huawei> system-view
[Huawei] set workmode slot 2 bri bri-voice te-mode
[Huawei] clock source 0 2/0/0 priority 5
[Huawei] voice
[Huawei-voice] trunk-group braa bra-dss1
[Huawei-voice-trunkgroup-braa] trunk-bra 2/0/0 default-called-telno 7200
[Huawei-voice-trunkgroup-braa] save
Verification
Action Command Expected Result
Verify the BRA display voice trunk-group The parameter values in the
trunk group [ name [ para-value ] ] command output are
configuration. consistent with the settings.
Context
A PRA trunk can use the E1 interface not the T1 interface to connect the PBX to
the remote device. The E1 interface card must work in voice mode, and E1
interfaces on this card are called VE1 interfaces. A VE1 interface supports
concurrent calls over a maximum of 30 channels, and the signaling type must be
set to CCS.
The PBX can add several trunks of the same type to a trunk group, which are
invoked by call routes. Even if there is only one trunk, a trunk group needs to be
configured to facilitate trunk management.
A PRA trunk group can use Digital Subscriber Signaling System No.1 (DSS1) or Q
signaling (QSIG), and the PBX can function as the user-side or network-side
device. At both ends of a PRA trunk, one end must function as the user-side
device, and the other end must function as the network-side device.
● If the PBX uses DSS1 signaling to connect to a network through a PRA trunk
group and is used as a network-side device, the signaling type is set to dss1-
net.
● If the PBX uses DSS1 signaling to connect to a network through a PRA trunk
group and is used as a user-side device, the signaling type is set to dss1-user.
● If the PBX uses QSIG signaling to connect to a network through a PRA trunk
group and is used as a network-side device, the signaling type is set to qsig-
net.
● If the PBX uses QSIG signaling to connect to a network through a PRA trunk
group and is used as a user-side device, the signaling type is set to qsig-user.
The PBX can use a PRA trunk group to connect to the PSTN and traditional PBXs
to protect investments and implement smooth expansion. Figure 2-29 shows
networking of a PRA trunk group.
PRA trunk
group
PRA trunk
group Traditional
PBX
PBX
Example
An enterprise connects to a PSTN through a PRA trunk group, which occupies E1
interface 0 in slot 1 of the PBX. Configure a clock source for the E1 interface.
Create a PRA trunk group named pra01, specify DSS1 as the signaling protocol,
and configure the PRA trunk group as the user end.
# Configure a VE1 interface.
<Huawei> system-view
[Huawei] set workmode slot 1 e1t1 e1-voice
Changing the working mode will reset the board in slot 1. Continue? [y/n]:y
INFO: Resetting board[1] succeeded.
[Huawei] voice
[Huawei-voice] port ve1 1/0/0
[Huawei-voice-ve1-1/0/0] signal ccs
[Huawei-voice-ve1-1/0/0] quit
[Huawei-voice] quit
[Huawei] clock source 0 1/0/0 priority 5
# Configure a trunk group.
[Huawei] voice
[Huawei-voice] trunk-group pra01 dss1-user
[Huawei-voice-trunkgroup-pra01] trunk-pra 1/0/0
[Huawei-voice-trunkgroup-pra01] save
Verification
Action Command Expected Result
Verify the PRA display voice trunk-group The parameter values in the
trunk group [ name [ para-value ] ] command output are
configuration. consistent with the settings.
Context
R2 signaling is a type of Channel Associated Signaling (CAS). R2 signaling is
defined by ITU-T Q.400-Q.490. Different countries define different R2 signaling
standards, and there are great differences between CAS in some versions and
standard R2 signaling. The PBX supports R2 signaling types of Brazil(MFC-5C),
Argentina, and Mexico. Figure 2-30 describes the mapping between the R2
signaling type, R2 profile, and trunk group on the PBX.
Figure 2-30 Mapping between the R2 signaling type, signaling profile, and trunk
group on the PBX
Register signaling
User-defined attributes
Line signaling output
parameters
Register signaling
input parameters
Register signaling
output parameters
An R2 trunk can use the E1 interface not the T1 interface to connect the PBX to
the remote device. The E1 interface card must work in voice mode, and E1
interfaces on this card are called VE1 interfaces. A VE1 interface supports
concurrent calls over a maximum of 30 channels.
NOTE
The PBX can add several trunks of the same type to a trunk group, which are
invoked by call routes. Even if there is only one trunk, a trunk group needs to be
configured to facilitate trunk management.
The PBX connects to the PSTN through an R2 trunk group, as shown in Figure
2-31.
Figure 2-31 Connecting the PBX to the PSTN through an R2 trunk group
R2 trunk
group
PBX
Configuring an R2 Profile
Ste Action Command Description
p
Example
An enterprise connects to a PSTN through a R2 trunk group, which occupies E1
interface 0 in slot 1 of the PBX. Configure a clock source for the E1 interface.
Create a R2 trunk group named r201, and set the R2 signaling type to standard.
# Configure a VE1 interface.
<Huawei> system-view
[Huawei] set workmode slot 1 e1t1 e1-voice
Changing the working mode will reset the board in slot 1. Continue? [y/n]:y
INFO: Resetting board[1] succeeded.
[Huawei] voice
[Huawei-voice] port ve1 1/0/0
[Huawei-voice-ve1-1/0/0] signal cas
[Huawei-voice-ve1-1/0/0] quit
[Huawei-voice] quit
[Huawei] clock source 0 1/0/0 priority 5
# Configure a signaling profile.
[Huawei] voice
[Huawei-voice] r2 profile r201
[Huawei-voice-r2-profile-r201] signalling-type standard
[Huawei-voice-r2-profile-r201] quit
# Configure a trunk group.
[Huawei-voice] trunk-group r201 e1-r2
[Huawei-voice-trunkgroup-r201] r2-profile r201
[Huawei-voice-trunkgroup-r201] trunk-r2 1/0/0
[Huawei-voice-trunkgroup-r201] save
Verification
Action Command Expected Result
Context
NOTE
A trunk group supports a maximum of 48 routes, and the system supports a maximum of
1024 routes.
When a user calls an inter-office user, the PBX extracts the inter-office call prefix
from the number, finds a trunk group bound to the call prefix, and then finds the
called party.
PBX PBX B
Dial 8001
Prerequisites
● The operations of 2.9 Configuring a Call Prefix have been performed.
● The operations of 2.11 Configuring Trunk Groups have been performed.
Procedure
Step Action Command
Follow-up Procedure
● Perform the operations of 2.10.5 Configuring a Post-routing Number
Change Plan.
● Configure the custom routing selection policy. For details, see 2.15.5
Configuring Intelligent Routing.
Example
Bind inter-office call prefix 8 and trunk group pra01 to the call route route01.
When an intra-office user dials the inter-office number starting from 8, the
outgoing call is made over the trunk group pra01.
# Create a call route plan.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] callroute route01
[Huawei-voice-callroute-route01] quit
# Bind a call prefix to the call route plan.
[Huawei-voice] callprefix 8
[Huawei-voice-callprefix-8] callroute route01
[Huawei-voice-callprefix-8] quit
# Bind a trunk group to the call route plan.
[Huawei-voice] trunk-group pra01
[Huawei-voice-trunkgroup-pra01] callroute route01
[Huawei-voice-trunkgroup-pra01] save
Verification
Action Command Expected Result
Verify the call display voice callprefix The value of Call route name
prefix [ callprefix-name ] is consistent with the setting.
configuration.
Verify the trunk display voice trunk-group The value of Relate call
group [ name [ para-value ] ] route name is consistent
configuration. with the setting.
Context
When a user makes an inter-office call, the PBX analyzes the dialed number to
obtain the inter-office call prefix. If the inter-office call prefix fails to be analyzed,
the PBX sends the call request to the office where the called party is located
through the trunk group corresponding to a call route bound to the default call
route.
Prerequisites
Trunk groups have been configured. For details, see 2.11 Configuring Trunk
Groups.
Procedure
Step Operation Command
Follow-up Procedure
Configure user-defined route selection policies. For details, see 2.15.5 Configuring
Intelligent Routing.
Configuration Example
Bind the default call route and trunk group pra01 to the call route route01 to
route calls for which no prefix can be matched through the call route route01.
# Create a call route.
<Huawei> system-view
[Huawei] voice
[huawei-voice] callroute route01
[huawei-voice-callroute-route01] quit
# Bind the call route in the default call route view.
[huawei-voice] default-callroute
[Huawei-voice-default-callroute] enterprise default dn-set DefaultDialPlan
[huawei-voice-default-callroute] callroute route01
[huawei-voice-default-callroute] quit
Verification
Operation Command Expected Result
Context
Depending on the transport protocol used, the fax service can be provided in
transparent or T.38 mode.
In transparent mode, modulated fax data from a PSTN is forwarded over an end-
to-end voice tunnel on an IP network. The gateway between the PSTN and the IP
network directly forwards fax data to the peer gateway and fax machine as voice
data, and does not perform fax modulation and demodulation. Fax transparent
transmission is implemented using either of the following methods:
● Preconfigured voice code is used to transmit fax data.
● During fax processing, the gateway converts the fax code into G.711 lossless
code through media negotiation or digitally re-encodes the fax signals using
T.38. This helps reduce the impact on fax data caused by IP network jitter.
Figure 2-34 shows the process of fax transparent transmission.
In T.38 mode, the sender gateway demodulates the T.30 fax data from the PSTN.
The demodulated fax data is encapsulated in datagrams and sent to the receiver
across the IP network. The receiver gateway modulates the datagrams into T.30
fax data and sends the fax data to the receiver. Figure 2-35 shows the process of
T.38 fax transmission.
Data packet
transmission
Analog Analog
data Gateway Gateway data
IP
network
Fax Fax
DSP DSP
demodulation modulation
RTP data RTP data
stream T.38 signaling stream
A fax machine can be directly connected to the FXS interface of the PBX or
connected to the PBX through an integrated access device (IAD). Figure 2-36
shows a typical networking of the fax service.
IP
PBX network IP PBX
IAD
On this network:
● The PBX connects to the IP PBX through a SIP trunk.
● The IAD registers fax machine A with the PBX.
● Fax machine B is a POTS user of the PBX.
Prerequisites
Before configuring the fax service, complete the following tasks:
● Configure PBX users. For details about the configuration, see 2.8 Configuring
a PBX User.
● Configure a call prefix for inter-office calls. For details about the
configuration, see 2.9 Configuring a Call Prefix.
● Configure a SIP or H.323 trunk group. For details about the configuration, see
2.11 Configuring Trunk Groups.
Procedure
The fax service can be transmitted in transparent or T.38 mode, and the codec
negotiation mode can be negotiation or auto-switching. By default, transparent
transmission and negotiation mode are used. The PBX must negotiate with the
remote IP PBX about the transmission protocol or mode to improve fax
transmission efficiency. To configure the transmission mode, perform the following
steps.
6 Return to quit -
the voice
view.
14 (Optional) redundancy-negotiation- -
Configure mode { negotiation | fixed-
the mode start | no-initiative-start }
to start the
RFC 2198
redundancy
transmissio
n
negotiation
.
15 (Optional) redundancy-start-mode -
Configure { ordinary2198 |
the mode smart2198 }
to start the
RFC 2198
redundancy
transmissio
n.
17 (Optional) nte-negotiation-mode -
Configure { negotiation | fixed-start |
the mode no-initiative-start }
to start the
RFC 2833
transmissio
n
negotiation
.
18 (Optional) quit -
Return to
the voice
view.
19 (Optional) dsp-attribute -
Enter the
DSP
attribute
view.
Example
● To implement communication between fax machines connected to the same
PBX, set the fax transmission mode to T.38 and set the codec negotiation
mode to auto-switching.
● To implement communication between fax machines connected to different
PBXs, set the fax transmission mode to T.38 and set the codec negotiation
mode to auto-switching.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] sipserver
[huawei-voice-sipserver] fax-modem fax transmission-mode t38
[huawei-voice-sipserver] fax-modem common negotiation-mode self-switch
[huawei-voice-sipserver] quit
[huawei-voice-trunkgroup-1] fax-modem fax transmission-mode t38
[huawei-voice-trunkgroup-1] fax-modem common negotiation-mode self-switch
[huawei-voice-trunkgroup-1] nte-fax-modem enable
[huawei-voice-trunkgroup-1] quit
Verification
Action Command Expected Result
NOTE
The voice mailbox service uniformly stores and manages all voice messages. Users
can listen to voice messages anytime and anywhere through the intra-office or
inter-office phones.
NOTE
● Voice messages for the voice mailbox service are stored in the USB flash drive, or SD
card.
● By default, a message can last 120 seconds.
● By default, a user can leave 20 messages.
Required storage space = [PCM voice data size per second (8 KB) x Maximum
duration of each message (120s) + File header and index (0.1 KB)] x Maximum
number of messages a user can leave (20) x Number of users. Therefore, an 8 GB
space can accommodate the messages of about 430 users.
Prerequisites
The intra-office user configurations are complete. For the configuration procedure,
see 2.8 Configuring a PBX User.
5 Return to quit -
the voice
view.
10 Return to quit -
the voice
view.
5 Return to quit -
the voice
view.
3 Return to quit -
the voice
view.
7 Return to quit -
the voice
view.
Service prefixes include service activation and deactivation prefixes. Configure the
prefixes one by one according to the following steps.
Example
Configure the CFU voice mailbox service rights and activation prefix for user 7000.
Step 3 Configure the service rights and activate the service function.
[Huawei-voice] vms
[Huawei-voice-vms] vmsno 0 callprefix leave
[Huawei-voice-vms] quit
[Huawei-voice] pbxuser 7000
[Huawei-voice-pbxuser-7000] service-right voicemailcfu enable
[Huawei-voice-pbxuser-7000] service voicemailcfu vmsno 0 active enable
[Huawei-voice-pbxuser-7000] quit
NOTE
Before configuring the service activation prefix, run the service voicemailcfu vmsno 0
command to bind the VMS number in the pbxuser view.
[Huawei-voice] callprefix *113*
[Huawei-voice-callprefix-*113*] prefix *113*
[Huawei-voice-callprefix-*113*] call-type category new-supplementary-management attribute 113
[Huawei-voice-callprefix-*113*] digit-length 5 32
[Huawei-voice-callprefix-*113*] save
----End
Verification
Action Command Expected Result
Verify the call prefix display voice callprefix The parameter values in
configuration. callprefix-name the command output are
consistent with the
settings.
Service Verification
After the configuration is complete, verify the CFU voice mailbox service.
1. User B calls user A. When hearing the prompts, user B leaves messages
according to the system prompts.
2. If the terminal of user A is an IP phone, the system notifies user A of the new
messages using message indicator or displays the messages on the screen of
the IP phone. If the terminal of user A is a POTS phone, the system notifies
user A of the new messages through voice.
To configure the message indicator on the SIP phone, such as an IP phone,
see the Administrator Guide of IP phone. If you need to configure the MWI
mode for POTS users, see mwi-mode for the detailed operations.
3. User A dials the message extraction prefix to listen to the voice messages.
NOTE
Prerequisites
The intra-office user configurations are complete. For the configuration procedure,
see 2.8 Configuring a PBX User.
5 Return to quit -
the voice
view.
10 Return to quit -
the voice
view.
5 Return to quit -
the voice
view.
3 Return to quit -
the voice
view.
Service prefixes include service activation and deactivation prefixes. Configure the
prefixes one by one according to the following steps.
Example
Configure the CFNR voice mailbox service rights and activation prefix for user
7001.
Step 3 Configure the service rights and activate the service function.
[Huawei-voice] vms
[Huawei-voice-vms] vmsno 0 callprefix leave
[Huawei-voice-vms] quit
[Huawei-voice] pbxuser 7001
[Huawei-voice-pbxuser-7001] service-right voicemailcfnr enable
[Huawei-voice-pbxuser-7001] service voicemailcfnr vmsno 0 active enable
[Huawei-voice-pbxuser-7001] quit
NOTE
Before configuring the service activation prefix, run the service voicemailcfnr vmsno 0
command to bind the VMS number in the pbxuser view.
[Huawei-voice] callprefix *117*
[Huawei-voice-callprefix-*117*] prefix *117*
----End
Verification
Action Command Expected Result
Verify the call prefix display voice callprefix The parameter values in
configuration. callprefix-name the command output are
consistent with the
settings.
Service Verification
After the configuration is complete, verify the CFNR voice mailbox service. Assume
that the no-reply duration is set to 20s when activating the message leaving
function.
1. User B calls user A. User A does not answer the call within 20s. When hearing
the prompts, user B leaves messages according to the system prompts.
2. If the terminal of user A is an IP phone, the system notifies user A of the new
messages using message indicator or displays the messages on the screen of
the SIP phone. If the terminal of user A is a POTS phone, the system notifies
user A of the new messages through voice.
To configure the message indicator on the SIP phone, such as an IP phone,
see the Administrator Guide of IP phone. If you need to configure the MWI
mode for POTS users, see mwi-mode for the detailed operations.
3. User A dials the message extraction prefix to listen to the voice messages.
NOTE
Prerequisites
The intra-office user configurations are complete. For the configuration procedure,
see 2.8 Configuring a PBX User.
5 Return to quit -
the voice
view.
10 Return to quit -
the voice
view.
5 Return to quit -
the voice
view.
3 Return to quit -
the voice
view.
Example
Configure the CFB voice mailbox service rights and activation prefix for user 7002.
Step 3 Configure the service rights and activate the service function.
[Huawei-voice] vms
[Huawei-voice-vms] vmsno 0 callprefix leave
[Huawei-voice-vms] quit
[Huawei-voice] pbxuser 7002
[Huawei-voice-pbxuser-7002] service-right voicemailcfb enable
[Huawei-voice-pbxuser-7002] service voicemailcfb vmsno 0 active enable
[Huawei-voice-pbxuser-7002] save
NOTE
Before configuring the service activation prefix, run the service voicemailcfb vmsno 0
command to bind the VMS number in the pbxuser view.
[Huawei-voice] callprefix *115*
[Huawei-voice-callprefix-*115*] prefix *115*
[Huawei-voice-callprefix-*115*] call-type category new-supplementary-management attribute 115
[Huawei-voice-callprefix-*115*] digit-length 5 32
[Huawei-voice-callprefix-*115*] save
----End
Verification
Action Command Expected Result
Verify the call prefix display voice callprefix The parameter values in
configuration. callprefix-name the command output are
consistent with the
settings.
Service Verification
After the configuration is complete, verify the CFB voice mailbox service.
1. User B calls user A. User A is busy. When hearing the prompts, user B leaves
messages according to the system prompts.
2. If the terminal of user A is an IP phone, the system notifies user A of the new
messages using message indicator or displays the messages on the screen of
the IP phone. If the terminal of user A is a POTS phone, the system notifies
user A of the new messages through voice.
To configure the message indicator on the SIP phone, such as an IP phone,
see the Administrator Guide of IP phone. If you need to configure the MWI
mode for POTS users, see mwi-mode for the detailed operations.
3. User A dials the message extraction prefix to listen to the voice messages.
NOTE
Prerequisites
The intra-office user configurations are complete. For the configuration procedure,
see 2.8 Configuring a PBX User.
5 Return to quit -
the voice
view.
10 Return to quit -
the voice
view.
5 Return to quit -
the voice
view.
3 Return to quit -
the voice
view.
Service prefixes include service activation and deactivation prefixes. Configure the
prefixes one by one according to the following steps.
Example
Configure the CFO voice mailbox service rights and activation prefix for user 7003.
Step 3 Configure the service rights and activate the service function.
[Huawei-voice] vms
[Huawei-voice-vms] vmsno 0 callprefix leave
[Huawei-voice-vms] quit
[Huawei-voice] pbxuser 7003
[Huawei-voice-pbxuser-7003] service-right voicemailcfo enable
[Huawei-voice-pbxuser-7003] service voicemailcfo vmsno 0 active enable
[Huawei-voice-pbxuser-7003] save
NOTE
Before configuring the service activation prefix, run the service voicemailcfo vmsno 0
command to bind the VMS number in the pbxuser view.
[Huawei-voice] callprefix *119*
[Huawei-voice-callprefix-*119*] prefix *119*
[Huawei-voice-callprefix-*119*] call-type category new-supplementary-management attribute 119
[Huawei-voice-callprefix-*119*] digit-length 5 32
[Huawei-voice-callprefix-*119*] save
----End
Verification
Action Command Expected Result
Verify the call prefix display voice callprefix The parameter values in
configuration. callprefix-name the command output are
consistent with the
settings.
Service Verification
After the configuration is complete, verify the CFO voice mailbox service.
1. User B calls user A. User A is offline. When hearing the prompts, user B leaves
messages according to the system prompts.
2. If the terminal of user A is an IP phone, the system notifies user A of the new
messages using message indicator or displays the messages on the screen of
the IP phone. If the terminal of user A is a POTS phone, the system notifies
user A of the new messages through voice.
To configure the message indicator on the IP phone, such as an IP phone, see
the Administrator Guide of IP phone. If you need to configure the MWI mode
for POTS users, see mwi-mode for the detailed operations.
3. User A dials the message extraction prefix to listen to the voice messages.
NOTE
Prerequisites
The intra-office user configurations are complete. For the configuration procedure,
see 2.8 Configuring a PBX User.
5 Return to quit -
the voice
view.
10 Return to quit -
the voice
view.
Example
Set the prefix for greeting phrases to 10002.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] vms
[Huawei-voice-vms] vmsdata-storage-path sd:
[Huawei-voice-vms] quit
[Huawei-voice] callprefix 10002
[Huawei-voice-callprefix-10002] prefix 10002
[Huawei-voice-callprefix-10002] call-type category vu-service vu-service-name vuvmswelcometone
[Huawei-voice-callprefix-10002] digit-length 5 32
[Huawei-voice-callprefix-10002] quit
Verification
Action Command Expected Result
Verify the call prefix display voice callprefix The parameter values in
configuration. callprefix-name the command output are
consistent with the
settings.
Service Verification
User A dials the greeting phrases prefix, and records and saves the greeting
phrases according to the system prompts. User B calls user A. When the call is
transferred to the voice mailbox, user B hears the greeting phrases recorded by
user A.
NOTE
● By default, the greeting phrases does not include the keypad tone at the end.
● A user can dial the greeting phrases prefix on another phone, and enter its own number
and password to record the greeting phrases for its own voice mailbox. When record the
greeting phrases, you need to enter the service password.
● The default username and password are available in AR Router Default Usernames and
Passwords (Enterprise Network or Carrier). If you have not obtained the access
permission of the document, see Help on the website to find out how to obtain it. If you
use the password for the first time, the password must be modified. For details about
how to change the password, see 2.14.4 Configuring the Service Password.
Configuration Example
Set the local number query prefix and ONLY number query prefix to *192* and
*173* respectively, and activate service rights for user 6000.
<Huawei> system-view
[Huawei] voice # Configure the service prefix (In this example, the service prefix is *192*. The method of
configuring the ONLY number prefix
is the same.)
[Huawei-voice] callprefix *192*
[Huawei-voice-callprefix-*192*] prefix *192*
[Huawei-voice-callprefix-*192*] call-type category supplementary-service attribute 192
[Huawei-voice-callprefix-*192*] digit-length 5 5
[Huawei-voice-callprefix-*192*] quit #
Configure the service right.
[Huawei-voice] pbxuser 6000
[Huawei-voice-pbxuser-6000] service-right query-dialno enable
[Huawei-voice-pbxuser-6000] save
Usage Example
This example assumes that user A has been assigned the number query service
right. The local number query prefix is *192* and ONLY number query prefix is
*173*.
User A hangs up and dials *192*. The PBX announces the local number to user A.
User A hangs up and dials *173*. The PBX announces the ONLY number to user A.
Configuration Procedure
By default, PBX users have been assigned the CLIP service right. If you want to
configure the service right, perform the steps described in the following table.
Configuration Example
Enable the CLIP service right for user 6000.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] pbxuser 6000
[Huawei-voice-pbxuser-6000] service-right clip enable
[Huawei-voice-pbxuser-6000] save
Usage Example
This example assumes that user A has been assigned the CLIP service right.
● Scenario 1: User A is idle. If user B calls user A at this time, user B's number is
displayed on user A's phone.
● Scenario 2: User A has been assigned the call waiting service right and is
engaged in a call. If user B calls user A at this time, user B's number is
displayed on user A's phone.
NOTE
● If user B has been assigned the calling line identification restriction (CLIR) service right,
user B's number will not be displayed on user A's phone.
● In scenario 2, user A's phone needs to support CLIP in off-hook state. IP phones and
some POTS phones (for example, Panasonic KX-TSC11MX) support this function.
Configuration Procedure
Step Operation Command Description
Configuration Example
Enable the CLIR service right for user 6000.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] pbxuser 6000
[Huawei-voice-pbxuser-6000] service-right clir enable
[Huawei-voice-pbxuser-6000] save
Usage Example
This example assumes that user A has been assigned the CLIR service right.
If user A places a call to user B, user A's number will not be displayed on user B's
phone regardless of whether user B has been assigned the CLIP service right.
NOTE
If user B has been assigned the CLIR override service right, user A's number will still be
displayed on user B's phone.
Configuration Procedure
Step Operation Command Description
Configuration Example
Enable the CLIR override service right for user 6000.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] pbxuser 6000
[Huawei-voice-pbxuser-6000] service-right overstepclir enable
[Huawei-voice-pbxuser-6000] save
Usage Example
This example assumes that user A has been assigned the CLIR override service
right.
If user B places a call to user A, user B's number is displayed on user A's phone.
NOTE
● Even if user B has been assigned the CLIR service right, user B's number is still displayed
on user A's phone.
● For incoming calls routed through the R2 trunk groups, the CLIR override service does
not take effect.
● When the calling party user B is an inter-office user, user A cannot see the phone
number of user B.
Generally, if the called party has the calling line identification presentation (CLIP)
service enabled, the calling party's number can be displayed to the called party.
However, if the calling party does not want to display the calling number to the
called party, the calling party can add a prefix to the called number during dialing
to temporarily activate the CLIR service.
Configuring a Prefix
Step Operation Command Description
Configuration Example
Configure prefix *175* for temporarily activating the CLIR service.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] callprefix *175*
[Huawei-voice-callprefix-*175*] prefix *175*
[Huawei-voice-callprefix-*175*] call-type category supplementary-service attribute 175
[Huawei-voice-callprefix-*175*] digit-length 5 32
[Huawei-voice-callprefix-*175*] save
If the calling party has the CLIR service enabled, the calling number is not
displayed to the called party even when the called party has the CLIP service
enabled. However, if the calling party wants to display the calling number to the
called party, the calling party can add a prefix to the called number during dialing
to temporarily deactivate the CLIR service.
5 Return to quit -
the voice
view.
Configuring a Prefix
Step Operation Command Description
Configuration Example
Configure the CLIR service for number 6000. Prefix *176* is the prefix for
temporarily deactivating the CLIR service.
<Huawei> system-view
[Huawei] voice
# Configure the service right.
[Huawei-voice] pbxuser 6000
[Huawei-voice-pbxuser-6000] service-right clir enable
[Huawei-voice-pbxuser-6000] quit
# Configure a service prefix.
[Huawei-voice] callprefix *176*
[Huawei-voice-callprefix-*176*] prefix *176*
[Huawei-voice-callprefix-*176*] call-type category supplementary-service attribute 176
[Huawei-voice-callprefix-*176*] digit-length 5 32
[Huawei-voice-callprefix-*176*] save
Context
The Connected Name Identification Presentation (CONP) service displays a called
user's name on the calling user's terminal. Assume that A has the CONP service
rights. When A calls B, B's name is displayed on A's phone. If B has subscribed to
the explicit communication transfer (ECT) service, the call is transmitted to C.
When C answers the call, C's name is displayed on A's phone. If B belongs to a
user group, the name of the user group will be displayed on A's phone.
Requirements for implementing the CONP service are as follows:
● The phone of the calling user must support the CONP service and the
connected line identification presentation service (number obtained from the
PAI header field first).
● A name has been configured for the called user. Otherwise, there will be no
name displayed on the calling user's phone.
● During intra-office calls, the PBX user type must be SIP.
● During inter-office calls, the CONP service can be implemented only by SIP
users, SIP trunks, and H.323 trunks.
Prerequisites
A PBX user has been configured. For details about the configuration, see 2.8
Configuring a PBX User.
Procedure
Step Operation Command Description
4 Enable the service-right conp enable You can run the service-
CONP service right conp disable
right. command to delete the
CONP service right.
By default, the CONP
service right is disabled for
PBX users.
Example
Enable the CONP service right for the user 6000.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] pbxuser 6000
[Huawei-voice-pbxuser-6000] service-right conp enable
[Huawei-voice-pbxuser-6000] save
Service Verification
Enable the CONP service right for an intra-office user A. Set the name of an out-
office user B to UserB. When A calls B over a SIP trunk, B's name UserB is
displayed on A's phone.
Context
The Calling Name Identification Presentation (CNIP) service, also the called Calling
Line Identification Presentation (CLIP) service, displays a calling user's name on
the called user's terminal. If A expects a calling user's name to be displayed on the
terminal, A can enable the CNIP service. When A's terminal rings or A is answering
a call, the calling user's name is displayed on A's phone.
● The phone of the called user must support the CNIP service.
● A name has been configured for the calling user. Otherwise, there will be no
name displayed on the called user's phone.
● The CNIP service can be implemented only by SIP users, SIP trunks, and H.323
trunks.
Prerequisites
A PBX user has been configured. For details about the configuration, see 2.8
Configuring a PBX User.
Procedure
By default, PBX users have the CNIP service right. To configure the CNIP service,
perform the following steps.
3 Enter the PBX pbxuser name The CNIP service right can
user view. be configured only by SIP
users.
4 Enable the service-right cnip enable You can run the service-
CNIP service right cnip disable
right. command to delete the
CNIP service right.
Example
Enable the CNIP service right for the user 6000.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] pbxuser 6000
[Huawei-voice-pbxuser-6000] service-right cnip enable
[Huawei-voice-pbxuser-6000] save
Service Verification
Set the name of an out-office user A to UserA. Enable the CNIP service right for
an intra-office user B. When A calls B over a SIP trunk, A's name UserA is
displayed on B's phone.
Two service prefixes are involved: one for enabling the service and the other for
disabling the service. Perform the steps described in the following table to
configure the service prefixes one by one.
Configuration Example
Enable the CFU service right for user 6000 and set the forwarded-to number to
6001. On the PBX, set the prefix for enabling the CFU service to *21* and the
prefix for disabling the CFU service to *22*.
<Huawei> system-view
[Huawei] voice
# Configure the service right and forwarding scheme.
[Huawei-voice] pbxuser 6000
[Huawei-voice-pbxuser-6000] service-right cfu enable
[Huawei-voice-pbxuser-6000] service cfu 6001
[Huawei-voice-pbxuser-6000] quit
# Configure a service prefix, for example, *21* for enabling the CFU service.
[Huawei-voice] callprefix *21*
[Huawei-voice-callprefix-*21*] prefix *21*
[Huawei-voice-callprefix-*21*] call-type category new-supplementary-management attribute 21
[Huawei-voice-callprefix-*21*] digit-length 4 32
[Huawei-voice-callprefix-*21*] save
Configuration Example
Enable the CFNR service right for user 6000 and set the forwarded-to number to
6001. On the PBX, set the prefix for enabling the CFNR service to *25* and the
prefix for disabling the CFNR service to *26*.
<Huawei> system-view
[Huawei] voice
# Configure the service right and forwarding scheme.
[Huawei-voice] pbxuser 6000
[Huawei-voice-pbxuser-6000] service-right cfnr enable
[Huawei-voice-pbxuser-6000] service cfnr telno 6001
[Huawei-voice-pbxuser-6000] quit
# Configure a service prefix, for example, *25* for enabling the CFNR service.
[Huawei-voice] callprefix *25*
[Huawei-voice-callprefix-*25*] prefix *25*
[Huawei-voice-callprefix-*25*] call-type category new-supplementary-management attribute 25
[Huawei-voice-callprefix-*25*] digit-length 4 32
[Huawei-voice-callprefix-*25*] save
The waiting time is 30s by default if a user dials a prefix to enable the CFNR service.
4 Enable the CFB service-right cfb enable By default, PBX users have
service right. been assigned the CFB
service right.
To disable the CFB service
right, run the following
command:
service-right cfb disable
Configuration Example
Enable the CFB service right for user 6000 and set the forwarded-to number to
6001. On the PBX, set the prefix for enabling the CFB service to *23* and the prefix
for disabling the CFB service to *24*.
<Huawei> system-view
[Huawei] voice
# Configure the service right and forwarding scheme.
[Huawei-voice] pbxuser 6000
[Huawei-voice-pbxuser-6000] service-right cfb enable
[Huawei-voice-pbxuser-6000] service cfb 6001
[Huawei-voice-pbxuser-6000] quit
# Configure a service prefix, for example, *23* for enabling the CFB service.
[Huawei-voice] callprefix *23*
[Huawei-voice-callprefix-*23*] prefix *23*
[Huawei-voice-callprefix-*23*] call-type category new-supplementary-management attribute 23
[Huawei-voice-callprefix-*23*] digit-length 4 32
[Huawei-voice-callprefix-*23*] save
Configuration Example
Enable the CFO service right for user 6000 and set the forwarded-to number to
6001. On the PBX, set the prefix for enabling the CFO service to *27* and the
prefix for disabling the CFO service to *28*.
<Huawei> system-view
[Huawei] voice
# Configure the service right and forwarding scheme.
[Huawei-voice] pbxuser 6000
[Huawei-voice-pbxuser-6000] service-right cfo enable
[Huawei-voice-pbxuser-6000] service cfo 6001
[Huawei-voice-pbxuser-6000] quit
# Configure a service prefix, for example, *27* for enabling the CFO service.
[Huawei-voice] callprefix *27*
[Huawei-voice-callprefix-*27*] prefix *27*
[Huawei-voice-callprefix-*27*] call-type category new-supplementary-management attribute 27
[Huawei-voice-callprefix-*27*] digit-length 4 32
[Huawei-voice-callprefix-*27*] save
Configuration Procedure
The PBX does not allow users to dial the service prefix to register or cancel the
CFC service. An administrator can run the following commands to configure the
service rights and call forwarding plan.
Configuration Example
Enable the CFC service right for user 6000 and set the forwarded-to number to
6001. Specify the forwarding condition to 09:00-12:00 every Monday when the
user does not answer the calls.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] pbxuser 6000
[Huawei-voice-pbxuser-6000] service-right cfc enable
[Huawei-voice-pbxuser-6000] forward-condition id 1 forwardnum 6001 state noanswer weekly mon
09:00:00 12:00:00
[Huawei-voice-pbxuser-6000] service cfc condition 1
[Huawei-voice-pbxuser-6000] save
In Figure 2-37:
● : User A hears the special dial tone, and user B hears the call hold tone.
● : User A hears the ringback tone, and user B hears the call hold tone.
● On POTS phones of some types such as TCL37 phones, you can press button R
(hookflash action).
● When hookflash cannot be implemented by pressing button R, run the flash-hook
lower command in the voice view to adjust the lower threshold for hookflash pressing.
In Figure 2-38:
● : User A hears the dialing tone, and user B hears the call hold tone.
● : User A hears the ringback tone, and user B hears the call hold tone.
Usage Example
This example assumes that user A has been assigned the call hold service right.
If user A uses an analog phone, the service usage method and call state transition
are shown in Figure 2-39.
The following describes the prompt tones played for each call state in Figure 2-39:
● State : User A hears a special dial tone, and user B hears a call hold tone.
● State : User A hears a busy tone, and user B hears a call hold tone.
● In double communication state, if user A hangs up, user B and user C can hear the busy
tone, and the call is ended.
● On POTS phones of some types such as TCL37 phones, you can press button R
(hookflash action).
● When hookflash cannot be implemented by pressing button R, run the flash-hook
lower command in the voice view to adjust the lower threshold for hookflash pressing.
Multiple calls can be placed on hold at the same time on an IP phone. If using an
IP phone, user A can press the call hold button to place a current call on hold and
press the corresponding line button to resume the call.
Configuration Example
Enable the call waiting service for user 6000. On the PBX, set the prefix for
enabling the call waiting service to *31* and the prefix for disabling the call
waiting service to *32*.
# Configure the service right.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] pbxuser 6000
[Huawei-voice-pbxuser-6000] service-right cw enable
[Huawei-voice-pbxuser-6000] service-active cw
[Huawei-voice-pbxuser-6000] quit
# Configure a service prefix, for example, *31 for enabling the call waiting service.
[Huawei-voice] callprefix *31*
[Huawei-voice-callprefix-*31*] prefix *31*
[Huawei-voice-callprefix-*31*] call-type category new-supplementary-management attribute 31
[Huawei-voice-callprefix-*31*] digit-length 4 32
[Huawei-voice-callprefix-*31*] save
NOTE
● On POTS phones of some types such as TCL37 phones, you can press button R
(hookflash action).
● When hookflash cannot be implemented by pressing button R, run the flash-hook
lower command in the voice view to adjust the lower threshold for hookflash pressing.
Call waiting User A answers The call between User A and user C
(User C's number is displayed on user A's the call user A and user B talk with each
phone) is placed on hold other
User A switches
the call.
After user B
The call between User A and user hangs up, user A User A and user B The call between
resumes the call
user A and user C talk with each talk with each user A and user C
B ends other other is placed on hold
7 Return to quit -
the voice
view.
Configuration Example
Configure number barring for number 7000, preventing the number from calling
intra-office user 7001. Prefix *90* is the prefix for activating number barring.
# Configure the service right.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] pbxuser 7000
[Huawei-voice-pbxuser-7000] service-right dlc enable
[Huawei-voice-pbxuser-7000] service-active dlc
[Huawei-voice-pbxuser-7000] service dlc 7001
[Huawei-voice-pbxuser-7000] quit
# Configure a service prefix, for example, *90* for activating call barring.
[Huawei-voice] callprefix *90*
[Huawei-voice-callprefix-*90*] prefix *90*
[Huawei-voice-callprefix-*90*] call-type category new-supplementary-management attribute 90
[Huawei-voice-callprefix-*90*] digit-length 4 32
[Huawei-voice-callprefix-*90*] save
The variable SSSSSS is the service password, The default username and password are
available in AR Router Default Usernames and Passwords (Enterprise Network or Carrier).
If you have not obtained the access permission of the document, see Help on the website
to find out how to obtain it. You must change the service password when you use the
service for the first time. For details about how to change the service password, see 2.14.4
Configuring the Service Password.
NOTICE
To enable or disable the number barring service for a user number, you can dial
Prefix for enabling or disabling the service + Service password + Called number
that has call barring enabled#. You can also dial Prefix for disabling the service +
Service password# to disable the service. Note that the AR supports only an at-
most-32-digit number. If the number you dial exceeds 32 digits, the AR does not
process it.
6 Return to quit -
the voice
view.
Two service prefixes are involved: one for enabling the service and the other for
disabling the service. Perform the steps described in the following table to
configure the service prefixes one by one.
Configuration Example
Configure call barring for number 7000, preventing the number from making
international toll calls. Prefix *98* is the prefix for enabling call barring, and prefix
*101* is the prefix for disabling call barring.
# Configure the service right.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] pbxuser 7000
[Huawei-voice-pbxuser-7000] service-right cba enable
[Huawei-voice-pbxuser-7000] service cba IDD
[Huawei-voice-pbxuser-7000] quit
# Configure a service prefix, for example, *98* for enabling call barring. The procedure for configuring other
service prefixes is similar.
[Huawei-voice] callprefix *98*
[Huawei-voice-callprefix-*98*] prefix *98*
[Huawei-voice-callprefix-*98*] call-type category new-supplementary-management attribute 98
[Huawei-voice-callprefix-*98*] digit-length 4 32
[Huawei-voice-callprefix-*98*] save
The variable SSSSSS is the service password, The default username and password are
available in AR Router Default Usernames and Passwords (Enterprise Network or
Carrier). If you have not obtained the access permission of the document, see Help on
the website to find out how to obtain it. You must change the service password when
you use the service for the first time. For details about how to change the service
password, see 2.14.4 Configuring the Service Password.
● Disabling the service
User A picks up the phone and dials *101*. When hearing the dial tone, user A
enters SSSSSSK#. An announcement is played, indicating that the service is
successfully disabled.
The password call service restricts the calls that a user can make using a
password. The password used in the password call service is the service password.
For details about how to change the service password, see 2.14.4 Configuring the
Service Password.
When the user and the prefix of a call both have the password call service
enabled, the user can set up the call only by first dialing the call access code and
user password. It is recommended that the password call service be disabled for
intra-office prefixes and service prefixes. If not, users with the password call
service enabled need to first dial the call access code and user password even
before calling intra-office users or before dialing service prefixes. For details about
how to disable the password call service for a prefix, see pwdcalllimit disable.
6 Return to quit -
the voice
view.
Configuration Example
Configure password call for number 7000. Prefix *95* is the prefix for enabling
password call, and prefix *96* is the prefix for disabling password call. The
password call access code is 10003.
# Configure the service right.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] pbxuser 7000
[Huawei-voice-pbxuser-7000] service-right pwcb enable
[Huawei-voice-pbxuser-7000] service-active pwcb
[Huawei-voice-pbxuser-7000] quit
# Configure a service prefix, for example, *95* for enabling password call. The procedure for configuring
other service prefixes is similar.
[Huawei-voice] callprefix *95*
[Huawei-voice-callprefix-*95*] prefix *95*
[Huawei-voice-callprefix-*95*] call-type category new-supplementary-management attribute 95
[Huawei-voice-callprefix-*95*] digit-length 4 32
[Huawei-voice-callprefix-*95*] pwdcalllimit disable
[Huawei-voice-callprefix-*95*] save
# Configure the password call access code.
[Huawei-voice] callprefix 10003
[Huawei-voice-callprefix-10003] prefix 10003
[Huawei-voice-callprefix-10003] call-type category vu-service vu-service-name vupwdcalllimit
[Huawei-voice-callprefix-10003] pwdcalllimit disable
[Huawei-voice-callprefix-10003] digit-length 5 32
[Huawei-voice-callprefix-10003] save
User A makes a call to user B. An announcement is played, indicating the call fails.
User A dials the password call access code, and enters the password and user B's
number in sequence as prompted. Then the call is connected.
NOTE
The variable SSSSSS is the service password, The default username and password are
available in AR Router Default Usernames and Passwords (Enterprise Network or Carrier).
If you have not obtained the access permission of the document, see Help on the website
to find out how to obtain it. You must change the service password when you use the
service for the first time. For details about how to change the service password, see 2.14.4
Configuring the Service Password.
Context
A rule consists of the rule attribute (two options: permit and deny) and the calling
number.
A rule set is a collection of blacklist/whitelist rules.
Check the blacklist and whitelist according to the following rules:
1. Check whether a whitelist is available. If a whitelist is available, check
whether the calling party belongs to the whitelist. If the calling party belongs
to the whitelist, the system selects a route for the call; otherwise, the system
rejects the call.
2. Check whether a blacklist is available. If a blacklist is available, check whether
the calling party belongs to the blacklist. If the calling party belongs to the
blacklist, the system rejects the call; otherwise, the system selects a route for
the call.
The call right of a number must be permit if the calls from this number want to
be routed over a trunk that is bound to a rule set.
This topic assumes that the blacklist/whitelist rule set is configured as follows:
● The value of outgoing is set to permit for intra-office user 7000.
● The value of outgoing is set to deny for intra-office user 7001.
● The value of incoming is set to permit for external user 1000.
Figure 2-42 shows the networking.
PBX IP PBX
If the trunk group connecting the PBX to the IP PBX has the preceding blacklist/
whitelist rule set configured, user 1000 can call user 7000 and user 7001, user
7000 can call user 1000, but user 7001 cannot call user 1000.
Prerequisites
The desired trunk group has been configured. For details, see 2.11 Configuring
Trunk Groups.
Configuration Procedure
Step Operation Command Description
Configuration Example
Configure blacklist/whitelist rule set 1, where user 7000 is whitelisted for outgoing
calls, user 7001 is blacklisted for outgoing calls, and user 1000 is blacklisted for
incoming calls. Bind trunk group sipip to blacklist/whitelist rule set 1.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] rule-set 1
[Huawei-voice-rule-set-1] rule permit outgoing caller-telno 7000
[Huawei-voice-rule-set-1] rule deny outgoing caller-telno 7001
[Huawei-voice-rule-set-1] rule deny incoming caller-telno 1000
[Huawei-voice-rule-set-1] quit
[Huawei-voice] trunk-group sipip
[Huawei-voice-trunkgroup-sipip] use-rule-set 1
[Huawei-voice-trunkgroup-sipip] save
Usage Example
To prevent a user from placing outgoing calls over a trunk, configure a blacklist/
whitelist rule set, set outgoing of the user to deny in the rule set, and bind the
rule set to that trunk.
In an anonymous call, the calling number is not displayed to the called party. The
RAC service rejects an anonymous call, and plays an announcement to the calling
party. The RAC service can be configured to prevent harassment of anonymous
calls.
6 Return to quit -
the voice
view.
Configuration Example
Configure RAC for number 7000. Prefix *39* is the prefix for enabling RAC, and
prefix *40* is the prefix for disabling RAC.
# Configure the service right.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] pbxuser 7000
[Huawei-voice-pbxuser-7000] service-right rac enable
[Huawei-voice-pbxuser-7000] service rac
[Huawei-voice-pbxuser-7000] quit
# Configure a service prefix, for example, *39* for enabling RAC. The procedure for configuring other service
prefixes is similar.
[Huawei-voice] callprefix *39*
[Huawei-voice-callprefix-*39*] prefix *39*
[Huawei-voice-callprefix-*39*] call-type category new-supplementary-management attribute 39
[Huawei-voice-callprefix-*39*] digit-length 4 32
[Huawei-voice-callprefix-*39*] save
6 Return to quit -
the voice
view.
Configuration Example
User A has enabled the DND service. The administrator configures service
registration prefix (for example, *35*) and service deregistration prefix (for
example, *36*) on the PBX.
# Configure the service right.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] pbxuser 7000
[Huawei-voice-pbxuser-7000] service-right dnd enable
[Huawei-voice-pbxuser-7000] service dnd
[Huawei-voice-pbxuser-7000] quit
# Configure a service prefix, for example, *35* for enabling the DND service.
[Huawei-voice] callprefix *35*
[Huawei-voice-callprefix-*35*] prefix *35*
[Huawei-voice-callprefix-*35*] call-type category new-supplementary-management attribute 35
[Huawei-voice-callprefix-*35*] digit-length 4 32
[Huawei-voice-callprefix-*35*] save
Others call user A and hear the DND announcement or the busy tone. User A can
still place calls.
Perform the steps described in the following table to configure the service prefixes
one by one.
Configuration Example
Enable the SCA service right for user 6000. Enable the system to accept calls for
user 6000 when either of the following conditions are met:
● The calling number is 6001 every Tuesday to Friday.
● 10:00-17:00 every day from 2013-01-01 to 2014-12-31.
On the PBX, set a service prefix to *+Call attribute of the service prefix+*. For
example, set the prefix used to enable an SCA number to *59*.
# Configure the service right and judgment group.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] pbxuser 6000
[Huawei-voice-pbxuser-6000] service-right sca enable
[Huawei-voice-pbxuser-6000] service sca judgegrp 1 condition caller-telno 6001 time-repeat weekly
tue fri active enable
[Huawei-voice-pbxuser-6000] service sca judgegrp 2 condition time-period from 2013-01-01 to
2014-12-31 time-repeat daily 10:00:00 17:00:00 active enable
[Huawei-voice-pbxuser-6000] quit
# Configure a service prefix, for example, *59* for enabling an SCA number.
[Huawei-voice] callprefix *59*
[Huawei-voice-callprefix-*59*] prefix *59*
[Huawei-voice-callprefix-*59*] call-type category new-supplementary-management attribute 59
[Huawei-voice-callprefix-*59*] digit-length 4 32
[Huawei-voice-callprefix-*59*] save
NOTE
If you cannot hear the system prompts when using the prefix to operate service, check
whether the service information is correct, for example, whether the format, prefix length,
or user number length meet requirements and whether a conflict occurs in the service.
User A can enable the judgment group conditions in the following ways:
● Adding an SCA number to a judgment group: User A picks up the phone and
dials *59*+2-digit group ID+Accepted user number#. For example, if user A
dials *59*0128971799#, accepted number 28971799 is added to judgment
group 1.
● Adding an SCA time period to a judgment group: User A picks up the phone
and dials *61*+2-digit group ID+Accepted time period#. For example, if user A
dials *61*0208301030#, accepted time period 08:30-10:30 everyday is added
to judgment group 2.
● Adding SCA days to a judgment group: User A picks up the phone and dials
*63*+2-digit group ID+Accepted days in a week#. The value for accepted days
in a week is a 7-digit binary number, with the first digit being Monday and
last digit being Sunday. For example, if user A dials *63*030111110#, accepted
days Tuesday to Saturday are added to judgment group 3.
NOTE
● A judgment group can contain one condition, or a combination of number and time or
number and day.
● Time and day are mutually exclusive. If the time and day conditions are both enabled,
the condition that is enabled later takes effect.
User A can disable the judgment group conditions in the following ways:
● Disabling the number condition from a judgment group: User A picks up the
phone and dials *60*+2-digit group ID#, for example, *60*01#.
● Disabling the time condition from a judgment group: User A picks up the
phone and dials *62*+2-digit group ID#, for example, *62*02#.
● Disabling the day condition from a judgment group: User A picks up the
phone and dials *64*+2-digit group ID#, for example, *64*03#.
User A can enable one or more judgment groups in the following ways:
● Enabling a judgment group: User A picks up the phone and dials *65*+2-digit
group ID#, for example, *65*01#.
● Enabling all judgment groups: User A picks up the phone and dials *65*#.
User A can disable one or more judgment groups in the following ways:
● Disabling a judgment group: User A picks up the phone and dials *66*+2-digit
group ID#, for example, *66*01#.
● Disabling all judgment groups: User A picks up the phone and dials *66*#.
User A can verify a judgment group or delete one or more judgment groups in the
following ways:
● Verifying a judgment group: User A picks up the phone and dials *67*+2-digit
group ID#, for example, *67*03#. If the judgment group is enabled, an
announcement is played, indicating that the judgment group is enabled.
Otherwise, an announcement is displayed, indicating a failure to enable the
judgment group.
● Deleting a judgment group: User A picks up the phone and dials *68*+2-digit
group ID#, for example, *68*03#.
● Deleting all judgment groups: User A picks up the phone and dials *68*#.
4 Enable the service-right rcs enable To disable the SCR service right,
SCR service run the following command:
right. service-right rcs disable
7 Return to quit -
the voice
view.
Perform the steps described in the following table to configure the service prefixes
one by one.
Configuration Example
Enable the SCR service right for user 6000. Enable the system to reject calls for
user 6000 when either of the following conditions are met:
● The calling number is 6001 every Monday and Tuesday.
● 09:00-10:00 every day from 2013-01-01 to 2014-12-31.
On the PBX, set a service prefix to *+Call attribute of the service prefix+*. For
example, set the prefix used to enable an SCR number to *49*.
# Configure the service right and judgment group.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] pbxuser 6000
[Huawei-voice-pbxuser-6000] service-right rcs enable
[Huawei-voice-pbxuser-6000] service rcs judgegrp 1 condition caller-telno 6001 time-repeat weekly
mon tue active enable
[Huawei-voice-pbxuser-6000] service rcs judgegrp 2 condition time-period from 2013-01-01 to
2014-12-31 time-repeat daily 09:00:00 10:00:00 active enable
[Huawei-voice-pbxuser-6000] quit
# Configure a service prefix, for example, *49* for enabling an SCR number.
[Huawei-voice] callprefix *49*
[Huawei-voice-callprefix-*49*] prefix *49*
[Huawei-voice-callprefix-*49*] call-type category new-supplementary-management attribute 49
[Huawei-voice-callprefix-*49*] digit-length 4 32
[Huawei-voice-callprefix-*49*] save
NOTE
If the system prompts an error when you use the service prefixes, check whether the
registration information is correct, for example, the format and prefix length. In addition,
check whether a conflict occurs in the service.
User A can enable the judgment group conditions in the following ways:
● Adding an SCR number to a judgment group: User A picks up the phone and
dials *49*+2-digit group ID+Rejected user number#. For example, if user A
dials *49*0128971799#, rejected number 28971799 is added to judgment
group 1.
● Adding an SCR time period to a judgment group: User A picks up the phone
and dials *51*+2-digit group ID+Rejected time period#. For example, if user A
dials *51*0208301030#, rejected time period 08:30-10:30 everyday is added to
judgment group 2.
● Adding SCR days to a judgment group: User A picks up the phone and dials
*53*+2-digit group ID+Rejected days in a week#. The value for rejected days
in a week is a 7-digit binary number, with the first digit being Monday and
last digit being Sunday. For example, if user A dials *53*030111110#, rejected
days Tuesday to Saturday are added to judgment group 3.
NOTE
● A judgment group can contain one condition, or a combination of number and time or
number and day.
● Time and day are mutually exclusive. If the time and day conditions are both enabled,
the condition that is enabled later takes effect.
User A can disable the judgment group conditions in the following ways:
● Disabling the number condition from a judgment group: User A picks up the
phone and dials *50*+2-digit group ID#, for example, *50*01#.
● Disabling the time condition from a judgment group: User A picks up the
phone and dials *52*+2-digit group ID#, for example, *52*02#.
● Disabling the day condition from a judgment group: User A picks up the
phone and dials *54*+2-digit group ID#, for example, *54*03#.
User A can enable one or more judgment groups in the following ways:
● Enabling a judgment group: User A picks up the phone and dials *55*+2-digit
group ID#, for example, *55*01#.
● Enabling all judgment groups: User A picks up the phone and dials *55*#.
User A can disable one or more judgment groups in the following ways:
● Disabling a judgment group: User A picks up the phone and dials *56*+2-digit
group ID#, for example, *56*01#.
● Disabling all judgment groups: User A picks up the phone and dials *56*#.
User A can verify a judgment group or delete one or more judgment groups in the
following ways:
● Verifying a judgment group: User A picks up the phone and dials *57*+2-digit
group ID#, for example, *57*03#. If the judgment group is enabled, an
announcement is played, indicating that the judgment group is enabled.
Otherwise, an announcement is displayed, indicating a failure to enable the
judgment group.
● Deleting a judgment group: User A picks up the phone and dials *58*+2-digit
group ID#, for example, *58*03#.
● Deleting all judgment groups: User A picks up the phone and dials *58*#.
5 Return to quit -
the voice
view.
Configuration Example
Enable CBB service right for number 7000. Prefix *104* is the prefix for disabling
the CBB service.
# Configure the service right.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] pbxuser 7000
[Huawei-voice-pbxuser-7000] service-right ccbs enable
[Huawei-voice-pbxuser-7000] quit
# Configure a service prefix.
[Huawei-voice] callprefix *104*
[Huawei-voice-callprefix-*104*] prefix *104*
[Huawei-voice-callprefix-*104*] call-type category new-supplementary-management attribute 104
[Huawei-voice-callprefix-*104*] digit-length 5 32
[Huawei-voice-callprefix-*104*] save
If call back is successfully performed after the CBB service is enabled, the service is
automatically disabled.
5 Return to quit -
the voice
view.
Configuration Example
Enable ACB service right for number 7000. Prefix *107* is the prefix for disabling
the ACB service.
# Configure the service right.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] pbxuser 7000
[Huawei-voice-pbxuser-7000] service-right ccnr enable
[Huawei-voice-pbxuser-7000] quit
# Configure a service prefix.
[Huawei-voice] callprefix *107*
[Huawei-voice-callprefix-*107*] prefix *107*
[Huawei-voice-callprefix-*107*] call-type category new-supplementary-management attribute 107
[Huawei-voice-callprefix-*107*] digit-length 5 32
[Huawei-voice-callprefix-*107*] save
If call back is successfully performed after the ACB service is enabled, the service is
automatically disabled.
NOTE
Configuration Procedure
Step Operation Command Description
Configuration Example
Configure the co-group pickup service rights for user 7000 and add user 7000 to
group aaa. Add user 7001 to group aaa. Set the co-group pickup prefix to *171*.
# Configure the co-group pickup service.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] pbxuser 7000
[Huawei-voice-pbxuser-7000] service-right pickup-in-group enable
[Huawei-voice-pbxuser-7000] pickupgroup-name aaa
[Huawei-voice-pbxuser-7000] quit
[Huawei-voice] pbxuser 7001
[Huawei-voice-pbxuser-7001] pickupgroup-name aaa
[Huawei-voice-pbxuser-7001] quit
# Configure a service prefix.
[Huawei-voice] callprefix *171*
[Huawei-voice-callprefix-*171*] prefix *171*
[Huawei-voice-callprefix-*171*] call-type category supplementary-service attribute 171
[Huawei-voice-callprefix-*171*] digit-length 5 32
[Huawei-voice-callprefix-*171*] save
Usage Example
This example assumes that user A has been assigned the co-group pickup service
right, user A and user B are intra-office users, user C is an external user, and the
co-group pickup prefix is *171*.
1. User C dials user B's number, and user B's phone rings.
2. User A picks up his or her own phone and dials *171*. User B's phone stops
ringing.
3. User A talks with user C.
NOTE
If multiple phones in the same pickup group are ringing, the system automatically
selects the phone that rings first for pickup.
Configuration Procedure
Step Operation Command Description
Configuration Example
Configure the designated pickup service rights for user 7000. Add users 7000 and
7001 to the designated pickup group aaa. Set the designated pickup prefix to
*172*.
# Configure the designated pickup service.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] pbxuser 7000
[Huawei-voice-pbxuser-7000] service-right pickup-special enable
[Huawei-voice-pbxuser-7000] pickupgroup-name aaa
[Huawei-voice-pbxuser-7000] quit
[Huawei-voice] pbxuser 7001
[Huawei-voice-pbxuser-7001] pickupgroup-name aaa
[Huawei-voice-pbxuser-7001] quit
# Configure a service prefix.
[Huawei-voice] callprefix *172*
[Huawei-voice-callprefix-*172*] prefix *172*
[Huawei-voice-callprefix-*172*] call-type category supplementary-service attribute 172
[Huawei-voice-callprefix-*172*] digit-length 5 32
[Huawei-voice-callprefix-*172*] save
Usage Example
This example assumes that user A has been assigned the designated pickup
service right and the designated pickup prefix is set to *172*.
1. User C dials user B's number, and user B's phone rings.
2. User A picks up his or her own phone and dials *172*TN#. User B's phone
stops ringing. The variable TN indicates user B's number.
3. User A talks with user C.
5 Enable the service scr telno telno- If the service prefixes are
secretary value configured, this step is not
service. required. Users can enable
or disable the service using
their phones.
6 Return to quit -
the voice
view.
Configuration Example
Configure the secretary service for number 7000. Prefix *72* is the prefix for
enabling the secretary service, and prefix *73*# is the prefix for disabling the
secretary service.
# Configure user 7000 as the manager and user 7001 as the secretary.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] pbxuser 7000
[Huawei-voice-pbxuser-7000] service-right scr enable
[Huawei-voice-pbxuser-7000] service scr telno 7001
[Huawei-voice-pbxuser-7000] quit
# Configure a service prefix, for example, *72* for enabling the secretary service. The procedure for
configuring other service prefixes is similar.
[Huawei-voice] callprefix *72*
[Huawei-voice-callprefix-*72*] prefix *72*
[Huawei-voice-callprefix-*72*] call-type category new-supplementary-management attribute 72
[Huawei-voice-callprefix-*72*] digit-length 4 32
[Huawei-voice-callprefix-*72*] save
If user A wants to register user B as the secretary, user A can pick the phone
and dial *72*TN#. An announcement is played, indicating that the service is
enabled.
If user B wants to register user A as the manager, user B can pick the phone
and dial *72*DN*SSSSSS#. An announcement is played, indicating that the
service is enabled.
NOTE
The variable SSSSSS is the service password, The default username and password are
available in AR Router Default Usernames and Passwords (Enterprise Network or
Carrier). If you have not obtained the access permission of the document, see Help on
the website to find out how to obtain it. You must change the service password when
you use the service for the first time. For details about how to change the service
password, see 2.14.4 Configuring the Service Password.
● Disabling the service
– Manager A picks up the phone, and dials *73*#. An announcement is
played, indicating that the service is disabled.
– Secretary B picks up the phone, and dials *73*TN#. An announcement is
played, indicating that the service is disabled. In the dialed number, TN is
manager A's number.
Context
For the service of one manager with multiple secretaries, one manager with a
maximum of six secretaries can be configured. For the service of multiple
managers with multiple secretaries, a maximum of four managers with two
secretaries can be configured. These two types of services have the same
configuration principles. This topic uses one manager with two secretaries as an
example. Figure 2-43 shows the networking.
Service Scenario
After shared lines are configured for the manager and secretaries, all the phones
with shared numbers, including the manager's and secretaries' phones, ring when
a call destined for the manager's shared number comes in. The manager and the
secretaries can learn about each other's status over a shared line. For example, the
manager can know whether a secretary is busy or idle over the shared line.
Table 2-9 Line sharing relationships between the manager and two secretaries
Manger's Shared Line EID for the Manager's EID for the Secretary's
Number Phone Number Phone Number
Only one number is required for multiple shared lines of the manager. Multiple equipment
IDs (EIDs) share this number.
Configuration Example
<Huawei> system-view
[Huawei] voice
[Huawei-voice] ssca-group pbxuser 7100
[Huawei-voice-ssca-group-7100] bind main-eid 7100 shared-eid 7200
[Huawei-voice-ssca-group-7100] bind main-eid7101 shared-eid 7300
[Huawei-voice-ssca-group-7100] config-dn 7100 private-dn 7102
[Huawei-voice-ssca-group-7100] config-dn 7200 private-dn 7201
[Huawei-voice-ssca-group-7100] config-dn 7300 private-dn 7301
[Huawei-voice-ssca-group-7100] config-dn 7100 auto-answer enable
[Huawei-voice-ssca-group-7100] config-dn 7100 alerting-silence enable
[Huawei-voice-ssca-group-7100] line-share-mode all
[Huawei-voice-ssca-group-7100] save
NOTE
● The following settings are the special settings for the advanced secretary service. For
common settings, see the Administrator Guide of the corresponding IP phone.
● The accounts to configure include the manager's and secretary's shared line numbers
and private line numbers.
● For details about the shared line settings, see Table 2-9.
Step 1 Open Internet Explorer and enter the IP address of the IP phone in the address box
to access the web configuration page of the IP phone.
Step 2 On the login page, enter the user name and password to log in to the web
configuration page of the IP phone, The default username and password are
available in AR Router Default Usernames and Passwords (Enterprise Network or
Carrier). If you have not obtained the access permission of the document, see
Help on the website to find out how to obtain it.
Step 3 Configure the manager's and secretary's accounts.
1. Choose Advanced > Account. On the Account Setting page, click Add
Account.
2. In the Add Account dialog box that is displayed, set Account.
NOTE
Ensure that the settings of Account, Password, and User Name are the same as those
configured during SIP number allocation on the PBX.
3. In the Line Match area, specify accounts for different lines.
4. Click Save.
Step 4 Configure shared lines.
The following shared lines need to be configured:
● Shared lines 7100 and 7101 for manager A's phone
● Shared line 7200 for secretary B1's phone
● Shared line 7300 for secretary B2's phone
1. Choose Advanced > Service Rights Management. On the page that is
displayed, click the tab of an account, for example, 7100.
2. Select Yes from the Authorized drop-down list box for Manager Service.
NOTE
If the configuration is performed on the secretary's phone, select Yes from the
Authorized drop-down list box for Secretary Service.
3. Click Save.
4. Choose Call Features > Secretary.
5. In the Manager Line area, select the checkbox for account 7100.
6. Click Save.
----End
Usage Example
The following uses the eSpace 7950 IP phone as an example to describe how to
use the advanced secretary service, as shown in Figure 2-44.
1 Secretary 1
answers the call
Secretary 1 or
user on-hook Secretary 1
Call end talks to the
user
Manager or 2 Secretary 1 presses the line
user on-hook Manager button of the private line to
3 Manager presses on-hook call the manager's private
the line button of line
the shared line
Manager Secretary 1
User on
talks to the talks to the
hold
user manager
– Scenario : The secretary needs to ask the manager for permission, but
the manager does not need to answer the call.
Configuration Example
Enable the hotline service right for user 7000 and set the hotline number to 6000.
Set the prefix for enabling the delay hotline service to *111* and that for disabling
the delay hotline service to *112*.
# Configure the delay hotline service.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] pbxuser 7000
[Huawei-voice-pbxuser-7000] service-right hotline enable
[Huawei-voice-pbxuser-7000] service hotline delay hotline-telno 6000
[Huawei-voice-pbxuser-7000] quit
# Configure a service prefix, for example, *111* for enabling the delay hotline service.
[Huawei-voice] callprefix *111*
[Huawei-voice-callprefix-*111*] prefix *111*
[Huawei-voice-callprefix-*111*] call-type category new-supplementary-management attribute 111
[Huawei-voice-callprefix-*111*] digit-length 5 32
[Huawei-voice-callprefix-*111*] save
User A picks up the phone and waits for 5s. A call is initiated to user B
automatically. User A hears the ringback tone, and can talk with user B when user
B picks up the phone.
6 Return to quit -
the voice
view.
Configuration Example
Enable the hotline service right for user 7000 and set the hotline number to 7001.
Set the prefix for enabling the instant hotline service to *109* and that for
disabling the instant hotline service to *110*.
# Configure the instant hotline service.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] pbxuser 7000
[Huawei-voice-pbxuser-7000] service-right hotline enable
[Huawei-voice-pbxuser-7000] service hotline immediate hotline-telno 7001
[Huawei-voice-pbxuser-7000] quit
# Configure a service prefix, for example, *109* for enabling the instant hotline service.
[Huawei-voice] callprefix *109*
[Huawei-voice-callprefix-*109*] prefix *109*
[Huawei-voice-callprefix-*109*] call-type category new-supplementary-management attribute 109
[Huawei-voice-callprefix-*109*] digit-length 5 32
[Huawei-voice-callprefix-*109*] save
Configuration Procedure
Step Operation Command Description
Configuration Example
Configure simultaneous ringing for user 7000, with the trigger type being internal
and the number for simultaneous ringing being 7001.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] pbxuser 7000
[Huawei-voice-pbxuser-7000] service-right ring-service enable
[Huawei-voice-pbxuser-7000] quit
[Huawei-voice] ring-parallel-group pbxuser 7000
[Huawei-voice-ring-parallel-group-7000] triggertype internal
[Huawei-voice-ring-parallel-group-7000] group-member telno 7001
[Huawei-voice-ring-parallel-group-7000] save
Usage Example
This example assumes that user A has been assigned the ringing service right,
numbers of users B and C are configured as the numbers for simultaneous ringing
with user A, and user D is an intra-office user.
1. User D places a call to user A. The phones of users A, B, and C ring at the
same time.
2. User A, B, or C picks up the phone and talks with user D. The phones of the
other two users stop ringing.
Configuration Procedure
Step Operation Command Description
6 Create a ring-serial-group -
sequential ringing pbxuser pbxuser name
user group and
access the group.
Configuration Example
Configure sequential ringing for user 7000, with the trigger type being internal
and the number for sequential ringing being 7001.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] pbxuser 7000
[Huawei-voice-pbxuser-7000] service-right ring-service enable
[Huawei-voice-pbxuser-7000] quit
[Huawei-voice] ring-serial-group pbxuser 7000
[Huawei-voice-ring-serial-group-7000] triggertype internal
[Huawei-voice-ring-serial-group-7000] group-member telno 7001
[Huawei-voice-ring-serial-group-7000] save
Usage Example
This example assumes that user A has been assigned the ringing service right,
numbers of users B and C are configured as the numbers for sequential ringing
with user A, and user D is another user. The interval for sequential ringing is the
default value, which is 20s.
1. User D places a call to user A.
2. The phone of user A stops ringing if user A does not pick up the phone with
20s. Then, the phone of user B rings.
3. The phone of user B stops ringing if user B does not pick up the phone with
20s. Then, the phone of user C rings.
4. User C picks up the phone and talks with user D.
NOTE
If user A picks up the phone within 20s, the phone of user B does not ring. If user B picks
up the phone within 20s, the phone of user C does not ring.
NOTE
Configuration Example
Create conference 1. Set the maximum number of participants to 3, participant
password to 132456, moderator password to 142356, conference description to
test, and conference duration to 2013-09-10 10:00:00 to 2013-09-10 12:00:00.
Configure a conference access code. Set callprefix to conference, prefix to 888,
and category to vu-service.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] conference 1
[Huawei-voice-conference-1] description test
[Huawei-voice-conference-1] regnum 3
[Huawei-voice-conference-1] attendee-password cipher Please input user password(6-16 chars):******
[Huawei-voice-conference-1] chairman-password cipher Please input user password(6-16 chars):******
[Huawei-voice-conference-1] schedule from 2013-09-10 10:00:00 to 2013-09-10 12:00:00
[Huawei-voice-conference-1] quit
[Huawei-voice] callprefix conference
[Huawei-voice-callprefix-conference] prefix 888
[Huawei-voice-callprefix-conference] call-type category vu-service vu-service-name vuconference
[Huawei-voice-callprefix-conference] digit-length 3 32
[Huawei-voice-callprefix-conference] save
You can run the display voice conference [conference-name]command to view the
conference ID.
4. Enter the password when hearing the announcement "Please input the
password followed by the pound key."
5. When you join the voice conference, press 8# to mute the terminal and press
7# to cancel the muting.
● On POTS phones of some types such as TCL37 phones, you can press button R
(hookflash action).
● When hookflash cannot be implemented by pressing button R, run the flash-hook
lower command in the voice view to adjust the lower threshold for hookflash
pressing.
● If the moderator uses an IP phone, the moderator presses the star (*) key.
Only eSpace7800 series support this operation. This section uses eSpace7850
to describe the configuration method.
NOTICE
● After the hookflash operation is performed, the moderator can perform the
following operations:
Press 1 to invite participants. Dial the number of a participant as prompted.
After the call is answered, perform the hookflash operation again.
– Press 1 to allow the user to join the conference.
– Press 2 to reject the user. The moderator returns to the conference, and
the user hears the busy tone.
3 (Optional) conference-attribute -
Configure
conference
attributes and
enter the global
conference
attribute view.
Configuration Example
Create conference 1. Set the maximum number of participants to 3, participant
password to 142356, moderator password to 132456, conference description to
test, conference duration to 2013-09-10 10:00:00 to 2013-09-10 12:00:00, user
7100 to chairman, participant 7101 to listenspeak, and participant 7102 to
listenonly. Configure a conference access code. Set callprefix to conference,
prefix to 888, and category to vu-service.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] conference 1
[Huawei-voice-conference-1] description test
[Huawei-voice-conference-1] regnum 3
[Huawei-voice-conference-1] attendee-password cipher Please input user password(6-16 chars):******
[Huawei-voice-conference-1] chairman-password cipher Please input user password(6-16 chars):******
[Huawei-voice-conference-1] schedule from 2013-09-10 10:00:00 to 2013-09-10 12:00:00
[Huawei-voice-conference-1] attendee-telno 7100 mode chairman
[Huawei-voice-conference-1] attendee-telno7101 mode listenspeak
[Huawei-voice-conference-1] attendee-telno 7102 mode listenonly
[Huawei-voice-conference-1] quit
[Huawei-voice] callprefix conference
[Huawei-voice-callprefix-conference] prefix 888
[Huawei-voice-callprefix-conference] call-type category vu-service vu-service-name vuconference
[Huawei-voice-callprefix-conference] digit-length 3 32
[Huawei-voice-callprefix-conference] save
Usage Example
When the start time of a scheduled conference arrives, the phones of all
participants ring at the same time. They can join the conference by simply picking
up the phone.
● During the conference, the moderator can invite participants and perform
other operations. For details, see Usage Example (for the Moderator).
● If a called user is busy, does not respond, or set DND, the system recalls the
user after 60 seconds.
Configuration Example
Create conference 1. Set the maximum number of participants to 3, participant
password to 142356, moderator password to 132456, conference description to
test, conference duration to 2013-09-10 10:00:00 to 2013-09-10 12:00:00, user
7100 to chairman, participant 7101 to listenspeak, and participant 7102 to
listenonly.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] conference 1
[Huawei-voice-conference-1] description test
[Huawei-voice-conference-1] regnum 3
Usage Example
After a moderator joins or is invited to a conference, the moderator can invite
other participants. For details, see Usage Example (for the Moderator).
5 Return to quit -
the voice
view.
Configuration Example
Configure the instant conference service right for user 7100. Configure a
conference access code. Set callprefix to conference, prefix to 888, category to
vu-service.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] pbxuser 7100
[Huawei-voice-pbxuser-7100] service-right instant-conference enable
[Huawei-voice-conference-1] quit
[Huawei-voice] callprefix conference
[Huawei-voice-callprefix-conference] prefix 888
[Huawei-voice-callprefix-conference] call-type category vu-service vu-service-name vuconference
[Huawei-voice-callprefix-conference] digit-length 3 32
[Huawei-voice-callprefix-conference] save
Usage Example
1. The user that has been assigned the instant conference service right dials the
conference access code.
2. The user presses 2 as prompted.
3. The user invites participants. For detailed operations, see Usage Example (for
the Moderator).
Configuration Procedure
Step Operation Command Description
Configuration Example
Enable the abbreviated dialing service right for user 7000 and set the abbreviated
number for dialing user 7001 to 11. Set the prefix for enabling the abbreviated
dialing service to *37*, prefix for disabling the abbreviated dialing service to *38*,
and abbreviated number prefix to *174*.
NOTICE
[Huawei-voice-callprefix-*174*] digit-length 5 32
[Huawei-voice-callprefix-*174*] save
Usage Example
This example assumes that user A has been assigned the abbreviated dialing
service right.
User A picks up the phone and dials *174*MN to place a call to user B.
Configuration Procedure
Step Operation Command Description
Configuration Example
Configure the ONLY service for intra-office user 7000 and bind intra-office
terminals 7001 and 7002, with priorities being 1 and 2. Configure time index 0,
and specify the time period of time index 0 as 08:00:00 to 17:30:00 from 2013-1-1
to 2014-1-1. Enable the ONLY service to take effect only within this time period.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] time 0 time-period from 2013-1-1 08:00:00 to 2014-1-1 18:00:00
[Huawei-voice] unicall-group pbxuser 7000
[Huawei-voice-unicall-group-7000] bind internal-telno 7001 priority 1 time-temple 0
[Huawei-voice-unicall-group-7000] bind internal-telno 7002 priority 2 time-temple 0
[Huawei-voice-unicall-group-7000] save
Usage Example
This example assumes that user A's office phone is used as the main terminal of
the ONLY service. User A binds lab phone 1 (priority being 1) and lab phone 2
(priority being 2). When a new call comes in while user A is busy, the idle
terminals ring. The ringing mode is append, and the ringing interval is 15s.
The service process is described as follows when user A is a called party:
1. User B places a call to user A. User A's office phone rings, and user B hears
the ringback tone.
– If user A picks up the office phone within 15s, the call is connected. If
user C places a call to user A at this moment, the idle terminals ring.
– If user A does not answer the call within 15s, lab phone 1 rings and the
office phone continues to ring. Go to 2.
2. User B hears the ringback tone. Within 30s (15s for the office phone and 15s
for lab phone 1):
– If user A picks up the phone, the call is connected. All the other terminals
stop ringing. If user C places a call to user A at this moment, the idle
terminals ring.
– If user A does not answer the call, lab phone 2 rings, and the office
phone and lab phone 1 continue to ring. Go to 3.
3. If none of the phones is picked up within 60s, user B hears the busy tone. If
user C places a call to user A at this moment, user C hears the busy tone.
Context
The three-party call service allows a user to start a three-party conversation or
talk to two parties separately. In some scenarios, only three-party conversations
are required. The pbx number-parameter command can be used to deploy a
simplified three-party call service.
● The three-party call service allows a user to start a three-party conversation
or talk to two parties separately. After calling a third party, the user who
initiates a three-party call needs to press the hook flash button and dial a
number to select a conversation mode.
● A simplified three-party call service allows a user to start a three-party
conversation, but does not allow the user to talk to two parties separately.
After calling a third party, the user who initiates a three-party call only needs
to press the hook flash button to select the conversation mode.
Configuration Procedure
Step Operation Command Description
Configuration Example
Enable the three-party call service right for user 6000.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] pbxuser 6000
[Huawei-voice-pbxuser-6000] service-right three-party enable
[Huawei-voice-pbxuser-6000] save
Usage Example
NOTE
Currently, the PBX supports only a POTS phone as the party initiating a three-party call.
There is no restriction on the type of the phones invited to a three-party call.
This example assumes that user A has been assigned the three-party call service
right and is engaged in a call with user B using a POTS phone.
For details about the usage and call status change, see Figure 2-45.
User C picks
User A presses up the phone User A presses the
4 hookflash and presses 1
the hookflash 3
Dual-communication and presses 2 Dual-communication
(user A and user B (user A and user C Three-party call
talk with each other) talk with each other)
User A presses the
hookflash and presses 3
The following describes the prompt tones played for each call state in Figure 2-45:
● State : User A hears a special dial tone, and user B hears a call hold tone.
● State : User A hears a ringback tone, and user B hears a call hold tone.
User C picks
up the phone
Three-party call
The following describes the prompt tones played for each call state in Figure 2-46:
● State : User A hears a special dial tone, and user B hears a call hold tone.
● State : User A hears a ringback tone, and user B hears a call hold tone.
Figure 2-47 shows the usage of the AR-controlled simplified three-party call
service and call status change.
User C picks
up the phone
3
Dual-communication
(user A and user C Three-party call
talk with each other) User A presses
the hookflash
The following describes the prompt tones played for each call state in Figure 2-47:
● State : User A hears a special dial tone, and user B hears a call hold tone.
● State : User A hears a ringback tone, and user B hears a call hold tone.
In a three-party call, if either user B or C hangs up, user A can continue to talk
with the party who does not hang up; if user A hangs up, users B and C hear the
busy tone.
Prerequisites
The CRBT file has been recorded and loaded. The methods of creating and loading
a CRBT file are the same as those for system announcements. For details, see
2.15.1 Creating and Switching a Phone System Announcement.
Procedure
St Operation Command Description
ep
Example
Assume that the path for storing enterprise CRBT files is sd:/crbt.wav. Configure
the CRBT crbt.wav played between 10:00:00 and 18:00:00 from 2013-10-10 to
2013-11-10 for inter-office user 1000.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] enterprise default
[Huawei-voice-enterprise-default] crbt enable
[Huawei-voice-enterprise-default] crbt-file sd:/crbt.wav status pass
[Huawei-voice-enterprise-default] service crbt condition caller-telno 1000 time-repeat daily 10:00:00
18:00:00 time-period
from 2013-10-10 to 2013-11-10 file-name sd:/crbt.wav
[Huawei-voice-enterprise-default] save
Service Verification
An enterprise has registered the CRBT service. When inter-office users call the
enterprise, the users can hear the CRBT customized by the enterprise.
Procedure
By default, PBX users have the wakeup service right. To configure the wakeup
service, perform the following steps.
Example
Assign the wakeup service right for user 7000, and enable the wakeup service with
the wakeup time being 08:00 every morning. Set the service registration prefix to
*41* and service deregistration prefix to *42*.
# Configure the service right.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] pbxuser 7000
[Huawei-voice-pbxuser-7000] service-right wake-call enable
[Huawei-voice-pbxuser-7000] service wake-call wake-time 08:00:00
[Huawei-voice-pbxuser-7000] save
# Configure the service prefix. (In this example, the service registration prefix is *41*. The methods of
configuring other service prefixes are the same.)
[Huawei-voice] callprefix *41*
[Huawei-voice-callprefix-*41*] prefix *41*
[Huawei-voice-callprefix-*41*] call-type category new-supplementary-management attribute 41
[Huawei-voice-callprefix-*41*] digit-length 4 32
[Huawei-voice-callprefix-*41*] save
● H1H2 is the two-digit value of the hour. The value ranges from 00 to 23.
● M1M2 is the two-digit value of the minute. The value ranges from 00 to 59.
● If you cannot hear the system prompts when using the prefix to register service,
check whether the service information is correct, for example, whether the format
or prefix length meet requirements and whether a conflict occurs in the registered
service.
● Deregistering the service.
When user A dials *42*#, user A is prompted that the service is successfully
deregistered.
Service Verification
User A has enabled the wakeup service.
● The phone of user A rings at the specified wakeup time. User A picks up the
phone and hears the voice prompt.
● If user A does not respond within one minute, the system rings again after
five minutes. If user A still does not respond, the system does not ring on the
same day.
Context
A PBX group refers to a group of numbers allocated under a PBX. When a user
outside of a PBX group dials the access code of the PBX group, the PBX line
selection service enables the call processing program to select and ring one or
more idle lines based on the preset line selection method and connect the call.
The PBX line selection service supports simultaneous ringing, sequential ringing,
ringing of a single phone, and cyclic ringing.
Procedure
Step Operation Command Description
Configuration Example
Configure number 7000 as the access code of a PBX group, group member 7001
whose index is 1, and group member 7002 whose index is 2. The PBX group takes
effect between 08:00:00 and 17:00:00 from 2013-11-01 to 2013-11-30. The ringing
mode is sequential ringing. The ringing interval is 12s. The line selection mode is
ascending. The call-out rights are of intra-office, local, and national toll calls.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] pbxusergroup 0 hunt
[Huawei-voice-pbxusergroup-0] access-telno 7000
[Huawei-voice-pbxusergroup-0] group-member pbxuser 7000 condition time-period from 2013-11-01 to
2013-11-30 time-repeat daily 08:00:00 17:00:00 member-index 0
[Huawei-voice-pbxusergroup-0] group-member pbxuser 7001 condition time-period from 2013-11-01 to
2013-11-30 time-repeat daily 08:00:00 17:00:00 member-index 1
[Huawei-voice-pbxusergroup-0] group-member pbxuser 7002 condition time-period from 2013-11-01 to
2013-11-30 time-repeat daily 08:00:00 17:00:00 member-index 2
[Huawei-voice-pbxusergroup-0] ring mode ring-serial
[Huawei-voice-pbxusergroup-0] ring time 12
[Huawei-voice-pbxusergroup-0] ring select increase
[Huawei-voice-pbxusergroup-0] call-right out ddd enable
[Huawei-voice-pbxusergroup-0] save
Example
Activate the service right for user 7000 and set the service registration prefix to
*75*.
<Huawei> system-view
[Huawei] voice
# Configure the service right.
[Huawei-voice] pbxuser 7000
[Huawei-voice-pbxuser-7000] service-right scc-cancel enable
[Huawei-voice-pbxuser-7000] quit
#Configure a service prefix
[Huawei-voice] callprefix *75*
[Huawei-voice-callprefix-*75*] prefix *75*
[Huawei-voice-callprefix-*75*] call-type category new-supplementary-management attribute 75
[Huawei-voice-callprefix-*75*] digit-length 4 32
[Huawei-voice-callprefix-*75*] save
Service Verification
When user A dials *75*SSSSSS#, all services are deregistered.
NOTE
Context
The PBX connects or registers with PBX1 using the SIP trunk, and the voice
mailbox service is configured on PBX1. As long as user C can directly call user B,
user C can leave a message to user B. When user C is leaving a message, PBX1
plays a message leaving announcement. PBX1 directly sends the message to user
B. The system can notify user B of the message only when the MWI function is
configured on the PBX. Figure 2-48 shows the networking.
PBX1
SIP Trunk
PBX
Prerequisites
● Intra-office users have been configured. For details, see 2.8 Configuring a
PBX User.
● SIP trunks have been configured. For details, see 2.11.2 Configuring SIP
Trunk Groups.
Configuration Example
Configure the MWI function for user 7000 and set the MWI mode to fsk-with-
ring.
# Configure the service right.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] mwi-mode fsk-with-ring
[Huawei-voice] save
Usage Example
This example assumes that user A has been assigned the MWI service right.
1. User C sends a message to user A through the SIP trunk, and PBX1 sends an
MWI notification to user A through the SIP trunk.
2. If user A uses an IP phone, the system notifies user A of the new message by
means of, for example, MWI or phone screen. If user A is a POTS phone user,
the system notifies user A of the new message by means of, for example,
MWI, voice message, or ringing.
To configure the message indicator on the SIP phone, such as an IP phone,
see the Administrator Guide of IP phone.
3. User A dials the message extraction prefix to listen to the voice messages.
NOTE
Context
The BLF service allows a user to check the conversation status (including idle, in
conversation, ringing, and offline) of another IP phone in real time. A user can use
the multi-purpose keys on an IP phone to subscribe to the conversation status of
another intra-office user. After subscription, the system will inform the subscriber
of the conversation status of the subscribed user in real time. This service allows
the subscriber to call the subscribed user when it is idle, which increases call
success rate. Additionally, the BLF service can be used with the Pickup Services.
For example, when user A subscribes to the status of user B, the conversation
status and incoming call information about user B are displayed on the IP phone
of user A, so user A can pick up the phone for user B.
As shown in Figure 2-49, the router functions as the PBX of the internal voice
network of an enterprise, and both user A and user B are intra-office SIP users.
User B makes phone calls frequently, and user A fails to call user B many times.
User A uses the multi-purpose keys on an IP phone to subscribe to the
conversation status of user B and calls user B when it is idle.
PBX
Subscriber Subscriber
User A User B User C
3. Subscription request
4. Subscription result
1. User A and user B (SIP users) send registration requests to the SIP server of
the PBX.
2. User A and user B register with the SIP server successfully.
3. User A sends a request to the PBX to subscribe to the conversation status of
user B.
4. The PBX checks the status of user B. If the status meets the subscription
requirement, the PBX sends a message to user A, indicating that the
After user A subscribes to the conversation status of user B, the PBX displays user
B status on the IP phone of user A. For example, when user C calls user B and the
status of user B changes, the PBX informs user A of the conversation status of user
B, as shown in Figure 2-51.
After the BLF service is enabled successfully, user A can obtain the conversation
status of user B based on the multi-purpose keys on the IP phone. Description of
multi-purpose keys on the IP phone:
● Steady green: The subscribed user is idle, including pickup and dialing.
● Steady red: The subscribed user is in conversation.
● Blinking red: The subscribed user is ringing.
● Off: The subscribed user is offline.
Configuration Example
Change the service password to 012345 for user 7000 and configure the call prefix
*121* as the service password call prefix.
<Huawei> system-view
[Huawei] voice
[huawei-voice] pbxuser 7000
[Huawei-voice-pbxuser-7000] pbxuser 7000
[Huawei-voice-pbxuser-7000] telno service-password cipher
Please input user password(6-6 chars):*******
[Huawei-voice-pbxuser-7000] quit
[Huawei-voice] callprefix *121*
[Huawei-voice-callprefix-*121*] prefix *121*
[Huawei-voice-callprefix-*121*] call-type category new-supplementary-management attribute 121
[Huawei-voice-callprefix-*121*] digit-length 5 32
[Huawei-voice-callprefix-*121*] save
NOTE
● SSSSSS indicates the six-digit old password. NNNNNN indicates the six-digit new
password. The default username and password are available in AR Router Default
Usernames and Passwords (Enterprise Network or Carrier). If you have not obtained
the access permission of the document, see Help on the website to find out how to
obtain it.
● Both the old password and new password must contain six digits.
NOTE
The methods of creating, saving, and loading RBT are the same as those for system
announcements. However, the RBT file can be loaded only after it is saved in .wav format.
Context
A phone system announcement is automatically played by the system.
You can load the announcement file package to switch the announcement to the
required language. If the announcement of the required language is unavailable,
record the phone system announcement and load it.
announcement with the same name. Name the announcement file according
to Voice List.
It is recommended that you use third-party software (not described in this
document), for example, Audacity, to record custom announcements.
NOTE
When creating the digit collection announcement for the automatic switchboard service, you are
advised to add the description "followed by the pound key." For example, you are advised to
record "Please dial the extension number" as "Please dial the extension number followed by the
pound key."
Using FTP to transfer files may bring some security risks because FTP is an insecure
protocol. It is recommended that you use the FTPS protocol.
Example
Load the announcement file voice_uc_english_v11.res and specify the
announcement file for the next startup.
<Huawei> ftp 172.16.15.201
[huawei-ftp] get voice_uc_english_v11.res
[huawei-ftp] quit
<Huawei> load voice-package voice_uc_english_v11.res
<Huawei> startup voice-package voice_uc_english_v11.res
<Huawei> save
Verification
Action Command Expected Result
Context
When trunk resources are all occupied, high-level users can use reserved trunk
resources to call inter-office users. When there is no reserved trunk resource, users
with super rights can preempt trunk resources occupied by other users to call
inter-office users.
The user rights are as follows:
● Default right: default
● Common right: normal
● Advanced right: advanced
● Super right: super
User rights of default, normal, advanced, and super are in ascending order of
priority.
Prerequisites
A PBX user has been configured. For details on how to configure a PBX user, see
2.8 Configuring a PBX User.
Procedure
Step Action Command Description
5 Return to quit -
the voice
view.
Example
Configure the advanced right for user 7000 and 10 reserved trunk resources for
users with the advanced right.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] pbxuser 7000
[Huawei-voice-pbxuser-7000] priority advanced
[Huawei-voice-pbxuser-7000] quit
[Huawei-voice] trunk-group 1
[Huawei-voice-trunkgroup-1] reserved-circuit number 10 priority advanced
[Huawei-voice-trunkgroup-1] save
Verification
Action Command Expected Result
Verify the trunk group display voice trunk- The parameter values in
configuration. group the command output are
consistent with the
settings.
Context
Important calls to user A cannot be connected when user A is engaged in a call. In
this case, preemption can be configured for user A. For example, user C has a
higher priority than user B. If user C calls user A during a conversation between
user A and user B, user A ends the current conversation immediately and
establishes a call with user C.
Prerequisite
A PBX user has been configured. For details on how to configure a PBX user, see
2.8 Configuring a PBX User.
Procedure
Step Action Command Description
Example
# Set the name of the call priority group associated with the SIP user 7001 to
group1, and the priority of the user 28987000 to 0.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] priority-group group1
[Huawei-voice-priority-group-group1] telno 28987000 priority 0
[Huawei-voice-priority-group-group1] quit
[Huawei-voice] pbxuser 7001 sipue
[Huawei-voice-pbxuser-7001] sipue 7001
[Huawei-voice-pbxuser-7001] telno 7001
[Huawei-voice-pbxuser-7001] priority-group group1
[Huawei-voice-pbxuser-7001] save
Verification
Action Command Expected Result
Context
Call rights are classified as follows:
● inter: intra-office call
● local: local call
● ddd: national toll call
● idd: international toll call
● all: all calls
Call limiting over a trunk prevents incoming calls from being forwarded over a
trunk. As shown in Figure 2-52, user A on the PBX is not allowed to make a
national or international toll call to user E.
User A User E
AT0
trunk
SIP IP
PBX trunk
IP PBX
NOTE
Call limiting over a trunk applies to the scenario where incoming calls are forwarded over a
trunk.
Prerequisites
An AT0 trunk group and SIP IP trunk have been configured. For detailed
configuration, see 2.11 Configuring Trunk Groups.
Procedure
Ste Action Command Description
p
Example
When you configure the trunk outgoing call right, call fraud should be prevented.
You are advised to set the outgoing call right of AT0 trunk group 2 to inter and
set the outgoing call right of trunk group 1 of SIP IP to local. The default value of
Outgoing right is inter&local.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] trunk-group 2
[Huawei-voice-trunkgroup-2] outgoing-right inter enable
[Huawei-voice-trunkgroup-2] quit
[Huawei-voice] trunk-group 1
[Huawei-voice-trunkgroup-1] outgoing-right local enable
[Huawei-voice-trunkgroup-1] save
Verification
Action Command Expected Result
Context
Basic user call rights include Inter (intra-office call), Local (local call), DDD
(national toll call), and IDD (international toll call). As enterprises require more
and more call barring modes, the four basic call rights cannot meet enterprises'
service requirements. To extend users' call rights, the PBX provides new 32-level
rights (identified as c1 to c32).
For calls initiated by intra-office users, the PBX matches user rights with call prefix
rights to perform call barring control. Calls can be connected only when users
have the basic call rights and 32-level extended rights of call prefixes. Figure 2-53
shows the detailed call barring process.
Figure 2-53 32-level right call barring process for calls initiated by intra-office
users
No
Does the user have the basic
call right of the call prefix?
Yes
No
Does the user have the 32-level
extended right of the call prefix?
Yes
For trunk-based incoming calls, the PBX first analyzes called numbers. If calling
number discrimination configurations are detected, the PBX matches calling
number discrimination rights with call prefix rights to perform call barring control;
otherwise, the PBX matches trunk group rights with call prefix rights to perform
call barring control. Calls can be connected only when calling number
discrimination configurations or trunk groups have the basic call rights and 32-
level extended rights of call prefixes. Figure 2-54 shows the detailed call barring
process.
Figure 2-54 32-level right call barring process for trunk-based incoming calls
Yes No
Is calling number
discrimination configured?
Yes Yes
Yes Yes
Prerequisites
● Prefixes have been configured. For details, see 2.9 Configuring a Call Prefix.
● For barring of calls initiated by intra-office users, users have been configured.
For details, see 2.8 Configuring a PBX User.
● For barring of trunk-based incoming calls, calling number discrimination has
been configured or trunk groups have been configured. For details, see 2.10.1
Calling Number Discrimination or 2.11 Configuring Trunk Groups.
NOTE
Rights configured using the outgoing-right command in the calling number discrimination
view apply only to barring of trunk-based outgoing calls, and do not apply to barring of
trunk-based incoming calls.
Configuration Example
PBX1 has users 7xxx and 8xxx, which correspond to intra-office prefixes 7 and 8
respectively. PBX1 connects to PBX2 through trunk group sipip01, and the
corresponding outgoing prefix is 5. You can configure 32-level extended rights on
PBX1 to implement the following:
● On PBX1, only users 7xxx can make calls to users on PBX2.
● Trunk-based incoming calls from PBX2 can be connected only to users 7xxx on
PBX1.
● On PBX1, users 7xxx and 8xxx can make calls to each other.
Figure 2-55 shows the configuration scenario.
Trunk group
PBX1 (sipip01)
PBX2
<Huawei> system-view
[Huawei] voice
# Configure 32-level rights for a call prefix.
[Huawei-voice] callprefix 5
[Huawei-voice-callprefix-5] custom-right c1
[Huawei-voice-callprefix-5] quit
[Huawei-voice] callprefix 7
[Huawei-voice-callprefix-7] custom-right c2
[Huawei-voice-callprefix-7] quit
[Huawei-voice] callprefix 8
[Huawei-voice-callprefix-8] custom-right c3
[Huawei-voice-callprefix-8] quit
# Configure 32-level rights for users. (Users 7000 and 8000 are used as examples.)
[Huawei-voice] pbxuser 7000
[Huawei-voice-pbxuser-7000] custom-right c1 c2 c3
[Huawei-voice-pbxuser-7000] quit
[Huawei-voice] pbxuser 8000
[Huawei-voice-pbxuser-8000] custom-right c2 c3
[Huawei-voice-pbxuser-8000] quit
# Configure 32-level rights for a trunk group.
[Huawei-voice] trunk-group sipip01
[Huawei-voice-trunkgroup-sipip01] custom-right c2
[Huawei-voice-trunkgroup-sipip01] quit
[Huawei-voice] save
Verification
Verify calls based on the preceding configuration example. Table 2-10 describes
the expected result.
User 7000 on √ √ √
PBX1
User 8000 on √ √ x
PBX1
User 5000 on √ x -
PBX2
√ indicates that the call is connected; x indicates that the call is rejected.
Context
CPU overload flow control allows the PBX to monitor the CPU usage and limit
calls according to upper and lower thresholds for CPU overload flow control,
preventing device breakdown caused by high CPU overload. Table 2-11 describes
CPU overload levels.
1 30% 95%
2 100% 99%
NOTE
Procedure
Step Action Command
Example
Set the thresholds to 70% and 90% for CPU overload levels 1 and 2 respectively.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] cpu-flowcontrol low-level 70 high-level 90
[Huawei-voice] save
Verification
Action Command Expected Result
Context
If voice flows are transmitted over an IP network, bandwidth for voice services is
limited. For example, when The device is used as a media proxy agent for SIP and
POTS users, calls of these users are transmitted over an IP network. The more calls
are transmitted, the more bandwidth is consumed. The static bandwidth control
function limits the bandwidth for voice calls and rejects new calls when the
bandwidth limit is exceeded. Figure 2-56 shows the networking.
PBX IP PBX
Call admission control (CAC) limits new voice calls to ensure quality of existing
calls when the uplink bandwidth of the device is insufficient.
The traditional phone system is a circuit switching system where voice calls
exclusively occupy lines. The number of voice calls depends on the number of
trunk lines on a TDM PBX, as shown in Figure 2-57. User A and user B exclusively
occupy trunk lines of the TDM PBX, so the TDM PBX rejects calls initiated by user
C. User C hears the busy tone.
Physical Trunks
Third call
rejected
TDM
PBX STOP
VoIP runs over the IP network and the VoIP network is a packet switched network
(PSN) where calls do not exclusively occupy lines. The limited link bandwidth of
the IP network is used to transmit data of other applications in addition to voice
data. Calls on the VoIP network are limited by the IP network bandwidth, and too
many calls may exhaust bandwidth. If new calls are connected, voice quality is
affected. CAC allows the device to reject new voice calls when the number of
existing voice calls reaches the maximum value. This ensures voice quality. As
shown in Figure 2-58, the IP link allows a maximum of two-channel voice calls. If
one-channel voice calls are connected, voice call quality on this channel is
affected. After CAC is enabled, the device rejects voice calls of user C because user
A and user B have occupied two-channel voice calls. In this manner, voice call
quality of user A and user B is ensured.
IP IP
network network
After CAC is
Before CAC is enabled, voice calls
IP WAN link enabled, voice over the third
Bandwidth meets calls on the third channel are
requirements for channel can be rejected to ensure
high-quality voice set up. The voice quality of voice
communication quality is affected calls over the other
over two channels. due to insufficient two channels.
bandwidth.
Router Router
STOP
In different codec modes, the size of each voice data packet is as follows:
● G.711U: 64 K
● G.711A: 64 K
● G.729: 8 K
● G.723_1: 7 K
● G.723_Low: 6 K
● G.726_16K: 16 K
● G.726_24K: 24 K
● G.726_32K: 32 K
● G.726_40K: 40 K
In different codec modes, the packetization interval is as follows:
● G.711U: 5 ms, 10 ms, 20 ms, 30 ms, 40 ms, 50 ms, 60 ms
● G.711A: 5 ms, 10 ms, 20 ms, 30 ms, 40 ms, 50 ms, 60 ms
● G.729: 10 ms, 20 ms, 30 ms, 40 ms, 50 ms, 60 ms
● G.723_1: 30 ms, 60 ms
● G.723_Low: 30 ms, 60 ms
● G.726_16K: 10 ms, 20 ms, 30 ms, 40 ms, 50 ms, 60 ms
● G.726_24K: 10 ms, 20 ms, 30 ms, 40 ms, 50 ms, 60 ms
● G.726_32K: 10 ms, 20 ms, 30 ms, 40 ms, 50 ms, 60 ms
● G.726_40K: 10 ms, 20 ms, 30 ms, 40 ms, 50 ms, 60 ms
When G.711A is used, the bandwidth occupied by voice calls in each channel is as
follows:
● INT [(624/20) + 64] = 95 kbit/s
If the number of concurrent calls is 100, the maximum CAC bandwidth should be
9500 kbit/s (95 kbit/s x 100).
NOTE
CAC bandwidth occupied by voice calls is relevant to DSP resources. If a call occupies one
DSP resource, the bandwidth occupied by the call is the required bandwidth. If a call
occupies two DSP resources, the required bandwidth is 2 multiplied by the bandwidth
calculated through the algorithm. If signaling media proxy is used, communication between
the local user and signaling media proxy occupies one DSP resource, and communication
between the signaling media proxy and the remote user occupies one DSP resource, the call
between the local user and remote user occupies two DSP resources.
NOTE
● If the remaining bandwidth is larger than 0 but smaller than the bandwidth
required by the call, the device still reserves bandwidth for the call. The reserved
bandwidth is the remaining bandwidth. For example, a voice call occupies
bandwidth of 95 kbit/s and the remaining bandwidth is 90 kbit/s. The device does
not reject the call, and still reserves the bandwidth for the call.
● During call negotiation, set the reserved bandwidth to be larger than the
bandwidth required by a call to ensure voice quality of the call to be set up.
3. After call negotiation is complete, the call is set up and the reserved
bandwidth is released. Then the bandwidth occupied by the call is used.
As shown in Figure 2-59, the router uses G.711 and packetization interval of 20
ms. During call negotiation, the router reserved bandwidth of 126 kbit/s for user
B. After a call is set up for user B, the call occupies actual bandwidth of 95 kbit/s.
Figure 2-59 Bandwidth usage during call negotiation and call setup
Prerequisites
● A PBX user has been configured. For details about the configuration, see 2.8
Configuring a PBX User.
● A trunk group has been created and its connection parameters have been
configured. For details about the configuration, see 2.11 Configuring Trunk
Groups.
Procedure
St Action Command Description
ep
Example
Enable static bandwidth control for the trunk group sipip and set the maximum
uplink media bandwidth to 25600 kbit/s.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] trunk-group sipip
[Huawei-voice-trunkgroup-sipip] media-bandwidth-control enable
[Huawei-voice-trunkgroup-sipip] media-bandwidth-control max-bandwidth 256
[Huawei-voice-trunkgroup-sipip] save
Verification
Action Command Expected Result
Procedure
The PBX enforces the following call limiting policies when the CDR pool usage
reaches 90%:
● The PBX does not limit calls, and overwrites old CDRs with new CDRs.
● The PBX does not limit calls, and does not generate CDR for new calls. The
old CDRs are kept.
● The PBX does not allow new calls.
By default, the PBX does not limit calls, and overwrites old CDRs with new CDRs.
To cancel call limiting and keep old CDRs, perform the configuration on the CDR
server. For low to configure call limiting, refer to the call limiting policy
configuration performed when the CDR pool is full.
Example
Configure the PBX to limit local calls of the called party when the CDR pool is full.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] cdr-server
[Huawei-voice-cdr-server] billpoolfull calleelimit enable local enable
[Huawei-voice-cdr-server] save
Verification
Action Command Expected Result
Verify the call limiting display voice cdr-server The parameter values in
configuration when the the command output are
CDR pool is full. consistent with the
settings.
Context
Based on the user dialing habit (9+number of an external user), prefix 9 is
configured for prefix reanalysis. If prefix 9 has the local call right, a user with the
local call right can make a toll call by dialing 9 and a toll call number if the
reanalysis prefix is not configured. After the reanalysis prefix is configured, a user
can make toll calls only when the user has the toll call right. If prefix 9 is
configured for playing the two-stage dial tone, a user can hear the two-stage dial
tone when dialing the prefix. The principle is as follows: If POTS user 77771000
wants to call local number 88881000, the POTS user dials 9 and when hearing the
two-stage dial tone, dials 88881000. Prefix 9 is deleted for the called number
change, and then number reanalysis is performed.
NOTE
The system can play the two-stage dial tone only for POTS users.
Prerequisites
The local call right has been configured for prefix 9 and the local outgoing prefix,
the ddd call right has been configured for prefix 0, and the idd call right has been
configured for prefix 00. For details, see 2.9 Configuring a Call Prefix.
Procedure
Ste Action Command Description
p
Example
Bind prefix 9 to pre-routing number change plan 0, configure prefix 9 as the
outgoing prefix, and enable the system to delete prefix 9 for prefix reanalysis.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] beforeroute-change 0
[Huawei-voice-beforeroute-change-0] callprefix 9
[Huawei-voice-beforeroute-change-0] caller no-change
[Huawei-voice-beforeroute-change-0] called del 1 1
[Huawei-voice-beforeroute-change-0] call re-analyse enable
[Huawei-voice-beforeroute-change-0] call dual-dial-tone-flag enable
[Huawei-voice-beforeroute-change-0] save
Verification
Action Command Expected Result
Context
When the same remote IP address is configured for multiple SIP trunks including
SIP IP trunks, SIP AT0 trunks, and SIP PRA trunks, call limiting can be configured
based on the remote IP address. Figure 2-60 shows the networking.
IP:192.168.1.1
SIP PRA Port:5061
IP:192.168.1.1
Port:5063
Analog IP
phone phone
The PBX connects to remote devices through SIP PRA trunks, SIP AT0 trunks, and
SIP IP trunks, the remote IP address of the trunks is 192.168.1.1, and the call
limiting policy is configured on the PBX. The policy defines a maximum number of
200 online users based on the destination IP address of 192.168.1.1.
When more than 200 online calls are initiated by the PBX to remote devices or
remote devices to the PBX through trunks, the PBX cannot initiate calls through
the trunks. Other devices with the IP address of 192.168.1.1 cannot initiate calls to
the PBX.
The call liming policy is valid for only SIP trunks. If route re-selection upon a
failure is enabled, calls can be still initiated through H.323 and BRA trunks.
Procedure
Ste Operation Command Description
p
Example
Set the maximum number of calls over SIP trunks based on the remote IP address
of 192.168.1.1 to 200.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] cac destination-ip 192.168.1.1 max-call-number 200
[Huawei-voice] save
Verification
Operation Command Expected Result
Context
Re-routing is configured in the following scenarios:
● Routing failure
The cause is that the trunk link is faulty.
● Call failure
The possible cause is that the SIP trunk link is faulty or the remote device is
faulty. The remote device is faulty when the remote device cannot respond to
a call request initiated by the PBX. The PBX determines whether the SIP trunk
link is normal according to the heartbeat. After the SIP trunk configuration is
complete, run the reset command to activate the trunk link. After the trunk
link is activated, the heartbeat is enabled.
As shown in Figure 2-61, the PBX connects to carrier A through the R2 trunk, and
the callroute is 1; the PBX connects to carrier B through the SIP trunk, the
callroute is 2, and the inter-office call prefix is 1. Re-routing is configured upon a
route selection failure. Normally, outgoing calls on the PBX are made through the
R2 trunk. When calls fail to be routed to carrier A over the R2 trunk, calls are
routed over the SIP trunk.
Prerequisites
● A trunk group has been configured. For details on how to configure a trunk
group, see 2.11 Configuring Trunk Groups.
● Call routes 1 and 2 have been configured. For details on how to configure a
call route, see 2.12 Configuring a Call Route.
Configuring Re-routing
Step Action Command
Example
Configure callroute 1 to carrier A and set the call prefix to 2, configure callroute 2
to carrier B, and configure the link of callroute 2 as the backup of call route 1
when route selection fails. Specify re-routing upon a routing failure as the re-
routing type.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] callroute 1
[Huawei-voice] callroute 2
[Huawei-voice] trunk-group 1
[Huawei-voice-trunkgroup-1] callroute 1
[Huawei-voice-trunkgroup-1] quit
[Huawei-voice] reroute-deal 1
[Huawei-voice-reroute-deal-1] re-callroute 2
[Huawei-voice-reroute-deal-1] failed-type route-failed
[Huawei-voice-reroute-deal-1] callroute 1
[Huawei-voice-reroute-deal-1] quit
[Huawei-voice] callprefix 1
[Huawei-voice-callprefix-1] prefix 1
[Huawei-voice-callprefix-1] callroute 1
[Huawei-voice-callprefix-1] save
Verification
Action Command Expected Result
Context
To select routes for outgoing calls based on charge rates, configure intelligent
routing based on charge rates. For example, the charge rates for outgoing calls
over the R2 trunk and SIP trunk are 1 and 2 respectively. As shown in Figure 2-62,
the PBX connects to the carrier network through the R2 trunk, and the trunk
group number is 1; the PBX connects to the carrier network through the SIP trunk,
the trunk group number is 2, and the inter-office call prefix is 1.
trunkgroup 2 SIP
Prerequisites
● A trunk group has been created and its connection parameters have been
configured. For details about the configuration, see 2.11 Configuring Trunk
Groups.
● A call prefix has been configured. For details on how to configure a call prefix,
see 2.9 Configuring a Call Prefix.
5 Return to quit -
the voice
view.
Example
Configure a call route plan based on charge routes. The charge rates of call routes
1 and 2 are 1 and 2 respectively. Call route 1 corresponds to trunk group 1 and
call route 2 corresponds to trunk group 2.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] callroute 1
[Huawei-voice-callroute-1] selecttype chargebase
[Huawei-voice-callroute-1] quit
[Huawei-voice] trunk-group 1
[Huawei-voice-trunkgroup-1] callroute 1 charge 1
[Huawei-voice-trunkgroup-1] quit
[Huawei-voice] trunk-group 2
[Huawei-voice-trunkgroup-2] callroute 1 charge 2
[Huawei-voice-trunkgroup-2] quit
[Huawei-voice] callprefix 1
[Huawei-voice-callprefix-1] prefix 1
[Huawei-voice-callprefix-1] callroute 1
[Huawei-voice-callprefix-1] save
Verification
Action Command Expected Result
Callprefix :2
Enterprise : default
Dn-set : DefaultDialPlan
Prefix :1
Call category :
Call attribute :
Minimum length :4
Maximum length :8
Ring delay(s) :0
Long cli switch : disable
Caller map switch : disable
Called map switch : disable
Call route name : 2
Context
To select routes for outgoing calls based on load balancing, configure intelligent
routing based on load balancing. As shown in Figure 2-63, the PBX connects to
the carrier network through the R2 trunk, and the trunk group number is 1; the
PBX connects to the carrier network through the SIP trunk, the trunk group
number is 2, and the inter-office call prefix is 1.
trunkgroup 2 SIP
Prerequisites
● A trunk group has been created and its connection parameters have been
configured. For details about the configuration, see 2.11 Configuring Trunk
Groups.
● A call prefix has been configured. For details on how to configure a call prefix,
see 2.9 Configuring a Call Prefix.
4 Configure selecttype call route select type value Set the route
intelligent selection type
routing. to loadshare.
5 Return to quit -
the voice
view.
8 Return to quit -
the voice
view.
Example
Configure a call route plan based on load balancing and set the inter-office call
prefix to 0. In the call route plan, there are routes with trunk groups 1 and 2.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] callroute 1
[Huawei-voice-callroute-1] selecttype loadshare
[Huawei-voice-callroute-1] quit
[Huawei-voice] trunk-group 1
[Huawei-voice-trunkgroup-1] callroute 1
[Huawei-voice-trunkgroup-1] quit
[Huawei-voice] trunk-group 2
[Huawei-voice-trunkgroup-2] callroute 1
[Huawei-voice-trunkgroup-2] quit
[Huawei-voice] callprefix 0
[Huawei-voice-callprefix-0] prefix 0
[Huawei-voice-callprefix-0] callroute 1
[Huawei-voice-callprefix-0] save
Verification
Action Command Expected Result
Context
To enable the PBX to forward outgoing calls based on the call percentage,
configure intelligent routing based on the call percentage. For example, 30%
outgoing calls are forwarded over an R2 trunk, and 70% outgoing calls are
forwarded over a SIP trunk. As shown in Figure 2-64, the PBX connects to the
carrier network through the R2 trunk and call route 1; the PBX connects to the
carrier network through the SIP trunk and call route 2, and the inter-office call
prefix is 1.
trunkgroup 2 SIP
Prerequisites
● A trunk group has been created and its connection parameters have been
configured. For details about the configuration, see 2.11 Configuring Trunk
Groups.
● A call prefix has been configured. For details on how to configure a call prefix,
see 2.9 Configuring a Call Prefix.
5 Return to quit -
the voice
view.
8 Return to quit -
the voice
view.
Example
Configure the PBX to forward 30% calls through trunk group 1 and 70% calls
through trunk group 2, and set the inter-office call prefix to 1.
<Huawei> system-view
[Huawei] voice
[huawei-voice] callroute 1
[Huawei-voice-callroute-1] selecttype perloadshare
[Huawei-voice-callroute-1] quit
[Huawei-voice] trunk-group 1
[Huawei-voice-trunkgroup-1] callroute 1 percent 30
[Huawei-voice-trunkgroup-1] quit
[Huawei-voice] trunk-group 2
[Huawei-voice-trunkgroup-2] callroute 1 percent 70
[Huawei-voice-trunkgroup-2] quit
[Huawei-voice] callprefix 1
[Huawei-voice-callprefix-1] prefix 1
[Huawei-voice-callprefix-1] callroute 1
[Huawei-voice-callprefix-1] save
Verification
Action Command Expected Result
Callprefix :2
Enterprise : default
Dn-set : DefaultDialPlan
Prefix :1
Call category :
Call attribute :
Minimum length : 4
Maximum length : 8
Ring delay(s) :0
Long cli switch : disable
Caller map switch : disable
Called map switch : disable
Call route name : 2
Context
When a call route plan based on user rights is configured, the PBX preferentially
selects a trunk group corresponding to a user right to forward outgoing calls. If
the trunk group has no idle circuit, the PBX selects a trunk group corresponding to
lower user right. If trunk groups correspond to the same user right, the PBX
searches for routes in ascending order of trunk group numbers. After trunk groups
with good performance are configured for advanced user right, users with
advanced user right can enjoy good call quality, while users with lower user rights
cannot use the trunk groups.
The user rights are as follows:
● Default right: default
● Common right: normal
● Advanced right: advanced
● Super right: super
User rights of default, normal, advanced, and super are in ascending order of
priority.
To forward outgoing calls based on user rights, configure intelligent routing based
on user rights. For example, outgoing calls from users with default right and
common right are forwarded over an R2 trunk and a SIP trunk respectively. As
shown in Figure 2-65, the PBX connects to the carrier network through the R2
trunk, and the trunk group number is 1; the PBX connects to the carrier network
through the SIP trunk, the trunk group number is 2, and the inter-office call prefix
is 1.
trunkgroup 2 SIP
Prerequisites
● A trunk group has been created and its connection parameters have been
configured. For details about the configuration, see Configuring a Trunk
Group.
● A call prefix has been configured. For details on how to configure a call prefix,
see 2.9 Configuring a Call Prefix.
● A PBX user has been configured. For details on how to configure a PBX user,
see 2.8 Configuring a PBX User.
5 Return to quit -
the voice
view.
8 Return to quit -
the voice
view.
11 Return to quit -
the voice
view.
Example
Configure default right for user 7000 and common right for user 7001, configure
routes for trunk groups 1 and 2 based on user rights, and configure the PBX to
forward outgoing calls from users with default right through trunk group 1 and
outgoing calls from users with common right and higher rights through trunk
group 2.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] pbxuser 7000
[Huawei-voice-pbxuser-7000] priority default
[Huawei-voice-pbxuser-7000] quit
[Huawei-voice] pbxuser 7001
[Huawei-voice-pbxuser-7001] priority normal
[Huawei-voice-pbxuser-7001] quit
[Huawei-voice] callroute 1
[Huawei-voice-callroute-1] selecttype userpriorlevel
[Huawei-voice-callroute-1] quit
[Huawei-voice] trunk-group 1
[Huawei-voice-trunkgroup-1] callroute 1 userpriorlevel default
[Huawei-voice-trunkgroup-1] quit
[Huawei-voice] trunk-group 2
[Huawei-voice-trunkgroup-2] callroute 1 userpriorlevel normal
[Huawei-voice-trunkgroup-2] quit
[Huawei-voice] callprefix 1
[Huawei-voice-callprefix-1] prefix 1
[Huawei-voice-callprefix-1] callroute 1
[Huawei-voice-callprefix-1] save
Verification
Action Command Expected Result
Callprefix :2
Enterprise : default
Dn-set : DefaultDialPlan
Prefix :1
Call category :
Call attribute :
Minimum length : 4
Maximum length : 8
Ring delay(s) :0
Long cli switch : disable
Caller map switch : disable
Called map switch : disable
Call route name : 2
Context
To select routes for outgoing calls based on link balancing, configure intelligent
routing based on link balancing. As shown in Figure 2-66, the PBX connects to the
carrier network through the R2 trunk, and the trunk group number is 1; the PBX
connects to the carrier network through the SIP trunk, the trunk group number is
2, and the inter-office call prefix is 1.
trunkgroup 2 SIP
Prerequisites
● A trunk group has been created and its connection parameters have been
configured. For details about the configuration, see 2.11 Configuring Trunk
Groups.
● A call prefix has been configured. For details on how to configure a call prefix,
see 2.9 Configuring a Call Prefix.
4 Configure selecttype call route select type value Set the route
intelligent selection type
routing. to loadbalance.
5 Return to quit -
the voice
view.
8 Return to quit -
the voice
view.
Example
Configure a call route plan based on link balancing. Set trunkgroup to 1 and
outgoing prefix to 1.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] callroute 1
[Huawei-voice-callroute-1] selecttype loadbalance
[Huawei-voice-callroute-1] quit
[Huawei-voice] trunk-group 1
[Huawei-voice-trunkgroup-1] callroute 1
[Huawei-voice-trunkgroup-1] quit
[Huawei-voice] trunk-group 2
[Huawei-voice-trunkgroup-2] callroute 1
[Huawei-voice-trunkgroup-2] quit
[Huawei-voice] callprefix 1
[Huawei-voice-callprefix-1] callroute 1
[Huawei-voice-callprefix-1] save
Verification
Action Command Expected Result
Context
To meet the requirements of selecting different routes in different time segments
and for different calling numbers, you can configure intelligent routing based on
the time segment and calling number. For example, you can enable the system to
route the outgoing calls made between 08:00:00 to 18:00:00 by intra-office user
6000 through SIP1, route the outgoing calls made in other time segments by
intra-office user 6000 through SIP2, and route the outgoing calls made by intra-
office user 8000 through SIP2 preferentially. Figure 2-67 shows the network.
Carrier A Carrier B
PBX
SIP1 SIP2 IMS
network
6000 8000
Prerequisites
● A trunk group has been created and its connection parameters have been
configured. For details about the configuration, see 2.11 Configuring Trunk
Groups.
● A call prefix has been configured. For details about the configuration, see 2.9
Configuring a Call Prefix.
Procedure
Ste Action Command Description
p
Configuration Example
Configure the system to route the outgoing calls made between 08:00:00 to
18:00:00 by intra-office user 6000 to outer-office user 1000 through SIP1, route
the outgoing calls made in other time segments by intra-office user 6000 to
outer-office users 1000 through SIP2, and route the outgoing calls made by intra-
office user 8000 to outer-office user 1000 through SIP2 preferentially. Enable
routing based on the time segment and calling number for call route 1.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] time 1 time-period from 2013-1-1 08:00:00 to 2014-1-1 18:00:00
[Huawei-voice] time 2 time-period from 2013-1-1 18:00:00 to 2014-1-1 08:00:00
[huawei-voice] callroute 1
[Huawei-voice-callroute-1] selecttype callertimebase
[Huawei-voice-callroute-1] quit
[huawei-voice] callroute 2
[Huawei-voice-callroute-2] selecttype callertimebase
[Huawei-voice-callroute-2] quit
[Huawei-voice] trunk-group SIP1
[Huawei-voice-trunkgroup-SIP1] callroute 1 time 1 callertelno 6* select-level 0
[Huawei-voice-trunkgroup-SIP1] callroute 2 callertelno 8* select-level 1
[Huawei-voice-trunkgroup-SIP1] quit
[Huawei-voice] trunk-group SIP2
[Huawei-voice-trunkgroup-SIP2] callroute 1 time 2 callertelno 6*
[Huawei-voice-trunkgroup-SIP2] callroute 2 callertelno 8* select-level 0
[Huawei-voice-trunkgroup-SIP2] quit
[Huawei-voice] callprefix 1
[Huawei-voice-callprefix-1] prefix 1
[Huawei-voice-callprefix-1] callroute 1
[Huawei-voice-callprefix-1] callroute 2
[Huawei-voice-callprefix-1] save
Verification
Action Command Expected Result
Context
The CDR data generated for voice service is stored to the internal CDR pool on the
PBX. Because the CDR pool capacity is limited, connect the PBX to the CDR server.
Otherwise, CDRs are lost when the CDR pool is full or the PBX is powered off. The
data in CDR pool can be saved to the CDR server through the CDR interface, or
saved to the FTP/SFTP server in binary format or txt format. Figure 2-68 shows
the networking.
IP
Network
PBX
CDR flows
POTS POTS
phone phone
NOTICE
The PBX and CDR server must be deployed on a trusted network. Otherwise, there
will be security risks.
The PBX can connect to the following CDR server through either of the following
protocols:
● TCP: The PBX transfers the CDRs to the CDR server through TCP. The
corresponding CDR format is UCBILL.
● FTP/SFTP: The PBX transfers the CDRs to the FTP/SFTP server through FTP/
SFTP. The third-party systems or billing centers can obtain CDR information
from the FTP/SFTP server. The corresponding CDR format is CDR for CC08,
SOFTX for SOFTX3000, or MINI if only CDRs are required but billing process is
ignored.
NOTE
UCBILL, CDR, and SOFTX are the binary CDR format, and MINI is the txt CDR format.
For the call restriction policy used when the CDR pool is approximately full (90%),
see 2.15.4.5 Configuring Call Limiting When the CDR Pool Is Full.
Prerequisites
● The work mode of the device has been set to PBX. For how to configure the
work mode of device, see 2.5.1 Configuring a Device to Work in PBX Mode.
● The read, write, and overwrite permissions have been granted to the login
account of the PBX when FTP/SFTP is used to transfer CDRs.
6 Configure the CDR bill format format- For the TCP protocol,
format. value the CDR format is
UCBILL.
NOTE
● To modify the CDR
format, run the bill
format command in
the CDRServer view.
Do not use global
control point 53 to
modify the CDR
format.
● When the CDR
format is UCBILL, the
default server port
number is 2020.
Example
When the PBX uses TCP to transfer CDRs to the CDR server, the connection data
for the CDR server is configured as follows: (Assume that the CDR server IP
address is 192.168.1.14, port number is 2020, and CDR format is UCBILL.)
<Huawei> system-view
[Huawei] voice
[Huawei-voice] cdr-server
[Huawei-voice-cdr-server] server ip 192.168.1.14 port 2020
[Huawei-voice-cdr-server] bill format UCBILL
[Huawei-voice-cdr-server] save
When the PBX uses FTP/SFTP to transfer CDRs to the CDR server, the connection
data for the CDR server is configured as follows: (Assume that the CDR server IP
address is 192.168.1.15, port number is 21, FTP user name and password are
admin and huawei123, and CDR format is CDR.)
<Huawei> system-view
[Huawei] voice
[Huawei-voice] cdr-server
[Huawei-voice-cdr-server] bill transfertype FTP
[Huawei-voice-cdr-server] server ip 192.168.1.15 port 21
[Huawei-voice-cdr-server] bill format CDR
[Huawei-voice-cdr-server] username admin password cipher
Please input user password(1-15 chars):*********
[Huawei-voice-cdr-server] save
Verification
Action Command Expected Result
Context
In peak hours, all timeslots of a PRA trunk may be occupied by outgoing calls, and
incoming calls cannot be connected. To solve this problem, you can bind specified
trunk timeslots to a PRA trunk group and reserve the other timeslots for incoming
calls. Figure 2-69 shows the networking.
PRA trunk
PBX IP PBX
Prerequisites
● A PRA trunk group has been configured. For details about the configuration,
see Configuring a Trunk Group.
● A call prefix has been configured. For details about the configuration, see
Configuring a Call Prefix.
Procedure
Step Action Command
Example
Assume that trunk group pra from the PBX to the IP PBX is configured on E1
interface 0 in slot 1. Bind E1/T1 timeslots 1 through 10 to the PRA trunk group.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] trunk-group pra
[Huawei-voice-trunkgroup-pra] trunk-pra 1/0/0 b-channels 1 num 10
[huawei-voice-trunkgroup-pra] save
Verification
Action Command Expected Result
Verify the PRA trunk display voice trunk-pra The parameter values in
group configuration. the command output are
consistent with the
settings.
Context
As the VoIP technology is rapidly developed and widely used, enterprise users
deploy IP phones in the remote branch and deploy the SIP server at the central
site to manage all calls of the remote branch. When communication between the
branch and the headquarters fails, the local voice gateway in the branch must
replace the headquarters SIP server at the central site to manage local voice
services. When communication between the branch and headquarters is restored,
the headquarters SIP server controls all calls.
In normal situations, the local gateway only provides network data switching and
trunk interface functions. SIP terminals located in the branch register with the
central node. POTS phones register with the central node through the local
gateway agent which enables call outgoing through trunks. Figure 2-70 shows the
call process.
Enterprise
Central headquarters
gateway
IP network
U1900
Enterprise
branch
Local
gateway
Registration
SIP terminal Call process
If communication between the local gateway and center gateway fails (for
example, the network fails or center gateway fails), the local gateway
automatically takes charge of the voice service in the branch. After the SIP
terminal and analog phone of the branch registers with the local gateway, the
outgoing calls of the SIP terminal can be implemented by the local gateway.
Figure 2-71 shows the call process.
Figure 2-71 Local survival networking (communication between the local gateway
and center gateway fails)
Enterprise
Headquarters
U1900
Central Gateway
PSTN Fault
IP Phone
VPN
Enterprise
Branch
Local
Gateway
Registration
IP Phone Call process
NOTE
● On the local survival network, the SIP server must be configured on the SIP terminals
(IP phones or IADs). The SIP terminals (IP phones or IADs) register with the center
gateway and local gateway in the descending order of priority.
● On the local survival network, configure SIP AT0 trunks for POTS phones.
Prerequisites
● The local survival node has been configured.
● The license controlling the local survival function is loaded.
NOTICE
When the local node synchronizes data with the central node, the central node
checks a user according to the user number (telno) reported by the local node. If
the user is not registered on the central node, the central node deletes the user
according to the user name (pbxuser name).
The central node cannot delete a user whose user name and user number
configured on the local node are different. For example, if a user with user name
6000 and user number 5000 is configured on the local node, the central node
cannot delete this user. Therefore, it is recommended that you manually delete
such users.
Procedure
Ste Action Command Description
p
Example
Configure the SIP IP trunk group uc, and SIP AT0 trunk group sipat0 between the
local gateway and center gateway, set the IP address and port number of the
center gateway U1900 series gateways to 172.16.15.160 and 8099, set the IP
address and port of the local gateway to 172.16.15.201 and 8000, set the
authentication password for the BIN channel to abcdefgh12345678 and transfer
mode to TLS, and bind the client SSL policy client to the BIN channel.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] local-survival
[Huawei-voice-local-survival] dataserver ip 172.16.15.160 port 8099
[Huawei-voice-local-survival] dataservertype U1900
[Huawei-voice-local-survival] primary-trunk-group uc proxyreg-trunk-group sipat0
[Huawei-voice-local-survival] local-address ip 172.16.15.201 port 8000
[Huawei-voice-local-survival] password cipher
Please input user password(16-32 chars):****************
[Huawei-voice-local-survival] sync-interval 2
[Huawei-voice-local-survival] transfer tls
[Huawei-voice-local-survival] ssl-server-policy client
[Huawei-voice-local-survival] reset
[Huawei-voice-local-survival] save
Verification
Action Command Expected Result
Context
The Session Initiation Protocol (SIP) is a text-based signaling protocol. SIP
messages are classified into Request and Response messages. As an application
layer protocol, SIP establishes, modifies, or terminates multimedia sessions and
creates and controls multimedia sessions among two or more parties. SIP can
work with specified protocols to complete session setup and media negotiation,
such as Real-Time Transport Protocol (RTP), Real-Time Transport Control Protocol
(RTCP), Session Description Protocol (SDP), Real-time Stream Protocol (RTSP),
Domain Name System (DNS), and Transmission Control Protocol (TCP).
Prerequisites
The working mode of the device has been set to PBX. For details on how to
configure the working mode of the device, see 2.5.1 Configuring a Device to
Work in PBX Mode.
Procedure
Step Action Command
Verification
Action Command Expected Result
Verify the of SIP stack display voice sip The parameter values in the
parameter settings. command output are
consistent with the settings.
Context
The digital signal processing (DSP) collects, converts, filters, measures, enhances,
compresses, or identifies signals and coverts the signal from an analog to a digital
form.
The DSP module converts analog voice signals into digital signals and stores a
certain number of digital signals into packets for transmission. To improve the
voice communication quality, the DSP needs to further process voice signals.
Prerequisites
The working mode of the device has been set to PBX. For details on how to
configure the working mode of device, see 2.5.1 Configuring a Device to Work in
PBX Mode.
Procedure
Ste Action Command Description
p
By default, the
minimum value of the
dynamic jitter buffer of
the DSP channel is 2
ms.
● Run:
jitter-buffer max-fixed-jb
max-fixed-jb-value
The maximum value of
the static jitter buffer
is set.
By default, the
maximum value of the
static jitter buffer of
the DSP channel is 135
ms.
● Run:
jitter-buffer min-fixed-jb
min-fixed-jb-value
The minimum value of
the static jitter buffer
is set.
By default, the
minimum value of the
static jitter buffer of
the DSP channel is 2
ms.
Verification
Action Command Expected Result
Verify the DSP display voice dsp- The parameter values in the
configuration. attribute command output are
consistent with the settings.
Check DSP statistics. display voice dsp
statistic
Prerequisites
The working mode of the device has been set to PBX. For details on how to
configure the working mode of the device, see 2.5.1 Configuring a Device to
Work in PBX Mode.
Verification
Action Command Expected Result
Verify the FXS interface display voice port The parameter values in the
configuration. fxs [ slotid/subcardid/ command output are
portid ] consistent with the settings.
Prerequisites
The working mode of the device has been set to PBX. For details on how to
configure the working mode of device, see 2.5.1 Configuring a Device to Work in
PBX Mode.
NOTE
Procedure
Ste Action Command Description
p
Verification
Action Command Expected Result
Querying the Mapping display voice tone- The parameter values in the
Between Reason Codes set command output are
and Announcements. consistent with the settings.
1. A SIP UE sends a REGISTER request to the NAT device. The source IP address
contained in the REGISTER packet header and the contact address contained
in the payload are both the private address/port (Aa) of the SIP UE.
2. The NAT device allocates a public address/port (Nn) to the UE, generates a
mapping between Aa and Nn, translates Aa in the packet header into Nn, and
forwards the REGISTER request to the signaling media proxy.
3. The signaling media proxy receives the REGISTER request, allocates a public
signaling address/port (Dd), translates the address contained in the REGISTER
packet header and payload, records the mapping between Nn/Cc and Dd/Ee,
and sends the REGISTER request to the SIP server to which the SIP UE
belongs.
4. The SIP server authenticates the SIP UE and sends a response packet to the
signaling media proxy.
5. The signaling media proxy receives the response packet, modifies the address
contained in the packet header and payload according to the address
mapping, and forwards the response packet to the NAT device.
6. The NAT device translates the IP address contained in the response packet
into Aa and forwards the packet to the SIP UE.
Media Proxy
Media streams are transmitted over the VoIP network using RTP. RTP is carried
over UDP. The IP addresses and ports used for the RTP media streams are
negotiated using the signaling messages sent for establishing calls.
SIP uses the SDP information of the calling user and called user to negotiate the
media addresses and ports for the calling user and called user. When the signaling
carrying SDP information passes through the NAT device, the NAT device
translates only the IP, TCP, or UDP packet header, but not the IP address and port.
The media address obtained by a called user is the private address and port a
calling user. As a result, the called user cannot use the private address to access
the calling user on the private network. Deploying a media proxy on the network
is an effective way to implement media NAT traversal. The media proxy translates
private media addresses and ports into public addresses and ports during end-to-
end media negotiation.
The signaling media proxy provides the media proxy function to support media
NAT traversal without the need to upgrade the existing NAT device on the
network. Media NAT traversal on the signaling media proxy is divided into two
stages: signaling negotiation and media transmission.
10.211.5.9
Signaling Called user
NAT media
Calling user Trunk IMS
proxy
network
10.211.5.9
Before a calling user and a called user make a call, they must send signaling
packets to negotiate a channel for transmitting media streams. The signaling
media proxy obtains the calling user's and called user's IP addresses and ports
for receiving media streams according to SDP information contained in the
signaling packets, allocates the access-side and core-side media addresses and
ports to the calling user and called user, and creates an address mapping
entry (192.168.1.2:3008, 10.211.3.8:7003)<->(10.10.3.5:5007, 10.211.5.9:9000)
for media sessions. All media streams will pass through the signaling media
proxy, but only the media streams matching media session entries on the
signaling media proxy will be forwarded.
● Media transmission stage, at which the IP addresses for media packets
are learned and translated
The media transmission stage is divided into three sub stages: pre-media-
latching, media latching, and post-media-latching.
RTP: RTP:
Cannot reach
Source IP:10.211.3.8 Source IP:10.211.5.9
private IP address
S Port:7003 S Port:9000
Dest IP:192.168.1.2 Dest IP:10.10.3.5
D Port:3008 D Port:5007
b. Media latching sub stage: As shown in Figure 2-75, a terminal sends the
first media packet to the signaling media proxy. After the first media
packet passes through the NAT device, the NAT device creates an address
mapping between 192.168.1.2:3008 and 10.211.2.3:8028. The signaling
media proxy receives the media packet processed by the NAT device,
learns the transport-layer address and port (10.211.2.3:8028) contained in
the media packet, and updates the address mapping entry
(10.211.2.3:8028, 10.211.3.8:7003)<->(10.10.3.5:5007, 10.211.5.9:9000) for
media sessions.
RTP: RTP:
Source IP:192.168.1.2 Source IP:10.211.2.3
S Port:3008 S Port:8028
Dest IP:10.211.3.8 Dest IP:10.211.3.8
D Port:7003 D Port:7003
Context
The PBX is deployed on the public network and the SIP server of the PBX is
configured to provide registration services for private network users that register
with the PBX through NAT. Signaling media proxy implements voice
communication between SIP user C, POTS user B, and SIP user A. Figure 2-77
shows the networking.
PBX Router
IP
IP:172.16.2.2
network
IP:10.10.10.2
A B C
Prerequisites
● A PBX user has been configured. For details on how to configure a PBX user,
see 2.8 Configuring a PBX User.
● A call prefix has been configured. For details on how to configure a call prefix,
see 2.9 Configuring a Call Prefix.
Example
Step 1 Configure interface addresses and address pools.
Set the public network address of GE0 to 172.16.2.2 and add this address to the
media IP address pool and signaling IP address pool.
<Huawei> system-view
[Huawei] interface gigabitethernet 0/0/0
----End
Verification
Action Command Expected Result
Context
The PBX is deployed at the edge of the public and private networks. Signaling
media proxy is configured on the private network and NAT is configured to
provide registration services for public network users. The PBX connects to PBX1
through the public network and PBX2 through the private network. The signaling
media proxy is configured to allow the voice service between SIP user G who is on
the public network, PBX, and users connected to the PBX1 and PBX2. Figure 2-78
shows the networking.
G
PBX2 PBX PBX1
IP
network
IP:10.10.10.3 IP:172.16.2.3
NAT
A B C D E F
Prerequisites
● The user configurations are complete. For the configuration procedure, see 2.8
Configuring a PBX User.
● The prefix configurations are complete. For the configuration procedure, see
2.9 Configuring a Call Prefix.
● The trunk group configurations are complete. For the configuration procedure,
see 2.11 Configuring Trunk Groups.
Configuring NAT
Step Action Command
NOTICE
When the PBX functions as the aggregation node for the calls from PBX1 to PBX2,
enable the media proxy in the voice view by running the following command:
pbx number-parameter 104 0
Example
Step 1 Configure interface addresses and address pools.
Set the public network address of GE0 to 172.16.2.2, private network address of
GE1 to 10.10.10.10, and add the two addresses to the media IP address pool and
signaling IP address pool.
<Huawei> system-view
[Huawei] interface gigabitethernet 0/0/0
[Huawei-GigabitEthernet0/0/0] ip address 172.16.2.2 24
[Huawei-GigabitEthernet0/0/0] quit
[Huawei] interface gigabitethernet 0/0/1
[Huawei-GigabitEthernet0/0/1] ip address 10.10.10.10 24
[Huawei-GigabitEthernet0/0/1] quit
[Huawei] voice
[Huawei-voice] voip-address media interface gigabitethernet 0/0/0 172.16.2.2
[Huawei-voice] voip-address signalling interface gigabitethernet 0/0/0 172.16.2.2
[Huawei-voice] voip-address media interface gigabitethernet 0/0/1 10.10.10.10
[Huawei-voice] voip-address signalling interface gigabitethernet 0/0/1 10.10.10.10
----End
Verification
Action Command Expected Result
Verify the trunk group display voice trunk- The parameter values in
configuration. group [ name [ para- the command output are
value ] ] consistent with the
settings.
Context
To implement NAT traversal at the edge between enterprise and carrier networks,
deployed the AR at the enterprise side to perform agent registration. The IP PBX
initiates a registration request to the AR which then works as the agent for the IP
PBX and initiates SIP PRA registration to the IMS network. When the registration
succeeds, PBX users within the enterprise can perform voice communication with
terminal users in the IMS network.
In group registration mode, the SIP PRA uses one registration message to register
a group of SIP user numbers. A registration group contains the primary number
and numbers to be registered in agent mode. Numbers to be registered in agent
mode can be consecutive or scattered. Consecutive numbers correspond to
wildcard characters (!.*!) in a registration group on the HSS. Scattered numbers
correspond to other numbers in a registration group on the HSS. The AR initiates a
registration message only for the primary number in a registration group. The
primary number can substitute all numbers in the registration group to perform
the registration.
Figure 2-79 shows the network diagram for SIP PRA agent registration.
Enterprise
IP PBX
Ethernet cable
Telephone line
Analog Fax SIP soft IP Registration message
phone machine terminal phone
Procedure
Ste Operation Command Remarks
p
NOTE
The sipue users on the AR, IP PBX, and IMS must be the same.
Configuration Example
The AR works as the agent for the IP PBX and initiates SIP PRA registration to the
IMS network. The enterprise DN set is proxy, trunk group name sippra-proxy,
group registration identifier 28988000, wildcard identifier 2898800!.*!, and bound
trunk group route pra-out. SIP user numbers allocated by the carrier range from
Here, !.*! are wildcard characters and can represent any digit from 0 to 9. 2898800!.*!
indicates the range from 28988000 to 28988009.
The SIP server IP address is 10.10.10.10. The local signaling and media IP address
is 172.16.2.2, and the signaling port number is 5062. The IP address for the IMS
network is 172.16.2.3, and the port number is 5060. The home domain name of
the peer trunk group and the URI of the registration server are abcd.com. The
incoming and outgoing prefixes are 10.
#Configure interface addresses and address pools.
<Huawei> system-view
[Huawei] interface gigabitethernet 0/0/0
[Huawei-GigabitEthernet0/0/0] ip address 172.16.2.2 24
[Huawei-GigabitEthernet0/0/0] quit
[Huawei] interface gigabitethernet 0/0/1
[Huawei-GigabitEthernet0/0/1] ip address 10.10.10.10 24
[Huawei-GigabitEthernet0/0/1] quit
[Huawei] voice
[Huawei-voice] voip-address media interface gigabitethernet 0/0/0 172.16.2.2
[Huawei-voice] voip-address signalling interface gigabitethernet 0/0/0 172.16.2.2
[Huawei-voice] voip-address media interface gigabitethernet 0/0/1 10.10.10.10
[Huawei-voice] voip-address signalling interface gigabitethernet 0/0/1 10.10.10.10
[Huawei-voice] sbc media-relay interface GigabitEthernet 0/0/0 external
[Huawei-voice] quit
#Configure users. This example describes how to add two SIP users. You can add more SIP users by
Verification
Operation Command Expected Result
Verify trunk group display voice trunk- Values in the command output
configuration group [ name [ para- are the specified values.
value ] ]
Verify user display voice pbxuser
configuration [ pbxuser-name ]
Context
To implement NAT traversal at the edge between enterprise and carrier networks,
deployed the AR at the enterprise side to perform agent registration. The IP PBX
initiates a registration request to the AR which then works as the agent for the IP
PBX and initiates SIP AT0 registration to the IMS network. When the registration
succeeds, PBX users within the enterprise can perform voice communication with
terminal users in the IMS network.
In user-by-user registration (SIP AT0 registration) mode, each SIP user under the IP
PBX must register with the AR which then registers each SIP user with the IMS.
Only one number can be registered at one time.
Figure 2-80 shows the network diagram for SIP AT0 agent registration.
Enterprise
IP PBX
Ethernet cable
Telephone line
Analog Fax SIP soft IP Registration message
phone machine terminal phone
Procedure
Ste Operation Command Remarks
p
NOTE
The sipue users at the AR, IP PBX, and IMS must be the same.
Configuration Example
The AR works as the agent for the IP PBX and initiates SIP AT0 registration to the
IMS network. The enterprise DN set is proxy, trunk group name sipat0-proxy, and
bound trunk group route at0-out. The SIP user number allocated by the carrier is
200000.
The SIP server IP address is 10.10.10.10. The local signaling and media IP address
is 192.168.10.2, and the signaling port number is 5080. The IP address for the IMS
network is 192.168.10.10, and the port number is 5060. The home domain name
of the peer trunk group and the URI of the registration server are abcd.com. The
incoming and outgoing prefixes are 10.
#Configure interface addresses and address pools.
<uawei> system-view
[Huawei] interface gigabitethernet 0/0/0
[Huawei-GigabitEthernet0/0/0] ip address 192.168.10.2 24
[Huawei-GigabitEthernet0/0/0] quit
[Huawei] interface gigabitethernet 0/0/1
[Huawei-GigabitEthernet0/0/1] ip address 10.10.10.10 24
[Huawei-GigabitEthernet0/0/1] quit
[Huawei] voice
[Huawei-voice] voip-address media interface gigabitethernet 0/0/0 192.168.10.2
[Huawei-voice] voip-address signalling interface gigabitethernet 0/0/0 192.168.10.2
[Huawei-voice] voip-address media interface gigabitethernet 0/0/1 10.10.10.10
[Huawei-voice] voip-address signalling interface gigabitethernet 0/0/1 10.10.10.10
[Huawei-voice] sbc media-relay interface GigabitEthernet 0/0/0 external
[Huawei-voice] quit
#Configure users.
[Huawei-voice]pbxuser sipat0-200000 sipue
[Huawei-voice-pbxuser-sipat0-200000]sipue 200000
[Huawei-voice-pbxuser-sipat0-200000]telno 200000
[huawei-voice-pbxuser-sipat0-200000]eid-para password cipher
Please input user password(6-64 chars):******
[Huawei-voice-pbxuser-sipat0-200000]bind trunk-group sipat0-proxy trunk-sipat0 200000
[Huawei-voice-pbxuser-sipat0-200000]quit
Verification
Operation Command Expected Result
Action Description
Context
During routine maintenance, you can run the related commands to check call
information.
Procedure
● Run the display voice online-info [ callee callee-number | caller caller-
number ] command to check information about all calls on a device.
● Run the display voice isdn active command to check information about ISDN
calls on a device.
----End
Context
In routine maintenance, you can check or export call logs, and locate call failures
by analyzing the logs.
Procedure
Step 1 Run the display voice trace command to view the latest log information when a
call fails. The log information includes error and call logs related to the call failure.
Step 2 Run the display voice error command to view the latest call (including the
current call) failure logs.
Step 3 Run the save tracelog command to save the logs in the error log buffer and call
log buffer to the tracelog.zip file in the flash memory of a device.
----End
Networking Requirements
The PBX configures the external number allocated to an enterprise by the carrier
as the automatic switchboard number. An outer-office user dials the external
number and then dials an extension number as prompted to connect to an intra-
office user. Intra-office users make calls to each other by dialing short numbers.
Figure1 shows the voice service network.
This topic assumes that you want to implement the following requirements:
AT0
Port 3/0/4
Port 3/0/1
Prerequisites
The IVR configuration has been completed. For details, see IVR. vu-service-name
configured for the automatic switchboard is service for the IVR.
Data Plan
The data plan provided in this example is for reference only. Plan data by
negotiating with users and the carrier.
3/0/4 28980808 0
7 Intra-office N/A
9 Outgoing 0
Procedure
Step 1 Set the service mode to PBX.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] service-mode pbx
[Huawei-voice] return
[Huawei] save
The current configuration will be written to the device.
Are you sure to continue? (y/n)[n]:yIt will take several minutes to save configuration file, please wait..........
Configuration file had been saved successfully
Note: The configuration file will take effect after being activated
<Huawei>reboot
Info: The system is comparing the configuration, please wait.
System will reboot! Continue ? [y/n]:yInfo: system is rebooting, please wait...
Step 2 Set the Ethernet IP address of interface GE0/0/0 to 192.168.1.2, and add
192.168.1.2 to the media IP address pool and signaling IP address pool of the
interface.
<Huawei> system-view
[Huawei] interface gigabitethernet 0/0/0
[Huawei-GigabitEthernet0/0/0] ip address 192.168.1.2 24
[Huawei-GigabitEthernet0/0/0] quit
[Huawei] voice
[Huawei-voice] voip-address media interface gigabitethernet 0/0/0 192.168.1.2
[Huawei-voice] voip-address signalling interface gigabitethernet 0/0/0 192.168.1.2
Step 4 Set the default country code to 86 and default area code to 571, and enable
country code change and area code change.
[Huawei-voice] pbx default-country-code 86 default-area-code 571
Step 6 Set the enterprise and DN set of prefixes to hw and local, and configure intra-
office call prefix 7 whose call attribute is 0 and local call prefix 9 whose call
attribute is 1. Configure national toll call prefix 90 whose call attribute is 2 and
international toll call prefix 900 whose call attribute is 3.
[Huawei-voice] callprefix 7
[Huawei-voice-callprefix-7] enterprise hw dn-set local
[Huawei-voice-callprefix-7] prefix 7
[Huawei-voice-callprefix-7] call-type category basic-service attribute 0
[Huawei-voice-callprefix-7] digit-length 3 32
[Huawei-voice-callprefix-7] quit
[Huawei-voice] callprefix 9
[Huawei-voice-callprefix-9] enterprise hw dn-set local
[Huawei-voice-callprefix-9] prefix 9
[Huawei-voice-callprefix-9] call-type category basic-service attribute 1
[Huawei-voice-callprefix-9] digit-length 1 32
[Huawei-voice-callprefix-9] quit
[Huawei-voice] callprefix 90
[Huawei-voice-callprefix-90] enterprise hw dn-set local
[Huawei-voice-callprefix-90] prefix 90
[Huawei-voice-callprefix-90] call-type category basic-service attribute 2
[Huawei-voice-callprefix-90] digit-length 2 32
[Huawei-voice-callprefix-90] quit
[Huawei-voice] callprefix 900
[Huawei-voice-callprefix-900] enterprise hw dn-set local
[Huawei-voice-callprefix-900] prefix 900
[Huawei-voice-callprefix-900] call-type category basic-service attribute 3
[Huawei-voice-callprefix-900] digit-length 3 32
[Huawei-voice-callprefix-900] quit
Set the automatic switchboard name to ivr and automatic switchboard number to
28980808.
[Huawei-voice] callprefix ivr
[Huawei-voice-callprefix-ivr] prefix 28980808
[Huawei-voice-callprefix-ivr] enterprise hw dn-set local
[Huawei-voice-callprefix-ivr] call-type category vu-service vu-service-name vudefault
[Huawei-voice-callprefix-ivr] digit-length 8 32
[Huawei-voice-callprefix-ivr] save
[Huawei-voice-callprefix-ivr] quit
Step 8 Configure a SIP user whose user number is 7100, authentication password is
a123456, and incoming and outgoing call rights are all.
[Huawei-voice] pbxuser 7100 sipue enterprise hw
[Huawei-voice-pbxuser-7100] dn-set local
[Huawei-voice-pbxuser-7100] sipue 7100
[Huawei-voice-pbxuser-7100] telno 7100
[Huawei-voice-pbxuser-7100] call-right in all
[Huawei-voice-pbxuser-7100] call-right out all
[Huawei-voice-pbxuser-7100] eid-para password cipher
Please input user password(6-64 chars): *******
[Huawei-voice-pbxuser-7100] quit
Step 9 Configure POTS users whose user numbers are 7000 and 7001 and incoming and
outgoing call rights are all.
[Huawei-voice] pbxuser 7000 pots enterprise hw
[Huawei-voice-pbxuser-7000] dn-set local
[Huawei-voice-pbxuser-7000] port 3/0/0
[Huawei-voice-pbxuser-7000] telno 7000
[Huawei-voice-pbxuser-7000] call-right in all
[Huawei-voice-pbxuser-7000] call-right out all
[Huawei-voice-pbxuser-7000] quit
[Huawei-voice] pbxuser 7001 pots enterprise hw
[Huawei-voice-pbxuser-7001] dn-set local
----End
Configuration Files
● Router configuration
#
interface GigabitEthernet0/0/0
ip address 192.168.1.2 255.255.255.0
#
voice
voip-address media interface GigabitEthernet 0/0/0 192.168.1.2
voip-address signalling interface GigabitEthernet 0/0/0 192.168.1.2
pbx default-area-code 571
#
callroute 9
#
enterprise hw
dn-set local
#
sipserver
signalling-address ip 192.168.1.2 port 5060
media-ip 192.168.1.2
register-uri abcd.com
home-domain abcd.com
#
trunk-group at0 fxo
enterprise hw dn-set local
trunk-at0 3/0/4 default-called-telno 28980808
callroute 9
#
callprefix 7
enterprise hw dn-set local
prefix 7
call-type category basic-service attribute 0
digit-length 3 32
#
callprefix 9
enterprise hw dn-set local
prefix 9
call-type category basic-service attribute 1
digit-length 1 32
callroute 9
#
callprefix 90
enterprise hw dn-set local
prefix 90
call-type category basic-service attribute 2
digit-length 2 32
#
callprefix 900
enterprise hw dn-set local
prefix 900
call-type category basic-service attribute 3
digit-length 3 32
#
callprefix ivr
enterprise hw dn-set local
prefix 28980808
call-type category vu-service vu-service-name vudefault
digit-length 8 32
#
pbxuser 7000 pots enterprise hw
telno 7000
dn-set local
port 3/0/0
call-right out all
#
Networking Requirements
To reduce toll call costs, an enterprise connects two branches in different cities
through a SIP trunk. Each branch connects to the IMS through a SIP AT0 trunk or
connects to the PSTN through a PRA trunk.
When an intra-office user in city A dials a PSTN number in city B, the call is routed
by the PBX to the IP PBX through the SIP IP trunk, routed by the IP PBX to the
PSTN through the PRA trunk, and finally connected to the outer-office user in city
B. When an intra-office user in city B dials a local number in city A, the call
process is similar, in which the call is first routed to the PBX.
This scenario reduces toll call costs. Figure 2-82 shows the distributed networking.
This topic assumes that you want to implement the following requirements:
● The country code is 86, the area code of city A is 571, and the area code of
city B is 577.
● The IP address of the IMS is 192.168.1.4, and the port number is 5060.
● The automatic switchboard number of the PBX is 83787005, and the
automatic switchboard number of the IP PBX is 83786005.
● PBX users and IP PBX users make calls to each other by dialing short numbers.
● When a PBX user or an IP PBX user dials a local number in city B, the call is
routed through the IP PBX. If the calling user has a long number, the long
number is displayed as the calling number. If the calling user does not have a
long number, 83786005 is displayed as the calling number.
● When an IP PBX user or a PBX user dials a local number in city A, the call is
routed through the PBX. If the calling user has a long number, the long
number is displayed as the calling number. If the calling user does not have a
long number, 83787005 is displayed as the calling number.
IMS
City A network
City B
Prerequisites
The IVR configuration has been completed. For details, see IVR. The value of vu-
service-name configured for the automatic switchboard is the value of service for
the IVR.
Data Plan
The data plan provided in this example is for reference only. Plan data by
negotiating with users and the carrier.
7100–7104 N/A
6100–6104 N/A
3/0/0 0 PSTN
Procedure
Step 1 Set the service mode to PBX.
<Huawei> system-view
[Huawei] voice
[Huawei-voice] service-mode pbx
[Huawei-voice] return
[Huawei] save
The current configuration will be written to the device.
Are you sure to continue? (y/n)[n]:yIt will take several minutes to save configuration file, please wait..........
Configuration file had been saved successfully
Note: The configuration file will take effect after being activated
<Huawei>reboot
Info: The system is comparing the configuration, please wait.
System will reboot! Continue ? [y/n]:yInfo: system is rebooting, please wait...
Step 2 Set the Ethernet IP address of interface GE0/0/0 to 192.168.1.2, and add
192.168.1.2 to the media IP address pool and signaling IP address pool of the
interface.
<Huawei> system-view
[Huawei] interface gigabitethernet 0/0/0
[Huawei-GigabitEthernet0/0/0] ip address 192.168.1.2 24
[Huawei-GigabitEthernet0/0/0] quit
[Huawei] voice
[Huawei-voice] voip-address media interface gigabitethernet 0/0/0 192.168.1.2
[Huawei-voice] voip-address signalling interface gigabitethernet 0/0/0 192.168.1.2
Step 4 Set the default country code to 86 and default area code to 571, and enable
country code change and area code change.
[Huawei-voice] pbx default-country-code 86 default-area-code 571
[Huawei-voice] pbx enable-country-area-transform enable
The procedure for configuring outgoing call prefix 83787 is similar. You only
need to change the minimum number length to 8.
[Huawei-voice] callprefix 7
[Huawei-voice-callprefix-7] prefix 7
[Huawei-voice-callprefix-7] call-type category basic-service attribute 0
[Huawei-voice-callprefix-7] digit-length 4 32
[Huawei-voice-callprefix-7] quit
Configure national toll call prefix 90 whose call attribute is 2 and call route is
0, and configure international toll call prefix 900 whose call attribute is 3 and
call route is 0. For details, see the configuration of prefix 9.
[Huawei-voice] callprefix 9
[Huawei-voice-callprefix-9] prefix 9
[Huawei-voice-callprefix-9] call-type category basic-service attribute 1
[Huawei-voice-callprefix-9] digit-length 1 32
[Huawei-voice-callprefix-9] quit
[Huawei-voice] callroute 3
[Huawei-voice-calldroute-3] quit
[Huawei-voice] callprefix 9
[Huawei-voice-callprefix-9] callroute 3
[Huawei-voice-callprefix-9] quit
Configure outgoing call prefix 90577 whose call attribute is 1 and call route is
1. For details, see the configuration of prefix 6.
[Huawei-voice] callprefix 6
[Huawei-voice-callprefix-6] prefix 6
[Huawei-voice-callprefix-6] call-type category basic-service attribute 1
[Huawei-voice-callprefix-6] digit-length 4 32
[Huawei-voice-callprefix-6] quit
[Huawei-voice] callroute 1
[Huawei-voice-calldroute-1] quit
[Huawei-voice] callprefix 6
[Huawei-voice-callprefix-6] callroute 1
[Huawei-voice-callprefix-6] quit
2. Configure a POTS user whose user number is 7100 and incoming and
outgoing call rights are all.
[Huawei-voice] pbxuser 7100 pots
[Huawei-voice-pbxuser-7100] port 2/0/0
[Huawei-voice-pbxuser-7100] telno 7100 long-telno 83787100
[Huawei-voice-pbxuser-7100] call-right in all
[Huawei-voice-pbxuser-7100] call-right out all
[Huawei-voice-pbxuser-7100] quit
----End
Configuration Files
● Router configuration
#
clock source 0 3/0/0 priority 9
#
set workmode slot 3 e1t1 e1-voice
#
interface GigabitEthernet0/0/0
ip address 192.168.1.2 255.255.255.0
#
voice
voip-address media interface GigabitEthernet 0/0/0 192.168.1.2
voip-address signalling interface GigabitEthernet 0/0/0 192.168.1.2
pbx default-area-code 571
pbx enable-country-area-transform enable
#
port ve1 3/0/0
signal CCS
#
callroute 0
#
callroute 1
#
callroute 3
#
enterprise hw
dn-set hwdnset
#
sipserver
signalling-address ip 192.168.1.2 port 5060
media-ip 192.168.1.2
register-uri abcd.com
home-domain abcd.com
#
trunk-group pra dss1-user
callroute 0
trunk-pra 3/0/0
#
trunk-group sipat0 sip trunk-circuit
callroute 3
signalling-address ip 192.168.1.2 port 5061
media-ip 192.168.1.2
peer-address static 192.168.1.4 5060
register-uri abcd.com
home-domain abcd.com
number-parameter 19 1
trunk-sipat0 +862083787005@abcd.com password cipher %^%#sh1hK7Y[vIDIo]@
%y)"(^`xyQQLvuFT&:]Fob_b5%^%#
#
trunk-group sipip01 sip no-register
callroute 1
signalling-address ip 192.168.1.2 port 5062
media-ip 192.168.1.2
peer-address static 192.168.1.3 5062
register-uri abcd.com
home-domain abcd.com
#
callprefix 6
prefix 6
call-type category basic-service attribute 1
digit-length 4 32
callroute 1
#
callprefix 7
prefix 7
call-type category basic-service attribute 0
digit-length 4 32
#
callprefix 9
prefix 9
call-type category basic-service attribute 1
digit-length 1 32
callroute 3
#
callprefix ivr
enterprise hw dn-set local
prefix 83786005
call-type category vu-service vu-service-name vudefault
digit-length 8 32
#
pbxuser 7000 sipue
sipue 7000
telno 7000 long-telno 83787000
call-right out all
eid-para password cipher %^%#%')'%i~C[2>B0.~$l6E@D)H|+:L0I!`Dg@,2>qjJ%^%#
#
pbxuser 7100 pots
port 2/0/0
telno 7100 long-telno 83787100
call-right out all
#
afterroute-change 9_6xxx_sipat0
callprefix 9
trunk-group sipat0
condition caller-telno 6xxx
caller del-then-Insert 1 32 83786005
called del 1 1
#
afterroute-change 9_7xxx_sipat0
callprefix 9
trunk-group sipat0
condition caller-telno 7xxx
caller del-then-Insert 1 32 83787005
called del 1 1
#
Networking Requirements
Connect the live-network PBX to a new PBX to meet the requirements of
expanding the capacity based on the live-network PBX and retaining the original
long and short user numbers, automatic switchboard number, and users' dialing
habit. Figure 2-83 shows the typical network for connecting the live-network PBX
to the PBX.
This topic assumes that you want to implement the following requirements:
● The country code is 86, and the area code is 571.
● The enterprise is hw, and the DN set is hwdnset.
● PBX users and live-network PBX users make calls to each other by dialing
short numbers.
● The PBX connects to the live-network PBX through an H.323 trunk, and the
call route is 2.
● The live-network PBX connects to the PBX through an H.323 trunk, and the
call route is 3.
● The PBX connects to carrier A through an AT0 trunk, and connects to carrier B
through a PRA trunk. The outgoing call routing mode based on load
balancing is used, and both trunks are bound to call route 0.
● Outgoing calls to the PSTN of carrier B are routed through a PRA trunk. If the
calling user has a long number, the long number is displayed as the calling
number. If the calling user does not have a long number, 28980808 is
displayed as the calling number.
● Outgoing calls to the PSTN of carrier A are routed through an AT0 trunk. If
the calling user has a long number, the long number is displayed as the
calling number. If the calling user does not have a long number, 83780808 is
displayed as the calling number.
● Users of carrier A or B dial the automatic switchboard of the PBX to make
incoming calls.
Figure 2-83 Typical network for connecting the live-network PBX to the PBX
PBX
Carrier A Carrier B
(192.168.1.2)
AT0 PRA
H.323
Live-network PBX
Prerequisites
The IVR configuration has been completed. For details, see IVR. The value of vu-
service-name configured for the automatic switchboard is the value of service for
the IVR.
Data Plan
The data plan provided in this example is for reference only. Plan data by
negotiating with users and the carrier.
7100–7104 N/A
6100–6104 N/A
1/0/0 0 PSTN
3/0/4 83780808 0
7 Intra-office N/A
8378 Outgoing 2
7 Outgoing 3
9 Outgoing 3
Procedure
Step 1 Set the service mode to PBX.
<Huawei> system-view
[Huawei] voice
[huawei-voice] service-mode pbx
[huawei-voice] return
[Huawei] save
The current configuration will be written to the device.
Are you sure to continue? (y/n)[n]:yIt will take several minutes to save configuration file, please wait..........
Configuration file had been saved successfully
Note: The configuration file will take effect after being activated
<Huawei>reboot
Info: The system is comparing the configuration, please wait.
System will reboot! Continue ? [y/n]:yInfo: system is rebooting, please wait...
Step 2 Set the Ethernet IP address of interface 0/0/0 to 192.168.1.2, and add 192.168.1.2
to the media IP address pool and signaling IP address pool of the interface.
<Huawei> system-view
[Huawei] interface gigabitethernet 0/0/0
[Huawei-GigabitEthernet0/0/0] ip address 192.168.1.2 24
[Huawei-GigabitEthernet0/0/0] quit
[Huawei] voice
[Huawei-voice] voip-address media interface gigabitethernet 0/0/0 192.168.1.2
[Huawei-voice] voip-address signalling interface gigabitethernet 0/0/0 192.168.1.2
Step 4 Set the default country code to 86 and default area code to 571, and enable
country code change and area code change.
[Huawei-voice] pbx default-country-code 86 default-area-code 571
[Huawei-voice] pbx enable-country-area-transform enable
The procedure for configuring intra-office call prefix 2898 is similar. You only need to
change the minimum number length to 8.
[Huawei-voice] callprefix 7
[Huawei-voice-callprefix-7] enterprise hw dn-set hwdnset
[Huawei-voice-callprefix-7] prefix 7
[Huawei-voice-callprefix-7] call-type category basic-service attribute 0
[Huawei-voice-callprefix-7] digit-length 4 32
[Huawei-voice-callprefix-7] quit
2. Configure prefix 6 whose call attribute is 1 and call route is 2.
NOTE
The procedure for configuring outgoing call prefix 8378 is similar. You only need to
change the minimum number length to 8.
[Huawei-voice] callprefix 6
[Huawei-voice-callprefix-6] enterprise hw dn-set hwdnset
[Huawei-voice-callprefix-6] prefix 6
[Huawei-voice-callprefix-6] call-type category basic-service attribute 1
[Huawei-voice-callprefix-6] digit-length 4 32
[Huawei-voice-callprefix-6] quit
[Huawei-voice] callroute 2
[Huawei-voice-calldroute-2] quit
[Huawei-voice] callprefix 6
[Huawei-voice-callprefix-6] callroute 2
[Huawei-voice-callprefix-6] quit
Configure national toll call prefix 90 whose call attribute is 2 and call route is 0, and
configure international toll call prefix 900 whose call attribute is 3 and call route is 0.
For details, see the configuration of prefix 9.
[Huawei-voice] callprefix 9
[Huawei-voice-callprefix-9] enterprise hw dn-set hwdnset
[Huawei-voice-callprefix-9] prefix 9
[Huawei-voice-callprefix-9] call-type category basic-service attribute 1
[Huawei-voice-callprefix-9] digit-length 1 32
[Huawei-voice-callprefix-9] quit
[Huawei-voice] callroute 0
[Huawei-voice-calldroute-0] quit
[Huawei-voice] callprefix 9
[Huawei-voice-callprefix-9] callroute 0
[Huawei-voice-callprefix-9] quit
4. Configure the automatic switchboard.
Set the automatic switchboard name to ivr and automatic switchboard
number to 28980808.
[Huawei-voice] callprefix ivr
[Huawei-voice-callprefix-ivr] prefix 28980808
[Huawei-voice-callprefix-ivr] enterprise hw dn-set hwdnset
[Huawei-voice-callprefix-ivr] call-type category vu-service vu-service-name vudefault
[Huawei-voice-callprefix-ivr] digit-length 8 32
[Huawei-voice-callprefix-ivr] save
[Huawei-voice-callprefix-ivr] quit
[Huawei-voice-ve1-1/0/0] quit
[Huawei-voice] quit
[Huawei] clock source 0 1/0/0
[Huawei] voice
[Huawei-voice] callroute 0
[Huawei-voice-calldroute-0] quit
[Huawei-voice] trunk-group pra dss1-user
[Huawei-voice-trunkgroup-pra] trunk-pra 1/0/0
[Huawei-voice-trunkgroup-pra] enterprise hw dn-set hwdnset
[Huawei-voice-trunkgroup-pra] quit
----End
Configuration Files
● Router configuration
#
clock source 0 1/0/0 priority 9
#
set workmode slot 1 e1t1 e1-voice
#
interface GigabitEthernet0/0/0
ip address 192.168.1.2 255.255.255.0
#
voice
voip-address media interface GigabitEthernet 0/0/0 192.168.1.2
voip-address signalling interface GigabitEthernet 0/0/0 192.168.1.2
pbx default-area-code 571
pbx enable-country-area-transform enable
#
port ve1 1/0/0
signal CCS
#
h323-attribute
localip 192.168.1.2
#
callroute 0
selecttype loadshare
#
callroute 2
#
enterprise hw
dn-set hwdnset
#
sipserver
signalling-address ip 192.168.1.2 port 5060
media-ip 192.168.1.2
register-uri abcd.com
home-domain abcd.com
#
trunk-group at0 fxo
trunk-AT0 3/0/4 default-called-telno 83780808
enterprise hw dn-set hwdnset
callroute 0
#
trunk-group h323 h323 symmetrical
enterprise hw dn-set hwdnset
callroute 2
media-ip 192.168.1.2
peer-address static 192.168.1.3 1720
#
trunk-group pra dss1-user
trunk-pra 1/0/0
enterprise hw dn-set hwdnset
callroute 0
#
callprefix 6
enterprise hw dn-set hwdnset
prefix 6
call-type category basic-service attribute 1
digit-length 4 32
callroute 2
#
callprefix 7
enterprise hw dn-set hwdnset
prefix 7
call-type category basic-service attribute 0
digit-length 4 32
#
callprefix 9
enterprise hw dn-set hwdnset
prefix 9
call-type category basic-service attribute 1
digit-length 1 32
callroute 0
#
callprefix ivr
enterprise hw dn-set hwdnset
prefix 28980808
call-type category vu-service vu-service-name vudefault
digit-length 8 32
#
pbxuser 7000 sipue enterprise hw
sipue 7000
telno 7000 long-telno 28987000
dn-set hwdnset
call-right out all
eid-para password cipher %^%#"(sq-~Wu6YD^RCIcKx:'6]z--N|iKU6DyrM4m&*X%^%#
#
pbxuser 7100 pots enterprise hw
telno 7100
port 3/0/0
dn-set hwdnset
call-right out all
#
afterroute-change 9_6xxx_pra
callprefix 9
trunk-group pra
condition caller-telno 6xxx
caller del-then-Insert 1 32 28980808
called del 1 1
#
afterroute-change 9_71xx_pra
callprefix 9
trunk-group pra
condition caller-telno 71xx
caller del-then-Insert 1 32 28980808
called del 1 1
#
afterroute-change 9_at0
callprefix 9
trunk-group AT0
caller no-change
called del 1 1
#
afterroute-change 9_pra
callprefix 9
trunk-group pra
caller no-change
called del 1 1
#
Networking Requirements
Users A and B belong to enterprise 1. Users C and D belong to enterprise 2.
Enterprises 1 and 2 are in the same industrial campus. By configuring different
enterprises on the device, you can logically isolate multiple enterprises' voice
services, implementing PBX sharing. Enterprises 1 and 2 can use virtual PBXs to
implement voice services for intra-office users and use a unified egress to
implement voice services between intra-office and outer-office users. This reduces
enterprise costs as well as the carrier's access points. Figure 2-84 shows the PBX
sharing network.
This topic assumes that you want to implement the following requirements:
● The external number allocated by the carrier to enterprise 1 is 56623000.
When an outer-office user dials 56623000, user B's phone rings. If the outer-
office user wants to make a call to an intra-office user other than user B, the
call can be transferred by user B to the target user.
● The external number allocated by the carrier to enterprise 2 is 56623001.
When an outer-office user dials 56623001, user C's phone rings. If the outer-
office user wants to make a call to an intra-office user other than user C, the
call can be transferred by user C to the target user.
● The country code is 86, and the area code is 571.
● The internal numbers of users A, B, C, and D are 7100, 7000, 6000, and 6100
respectively.
IMS network
SIP AT0
trunk
Eth1/0/0
PBX
Port Port
User A User D
2/0/0 2/0/1
User B User C
Enterprise 1 Enterprise 2
Campus
Configuration Roadmap
The configuration procedure is as follows:
1. Set the service mode of the router to PBX, and set public parameters.
Configure enterprises 1 and 2, and connect the enterprises to the router.
2. Configure the users, call prefixes, trunk group, call route, and post-routing
number change for enterprise 1 so that intra-office users of enterprise 1 can
make intra-office and outgoing calls.
3. Configure the users, call prefixes, trunk group, call route, and post-routing
number change for enterprise 2 so that intra-office users of enterprise 2 can
make intra-office and outgoing calls.
Data Plan
The data plan provided in this example is for reference only. Plan data by
negotiating with users and the carrier.
7100–7104 N/A
N/A 56623000
6100–6104 N/A
N/A 56623001
8 Outgoing 0
9 Outgoing 0
Procedure
Step 1 Set the service mode to PBX.
<Huawei> system-view
[Huawei] voice
[huawei-voice] service-mode pbx
[huawei-voice] quit
[Huawei] save
The current configuration will be written to the device.
Are you sure to continue? (y/n)[n]:yIt will take several minutes to save configuration file, please wait..........
Configuration file had been saved successfully
Note: The configuration file will take effect after being activated
<Huawei>reboot
Info: The system is comparing the configuration, please wait.
System will reboot! Continue ? [y/n]:yInfo: system is rebooting, please wait...
Step 2 Set the Ethernet IP address of interface 0/0/0 to 192.168.1.2, and add 192.168.1.2
to the media IP address pool and signaling IP address pool of the interface.
<Huawei> system-view
[Huawei] interface gigabitethernet 0/0/0
[Huawei-GigabitEthernet0/0/0] ip address 192.168.1.2 24
[Huawei-GigabitEthernet0/0/0] quit
[Huawei] voice
[Huawei-voice] voip-address media interface gigabitethernet 0/0/0 192.168.1.2
[Huawei-voice] voip-address signalling interface gigabitethernet 0/0/0 192.168.1.2
[Huawei-voice] quit
Step 3 Set the default country code to 86 and default area code to 571, and enable
country code change and area code change.
[Huawei] voice
[Huawei-voice] pbx default-country-code 86 default-area-code 571
[Huawei-voice] pbx enable-country-area-transform enable
Step 6 Set the enterprise of users A and B to hw, the DN set to local, the intra-office call
prefix to 7, and the outgoing call prefix to 8.
NOTE
Set the enterprise of users C and D to hw1, the DN set to local1, the intra-office call prefix
to 6, and the outgoing call prefix to 9.
[Huawei-voice] callprefix 7
[Huawei-voice-callprefix-7] enterprise hw dn-set local
[Huawei-voice-callprefix-7] prefix 7
[Huawei-voice-callprefix-7] call-type category basic-service attribute 0
[Huawei-voice-callprefix-7] digit-length 4 32
[Huawei-voice-callprefix-7] quit
[Huawei-voice] callprefix 8
[Huawei-voice-callprefix-8] enterprise hw dn-set local
[Huawei-voice-callprefix-8] prefix 8
[Huawei-voice-callprefix-8] call-type category basic-service attribute 1
[Huawei-voice-callprefix-8] digit-length 1 32
[Huawei-voice-callprefix-8] quit
[Huawei-voice] callroute 8
[Huawei-voice-callroute-8] quit
[Huawei-voice] callprefix 8
[Huawei-voice-callprefix-8] callroute 8
[Huawei-voice-callprefix-8] quit
Step 7 Configure SIP user A whose user number is 7100 and authentication password is
a123456.
NOTE
Configure users D whose enterprise is hw1 and user number is 6100. For details, see the
configuration of user 7100.
[Huawei-voice] pbxuser 7100 sipue enterprise hw
[Huawei-voice-pbxuser-7100] dn-set local
[Huawei-voice-pbxuser-7100] sipue 7100
[Huawei-voice-pbxuser-7100] telno 7100
[huawei-voice-pbxuser-7100] eid-para password cipher
Please input user password(6-64 chars): *******
[Huawei-voice-pbxuser-7100] quit
Configure users C whose enterprise is hw1 and user number is 6000. For details, see the
configuration of user 7000.
[Huawei-voice] pbxuser 7000 pots enterprise hw
[Huawei-voice-pbxuser-7000] dn-set local
[Huawei-voice-pbxuser-7000] port 2/0/0
[Huawei-voice-pbxuser-7000] telno 7000
[Huawei-voice-pbxuser-7000] call-right in idd enable
[Huawei-voice-pbxuser-7000] call-right out idd enable
[Huawei-voice-pbxuser-7000] quit
NOTE
Configure post-routing number change scheme 9 to retain calling numbers and delete the
first digit of called numbers when users of enterprise 2 make outgoing calls through the SIP
AT0 trunk.
[Huawei-voice] callprefix 8
[Huawei-voice-callprefix-8] callroute 8
[Huawei-voice-callprefix-8] quit
[Huawei-voice] trunk-group sipat0
[Huawei-voice-trunkgroup-sipat0] callroute 8
[Huawei-voice-trunkgroup-sipat0] quit
[Huawei-voice] afterroute-change 8
[Huawei-voice-afterroute-change-8] callprefix 8
[Huawei-voice-afterroute-change-8] trunk-group sipat0
[Huawei-voice-afterroute-change-8] caller no-change
[Huawei-voice-afterroute-change-8] called del 1 1
[Huawei-voice-afterroute-change-8] save
----End
Configuration Files
● Router configuration
#
interface GigabitEthernet0/0/0
ip address 192.168.1.2 255.255.255.0
#
voice
voip-address media interface GigabitEthernet 0/0/0 192.168.1.2
voip-address signalling interface GigabitEthernet 0/0/0 192.168.1.2
pbx default-area-code 571
pbx enable-country-area-transform enable
#
callroute 8
#
enterprise hw
dn-set local
#
enterprise hw1
dn-set local1
#
sipserver
signalling-address ip 192.168.1.2 port 5060
media-ip 192.168.1.2
register-uri abcd.com
home-domain abcd.com
#
trunk-group sipat0 sip trunk-circuit
enterprise hw dn-set local
callroute 8
signalling-address ip 192.168.1.2 port 5061
media-ip 192.168.1.2
peer-address static 192.168.10.10 5060
register-uri abcd.com
home-domain abcd.com
trunk-sipat0 56623000 default-called-telno 7000
trunk-sipat0 56623000 password cipher %^%#wlyf~LstT9[[t|HjP*N3>t{Q3!f8>2e#PDM@Ga-:%^%#
#
trunk-group sipat1 sip trunk-circuit
Networking Requirements
● When the central node is correctly connected to the AR local node:
– All users at the headquarters and branches register with the central node.
– The central node processes all internal calls.
● When the central node is faulty or disconnects from the local node, local
users register with the local node, and the local node processes service
requests (including intra-office calls and incoming and outgoing calls) from
local users. This is known as local regeneration.
Figure 2-85 shows the typical network.
The unified gateway is connected to the AR to achieve the following objectives:
● Intra-office calls can be made by dialing short numbers between IP phones,
POTS phones, and fax machines at the headquarters, branch 1, and branch 2.
● The central node can be connected to local nodes through SIP trunks and to
the PSTN to implement incoming and outgoing calls.
PRA
POTS phone
U1900
IAD Central Node
10.10.10.3/24 10.10.10.2/24
Fax machine
IP Phone
10.10.10.4/24
Headquarters 10.10.10.1/24 Router
Network cable
192.168.1.2/24
E1/T1 trunk cable
Phone line
Router Router
192.168.1.1/24 172.16.1.1/24
POTS phone
IAD
192.168.1.3/24
Fax machine
Data Plan
The data plan provided in this example is for reference only. Plan data by
negotiating with users and the carrier.
Procedure
Step 1 Configure the service mode to IP PBX.
<Huawei> system-view
[Huawei] voice
[huawei-voice] service-mode pbx
[huawei-voice] return
[Huawei] save
The current configuration will be written to the device.
Are you sure to continue? (y/n)[n]:yIt will take several minutes to save configuration file, please wait..........
Configuration file had been saved successfully
Note: The configuration file will take effect after being activated
<Huawei> reboot
Info: The system is comparing the configuration, please wait.
System will reboot! Continue ? [y/n]:yInfo: system is rebooting, please wait...
Step 2 Set the IP address of interface 0/0/0 to 172.16.1.2, and add 172.16.1.2 to the
media and signaling IP address pools of the interface.
<Huawei> system-view
[Huawei] interface gigabitethernet 0/0/0
[Huawei-GigabitEthernet0/0/0] ip address 172.16.1.2 24
[Huawei-GigabitEthernet0/0/0] quit
[Huawei] voice
[Huawei-voice] voip-address media interface gigabitethernet 0/0/0 172.16.1.2
[Huawei-voice] voip-address signalling interface gigabitethernet 0/0/0 172.16.1.2
Step 4 Set the default country code to 86 and default area code to 021. Enable country/
area code transformation.
[Huawei-voice] pbx default-country-code 86 default-area-code 021
[Huawei-voice] pbx enable-country-area-transform enable
The method for configuring intra-office prefix 2888 is similar. Set the minimal
number length to 8.
[Huawei-voice] callprefix 8
[Huawei-voice-callprefix-8] prefix 8
[Huawei-voice-callprefix-8] call-type category basic-service attribute 0
[Huawei-voice-callprefix-8] digit-length 5 32
[Huawei-voice-callprefix-8] quit
Use the same method to configure inter-office prefix 9021 whose call
attribute is 1, national inter-office prefix 90 whose call attribute is 2, and
international inter-office prefix 900 whose call attribute is 3.
[Huawei-voice] callprefix 9
[Huawei-voice-callprefix-9] prefix 9
[Huawei-voice-callprefix-9] call-type category basic-service attribute 1
[Huawei-voice-callprefix-9] digit-length 1 32
[Huawei-voice-callprefix-9] quit
[Huawei-voice] callroute 1
[Huawei-voice-callroute-1] quit
[Huawei-voice] callprefix 9
[Huawei-voice-callprefix-9] callroute 1
[Huawei-voice-callprefix-9] quit
SIP users at branches have been configured on the central node, and SIP user
numbers have been synchronized to the local node, so user numbers do not
need to be allocated to the SIP users on the local node.
2. Configure the POTS user whose number is 88001 and call rights to all.
[Huawei-voice] pbxuser 88001 pots
[Huawei-voice-pbxuser-88001] port 2/0/1
[Huawei-voice-pbxuser-88001] telno 88001
[Huawei-voice-pbxuser-88001] proxyreg-id 88001
[Huawei-voice-pbxuser-88001] proxyreg-password cipher
Please input user password(8-64 chars):*********
//The password is the same as the authentication password for adding the POTS user of local node
AR on the U1900 central node.
[Huawei-voice-pbxuser-88001] call-right in all
[Huawei-voice-pbxuser-88001] call-right out all
[Huawei-voice-pbxuser-88001] quit
//When a POTS user registers with the central node through the AR local agent, configure the header
field on the AR, enabling the unified gateway at the central node to identify the POTS user.
[Huawei-voice] sip
[Huawei-voice-sip] field-header user-agent HUAWEI-eSpace-UCExpress
Skip this step if the transmission mode in step 9 is configured to TCP. However, non-encrypted
TCP transmission has security risks. It is recommended that you use TLS transmission.
1. Obtain the servercert.pem certificate file and serverkey.pem private key file
from the U1900 series unified gateway host software package (if you do not
have the software package, download it from https://support.huawei.com/
enterprise).
Certificate and private key files are credentials for TLS transmission
authentication. Matched certificate and private key files are preconfigured
when the U1900 series unified gateways are delivered.
It is recommended that you replace the preconfigured files with certificate
and private key files generated by the customer or issued by an official
authority. After certificate and private key files are replaced on the AR, import
matched certificate and private key files to the U1900 series unified gateway.
2. Upload certificate and private key files to the AR.
3. Configure the policy.
[Huawei] pki realm u1900
[Huawei-pki-realm-u1900] quit
[Huawei] ssl policy u1900 type server
[Huawei-ssl-policy-u1900] pki-realm u1900
[Huawei-ssl-policy-u1900] quit
NOTE
You can obtain the decryption password for the private key file attached with the U1900
series unified gateway from Configuration > Configuration Guide > Advanced
Configuration > Configuring Signaling Encryption in the eSpace U1900 series unified
gateway product documentation.
5. Access the local-survival view and bind the policy.
[Huawei-voice] local-survival
[Huawei-voice-local-survival] transfer tls
[Huawei-voice-local-survival] ssl-server-policy u1900
[Huawei-voice-local-survival] reset
[Huawei-voice-local-survival] save
----End
sipserver
signalling-address ip 172.16.1.2 port 5060
media-ip 172.16.1.2
register-uri abcd.com
home-domain abcd.com
#
trunk-group pra dss1-user
trunk-pra 1/0/0
callroute 1
#
trunk-group sipat0 sip trunk-circuit
signalling-address ip 172.16.1.2 port 5061
media-ip 172.16.1.2
peer-address static 10.10.10.2 5060
register-uri abcd.com
home-domain abcd.com
trunk-sipat0 28888001 default-called-telno 88001
#
trunk-group sipip sip no-register
callroute 2
signalling-address ip 172.16.1.2 port 5063
media-ip 172.16.1.2
peer-address static 10.10.10.2 5060
register-uri abcd.com
home-domain abcd.com
#
callprefix 8
prefix 8
call-type category basic-service attribute 0
digit-length 5 32
#
callprefix 9
prefix 9
call-type category basic-service attribute 1
digit-length 1 32
callroute 1
#
callprefix ivr
prefix 28888999
call-type category vu-service vu-service-name vudefault
digit-length 8 32
#
local-survival
dataserver ip 10.10.10.2
dataservertype u1900
local-address ip 172.16.1.2
sync-interval 2
password cipher %^%#nw@y%OP0$#],HR"wQH/3`|.@A7+ZttF2*1D!)C~.or3f~>0ZB#EX,3dEoR%^%#
ssl-server-policy u1900
primary-trunk-group sipip proxyreg-trunk-group sipat0
#
pbxuser 88001 pots
telno 88001
port 2/0/1
call-right out all
#
afterroute-change 9
callprefix 9
trunk-group pra
caller del-then-Insert 1 32 28888999
called del 1 1
#
3 SIP AG Configuration
SIP AG
A SIP AG is a voice gateway that exchanges SIP signals with other devices between
the PSTN/ISDN and IP network. It can implement VoIP functions.
Terms
● IMS
The IP Multimedia Core Network Subsystem (IMS) is an architectural
framework for providing IP multimedia services, including audio, video, text,
and instant messages. It was designed by the wireless standards body 3rd
Generation Partnership Project (3GPP) in Release 5.
● SIP
SIP is a text-based signaling protocol. SIP messages are classified into Request
and Response messages. As an application layer protocol, SIP establishes,
modifies, or terminates multimedia sessions and creates and controls
multimedia sessions among two or more parties. SIP can work with specified
protocols to complete session setup and media negotiation, such as Real-Time
Transport Protocol (RTP), Real-Time Transport Control Protocol (RTCP),
Session Description Protocol (SDP), Real-time Stream Protocol (RTSP),
Domain Name System (DNS), Stream Control Transmission Protocol (SCTP),
and Transmission Control Protocol (TCP).
REGISTER (1)
401(2)
REGISTER (3)
200 OK (4)
Redirected
SIP AG IMS Core
Server
REGISTER(1)
301(2)
REGISTER(3)
200 OK(4)
2. When receiving the REGISTER message, the IMS core sends a 200 OK message
to the SIP AG and deregisters the user.
REGISTER (1)
200 OK (2)
12. SIP AG2 receives the BYE message, plays the busy tone to the called party,
and sends a 200 OK message to the calling party.
13. The called party hangs up the phone.
IMS
Network
Proxy
POTS1 SIPAG1 SIPAG2 POTS2
server
Off hook
Plays a dial tone
Dials the first digit
Stops the dial tone
Dials the last digit
Matches a digitmap
INVITE
INVITE
100 Trying
100 Trying
Plays ring tone
180 Ringing
180 Ringing
Plays ringback tone
Picks up phone
200 OK
200 OK
Stops ringback tone
ACK
ACK
Call set up
Hangs up
BYE
BYE
Plays busy tone
200 OK Hangs up
200 OK
IMS/IP
SIPAG
IP link
FXS link
E1 link
ISDN link
Basic voice The basic voice service is the basic call Yes
service connection function, including intra-office calls,
local calls, national toll calls, international toll
calls, and transit calls.
Call waiting When UserA is talking with UserB over the Yes
service phone and at this moment UserC is calling
UserA, UserA hears a call waiting tone,
indicating that there is a call waiting for UserA.
Malicious call The user that registers the MCID service with Yes
identification the carrier can query the phone number of the
(MCID) service attacker that initiates malicious calls after
performing relevant operations.
Call transfer The call transfer service allows the called party Yes
service to transfer an incoming call to a third party by
pressing the hookflash so that the calling party
establishes a connection with a new called
party.
Call conference The call conference service allows more than Yes
service three parties to communicate together.
● The SIP AG is registered with the IMS. Then the IMS provides and controls
user services on the SIP AG.
Figure 3-7 Networking where the SIP AG functions as the voice gateway
IMS
Network
SIPAG
IMS
Network
SIPAG
SIPAG
PRA trunk
BRA interface
PBX
POTS
FXS (RJ11 telephone line)
IP link
ISDN-ST cable
E1 cable
Licensing Requirements
For devices that support voice functions (such as PBX, SIP AG, and H.248 AG),
their licensing requirements for the voice functions are as follows:
By default, voice functions cannot be used. To use voice functions, apply for and
purchase the following license from the Huawei local office.
NOTE
This function is not under license control on AR617VW, AR617VW-LTE4, and AR617VW-
LTE4EA.
● AR6100 series: AR6100 Value-Added Voice Package
Hardware Requirements
● The 4FXS1FXO, 16FXS, 32FXS, and 4FXS voice cards support POTS users. For
the mapping between the device and voice card, see 4FXS1FXO (4-Port FXS
+ 1-Port FXO Voice Interface Card), 16FXS (16-Port FXS Voice Interface Card),
32FXS (32-Port FXS Voice Interface Card), 4FXS (4-Port FXS Voice Interface
Card) in the NetEngine AR Get to Know the Product-Hardware Description-
Cards-Voice Card.
● The 2BST voice card supports providing voice services to ISDN phone users.
For the mapping between the device and voice card, see 2BST (2-Port ISDN
S/T Voice Interface Card) in the NetEngine AR Get to Know the Product-
Hardware Description-Cards-Voice Card.
● The E1T1-M interface card supports connecting a router to a TDM PBX
through E1 interface. For the mapping between the device and voice card, see
1E1/T1-M (1-Port Channelized E1/T1/PRI/VE1 Multiflex Trunk Interface Card)
in the NetEngine AR Get to Know the Product-Hardware Description-Cards-
E1/T1 Card.
● The 4FXS voice card only supports PBX.
● The 4FXS voice card does not support three-party services.
● The 4FXS voice card of the AR6300, AR6300-S, and AR6300K does not support
Master/Slave Switchover.
Feature Limitations
None.
Context
You can configure the device to work in SIP AG mode, H.248 AG mode, or PBX
mode. Before configuring SIP AG service features, configure the device to work in
SIP AG mode. Before the configuration, run the display voice service-mode
command to query the working mode of the device. If the working mode is not
SIP AG, you need to run the display current-configuration command to query
the configurations and then delete all configurations in the voice view. Then, set
the working mode of the device to SIP AG. If the device works in SIP AG mode,
skip this configuration.
Pre-configuration Tasks
Before configuring the device to work in SIP AG mode, complete the following
task:
● Configuring IP addresses for interfaces and routing protocols to ensure
connectivity
Procedure
Step 1 Run:
system-view
Step 7 Run:
reboot
NOTE
After the device is configured to work in SIP AG mode, restart the device to make the
configuration take effect.
----End
Context
The SIP AG interface can be used only after the interface IP address is added to
the media and signaling IP address pools. A SIP AG interface must obtain media
and signaling IP addresses from media and signaling IP address pools respectively.
Media IP address pool is generally the same as the signaling IP address pool.
Procedure
Step 1 Run:
system-view
Step 2 Run:
voice
Step 3 Run:
voip-address media interface interface-type interface-number { ip-address | dynamic }
The IP address of the specified SIP AG is added to the media IP address pool.
Step 4 Run:
voip-address signalling interface interface-type interface-number { ip-address | dynamic }
The IP address of the specified SIP AG is added to the signaling IP address pool.
When configuring media and signaling IP address pools, note the following points:
----End
Context
If users want to connect to the IMS for voice, data, and multimedia services, a SIP
AG interface must be configured for registration on the IMS. SIP AG users connect
to the IMS through the SIP AG interface to use voice, data, and multimedia
services.
To allow the SIP AG and IMS network to exchange media and signaling streams,
set the media and signaling IP addresses, signaling port number, and transmission
protocol.
Pre-configuration Tasks
Before configuring a SIP AG interface, complete the following task:
● 3.6.1 Configuring the Device to Work in SIP AG Mode
Procedure
Step 1 Run:
system-view
Step 2 Run:
voice
Step 3 Run:
SIP AG SIP AG-interface-id
Step 5 Run:
reset
NOTICE
Exercise caution when you run this command because resetting a SIP AG affects
running services.
Do not frequently modify SIP AG interface parameters. Reset the SIP AG to make
the configuration take effect.
Step 6 Run:
quit
Step 9 Run:
save
----End
Context
On the IMS, a SIP AG is directly connected to a user terminal. You need to set
attributes for users on the SIP AG so that the users can use services on the IMS.
Pre-configuration Tasks
Before configuring a SIP AG user, complete the following tasks:
● 3.7 Configuring a SIP AG Interface
Procedure
3.8.1 Setting Parameters for a SIP AG User is mandatory and other
configurations are optional.
Context
On the IMS, a SIP AG is directly connected to a user terminal. You need to set
parameters for users on the SIP AG so that the users can use services on the IMS.
Procedure
Step 1 Run:
system-view
Step 2 Run:
voice
Step 3 Run:
SIP AGuser SIP AGuser-name [ port [ pots | bra ] interface-number ]
NOTE
When creating a SIP AG user, specify the interface number using the port interface-number
parameter. When entering the view of an existing SIP AG user, you do not need to input the
interface number.
A SIP AG user is created and the SIP AG user view is displayed.
After creating a SIP AG user, set parameters for the SIP AG user, including the
interface number and basic phone number associated to the SIP AG User.
Step 4 Run:
agid SIP AG-interface-ID
Step 5 Run:
base-telno telno-value [ SIP AGusergroup usergroup-id ]
----End
The mode used to manage users in the SIP AP user group is configured.
● Run:
register-uri-mode { inneruser | alone }
A URI is configured.
● Run:
endservice
----End
Procedure
Step 1 Run:
system-view
Step 3 Run:
sipservicedata SIP AGuser-name telephone-number
----End
Procedure
● Run the display voice SIP AGuser [ SIP AGuser-name ] command to verify
the configuration of the SIP AG user.
● Run the display voice SIP AGusergroup [ SIP AG-interface-id [ usergroup-
id ] ] command to verify information about user group.
● Run the display voice sipservicedata SIP AG-user-name telephone-number
command to verify service data in the SIP service data profile.
----End
Context
NOTICE
The cleared SIP AG statistics cannot be restored. Exercise caution when you run
reset commands.
Procedure
Step 1 Run the reset sctp-association-statistics command in the SIP AG view to clear
statistics about SCTP associations on a SIP AG.
Step 2 Run the reset sctp-global-statistics command in the voice view to clear global
SCTP statistics.
----End
Context
An FXS interface connects to a POTS phone. To achieve high transmission
efficiency on an FXS interface, properly set parameters for the FXS interface on the
device, including physical attributes and electrical attributes.
Pre-configuration Tasks
Before setting parameters for an FXS interface, complete the following task:
Procedure
Step 1 Run:
system-view
Step 2 Run:
voice
Step 3 Run:
port fxs slotid/subcardid/portid
----End
Pre-configuration Tasks
Before setting parameters for a BRA interface, complete the following tasks:
● 3.6.1 Configuring the Device to Work in SIP AG Mode
Procedure
Step 1 Run:
system-view
NOTE
When a BRA interface connects to an ISDN phone, set the working mode of the 2BST interface
card to nt-mode. When a device is configured to work in SIP AG mode, the BRA interface can
only connect to an ISDN phone.
After this command is executed, the configured service is invalid.
After you run this command, the system asks you whether to reset the 2BST interface card. If
you enter Y, the system resets the 2BST interface card to make the configuration take effect. If
the system does not reset the 2BST interface card, run the reset slot command to reset the
2BST interface card.
Step 3 Run:
voice
remote-power enable
----End
Context
When the device works in SIP AG mode, the VE1 interface is used often to connect
to PBXs. The PBX can connect to the SIP AG through the PRA trunk (bound to a
VE1 interface). On the device, you can enable the CRC4 check, VE1 interface Layer
2 monitoring, and VE1 interface pulse code modulation (PCM) alarm functions,
and set the CRC alarm threshold and VE1 interface signaling mode on a VE1
interface.
NOTE
Pre-configuration Tasks
Before setting parameters for a VE1 interface, complete the following task:
● 3.6.1 Configuring the Device to Work in SIP AG Mode
Procedure
Step 1 Run:
system-view
NOTE
Step 3 Run:
voice
Step 4 Run:
port ve1 slotid/subcardid/portid
NOTE
When the PBX connects to the SIP AG through a PRA trunk, configure CCS on the VE1 interface
of the SIP AG.
----End
Context
The AR G3 router working in SIP AG mode can exchange information with a
softswitch device using SIP to implement call services. Different countries and
regions use different voice parameter standards; therefore, set voice parameters
on the SIP AG in accordance with local standards.
Pre-configuration Tasks
Before setting system parameters, complete the following task:
● 3.6.1 Configuring the Device to Work in SIP AG Mode
Procedure
The following configurations are optional.
Context
The upper and lower thresholds for hookflash pressing determine the hookflash
duration. Hookflash or flash is a button on a telephone that simulates quickly
hanging up and then picking up again (a quick off-hook/on-hook/off-hook cycle).
The hookflash can be pressed by a calling party or a called party.
The softswitch provides services after the hookflash button is pressed. The
following describes the common scenarios after a hookflash press:
Procedure
Step 1 Run:
system-view
Step 2 Run:
voice
NOTE
The lower threshold for hookflash pressing must be 50 ms less than the upper threshold for
hookflash pressing.
----End
Context
If there are leave messages, the user device configured with the MWI function
makes the indicator on or plays a tone, indicating that there are leave messages.
You can set the MWI mode according to user habits.
Procedure
Step 1 Run:
system-view
----End
Context
You can configure the G.711 codec mode for voice services so that the user device
can work in compliance with the local standard G.711, also known as Pulse Code
Modulation (PCM), is a commonly used waveform codec. G.711 defines two main
compression algorithms, the µ-law algorithm (used in North America & Japan)
and A-law algorithm (used in Europe and China). A-law encoding takes a 13-bit
signed linear audio sample as input. μ-law encoding takes a 15-bit signed linear
audio sample as input.
Procedure
Step 1 Run:
system-view
----End
Context
Different countries and regions use different ringing standards. You can set the AC
amplitude of the ringing current to adjust the ringing tone volume, voice pitch,
cadence ratio, and initial ringing function on the device to meet local standards.
Procedure
Step 1 Run:
system-view
● Run:
stop-initial-ring { enable | disable }
----End
3.10.4.5 Enabling the Function That Reduces the Feed on Locked Ports
Procedure
Step 1 Run:
system-view
Step 2 Run:
voice
Step 3 Run:
park-feed enable
----End
Context
When the CLIP service is registered, CLIP parameters in offhook state need to be
configured on the device so that the device can work with the phone terminal.
Generally, default parameter settings are used. If CLIP parameters are not set
properly, change relevant CLIP parameters.
Procedure
Step 1 Run:
system-view
Step 2 Run:
voice
The interval between the time when the ACK message is received and the
time when the frequency-shift keying (FSK) is transmitted in offhook state is
set.
● Run:
clip offhook dtas-ack-interval dtas-ack-interval
The maximum duration between the time when the dual tone-alerting signal
(DT-AS) is transmitted and the time when the ACK message is received in
offhook state is set.
● Run:
clip offhook dtas-duration dtas-dur-value
The duration of the dual tone-alerting signal (DT-AS) in offhook state is set.
● Run:
clip offhook dtas-level dtas-level
The number of bits of the FSK synchronization mask in offhook state is set.
----End
Context
When the CLIP service is registered, CLIP parameters in onhook state need to be
configured on the device so that the device can work with the phone terminal.
Generally, default parameter settings are used. If CLIP parameters are not set
properly, change relevant CLIP parameters.
Procedure
Step 1 Run:
system-view
The interval between the time when the DT-AS is transmitted and the time
when the FSK is transmitted in onhook state is set.
● Run:
clip onhook dtas-level dtas-level
The number of bits of the FSK synchronization mask in onhook state is set.
----End
3.10.4.8 Setting the Number of SIP Register Messages Sent Every Second
Procedure
Step 1 Run:
system-view
----End
3.10.4.9 Loading the Voice Prompt File and Voice Service Logic File
Context
A prompt tone is the voice prompt heard by the calling and called users when the
calling user initiates a call. For example, when the calling user calls the called user,
the calling user hears the prompt tone indicating that the called user is busy. A
voice prompt file stores all voice prompt tones. The voice service logic file defines
the service exchange process.
The system software has the default voice prompt file and voice service logic file.
Voice prompt tone rules and services (including three-way conversation, three-
party service, teleconference, call transfer, and call waiting) have different usage
scenarios in different countries. You can customize the voice prompt voice and
voice service logic file according to service requirements.
Procedure
Step 1 Make the voice prompt file and voice service logic file and generate a file with file
name extension .res or .cc.
NOTE
For details about generating the voice prompt file and voice service logic file with file name
extension .res or .cc, please contact technical support personnel.
You make the voice prompt file and voice service logic file into the same file or two different
files with file name extension .res or .cc and then load the file to the device.
Step 2 Upload or download the voice prompt file and voice service logic file to the
device's memory.
Step 3 Load the voice prompt file and voice service logic file. You can load the voice
prompt file and voice service logic file using either of the following methods.
● Method 1: Perform the following operation in the user view:
a. Run the load voice-package filename command to load the voice
prompt file/voice service logic file.
NOTE
When you use this method to load the voice prompt file and voice service logic file,
the files take effect immediately after being loaded and the voice prompt file and
voice service logic file for next startup are modified.
● Method 2: Perform the following operation in the user view:
a. Run the startup voice-package filename command to load the voice
prompt file.
NOTE
To make the current voice prompt file and voice service logic file continue to take
effect and the new voice prompt file and voice service logic file take effect during
next startup, use this method.
b. Run the reboot to restart the device.
----End
Context
Different media ports may be used in different scenarios, so media port number
range needs to be set.
Procedure
Step 1 Run:
system-view
Step 2 Run:
voice
Step 3 Run:
media-port start start-port-value end end-port-value
----End
Procedure
● Run the display voice configuration command to verify the voice
configuration.
● Run the display voice user-defined-ring [ring-index ] command to verify
user-defined ring information.
● Run the display voice clip command to verify CLIP parameter settings.
● Run the display voice sip-reg-count-per-second command to check the
number of SIP Register messages initiated per second.
● Run the display startup command to check the loaded voice prompt file and
voice service logic file.
● Run the display voice media-bandwidth-control command to verify the CAC
configuration on the SIP AG and uplink bandwidth occupied by voice data.
----End
Context
The Session Initiation Protocol (SIP) is a text-based signaling protocol. SIP
messages are classified into Request and Response messages. As an application
layer protocol, SIP establishes, modifies, or terminates multimedia sessions and
creates and controls multimedia sessions among two or more parties. SIP can
work with specified protocols to complete session setup and media negotiation,
such as Real-Time Transport Protocol (RTP), Real-Time Transport Control Protocol
(RTCP), Session Description Protocol (SDP), Real-time Stream Protocol (RTSP),
Domain Name System (DNS), Stream Control Transmission Protocol (SCTP), and
Transmission Control Protocol (TCP).
Pre-configuration Tasks
Before setting SIP protocol stack parameters, complete the following task:
● 3.6.1 Configuring the Device to Work in SIP AG Mode
Procedure
Step 1 Run:
system-view
----End
Context
The digital signal processing (DSP) collects, converts, filters, measures, enhances,
compresses, or identifies signals and coverts the signal from an analog to a digital
form.
The DSP module converts analog voice signals into digital signals and stores a
certain number of digital signals into packets for transmission. To improve the
voice communication quality, the DSP needs to process voice signals.
Pre-configuration Tasks
Before setting DSP parameters, complete the following task:
● 3.6.1 Configuring the Device to Work in SIP AG Mode
Procedure
The following configurations are optional.
Context
A user may hear the user's echo in the phone receiver in a conversation. If the
delay exceeds 25 ms, the voice quality deteriorates.
Users can enable echo cancellation on a DSP channel to eliminate the echo and
improve voice quality.
Procedure
Step 1 Run:
system-view
----End
Context
PLC is a technique that masks the effects of packet loss in VoIP communications.
PLC is effective only when the packet loss ratio is low. During communication, the
average packet loss ratio may be low, but a high burst packet loss ratio results in
severe voice quality deterioration. PLC can insert a static frame in the place where
a packet is lost, regenerate a packet received prior to the lost one, or generate an
analog voice packet. If packets are lost during communication and PLC is not used,
the voice communication is interrupted. You can use a proper PLC algorithm to
minimize effects of packet losses.
Procedure
Step 1 Run:
system-view
----End
Context
To save network bandwidth, enable silence compression on a DSP channel. When
no voice is detected, the encoder generates short silence codes, but does not
generate voice compression codes. In addition, the encoder notifies the receiver of
silence start until the voice is restored. The silence compression function reduces
the number of sent voice packets.
Procedure
Step 1 Run:
system-view
----End
Context
This section describes how to set fax parameters.
Procedure
Step 1 Run:
system-view
V8 negotiation is enabled.
----End
Context
Delay variations in voice packet arrival time can occur because of network
congestion or route changes. To reduce sound distortion caused by the delay jitter
and packet loss, a jitter buffer is used. You can set proper jitter buffer parameters
to minimize delay variations so that packets can be processed in a timely manner
and smooth voice communication can be provided as much as possible.
Procedure
Step 1 Run:
system-view
----End
Context
This section describes how to set the payload type value.
Procedure
Step 1 Run:
system-view
Step 2 Run:
voice
Step 3 Run:
dsp-attribute
NOTE
----End
Context
RTCP monitors the quality of service and conveys information about participants
in an on-going session. RTCP periodically sends packets to all the participants in
the session to monitor the quality of service and obtain identity information about
the participants. This section describes how to set RTP control protocol (RTCP)
parameters.
Procedure
Step 1 Run:
system-view
voice
The RTP Control Protocol Extended Reports (RTCP XR) function is enabled.
● Run:
rtcp sev-degradethreshold sev-degradethresholdval
----End
Context
DSP resources are limited and users have different requirements for DSP resources.
To control and allocate DSP resources properly, set the DSP resource control mode
and the resource threshold in hierarchical control mode.
Procedure
Step 1 Run:
system-view
----End
Context
You can enable a digital signal processor (DSP) channel to work in loopback
mode, and set the loopback mode (PCM-side loopback test and IP-side loopback
test). When the DSP channel between the calling party and called party cannot
transmit signals or can transmit signals only in one direction, run the loop-back
command to locate the fault. If the calling party hears the echo in a PCM-side
loopback test, the speech channel between the calling phone and the calling DSP
channel is functioning properly. If the called party hears the echo in an IP-side
loopback test, the speech channel between the called phone and the calling DSP
channel is functioning properly.
To control resources of DSP channels, prohibit the DSP channels. The prohibited
DSP channels cannot participate in resource allocation.
Procedure
Step 1 Run:
system-view
Step 2 Run:
voice
Step 3 Run:
dsp slot/dsp-index
----End
Context
After the configuration of DSP is complete, you can view the DSP parameter
settings including fax parameter settings and jitter buffer parameter settings.
Procedure
● Run the display voice dsp-attribute command to verify the DSP
configuration.
● Run the display voice dsp statistic command to check the DSP statistics.
● Run the display voice dsp state { slot/dsp-index | channel slot/dsp-index/
channel } command to check the status of a DSP or DSP channel.
----End
4 H.248 AG Configuration
Definition
H.248 is a recommendation from the International Telecommunication Union -
Telecommunication Standardization Sector (ITU-T) and was first published
(version 1) in June 2000. It is a gateway control protocol that is used by a Media
Softswitch
(MGC)
IP
H.248 Network H.248
MG-0 MG-1
POTS-0 POTS-1
Context
RTP stream
Call
Terms
● MG
A core network device for converting the media format of a network to the
required format of another network. It can process audio, video, and data
services, and convert the media format in full duplex mode. It can also play
certain audio and video signals and provide the interactive voice response
(IVR) function and media conference.
● MGC
In the ITU-T H.323 architecture, the MGC is responsible for call control on
MGs.
● MGCP
This protocol defines a call control architecture for signaling processing and
session management in multimedia conferences. In this architecture, call
control is separated from data transmission. MGCP is a master/slave protocol
that allows a call control device such as an MCG or Call Agent (CA) to take
control of a specific port on a Media Gateway.
● UDP
UDP is one of the core members of the Internet protocol suite. It allows
applications on a computer to send datagrams to other computers on an IP
network. UDP is a message-based connectionless protocol that provides
unreliable connections for applications. It provides no guarantees for message
delivery. UDP messages may be discarded, repeated, delayed, or transmitted
in an incorrect sequence. When data is transmitted using UDP, the destination
does not actively inform the source of the transmission result.
● SCTP
A transport layer protocol used between the SCTP user application and a
connectionless packet network. In the SIGTRAN protocol stack, the upper
layer of SCTP is the adaptation module of the SCN signaling, for example,
M2UA and M2UA, and the lower layer of SCTP is the IP network. The SCTP
protocol delivers the higher reliability, optimum real-time performance, and
multi-homing feature for signaling transmission.
● H.248
A media gateway control protocol used for communications between the
media gateway controller (MGC) and the media gateway (MGW) in the
detached gateway architecture so that the MGC can control the MGW. In
Universal Mobile Telecommunications System (UMTS) networks, the interface
between the MGC and the MGW is the MC interface and the 3GPP defines
specific usage of H.248 over the MC interface.
● VoIP
VoIP is a group of technologies used for the delivery of voice communications
and multimedia sessions over IP networks, such as the Internet. The VoIP
service is cheaper and is available on smartphones, personal computers, and
Internet access devices. VoIP calls are free for Internet users.
Termination ID
A termination ID identifies a termination that is going to register or deregister a
service. The termination ID of each termination is unique. During service
configuration, the termination ID corresponding to each termination must be
configured on the MG and MGC. The root termination ID represents an entire MG.
The ServiceChange command executed on the root termination ID is effective on
an entire MG. The wildcard can be used.
MG MGC
ServiceChangerequest (1)
Reply (2)
Modify (3)
Reply (4)
heartbeat message is sent every 60s. The sending interval can be set within the
range of 5s to 655s.
After the MG sends the first heartbeat message to the MGC, if the MG does not
receive the heartbeat response from the MGC before the preset interface
heartbeat timer (for example, the length of three sending intervals) times out, the
MG sets the interface status to wait for response. Then, the MG keeps initiating a
registration with the MGC. If dual-homing is configured, the MG initiates
registration with the two MGCs alternatively.
MG MGC
ServiceChangerequest (1)
Reply (2)
Figure 4-4 shows the flow of the MGC unsolicitedly deregistering the MG.
● The MGC sends the ServiceChangeRequest command to the MG. In the
command, TerminationId is Root, Method is Forced, and
ServiceChangeReason is 905.
● The MG responds to the MGC with the Reply message. The MG supports the
registration and deregistration of not only an entire MG but also a single
termination. The service status of a single user can be changed through the
registration and deregistration of a single termination.
MG MGC
ServiceChangerequest (1)
Reply (2)
MG MGC
ServiceChangerequest (1)
Reply (2)
Modify (3)
Reply (4)
Modify (5)
Reply (6)
10. The MGC sends the session description of MG-1 to user A0 through the
Modify command. Then a call is set up between user A0 and user A1.
11. MG-0 detects the onhook of user A0 and notifies the MGC of the onhook
event through the Notify command.
12. The MGC sends the Modify command to MG-0 and MG-1 respectively to
modify the RTP mode to receive-only.
13. The MGC sends the Modify command to MG-1 requesting MG-1 to play the
busy tone to user A1. At the same time, the MGC checks for the onhook
event.
14. The MGC sends the Subtract command to MG-0, requesting MG-0 to release
the resources that are occupied by the call of user A0.
15. MG-1 detects the onhook of user A1 and notifies the MGC of the onhook
event through the Notify command.
16. The MGC sends the Subtract command to MG-1, requesting MG-1 to release
the resources that are occupied by the call of user A1.
17. The call between user A0 and user A1 is terminated, and all the resources
occupied by the call are released.
Softswitch
Off-hook Notify
Notify_Reply
Modify
Play dial-tone Modify_Reply
Dial the first digit of a number
Stop playing dial-tone
Dial the remaining digits
Match digitmap
Notify
Notify_Reply
Add
Add_Reply
Add
Add_Reply
Modify
Modify Ringing
Play ringback tone Modify_Reply
Modify_Reply Off-hook
Modify
Modify
Stop playing ringback tone Modify_Reply
Modify_Reply
Call set up
On-hook Notify
Notify_Reply
Modify
Modify_Reply
Subtract
Subtract_Reply
Modify
Modify
Modify_Reply
Modify_Reply Busy-tone
On-hook
Notify
Notify_Reply
Subtract
Subtract_Reply
Modify
Modify_Reply
Basic voice service The basic voice service provides call connections,
including intra-office calls, local calls, national long-
distance calls, international long-distance calls, and
transit calls.
Call waiting If user C calls user A when user A is talking with user B,
user A hears a call waiting tone indicating that there is
an incoming call.
Call transfer service The call transfer service allows the called party to
transfer an incoming call to a third party by pressing the
hookflash so that the calling party establishes a
connection with a new called party.
Call conference The call conference service allows more than three
service parties to talk to each other.
Calling line The CLIP service displays the calling number in onhook
identification state or offhook state (for call waiting). The displayed
presentation (CLIP) information includes the phone number, name, date, and
service time.
Calling line The CLIR service shields the calling number on the
identification terminal of a called party.
restriction (CLIR)
service
Distinctive ringing The distinctive ringing service plays different ring tones
service for incoming calls from different calling parties.
Advice of charge The AoC service displays the charge rate, fee notification
(AoC) service during a call, and total fee of the call.
Completion of Calls The CCBS service enables the H.248 AG to monitor the
to Busy Subscriber called party status when the called party is busy. When
(CCBS) service the called party is idle, the H.248 AG notifies the calling
party so that the calling party can determine whether to
make a call to the called party again.
Anonymous call The anonymous call service prevents the called party
service from viewing information about incoming calls.
Softswitch
H.248AG
Licensing Requirements
For devices that support voice functions (such as PBX, SIP AG, and H.248 AG),
their licensing requirements for the voice functions are as follows:
By default, voice functions cannot be used. To use voice functions, apply for and
purchase the following license from the Huawei local office.
NOTE
This function is not under license control on AR617VW, AR617VW-LTE4, and AR617VW-
LTE4EA.
● AR6100 series: AR6100 Value-Added Voice Package
● AR6200 series: AR6200 Value-Added Voice Package
● AR6300 series: AR6300 Value-Added Voice Package
Hardware Requirements
● The 4FXS1FXO, 16FXS, 32FXS, and 4FXS voice cards support POTS users. For
the mapping between the device and voice card, see 4FXS1FXO (4-Port FXS
+ 1-Port FXO Voice Interface Card), 16FXS (16-Port FXS Voice Interface Card),
32FXS (32-Port FXS Voice Interface Card), 4FXS (4-Port FXS Voice Interface
Card) in the NetEngine AR Get to Know the Product-Hardware Description-
Cards-Voice Card.
● The 2BST voice card supports providing voice services to ISDN phone users.
For the mapping between the device and voice card, see 2BST (2-Port ISDN
S/T Voice Interface Card) in the NetEngine AR Get to Know the Product-
Hardware Description-Cards-Voice Card.
● The E1T1-M interface card supports connecting a router to a TDM PBX
through E1 interface. For the mapping between the device and voice card, see
1E1/T1-M (1-Port Channelized E1/T1/PRI/VE1 Multiflex Trunk Interface Card)
in the NetEngine AR Get to Know the Product-Hardware Description-Cards-
E1/T1 Card.
● The 4FXS voice card only supports PBX.
● The 4FXS voice card does not support three-party services.
● The 4FXS voice card of the AR6300, AR6300-S, and AR6300K does not support
Master/Slave Switchover.
Feature Limitations
None.
Context
You can configure the device to work in H.248 AG, SIP AG, or PBX mode. Before
configuring H.248 AG service features, configure the device to work in H.248 AG
mode. Before the configuration, run the display voice service-mode command to
query the working mode of the device. If the working mode is not H.248 AG, you
need to run the display current-configuration command to query the
configurations and then delete all configurations in the voice view. Then, set the
working mode of the device to H.248 AG. If the device is working in H.248 AG
mode, ignore this configuration.
Pre-configuration Tasks
Before configuring the device to work in H.248 AG mode, complete the following
task:
● Configuring IP addresses and routing protocols for interfaces to ensure
connectivity
Procedure
Step 1 Run:
system-view
NOTE
After the router is configured to work in H.248 AG mode, save the configuration and restart
the router to make the configuration take effect.
----End
Context
An H.248 AG interface can be used only after the interface IP address is added to
the media and signaling IP address pools. An H.248 AG interface must obtain
media and signaling IP addresses from media and signaling IP address pools
respectively.
The media and signaling IP address pools can be the same.
Procedure
Step 1 Run:
system-view
The IP address of the specified interface is added to the media IP address pool.
Step 4 Run:
voip-address signalling interface interface-type interface-number { ip-address | dynamic }
The IP address of the specified interface is added to the signaling IP address pool.
When configuring media and signaling IP address pools:
● To specify the ip-address parameter, ensure that an IP address has been
configured for the specified interface.
● To specify the dynamic parameter, ensure that an IP address has been
dynamically assigned to the specified interface.
----End
Context
If users want to connect to the softswitch for voice, data, and multimedia services,
an H.248 AG interface must be configured for registration on the softswitch. H.248
AG users connect to the softswitch through the H.248 AG interface to use voice,
data, and multimedia services.
To allow the H.248 AG and softswitch to exchange media and signaling streams,
the media and signaling IP addresses, signaling port number, and transmission
protocol need to be configured for the H.248 AG interface.
Pre-configuration Tasks
Before configuring an H.248 AG interface, complete the following task:
● 4.6.1 Configuring the Device to Work in H.248 AG Mode
Procedure
Step 1 Run:
system-view
Step 2 Run:
voice
Step 3 Run:
H248ag mgid
Step 5 Run:
reset coldstart
NOTICE
● Exercise caution when you run this command because resetting an H.248 AG
affects running services.
● Do not frequently modify H.248 AG interface parameters. To make the
configuration take effect, you must reset the H.248 AG.
● The standby MGC server is optional. You must configure the standby MGC
server only when dual-homing is used.
The authentication mode on the H.248 MG interface is defined by the standard protocol, and
the encryption algorithm cannot be changed at random. A change of the encryption algorithm
will cause a failure to connect to the MGC.
TID format of the H. tid-format { rtp | pstn | bra | The TID format of
248 AG interface pra } { prefix prefix-string | tid- the H.248 AG
template index } interface needs to
be specified.
NOTE
Make sure the tid is
configured as the
softswitch.
Otherwise, you will
fail to configure the
h.248 users.
----End
Pre-configuration Tasks
Before configuring an H.248 AG user, complete the following task:
● 4.7 Configuring an H.248 AG Interface
Configuration Procedure
----End
Pre-configuration Tasks
Before configuring an ISDN user, complete the following task:
● 4.6.1 Configuring the Device to Work in H.248 AG Mode
Procedure
Step 1 Run:
system-view
Step 8 Run:
uni-report flag
Step 9 Run:
auto-resume-limit limit
Step 10 Run:
power-dialer limit
----End
Run the display voice h248aguser pra command to verify the ISDN PRA user
configuration.
Context
An FXS interface connects to a POTS phone. To achieve high transmission
efficiency on an FXS interface, properly set parameters for the FXS interface on the
device, including physical attributes and electrical attributes.
Pre-configuration Tasks
Before setting parameters for an FXS interface, complete the following task:
Procedure
Step 1 Run:
system-view
Step 2 Run:
voice
Step 3 Run:
port fxs slotid/subcardid/portid
----End
Context
A basic rate access (BRA) interface connects to an ISDN phone. On the device, you
can enable the BRA interface Layer 2 monitoring, remote power supply, and alarm
functions, and set the working mode and Layer 1 activation mode on a BRA
interface.
Pre-configuration Tasks
Before setting parameters for a BRA interface, complete the following task:
● 4.6.1 Configuring the Device to Work in H.248 AG Mode
Procedure
Step 1 Run:
system-view
NOTE
When the BRA interface connects to ISDN phones, set the working mode of the 2BST interface
card to nt-mode. When the device is configured to work in H.248 AG mode, the BRA interface
can only connect to ISDN phones.
After this command is executed, the configured service takes no effect.
After you using this command, the system displays a message asking you whether to reset the
2BST interface card. If you enter Y, the system resets the 2BST interface card to make the
configuration take effect. Otherwise, run the reset slot command to restart the 2BST interface
card.
Step 3 Run:
voice
----End
Context
When the device works in H.248 AG mode, the VE1 interface is used often to
connect to PBXs. The PBX can connect to the H.248 AG through the PRA trunk
(bound to a VE1 interface). On the device, you can enable the CRC4 check, VE1
interface Layer 2 monitoring, and VE1 interface pulse code modulation (PCM)
alarm functions, and set the CRC alarm threshold and VE1 interface signaling
mode on a VE1 interface.
NOTE
Pre-configuration Tasks
Before setting parameters for a VE1 interface, complete the following task:
Procedure
Step 1 Run:
system-view
Step 2 Run:
set workmode slot slot-id e1t1 e1-voice
NOTE
Step 3 Run:
voice
Step 4 Run:
port ve1 slotid/subcardid/portid
Step 5 Run:
display voice port ve1 [ state slotid/subcardid/portid | slotid/subcardid/portid ]
The signaling mode of the VE1 interface is displayed. If the signaling mode is not
CCS, run the signal ccs command to change the signaling mode of the VE1
interface to CCS
NOTE
In H.248 AG mode, the signaling mode of the VE1 interface must be CCS.
----End
Context
The AR G3 router working in SIP AG mode can exchange information with a
softswitch device using SIP to implement call services. Different countries and
regions use different voice parameter standards; therefore, set voice parameters
on the SIP AG in accordance with local standards.
Pre-configuration Tasks
Before setting system parameters, complete the following task:
● 4.6.1 Configuring the Device to Work in H.248 AG Mode
Procedure
The following configurations are optional.
Context
The upper and lower thresholds for hookflash pressing determine the hookflash
duration. Hookflash or flash is a button on a telephone that simulates quickly
hanging up and then picking up again (a quick off-hook/on-hook/off-hook cycle).
The hookflash can be pressed by a calling party or a called party.
The softswitch provides services after the hookflash button is pressed. The
following describes the common scenarios after a hookflash press:
● Hookflash pressed by a called party: If the called party UserA wants to
transfer an incoming call to UserB, UserA can press the hookflash and dial the
number of UserB.
● Hookflash pressed by a calling party: UserA calls UserB. UserB answers the
call and talks with UserA. UserA can press the hookflash and dial the number
of UserC after hearing a special dial tone.
After UserA presses the hookflash:
● If UserC is busy, UserA can press the hookflash and talk with UserB.
● If UserC does not respond for a long period of time, UserA can press the
hookflash and talk with UserB.
● If the phone of UserC rings, UserA hangs up and UserB hears the ringback
tone. UserC picks up the phone and talks with UserB.
● Whether a called party can be transferred to a toll call is restricted by the
outgoing right of the called party.
Procedure
Step 1 Run:
system-view
Step 4 Run:
flash-hook upper upper-value
NOTE
The lower threshold for hookflash pressing must be 50 ms less than the upper threshold for
hookflash pressing.
----End
Context
If there are leave messages, the user device configured with the MWI function
makes the indicator on or plays a tone, indicating that there are leave messages.
You can set the MWI mode according to user habits.
Procedure
Step 1 Run:
system-view
Step 2 Run:
voice
Step 3 Run:
mwi-mode { fsk-with-ring | fsk-without-ring }
----End
Context
You can configure the G.711 codec mode for voice services so that the user device
can work in compliance with the local standard G.711, also known as Pulse Code
Modulation (PCM), is a commonly used waveform codec. G.711 defines two main
compression algorithms, the µ-law algorithm (used in North America & Japan)
and A-law algorithm (used in Europe and China). A-law encoding takes a 13-bit
signed linear audio sample as input. μ-law encoding takes a 15-bit signed linear
audio sample as input.
Procedure
Step 1 Run:
system-view
----End
Context
Different countries and regions use different ringing standards. You can set the AC
amplitude of the ringing current to adjust the ringing tone volume, voice pitch,
cadence ratio, and initial ringing function on a device to meet local standards.
Procedure
Step 1 Run:
system-view
By default, this function is enabled, which indicates that the initial ring is
stopped.
----End
4.9.4.5 Enabling the Function That Reduces the Feed on Locked Ports
Procedure
Step 1 Run:
system-view
----End
Context
When the CLIP service is registered, CLIP parameters in offhook state need to be
configured on the device so that the device can work with the phone terminal.
Generally, default parameter settings are used. If CLIP parameters are not set
properly, change relevant CLIP parameters.
Procedure
Step 1 Run:
system-view
The interval between the time when the ACK message is received and the
time when the frequency-shift keying (FSK) is transmitted in offhook state is
set.
● Run:
clip offhook dtas-ack-interval dtas-ack-interval
The maximum duration between the time when the dual tone-alerting signal
(DT-AS) is transmitted and the time when the ACK message is received in
offhook state is set.
● Run:
clip offhook dtas-duration dtas-dur-value
The duration of the dual tone-alerting signal (DT-AS) in offhook state is set.
● Run:
clip offhook dtas-level dtas-level
The number of bits of the FSK synchronization mask in offhook state is set.
----End
Context
When the CLIP service is registered, CLIP parameters in onhook state need to be
configured on the device so that the device can work with the phone terminal.
Generally, default parameter settings are used. If CLIP parameters are not set
properly, change relevant CLIP parameters.
Procedure
Step 1 Run:
system-view
The interval between the time when the DT-AS is transmitted and the time
when the FSK is transmitted in onhook state is set.
● Run:
clip onhook dtas-level dtas-level
The number of bits of the FSK synchronization mask in onhook state is set.
----End
4.9.4.8 Loading the Voice Prompt File and Voice Service Logic File
Context
A prompt tone is the voice prompt heard by the calling and called users when the
calling user initiates a call. For example, when the calling user calls the called user,
the calling user hears the prompt tone indicating that the called user is busy. A
voice prompt file stores all voice prompt tones. The voice service logic file defines
the service exchange process.
The system software has the default voice prompt file and voice service logic file.
Voice prompt tone rules and services (including three-way conversation, three-
party service, teleconference, call transfer, and call waiting) have different usage
scenarios in different countries. You can customize the voice prompt voice and
voice service logic file according to service requirements.
Procedure
Step 1 Make the voice prompt file and voice service logic file and generate a file with file
name extension .res or .cc.
NOTE
For details about generating the voice prompt file and voice service logic file with file name
extension .res or .cc, please contact technical support personnel.
You make the voice prompt file and voice service logic file into the same file or two different
files with file name extension .res or .cc and then load the file to the device.
Step 2 Upload or download the voice prompt file and voice service logic file to the
device's memory.
Step 3 Load the voice prompt file and voice service logic file. You can load the voice
prompt file and voice service logic file using either of the following methods.
● Method 1: Perform the following operation in the user view:
a. Run the load voice-package filename command to load the voice
prompt file/voice service logic file.
NOTE
When you use this method to load the voice prompt file and voice service logic file,
the files take effect immediately after being loaded and the voice prompt file and
voice service logic file for next startup are modified.
● Method 2: Perform the following operation in the user view:
a. Run the startup voice-package filename command to load the voice
prompt file.
NOTE
To make the current voice prompt file and voice service logic file continue to take
effect and the new voice prompt file and voice service logic file take effect during
next startup, use this method.
b. Run the reboot to restart the device.
----End
Context
Different media ports may be used in different scenarios, so media port number
range needs to be set.
Procedure
Step 1 Run:
system-view
Step 2 Run:
voice
Step 3 Run:
media-port start start-port-value end end-port-value
----End
Procedure
● Run the display voice configuration command to verify the voice
configuration.
● Run the display voice user-defined-ring [ring-index ] command to check
user-defined ring information.
● Run the display voice clip command to verify the CLIP parameter settings.
● Run the display startup command to check the loaded voice prompt file and
voice service logic file.
● Run the display voice media-bandwidth-control command to verify the CAC
configuration on the SIP AG and uplink bandwidth occupied by voice data.
----End
Context
The digital signal processing (DSP) collects, converts, filters, measures, enhances,
compresses, or identifies signals and coverts the signal from an analog to a digital
form.
The DSP module converts analog voice signals into digital signals and stores a
certain number of digital signals into packets for transmission. To improve the
voice communication quality, the DSP needs to process voice signals.
Pre-configuration Tasks
Before setting DSP parameters, complete the following task:
● 3.6.1 Configuring the Device to Work in SIP AG Mode
Procedure
The following configurations are optional.
Context
A user may hear the user's echo in the phone receiver in a conversation. If the
delay exceeds 25 ms, the voice quality deteriorates.
Users can enable echo cancellation on a DSP channel to eliminate the echo and
improve voice quality.
Procedure
Step 1 Run:
system-view
----End
Context
PLC is a technique that masks the effects of packet loss in VoIP communications.
PLC is effective only when the packet loss ratio is low. During communication, the
average packet loss ratio may be low, but a high burst packet loss ratio results in
severe voice quality deterioration. PLC can insert a static frame in the place where
a packet is lost, regenerate a packet received prior to the lost one, or generate an
analog voice packet. If packets are lost during communication and PLC is not used,
the voice communication is interrupted. You can use a proper PLC algorithm to
minimize effects of packet losses.
Procedure
Step 1 Run:
system-view
----End
Context
To save network bandwidth, enable silence compression on a DSP channel. When
no voice is detected, the encoder generates short silence codes, but does not
generate voice compression codes. In addition, the encoder notifies the receiver of
silence start until the voice is restored. The silence compression function reduces
the number of sent voice packets.
Procedure
Step 1 Run:
system-view
Step 2 Run:
voice
Step 3 Run:
dsp-attribute
Step 4 Run:
silence enable
----End
Context
This section describes how to set fax parameters.
Procedure
Step 1 Run:
system-view
Step 2 Run:
voice
Step 3 Run:
dsp-attribute
● Run:
fax redundancy-t30 redundancy-t30–value
V8 negotiation is enabled.
----End
Context
Delay variations in voice packet arrival time can occur because of network
congestion or route changes. To reduce sound distortion caused by the delay jitter
and packet loss, a jitter buffer is used. You can set proper jitter buffer parameters
to minimize delay variations so that packets can be processed in a timely manner
and smooth voice communication can be provided as much as possible.
Procedure
Step 1 Run:
system-view
----End
Context
This section describes how to set the payload type value.
Procedure
Step 1 Run:
system-view
----End
Context
RTCP monitors the quality of service and conveys information about participants
in an on-going session. RTCP periodically sends packets to all the participants in
the session to monitor the quality of service and obtain identity information about
the participants. This section describes how to set RTP control protocol (RTCP)
parameters.
Procedure
Step 1 Run:
system-view
● Run:
rtcp rtcpxr enable
The RTP Control Protocol Extended Reports (RTCP XR) function is enabled.
● Run:
rtcp sev-degradethreshold sev-degradethresholdval
----End
Context
DSP resources are limited and users have different requirements for DSP resources.
To control and allocate DSP resources properly, set the DSP resource control mode
and the resource threshold in hierarchical control mode.
Procedure
Step 1 Run:
system-view
Step 2 Run:
voice
Step 3 Run:
dsp-attribute
----End
Context
You can enable a digital signal processor (DSP) channel to work in loopback
mode, and set the loopback mode (PCM-side loopback test and IP-side loopback
test). When the DSP channel between the calling party and called party cannot
transmit signals or can transmit signals only in one direction, run the loop-back
command to locate the fault. If the calling party hears the echo in a PCM-side
loopback test, the speech channel between the calling phone and the calling DSP
channel is functioning properly. If the called party hears the echo in an IP-side
loopback test, the speech channel between the called phone and the calling DSP
channel is functioning properly.
To control resources of DSP channels, prohibit the DSP channels. The prohibited
DSP channels cannot participate in resource allocation.
Procedure
Step 1 Run:
system-view
----End
Context
After the DSP configuration is complete, you can verify the DSP parameter
settings including the fax parameter settings and jitter buffer parameter settings.
Procedure
● Run the display voice dsp-attribute command to verify the DSP
configuration.
● Run the display voice dsp statistic command to check the DSP statistics.
● Run the display voice dsp state { slot/dsp-index | channel slot/dsp-index/
channel } command to check the status of a DSP or DSP channel.
----End
Context
You can configure RFC 2198 upper packet loss limit and number of redundant
packets.
Procedure
Step 1 Run:
system-view
----End
Result
Run the display voice rfc2198 smart-parameters command to view the RFC 2198
configurations.
Context
An MG supports the fax and modem services. Related parameters must be
configured to use either service. If both services are required, the common
parameters of the two services must be configured.
Procedure
Step 1 Run:
system-view
----End
Result
Run the display voice fax-modem command to view the MG configurations.
Context
You can customize a TID profile.
Procedure
Step 1 Run:
system-view
----End
Result
Run the display voice tid-template [ index ] command to view the information
about the custom TID profile.
Context
After configuring a local digitmap, you can map telephone numbers based on the
digitmap.
Procedure
Step 1 Run:
system-view
Step 2 Run:
voice
Step 3 Run:
local-digitmap name {bodyvalue | append bodyvalue }
----End
Result
Run the display voice local-digitmap [ digitmapname ] command to view the
local digitmap.
Networking Requirements
The H.248 AG allocates the terminal ID to the enterprise, users are registered with
the softswitch based on the terminal prefix and terminal ID, and the softswitch
locates users and connects calls based on the terminal prefix and terminal ID.
Figure 4-9 shows the networking.
User C
H.248AG
User A User B
Data Plan
The data plan here is used for reference. The actual configuration is determined
based on the user device and softswitch.
NOTICE
The terminal prefix and terminal ID of the user must be the same as those on the
softswitch; otherwise, the H.248 user may fail to be configured. Here, the terminal
ID is the same as that on the softswitch.
Procedure
Step 1 Configure the device to work in H.248 AG mode.
<Huawei> system-view
[Huawei] voice
[huawei-voice] service-mode h248ag
[huawei-voice] return
<Huawei> save
The current configuration will be written to the device.
Are you sure to continue? (y/n)[n]:yIt will take several minutes to save configuration file, please wait..........
Configuration file had been saved successfully
Note: The configuration file will take effect after being activated
<Huawei>reboot
Info: The system is comparing the configuration, please wait.
System will reboot! Continue ? [y/n]:yInfo: system is rebooting, please wait...
Step 2 # Set the Ethernet IP address of interface0/0/0 to 192.168.1.2, and add IP address
192.168.1.2 to media and signaling IP address pools.
<Huawei> system-view
[Huawei] interface gigabitethernet 0/0/0
[Huawei-GigabitEthernet0/0/0] ip address 192.168.1.2 24
[Huawei-GigabitEthernet0/0/0] quit
[Huawei] voice
[Huawei-voice] voip-address media interface gigabitethernet 0/0/0 192.168.1.2
[Huawei-voice] voip-address signalling interface gigabitethernet 0/0/0 192.168.1.2
----End
Configuration Files
● Router configuration
#
interface GigabitEthernet0/0/0
ip address 192.168.200.155 255.255.255.0
#
voice
voip-address media interface GigabitEthernet 0/0/0 192.168.1.2
voip-address signalling interface GigabitEthernet 0/0/0 192.168.1.2
#
h248ag 1
mg-signal-ip 192.168.1.2 mgport 2949
primary-mgc-address1 static 192.168.1.110 2944
mg-media-ip1 192.168.1.2
#
h248aguser 1/0/0 agid 1 terminalid 0