Professional Documents
Culture Documents
i
Configuring call services
About call services
Call services are extended features for voice calls.
Call waiting
Call waiting allows a called party to suspend or end the current call and switch to a new incoming call.
For example, subscriber A receives a call from subscriber C while subscriber A is in conversation
with subscriber B. Instead of playing busy tones to subscriber C, the system plays ringback tones to
subscriber C, and plays waiting tones to subscriber A.
Subscriber A can answer the new call by using either of the following methods:
• Pressing hookflash. In this case, subscriber B is held.
• Hanging up to end the call with subscriber B. In this case, subscriber A is immediately alerted
and can pick up the phone to answer the call originated by subscriber C.
Call hold
Call hold allows a called party to place the current call on hold by pressing hookflash and place a new
call.
For example, when subscriber A, who is in a conversation with subscriber B, presses hookflash,
subscriber B is held (in silent state or listening to waiting tones). The system plays dial tones to
subscriber A, waiting for subscriber A to initiate a new call. If subscriber A does not dial any number
within a period of time, the system stops playing dial tones, and subscriber A cannot initiate a new
call. Subscriber A can resume the call with subscriber B by pressing hookflash again.
Call forwarding
Call forwarding allows a called party to forward a call by notifying the calling party of the forward-to
number.
For example, subscriber A calls subscriber B, who is busy, and subscriber B forwards the call to
subscriber C. Then, a connection is established between subscriber A and subscriber C. Subscriber
B is the initiator of call forwarding, subscriber A is the recipient, and subscriber C is the final recipient.
The system supports the following types of call forwarding:
• Call forwarding unconditional—Forwards an incoming call to the predetermined destination,
regardless of the state of the called party.
• Call forwarding busy—Forwards an incoming call to the predetermined destination when the
called party is busy.
• Call forwarding no reply—Forwards an incoming call to the predetermined destination when
the called party provides no answer within a configurable period of time.
• Call forwarding unavailable—Forwards an incoming call to the predetermined destination
when the voice interface of the called party is shut down by executing the shutdown command.
Call transfer
Call transfer allows a subscriber on an active call to connect the other party to a new call.
1
For example, subscriber A (the originator) and subscriber B (the recipient) are in a conversation.
Subscriber A presses hookflash to place the call on hold and dials another number to originate a call
to subscriber C (the final recipient). After subscriber A hangs up, the call between subscriber B and
subscriber C is established.
Call transfer includes the following types:
• Unattended transfer—The originator hangs up before receiving ringback tones from the final
recipient.
• Half-attended transfer—The originator hangs up after receiving ringback tones from the final
recipient and before speaking with the final recipient.
• Attended transfer—The originator hangs up after speaking with the final recipient.
During the call transfer process, if the recipient does not support call transfer or the final recipient is
busy or provides no reply, the initiator can re-establish the original call.
Call backup
The primary link might be unavailable when the calling party initiates a call through the IP or PSTN
network. In this case, if there is a backup link (PSTN link or VoIP link) to the called party, the calling
party can reinitiate a call to the called party over the backup link.
MWI
Message Waiting Indication (MWI) notifies a user that there are new messages in the voice mailbox
by playing an MWI tone when the user picks up the phone. This feature works with the voice mailbox
function of the voice mail server, allowing users to be informed of mailbox status without performing
query operations.
The process for MWI is as follows:
1. If a subscriber misses a call, the call is redirected to the voice mailbox.
2. The voice mail server sends a NOTIFY message to notify the SIP UA.
3. The SIP UA notifies the user that there is a change in mailbox status by playing an MWI tone
when the user picks up the phone.
Other indication methods such as LED are not supported.
Three-party conference
The process for initiating a three-party conference is as follows:
1. In an active two-party call, one party presses hookflash as the conference initiator and dials a
third party to establish a new call.
2. The conference initiator presses hookflash again and then presses 3 to start a three-party
conference.
The other two parties are called conference participants.
When the conference initiator hangs up, the three-party conference is released, and all calls are
disconnected. When a conference participant hangs up, the other two parties can continue their call.
As shown in Figure 1, a three-party conference is established among Telephone A, Telephone B, and
Telephone C. Telephone B is the conference initiator.
The conference initiator can switch between the three-party conference and multiparty call hold
service as follows:
1. Presses hookflash and presses 2. Each party restores its state before entering the three-party
conference. The call between Telephone B and Telephone A (the other party in the original
active call) is held, and the call between Telephone B and Telephone C can continue.
2
2. Presses hookflash again and presses 3. The three parties re-enter the three-party conference.
A participant of the three-party conference can invite another party to join the conference to
implement conference chaining. For example:
1. Telephone C presses hookflash and dials Telephone D.
2. Telephone D goes off-hook.
3. Telephone C presses hookflash again and presses 3.
Telephone A, Telephone B, Telephone C, and Telephone D can speak to each other.
Telephone A, Telephone B, and Telephone C can be considered to be in a three-party
conference, with Telephone B as the conference initiator. Telephone B, Telephone C, and
Telephone D can be considered to be in a three-party conference, with Telephone C as the
conference initiator.
When you implement conference chaining, follow these restrictions and guidelines:
• Make sure voice processing modules (VPMs) are installed on the devices of the conference
initiators. You can use the display version command to view the installed VPMs.
• Only a conference participant that establishes a call with the initiator over IP can implement
conference chaining.
Figure 1 Network diagram
3
Configuring the call hold mode
About call hold modes
Perform this task on the holding party (the initiator of call hold).
There are two call hold modes.
• Silent mode (inactive)—During call hold, the held party hears silence. This mode is configured
to signal the held party to close the transmit and receive media channels of the held party.
• Unidirectional playing mode (sendonly)—During call hold, the held party hears tones or
music played by a third-party music server. To play tones, configure the sendonly keyword to
open its transmit media channel and close its receive media channel. To play music on hold by
the third-party music server, configure the inactive keyword on the holding party and also
configure the sendonly moh-number string option on the SIP trunk device. For
information about configuring a SIP trunk device, see "Configuring SIP trunk."
Procedure
1. Enter system view.
system-view
2. Enter voice view.
voice-setup
3. Configure the call hold mode.
call-hold-format { inactive | sendonly [ moh-number string ] }
By default, silent mode is used for call hold.
4
The unconditional, unavailable, on-busy, and no-reply call forwarding types can
be configured at the same time and have a descending order of priority.
Configuring MWI
About MWI
MWI includes the following types:
• Unsolicited—The SIP UA has subscribed to a voice mail server during registration and can
receive NOTIFY messages from the server without sending SUBSCRIBE messages.
• Solicited—The SIP UA needs to subscribe to a voice mail server by sending SUBSCRIBE
messages before it can receive NOTIFY messages from the server.
Enabling MWI
1. Enter system view.
system-view
2. Enter voice interface view.
subscriber-line line-number
3. Enable MWI.
mwi
By default, MWI is disabled.
5
2. Enter voice view.
voice-setup
3. Enter SIP view.
sip
4. Configure the voice mail server.
mwi-server { dns domain-name | ip ip-address } [ port port-number ]
[ expires seconds ] [ transport { tcp [ tls ] | udp } ] [ scheme { sip |
sips } ] unsolicited
By default, no voice mail server is configured.
5. Specify a registrar.
registrar registrar-index { ip ip-address | dns domain-name } [ port
port-number ] [ expires seconds ] [ refresh-ratio ratio-percentage ]
Task Command
Procedure
Before performing the following configuration, make sure Router A, Router B and Router C can
reach each other.
6
1. Configure Router A:
# Create VoIP entity 2000, configure the destination IP address as 10.1.1.2, and configure the
called number as 2000.
<RouterA> system-view
[RouterA] voice-setup
[RouterA-voice] dial-program
[RouterA-voice-dial] entity 2000 voip
[RouterA-voice-dial-entity2000] address sip ip 10.1.1.2
[RouterA-voice-dial-entity2000] match-template 2000
[RouterA-voice-dial-entity2000] quit
# Create VoIP entity 3000, configure the destination IP address as 20.1.1.2, and configure the
called number as 3000.
[RouterA-voice-dial] entity 3000 voip
[RouterA-voice-dial-entity3000] address sip ip 20.1.1.2
[RouterA-voice-dial-entity3000] match-template 3000
[RouterA-voice-dial-entity3000] quit
# Configure the local number as 1000 for POTS entity 1000, and bind FXS interface line 2/1/1 to
the POTS entity.
[RouterA-voice-dial] entity 1000 pots
[RouterA-voice-dial-entity1000] line 2/1/1
[RouterA-voice-dial-entity1000] match-template 1000
2. Configure Router B:
# Create VoIP entity 1000, configure the destination IP address as 10.1.1.1, and configure the
called number as 1000.
<RouterB> system-view
[RouterB] voice-setup
[RouterB-voice] dial-program
[RouterB-voice-dial] entity 1000 voip
[RouterB-voice-dial-entity1000] address sip ip 10.1.1.1
[RouterB-voice-dial-entity1000] match-template 1000
[RouterB-voice-dial-entity1000] quit
# Configure the local number as 2000 for POTS entity 2000, and bind FXS interface line 2/1/1 to
the POTS entity.
[RouterB-voice-dial] entity 2000 pots
[RouterB-voice-dial-entity2000] line 2/1/1
[RouterB-voice-dial-entity2000] match-template 2000
3. Configure Router C:
# Configure the local number as 3000 for POTS entity 3000, and bind FXS interface line 2/1/1 to
the POTS entity.
<RouterC> system-view
[RouterC] voice-setup
[RouterC-voice] dial-program
[RouterC-voice-dial] entity 3000 pots
[RouterC-voice-dial-entity3000] line 2/1/1
[RouterC-voice-dial-entity3000] match-template 3000
[RouterC-voice-dial-entity3000] quit
# Create VoIP entity 1000, configure the destination IP address as 10.1.1.1, and configure the
called number as 1000.
[RouterB-voice-dial] entity 1000 voip
7
[RouterB-voice-dial-entity1000] address sip ip 10.1.1.1
[RouterB-voice-dial-entity1000] match-template 1000
Procedure
Before performing the following configuration, make sure Router A, Router B and Router C can
reach each other.
1. Configure Router A:
# Create VoIP entity 2000. Configure the destination IP address as 10.1.1.2, and configure the
called number as 2000.
<RouterA> system-view
[RouterA] voice-setup
[RouterA-voice] dial-program
[RouterA-voice-dial] entity 2000 voip
[RouterA-voice-dial-entity2000] address sip ip 10.1.1.2
[RouterA-voice-dial-entity2000] match-template 2000
[RouterA-voice-dial-entity2000] quit
# Configure the local number as 1000 for POTS entity 1000, and bind FXS interface line 2/1/1 to
the POTS entity.
[RouterA-voice-dial] entity 1000 pots
8
[RouterA-voice-dial-entity1000] line 2/1/1
[RouterA-voice-dial-entity1000] match-template 1000
2. Configure Router B:
# Create VoIP entity 3000. Configure the destination IP address as 20.1.1.2, and configure the
number template as 3000.
<RouterB> system-view
[RouterB] voice-setup
[RouterB-voice] dial-program
[RouterB-voice-dial] entity 3000 voip
[RouterB-voice-dial-entity3000] address sip ip 20.1.1.2
[RouterB-voice-dial-entity3000] match-template 3000
[RouterB-voice-dial-entity3000] quit
# Configure the local number as 2000 for POTS entity 2000, and bind FXS interface line 2/1/1 to
the POTS entity.
[RouterB-voice-dial] entity 2000 pots
[RouterB-voice-dial-entity2000] line 2/1/1
[RouterB-voice-dial-entity2000] match-template 2000
# Configure call forwarding.
[RouterB-voice-dial-entity2000] call-forwarding on-busy number 3000
3. On Router C, configure the local number as 3000 for POTS entity 3000, and bind FXS interface
line 2/1/1 to the POTS entity.
<RouterC> system-view
[RouterC] voice-setup
[RouterC-voice] dial-program
[RouterC-voice-dial] entity 3000 pots
[RouterC-voice-dial-entity3000] line 2/1/1
[RouterC-voice-dial-entity3000] match-template 3000
9
Figure 4 Network diagram
Procedure
Before performing the following configuration, make sure Router A, Router B and Router C can
reach each other.
1. Configure Router A:
# Create VoIP entity 2000. Configure the destination IP address as 10.1.1.2, and configure the
called number as 2000.
<RouterA> system-view
[RouterA] voice-setup
[RouterA-voice] dial-program
[RouterA-voice-dial] entity 2000 voip
[RouterA-voice-dial-entity2000] address sip ip 10.1.1.2
[RouterA-voice-dial-entity2000] match-template 2000
[RouterA-voice-dial-entity2000] quit
# Create VoIP entity 3000. Configure the destination IP address as 20.1.1.2, and configure the
called number as 3000.
[RouterA-voice-dial] entity 3000 voip
[RouterA-voice-dial-entity3000] address sip ip 20.1.1.2
[RouterA-voice-dial-entity3000] match-template 3000
[RouterA-voice-dial-entity3000] quit
# Configure the local number as 1000 for POTS entity 1000, and bind FXS interface line 2/1/1 to
the POTS entity.
[RouterA-voice-dial] entity 1000 pots
[RouterA-voice-dial-entity1000] line 2/1/1
[RouterA-voice-dial-entity1000] match-template 1000
2. On Router B, configure the local number as 2000 for POTS entity 2000, and bind FXS interface
line 2/1/1 to the POTS entity.
<RouterB> system-view
[RouterB] voice-setup
[RouterB-voice] dial-program
[RouterB-voice-dial] entity 2000 pots
[RouterB-voice-dial-entity2000] line 2/1/1
[RouterB-voice-dial-entity2000] match-template 2000
3. On Router C, configure the local number as 3000 for POTS entity 3000, and bind FXS interface
line 2/1/1 to the POTS entity.
<RouterC> system-view
[RouterC] voice-setup
[RouterC-voice] dial-program
10
[RouterC-voice-dial] entity 3000 pots
[RouterC-voice-dial-entity3000] line 2/1/1
[RouterC-voice-dial-entity3000] match-template 3000
Procedure
1. Configure Router A:
# Create VoIP entity 2000 with a priority of 1. Configure the destination IP address as 10.1.1.2,
and configure the called number as 2000.
<RouterA> system-view
[RouterA] voice-setup
[RouterA-voice] dial-program
[RouterA-voice-dial] entity 2000 voip
[RouterA-voice-dial-entity2000] address sip ip 10.1.1.2
[RouterA-voice-dial-entity2000] match-template 2000
[RouterA-voice-dial-entity2000] priority 1
[RouterA-voice-dial-entity2000] quit
# Create VoIP entity 3000 with a priority of 2. Configure the destination IP address as 20.1.1.2,
and configure the called number as 2000.
[RouterA-voice-dial] entity 3000 voip
[RouterA-voice-dial-entity3000] address sip ip 20.1.1.2
[RouterA-voice-dial-entity3000] match-template 2000
[RouterA-voice-dial-entity2000] priority 2
[RouterA-voice-dial-entity3000] quit
# Configure the local number as 1000 for POTS entity 1000, and bind FXS interface line 2/1/1 to
the POTS entity.
[RouterA-voice-dial] entity 1000 pots
[RouterA-voice-dial-entity1000] line 2/1/1
[RouterA-voice-dial-entity1000] match-template 1000
2. On Router B, configure the local number as 2000 for POTS entity 2000, and bind FXS interface
line 2/1/1 to the POTS entity.
<RouterB> system-view
[RouterB] voice-setup
[RouterB-voice] dial-program
11
[RouterB-voice-dial] entity 2000 pots
[RouterB-voice-dial-entity2000] line 2/1/1
[RouterB-voice-dial-entity2000] match-template 2000
Procedure
Make sure Router A, Router B, and Router C can reach each other before you configure them.
1. Configure Router A:
# Configure the destination IP address as 10.1.1.2 for VoIP entity 2000, and configure the
called number as 2000.
<RouterA> system-view
[RouterA] voice-setup
[RouterA-voice] dial-program
[RouterA-voice-dial] entity 2000 voip
[RouterA-voice-dial-entity2000] address sip ip 10.1.1.2
[RouterA-voice-dial-entity2000] match-template 2000
[RouterA-voice-dial-entity2000] quit
# Configure the local number as 1000 for POTS entity 1000, and bind FXS interface line 2/1/1 to
the POTS entity.
[RouterA-voice-dial] entity 1000 pots
[RouterA-voice-dial-entity1000] line 2/1/1
[RouterA-voice-dial-entity1000] match-template 1000
2. Configure Router B:
# Configure the destination IP address as 20.1.1.2 for VoIP entity 3000, and configure the
called number as 3000.
<RouterB> system-view
[RouterB] voice-setup
[RouterB-voice] dial-program
12
[RouterB-voice-dial] entity 3000 voip
[RouterB-voice-dial-entity3000] address sip ip 20.1.1.2
[RouterB-voice-dial-entity3000] match-template 3000
[RouterB-voice-dial-entity3000] quit
# Configure the destination IP address as 10.1.1.1 for VoIP entity 1000, and configure the
called number as 1000.
[RouterB-voice-dial] entity 1000 voip
[RouterB-voice-dial-entity1000] address sip ip 10.1.1.1
[RouterB-voice-dial-entity1000] match-template 1000
[RouterB-voice-dial-entity1000] quit
# Configure the local number as 2000 for POTS entity 2000, and bind FXS interface line 2/1/1 to
the POTS entity.
[RouterB-voice-dial] entity 2000 pots
[RouterB-voice-dial-entity2000] line 2/1/1
[RouterB-voice-dial-entity2000] match-template 2000
3. Configure Router C:
# Configure the local number as 3000 for POTS entity 3000, and bind FXS interface line 2/1/1 to
the POTS entity.
<RouterC> system-view
[RouterC] voice-setup
[RouterC-voice] dial-program
[RouterC-voice-dial] entity 3000 pots
[RouterC-voice-dial-entity3000] line 2/1/1
[RouterC-voice-dial-entity3000] match-template 3000
[RouterC-voice-dial-entity3000] quit
# Configure the destination IP address as 20.1.1.1 for VoIP entity 2000, and configure the
called number as 2000.
[RouterC-voice-dial] entity 2000 voip
[RouterC-voice-dial-entity2000] address sip ip 20.1.1.1
[RouterC-voice-dial-entity2000] match-template 2000
13
Configuring the VCX server
• Configure the call processing server:
Open the Web interface of the server and select Central Management Console. Configure the
telephone information of Telephone A and Telephone B, with the subscriber passwords as
1000 and 2000, respectively. Figure 8 uses Telephone A as an example.
Figure 8 Configuration page of call processing server (1)
When you access the Edit Phone Profile page, as shown in Figure 9, type 9000 in the Voice
Mail Number field.
14
Figure 9 Configuration page of call processing server (2)
Select 9000 from the Main Voicemail Access Number List, as shown in Figure 11.
Figure 11 Access number configuration page
15
# Configure the voice mailbox of Telephone A
Click the Edit A Mailbox link, enter the mailbox access number 9000 of Telephone A, and then
check whether the mailbox is created successfully. If you are prompted that the mailbox is not
present, click the Create/Delete Mailboxes link to create the mailbox of Telephone A, with the
mailbox number as 9000.
Configuring Router A
# Configure VoIP entity 9000 to obtain the destination IP address through the SIP proxy server, and
configure the called number as 9000 (mailbox access number) for the VoIP entity. This VoIP entity is
used for Telephone A to dial the mailbox access number to log in to the voice mailbox.
<RouterA> system-view
[RouterA] voice-setup
[RouterA-voice] dial-program
[RouterA-voice-dial] entity 9000 voip
[RouterA-voice-dial-entity9000] address sip proxy
[RouterA-voice-dial-entity9000] match-template 9000
[RouterA-voice-dial-entity9000] quit
# Configure the local number as 1000 for POTS entity 1000, and bind FXS interface line 2/1/1 to the
POTS entity.
[RouterA-voice-dial] entity 1000 pots
[RouterA-voice-dial-entity1000] line 2/1/1
[RouterA-voice-dial-entity1000] match-template 1000
[RouterA-voice-dial-entity1000] quit
[RouterA-voice-dial] quit
[RouterA] quit
# Specify the IP addresses for the proxy server, voice mail server, and registrar.
[RouterA] voice-setup
[RouterA-voice] sip
[RouterA-voice-sip] proxy ip 100.1.1.101
[RouterA-voice-sip] mwi-server ip 100.1.1.101 unsolicited
[RouterA-voice-sip] registrar 1 ip 100.1.1.101
Configuring Router B
# Configure VoIP entity 1000 to obtain the destination IP address through the SIP proxy server, and
configure the called number as 1000 for the VoIP entity.
<RouterB> system-view
[RouterB] voice-setup
[RouterB-voice] dial-program
[RouterB-voice-dial] entity 1000 voip
[RouterB-voice-dial-entity1000] address sip proxy
[RouterB-voice-dial-entity1000] match-template 1000
[RouterB-voice-dial-entity1000] quit
# Configure the local number as 2000 for POTS entity 2000, and bind FXS interface line 2/1/1 to the
POTS entity.
[RouterB-voice-dial] entity 2000 pots
[RouterB-voice-dial-entity2000] line 2/1/1
16
[RouterB-voice-dial-entity2000] match-template 2000
[RouterB-voice-dial-entity2000] quit
[RouterB-voice-dial] quit
[RouterB-voice] quit
[RouterB-voice] quit
17