Configuring a Device to Work in PBX Mode
You can use PBX voice services after configuring the device to work in PBX mode.
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 |
---|---|---|---|
1 |
View the working mode of the device. |
display voice service-mode |
|
2 |
Enter the system view. |
system-view |
- |
3 |
Enter the voice view. |
voice |
- |
4 |
Configure the device to work in PBX mode. |
service-mode pbx |
- |
5 |
Return to the user view. |
return |
- |
6 |
Save the configuration. |
save |
NOTICE:
After the device is configured to work in PBX mode, restart the device to make the configuration take effect. |
7 |
Restart the device. |
reboot |
Verification
Action |
Command |
Expected Result |
---|---|---|
View the working mode of the device. |
display voice service-mode |
The command output shows that the device works in PBX mode. <Huawei>display voice service-mode The voice service mode is PBX. |