Configuring an Enterprise and a DN Set
After multiple enterprises are configured on the device in PBX mode, they share the PBX. A DN set consists of an enterprise's number rules. When one enterprise shares a PBX, you do not need to configure enterprises. When one DN set meets enterprise requirements, you do not need to configure DN sets.
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.
- By default, the enterprise default exists on the PBX.
- For detailed about the PBX shared by enterprises, see Example for Configuring PBX Sharing for Different Enterprises.
A DN set consists of a group of prefixes and is a set of an enterprise's number rules. For example, if a user must dial 9 for a local call and 8288 for a long-distance call, 9 and 8288 can be contained in a DN set. When configuring an enterprise, you can create a DN set. When configuring a PBX user, you need to specify the bound DN set. You can define multiple DN sets for an enterprise based on number rules.
Figure 2-8 shows the mapping between the PBX, enterprise, and DN set.
Procedure
Step |
Action |
Command |
Description |
---|---|---|---|
1 |
Enter the system view. |
system-view | - |
2 |
Enter the voice view. |
voice | - |
3 |
Create an enterprise and enter the enterprise view. |
enterprise enterprise-name | If an enterprise already exists, this command directly displays the enterprise view. By default, the enterprise default exists on the PBX. |
4 |
Configure a DN set for the enterprise. |
dn-set dn-set-name [ description description ] | By default, the DN set defaultdialplan exists on the PBX. |
5 |
(Optional) Configure the description. |
description description | - |
6 |
Save the configuration. |
save | - |
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 |
---|---|---|
Verify the enterprise configuration. |
display voice enterprise [ enterprise-name ] | The parameter values in the command output are consistent with the settings. <Huawei>display voice enterprise hw Enterprise : hw Max dn-set number : 5 Dn-set : hwdnset Dn-set description : Dn-set : DefaultDialPlan Dn-set description : DefaultDialPlan |