No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Voice Feature Guide 01

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
(Optional) Configuring Line Hunting

(Optional) Configuring Line Hunting

When multiple E1 lines exist in the upstream direction of a private branch exchange (PBX), hunting is performed based on the pilot number or other accounts required by the PBX. The line hunting function allows one or multiple accounts to share a group of ports by configuring hunting groups and hunting policies.


  • A hunting group consists of ports, subhunting groups, and hunting rules. A sub hunting group also consists of ports, sub hunting groups, and hunting rules.
  • A wildcard number can be configured for hunting groups, for example, 024545*. You can also configure a direct dialing number.
  • A port can belong to multiple hunting groups which must be in the same VAG.
  • Only the Session Initiation Protocol (SIP) supports the line hunting function.


  1. Run the hunting-group add command to add a hunting group. Then the hunting group is added to the specified SIP interface.

    • hunting-mode indicates the hunting policy. This parameter can be set to order, round-robin, or weighted-round-robin.
      • order: indicates the sequential hunting.
      • round-robin: indicates the circular hunting.
      • weighted-round-robin: indicates the circular hunting by weight.

  2. Configure users on the SIP interface. Run different commands when configuring different users. Specifically,

    • Run the sippstnuser add command when configuring PSTN users.
    • Run the sipbrauser add command when configuring BRA users.
    • Run the sipprauser add command when configuring PRA users.

  3. Run the hunting-group member add command to add hunting group members. A hunting group member can be a single port or a sub hunting group. After hunting group members are added, hunting is performed based on configurations.
  4. Run the group-number add command to add a hunting group account. After the group account is used by the hunting group, the account is called in based on hunting policies.


For example, when number 2878000 is dialed, hunting is cyclically performed between 0/2/1, 0/3/1, and 0/4/1 ports. When number 2878001 is dialed, the 0/2/1 is selected with preference. When the 0/2/1 port is busy, the 0/3/1 port is selected and then the 0/4/1 port. Configurations are as follows:













Group members

0/2/1, 0/3/1, 0/4/1

0/2/1, 0/3/1, 0/4/1

huawei(config)#interface sip 0
Are you sure to add the SIP interface?(y/n)[n]:y 
huawei(config-if-sip-0)#hunting-group add HG1 hunting-mode round-robin inherit-flag disable
 rotary disable
huawei(config-if-sip-0)#hunting-group add HG2 hunting-mode order inherit-flag disable rot
ary disable
huawei(config)#esl user
huawei(config-esl-user)#sippstnuser add 0/2/1 0
huawei(config-esl-user)#sippstnuser add 0/3/1 0
huawei(config-esl-user)#sippstnuser add 0/4/1 0
huawei(config)#interface sip 0
huawei(config-if-sip-0)#hunting-group member add HG1 0/2/1 6
huawei(config-if-sip-0)#hunting-group member add HG1 0/3/1 7
huawei(config-if-sip-0)#hunting-group member add HG1 0/4/1 8
huawei(config-if-sip-0)#hunting-group member add HG2 0/2/1 6
huawei(config-if-sip-0)#hunting-group member add HG2 0/3/1 7
huawei(config-if-sip-0)#hunting-group member add HG2 0/4/1 8
huawei(config-if-sip-0)#group-number add 2878000 hunting-group HG1
huawei(config-if-sip-0)#group-number add 2878001 hunting-group HG2
Updated: 2019-02-22

Document ID: EDOC1100067358

Views: 13522

Downloads: 131

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next