Configuring the AR
Configuration Roadmap
The configuration roadmap is as follows:
Configure a voice user.
Configure a call route and a SIP trunk group.
Configure intra-office and inter-office call prefixes.
Procedure
- Configure a voice user.
<Huawei> system-view [Huawei] voice [Huawei-voice] pbxuser 82000 pots [Huawei-voice-pbxuser-82000] port 1/0/0 [Huawei-voice-pbxuser-82000] telno 82000 [Huawei-voice-pbxuser-82000] quit
- Configure a call route UCM.
[Huawei] voice [Huawei-voice] callroute UCM [Huawei-voice-callroute-UCM] quit
- Create and configure a trunk group UCM1.
[Huawei-voice] trunk-group UCM1 sip no-register [Huawei-voice-trunkgroup-UCM1] callroute UCM [Huawei-voice-trunkgroup-UCM1] signalling-address ip 10.1.1.2 port 5070 [Huawei-voice-trunkgroup-UCM1] media-ip 10.1.1.2 [Huawei-voice-trunkgroup-UCM1] peer-address static 10.1.1.3 5060 [Huawei-voice-trunkgroup-UCM1] home-domain 10.1.1.3 [Huawei-voice-trunkgroup-UCM1] number-parameter 53 0 [Huawei-voice-trunkgroup-UCM1] reset [Huawei-voice-trunkgroup-UCM1] quit [Huawei-voice] Note: Trunkgroup reset succeeds.
- Configure intra-office and inter-office call prefixes.
# Configure an intra-office call prefix. Create a call prefix profile 82, set the call prefix to 82, specify the basic service, configure the intra-office call, and set the maximum and minimum lengths of a number that can be parsed to 5 and 2 respectively.
[Huawei-voice] callprefix 82 [Huawei-voice-callprefix-82] prefix 82 [Huawei-voice-callprefix-82] call-type category basic-service attribute 0 [Huawei-voice-callprefix-82] digit-length 2 5 [Huawei-voice-callprefix-62] quit
# Configure an inter-office call prefix. Create a call prefix profile 80, set the call prefix to 80, specify the basic service, configure the local call, and set the maximum and minimum lengths of a number that can be parsed to 5 and 2 respectively.
[Huawei-voice] callprefix 80 [Huawei-voice-callprefix-80] prefix 80 [Huawei-voice-callprefix-80] call-type category basic-service attribute 1 [Huawei-voice-callprefix-80] callroute UCM [Huawei-voice-callprefix-80] digit-length 2 5 [Huawei-voice-callprefix-80] quit
- Save the configuration.
[Huawei-voice] save