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

Reminder

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

upgrade

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).
Configuring the VAG Service (H.248/MGCP)

Configuring the VAG Service (H.248/MGCP)

This topic describes how to configure the VAG service by creating two MG interfaces on the MA5600T/MA5603T/MA5608T and configuring PSTN users on the two MG interfaces. This topic is applicable to the scenario where multiple logical AGs are simulated on one physical AG.

Context

Configuring VAGs is literally to configure MG interfaces with different IDs on the same device, and to configure user ports homing to different MG interfaces. Pay attention to the following points:
  • When the system uses the MGCP or H.248 protocol, up to eight MG interfaces with different IDs can be configured on the MA5600T/MA5603T/MA5608T, and each MG interface can be considered as a VAG.
  • When configuring the parameters for interconnecting different MG interfaces with the MGC, make sure that the values of the following parameters of the MG interfaces are not the same. The values of at least one of the following parameters must be different on the MG interfaces.
    • Local IP address
    • Local port ID
    • Remote IP address
    • Remote port ID

Service Requirements

The service requirements are as follows:

  • As shown in Figure 1-179, configure VAG1, and configure the users in slot 0/2 to belong to VAG1; configure VAG2, and configure the users in slot 0/3 to belong to VAG2.
  • The MG communicates with the MGC through the H.248 protocol.
  • Configure the data plan of VAG1 as listed in Table 1-56.
  • The data plan of VAG2 is the same as that of VAG1 except for the following differences:
    • The media IP address and signaling IP address of VAG2 are 10.10.10.11.
    • The MGC assigns phone numbers 85110000-85110031 to phones 0-31 of VAG2.
  • MG0 indicates VAG1 in the figure, and MG1 indicates VAG2 in the figure.

Networking

Figure 1-179 shows an example network of the VAG service.

Figure 1-179 Example network of the VAG service

Dataplan

Table 1-56 Data plan of VAG1

Item

Data

MG interface data

(The data configuration must be the same as the data configuration on the MGC.)

Media and signaling parameters

Media and signaling upstream VLAN

Standard VLAN is recommended as the upstream VLAN of the voice service. Standard VLAN 20 is adopted.

Media and signaling upstream port

In this office, all the services are transmitted upstream through the upstream interface board. Therefore, port 0/19/0 is used as the upstream port of the voice service.

Media IP address and signaling IP address

These two IP addresses are both 10.10.10.10.

Default gateway IP address

The IP address of the next hop from the MA5600T/MA5603T/MA5608T to the MGC is 10.10.10.1.

Attributes of the MG interface

NOTE:

Parameters listed here are mandatory, which means that the MG interface fails to be enabled if these parameters are not configured.

MG interface ID

0 and 1

Signaling port ID of the MG interface

2944

IP address of the primary MGC to which the MG interface belongs

The IP address of the primary MGC is 10.10.20.20, and the port ID is 2944, the same as the port ID on the MA5600T/MA5603T/MA5608T.

Port ID of the primary MGC to which the MG interface belongs

Coding mode of the MG interface

text (indicates the text coding mode)

Transmission mode of the MG interface

UDP

(Optional) Configuring the TID Format of an MG Interface

To differentiate users according to the TID, the office requires that the terminal prefix uses the community name huawei and the TID is automatically generated by the system according to the subrack ID/slot ID/port ID (F/S/P) of the user.

Run the display tid-template command to query the default TID template. It is found that default TID template (template 6) can meet the requirements.

Voice user data

(The data configuration must be the same as the data configuration on the MGC.)

Slot of the voice service board

User access is implemented by the ASPB board in slot 0/2 and 0/3.

Configuring the PSTN User Data

Phone number

The emergency standalone is not supported, and therefore the phone numbers do not need to be configured when the users are added.

The MGC assigns phone numbers 83110000-83110031 to phones 0-31.

TID

The terminal layering is supported, and therefore the TIDs do not need to be allocated manually.

Procedure

  • Configure VAG1.
    1. Add the upstream VLAN interface.

      According to the data plan, configure standard VLAN 20 as the media and signaling upstream VLAN, add upstream port 0/19/0 to the VLAN, and configure the IP address of the Layer 3 interface to 10.10.10.10, which facilitates the configuration of the media and signaling IP address pools.

      huawei(config)#vlan 20 standard
      huawei(config)#port vlan 20 0/19 0
      huawei(config)#interface vlanif 20
      huawei(config-if-vlanif20)#ip address 10.10.10.10 24
      huawei(config-if-vlanif20)#quit
    2. Configure the media and signaling IP address pools.

      Add the IP address of the VLAN Layer 3 interface configured in the previous step to the media and signaling IP address pools respectively. Therefore, the media and signaling IP addresses used for the services can be selected from the IP address pools. According to the data plan, IP address 10.10.10.10 is added to the media and signaling IP address pools, and the gateway IP address corresponding to the media IP address is 10.10.10.1.

      huawei(config)#voip
      huawei(config-voip)#ip address media 10.10.10.10 10.10.10.1
      huawei(config-voip)#ip address signaling 10.10.10.10
      huawei(config-voip)#quit
    3. Add an MG interface.

      Add an MG interface to communicate with the MGC, which ensures that the MGC can control the call connection through the MG interface. According to the data plan, add MG interface 0, and configure the interface attributes.

      huawei(config)#interface h248 0
        Are you sure to add MG interface?(y/n)[n]:y
      huawei(config-if-h248-0)#if-h248 attribute mg-media-ip1 10.10.10.10 mgip 10.10.10.10 mgport 2944 primary-mgc-ip1 10.10.20.20 
      primary-mgc-port 2944 code text transfer udp
    4. Configure the TID template of the PSTN users on MG interface 0.

      Configure the TID generation mode. According to the data plan, the terminal prefix of PSTN users is huawei, and the TID template adopts layering template 6.

      The MA5600T/MA5603T/MA5608T requires that the terminal prefixes of PSTN users, ISDN BRA users, and ISDN PRA users on the same H.248 interface be either the same or different. Note this when configuring the terminal prefix.

      huawei(config-if-h248-0)#tid-format pstn prefix huawei template 6
    5. Reset the MG interface.

      Reset the MG interface to make the MG interface register with the MGC (and to make the modified attributes of the MG interface take effect) so that the MG interface can work in the normal state. The MG interface can be started in different ways (see Parameters of the reset command). For a newly configured MG interface, enable the MG interface through cold start.

      huawei(config-if-h248-0)#reset coldstart
        Are you sure to reset MG interface?(y/n)[n]:y
      huawei(config-if-h248-0)#quit
    6. Query the running status of the MG interface.

      After the MG interface is interconnected with the MGC, the MG interface should be in the normal state, indicating that the MG interface can work in the normal state.

      huawei(config)#display if-h248 all                              
        ------------------------------------------------------------------------------
        MGID     Trans State           MGPort MGIP            MGCPort MGCIP/DomainName
        ------------------------------------------------------------------------------
        0        UDP   Normal          2944   10.10.10.10     2944    10.10.20.20     
        ------------------------------------------------------------------------------
    7. Confirm the service board.

      Confirm the ASPB service board that carries services so that the board can work in the normal state.

      huawei(config)#board confirm 0/2
    8. Configure the PSTN user data.

      Add POTS users (phones 0-31) so that the users can go online.

      huawei(config)#esl user
      huawei(config-esl-user)#mgpstnuser batadd 0/2/0 0/2/31 0
      huawei(config-esl-user)#quit
    9. Save the data.
      huawei(config)#save
  • Configure VAG2.
    1. Add the upstream VLAN interface.

      According to the data plan, configure the secondary IP address of the Layer 3 interface to 10.10.10.11, which facilitates the configuration of the media and signaling IP address pools.

      In step 1, the VLAN is added and the IP address of the VLAN Layer 3 interface is configured. In this step, use the sub parameter to configure the secondary IP address of the VLAN. The secondary IP address is the same as the primary IP address in function. They are used for Layer 3 forwarding.

      huawei(config)#interface vlanif 20
      huawei(config-if-vlanif20)#ip address 10.10.10.11 24 sub
      huawei(config-if-vlanif20)#quit
    2. Configure the media and signaling IP address pools.

      Add the IP address of the VLAN Layer 3 interface configured in the previous step to the media and signaling IP address pools respectively. Therefore, the media and signaling IP addresses used for the services can be selected from the IP address pools. According to the data plan, IP address 10.10.10.11 is added to the media and signaling IP address pools, and the gateway IP address corresponding to the media IP address is 10.10.10.1.

      huawei(config)#voip
      huawei(config-voip)#ip address media 10.10.10.11 10.10.10.1
      huawei(config-voip)#ip address signaling 10.10.10.11
      huawei(config-voip)#quit
    3. Add an MG interface.

      Add an MG interface to communicate with the MGC, which ensures that the MGC can control the call connection through the MG interface. According to the data plan, add MG interface 1, and configure the interface attributes.

      huawei(config)#interface h248 1
        Are you sure to add MG interface?(y/n)[n]:y
      huawei(config-if-h248-1)#if-h248 attribute mg-media-ip1 10.10.10.11 mgip 10.10.10.11 mgport 2944 primary-mgc-ip1 10.10.20.20 
      primary-mgc-port 2944 code text transfer udp
    4. Configure the TID template of the PSTN users on MG interface 1.

      Configure the TID generation mode. According to the data plan, the terminal prefix of PSTN users is huawei, and the TID template adopts layering template 6.

      The MA5600T/MA5603T/MA5608T requires that the terminal prefixes of PSTN users, ISDN BRA users, and ISDN PRA users on the same H.248 interface be either the same or different. Note this when configuring the terminal prefix.

      huawei(config-if-h248-1)#tid-format pstn prefix huawei template 6
    5. Reset the MG interface.

      Reset the MG interface to make the MG interface register with the MGC (and to make the modified attributes of the MG interface take effect) so that the MG interface can work in the normal state. The MG interface can be started in different ways (see Parameters of the reset command). For a newly configured MG interface, enable the MG interface through cold start.

      huawei(config-if-h248-1)#reset coldstart
        Are you sure to reset MG interface?(y/n)[n]:y
      huawei(config-if-h248-1)#quit
    6. Query the running status of the MG interface.

      After the MG interface is interconnected with the MGC, the MG interface should be in the normal state, indicating that the MG interface can work in the normal state.

      huawei(config)#display if-h248 all                              
        ------------------------------------------------------------------------------
        MGID     Trans State           MGPort MGIP            MGCPort MGCIP/DomainName
        ------------------------------------------------------------------------------
         0        UDP   Normal          2944   10.10.10.10     2944    10.10.20.2 
         1        UDP   Normal          2944   10.10.10.11     2944    10.10.20.20     
        ------------------------------------------------------------------------------
    7. Confirm the service board.

      Confirm the ASPB service board that carries services so that the board can work in the normal state.

      huawei(config)#board confirm 0/3
    8. Configure the PSTN user data.

      Add POTS users (phones 0-31) so that the users can go online.

      huawei(config)#esl user
      huawei(config-esl-user)#mgpstnuser batadd 0/3/0 0/3/31 1
      huawei(config-esl-user)#quit
    9. Save the data.
      huawei(config)#save

Result

  1. When MG0 communicates with the MGC in the normal state, phones 0-31 belonging to MG0 can communicate with each other.
  2. When MG1 communicates with the MGC in the normal state, phones 0-31 belonging to MG1 can communicate with each other.
  3. When MG0 and MG1 communicate with the MGC in the normal state, phones 0-31 belonging to MG0 and phones 0-31 belonging to MG1 can communicate with each other.
Translation
Download
Updated: 2019-02-22

Document ID: EDOC1100067358

Views: 13212

Downloads: 129

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