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 SIP Interface

Configuring the SIP Interface

As an interface used for the intercommunication between the MA5600T/MA5603T/MA5608T and the MGC, the interface is vital to the SIP-based VoIP service. Therefore, to implement the VoIP service, the SIP interface must be configured and must be in the normal state.

Procedure

Configuring the Upstream VLAN Interface

This topic describes how to specify the upstream VLAN interface for the media stream and the signaling flow, and how to configure the IP addresses of the Layer 3 interface. These IP addresses are the sources of the media and signaling IP address pools.

Context

Multiple IP addresses can be configured for the same VLAN Layer 3 interface. Only one IP address functions as the primary address, and other IP addresses function as the secondary addresses.

Procedure

  1. Run the vlan command to add an upstream VLAN for the media stream and the signaling flow.
  2. Run the port vlan command to add the upstream ports to the VLAN.
  3. Configure the IP addresses of the VLAN Layer 3 interface.
    1. Run the interface vlanif command to enter the Layer 3 interface of the upstream VLAN for the media stream and the signaling flow.
    2. Run the ip address command to configure the IP addresses of the Layer 3 interface.
  4. Run the display interface vlanif command to check whether the IP addresses of the Layer 3 interface are the same as those in the data plan.
Example

Assume that the media stream and the signaling stream are transmitted upstream through upstream port 0/19/0. To create media and signaling upstream VLAN 3 and configure IP addresses 10.13.4.116/16 and 10.13.4.117/16 of the Layer 3 interfaces for the media IP address pool and the signaling IP address pool respectively, do as follows:

huawei(config)#vlan 3 standard
huawei(config)#port vlan 3 0/19 0
huawei(config)#interface vlanif 3
huawei(config-if-vlanif3)#ip address 10.13.4.116 16
huawei(config-if-vlanif3)#ip address 10.13.4.117 16 sub
huawei(config-if-vlanif3)#quit
huawei(config)#display interface vlanif 3
vlanif3 current state : UP
Line protocol current state : UP
Description : HUAWEI, SmartAX Series, vlanif3 Interface
The Maximum Transmit Unit is 1500 bytes
Forward plane MTU: -
Internet Address is 10.13.4.116/16
Internet Address is 10.13.4.117/16 Secondary
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 00e0-fc32-1118
VLAN Encap-mode : single-tag

Configuring the Media and Signaling IP Address Pools

The media IP address pool defines all media IP addresses that can be used by the AG, and the signaling IP address pool defines all signaling IP addresses that can be used by the AG.

Prerequisites

The IP address of the Layer 3 interface of the media and signaling upstream VLAN must be configured. For details about how to configure the IP address, see Configuring the Upstream VLAN Interface.

Context
  • The media IP address and the signaling IP address for the MG interface must be selected from the IP address pools configured here.
  • The signaling IP address pool is used to store the IP addresses of the MG interfaces, and the media IP address pool is used to store the IP addresses of the media streams controlled by the signaling.
  • The media IP address pool and the signaling IP address pool can be the same. Similarly, the media IP address and the signaling IP address can be the same.

    The MGCP interface on the MA5600T/MA5603T/MA5608T does not support the isolation of media streams and signaling flows. Therefore, when the MGCP protocol is used, the media IP address pool and the signaling IP address pool must be the same. When the H.248 or SIP protocol is used, the media IP address pool and the signaling IP address pool can be the same or different.

Procedure

  1. Run the voip command to enter the VoIP mode.
  2. Configure the media IP address pool.
    1. Run the ip address media command to add the media IP address to the media IP address pool.

      The media IP address needs to be selected from the IP addresses of the Layer 3 interface of the media and signaling upstream VLAN.

    2. Run the display ip address media command to check whether the media IP address pool is the same as that in the data plan.
  3. Configure the signaling IP address pool.
    1. Run the ip address signaling command to add the signaling IP address to the signaling IP address pool.

      The signaling IP address needs to be selected from the IP addresses of the Layer 3 interface of the media and signaling upstream VLAN.

    2. Run the display ip address signaling command to check whether the signaling IP address pool is the same as that in the data plan.
Example

To add IP addresses 10.13.4.116/16 and 10.13.4.117/16 of Layer 3 interfaces of the media and signaling upstream VLAN to the media IP address pool and the signaling IP address pool respectively, do as follows:

huawei(config)#voip
huawei(config-voip)#ip address media 10.13.4.116 10.13.0.1
huawei(config-voip)#ip address media 10.13.4.117 10.13.0.1
huawei(config-voip)#ip address signaling 10.13.4.116
huawei(config-voip)#ip address signaling 10.13.4.117
huawei(config-voip)#display ip address media               
  Media:               
  IP Address...........: 10.13.4.116       
  Subnet Mask..........: 255.255.0.0         
  Gateway..............: 10.13.0.1     
  MAC Address..........: 00-E0-FC-AF-91-33      
 
  IP Address...........: 10.13.4.117   
  Subnet Mask..........: 255.255.0.0        
  Gateway..............: 10.13.0.1           
  MAC Address..........: 00-E0-FC-AF-91-33       
huawei(config-voip)#display ip address signaling                
  Signaling:                                                                    
  IP Address...........: 10.13.4.116                                            
  Subnet Mask..........: 255.255.0.0                                            
  MAC Address..........: 00-E0-FC-AF-91-33                                      
                                                                                
  IP Address...........: 10.13.4.117                                            
  Subnet Mask..........: 255.255.0.0                                            
  MAC Address..........: 00-E0-FC-AF-91-33

Adding an SIP Interface

The MA5600T/MA5603T/MA5608T exchanges the signaling and protocol packets with the information management system (IMS) through an SIP interface. To ensure uninterrupted signaling and protocol packet exchange, ensure that the status of the SIP interface is in a normal state after you add it.

Context
  • One MA5600T/MA5603T/MA5608T supports up to eight SIP interfaces. Each SIP interface can be configured with the interface attributes separately.
  • The SIP attributes configured for an SIP interface take effect on this interface only.
  • The attributes of an SIP interface, including the signaling IP address, media IP address, transport-layer protocol, port ID of the transport-layer protocol, IP address (or domain name) of the proxy server, port ID of the proxy server, home domain name, profile index, are mandatory. In addition, the attributes of an SIP interface must be consistent with those configured on the IMS side so that the status of the SIP interface is normal.
Configuration Flowchart

Procedure

  1. Query the current voice protocol running in the system.

    Run the display protocol support command to query the voice protocol that is currently supported by the system.

    • If the system voice protocol is the SIP protocol, go to Step 6.
    • If the system voice protocol is not the SIP protocol, go to Step 2.
  2. Query the current MG interface in the system.

    Run the display if-mgcp all or display if-h248 all command to query whether an MGCP interface or an H.248 interface currently exists in the system.

    • If there is no such an MG interface, go to Step 4.
    • If there is such an MG interface, go to Step 3.
  3. Disable and delete the MG interface.
    1. Delete the user data of this MG interface, and then run the shutdown(mgcp) or shutdown(h248) command to disable the MG interface according to the protocol type of the interface.

      This operation interrupts all the ongoing services carried on the MG interface. Hence, exercise caution when performing this operation. Before performing this operation, you must check whether the operation is allowed.

    2. Run the undo interface mgcp or undo interface h248 command to delete the MG interface.
  4. Change the system-supported voice protocol to SIP.

    Run the protocol support command to change the system-supported voice protocol to SIP.

  5. Save the configuration data and restart the system.

    Save the configuration data by running the save command. Then run the reboot command to restart the system to make the new configuration data take effect.

  6. Run the interface sip command to add an SIP interface.
  7. Run the if-sip attribute basic command to configure the basic attributes of the SIP interface.

    NOTE:
    • Between proxy IP and proxy domain, which are basic attributes, at least one attribute must be configured. If both attributes are configured, the system determines which attribute is used according to the configured address mode of the proxy server.
    • The profile index must be configured.

  8. Run the if-sip attribute optional command to configure the optional attributes of the SIP interface.

    The optional attributes include some new service types supported by the SIP interface, such as the conference call, message waiting indicator, UA-profile subscription, and REG-state subscription, and also include the SIP proxy configuration mode. The optional attributes require the IMS-side support, and must be consistent with those on the IMA-side.

    After the configuration is completed, run the display if-sip attribute config command to query the attributes of the SIP interface.

  9. Reset the SIP interface.

    Run the reset command to reset the SIP interface for the new configuration data to take effect. Otherwise, the configuration data does not take effect but is only stored in the database.

    After the SIP interface is reset successfully, run the display if-sip attribute running command to query the running status of the SIP interface. If the active (or standby) proxy is up, the SIP interface is normal.

Example

Assume that: the media IP address is 10.10.10.13, signaling IP address is 10.10.10.13, transmission protocol is UDP, port ID is 5000, active proxy server IP address 1 is 10.10.10.14, port ID of the active proxy server is 5060, active proxy server domain name is proxy.domain, standby proxy server IP address 1 is 10.10.10.15, port ID of the standby proxy server is 5060, home domain name is sip.huawei.com, and profile index is 1. To configure the attributes of SIP interface 0, do as follows:

huawei(config)#interface sip 0
huawei(config-if-sip-0)#if-sip attribute basic media-ip 10.10.10.13 signal-ip 10
.10.10.13 signal-port 5000 transfer udp primary-proxy-ip1 10.10.10.14 primary-pr
oxy-port 5060 primary-proxy-domain proxy.domain secondary-proxy-ip1 10.10.10.15 
secondary-proxy-port 5060 home-domain sip.huawei.com sipprofile-index 1
huawei(config-if-sip-0)#reset                                                   
  Are you sure to reset the SIP interface?(y/n)[n]:y                            
huawei(config-if-sip-0)#                                                        
  Resetting SIP interface 0 succeeded                                           
huawei(config-if-sip-0)#display if-sip attribute running
  ------------------------------------------------------------                  
  ...//The rest information in response to this command is omitted.
  Primary Proxy State                  up   //Indicates that the SIP interface is in the normal state.
  Secondary Proxy State                down 
  ...
  ------------------------------------------------------------                  

(Optional)Configuring the Software Parameters of an SIP Interface

The software parameters of a SIP interface mainly define certain common service attributes of the SIP interface. After the software parameter configuration, the parameters take effect immediately and are valid only to the SIP interface. Skip this topic if the system default configuration meets user requirements.

Prerequisites

The MG interface has been configured. For details about how to configure the MG interface, see Configuring the SIP Interface.

Context

The details about the software parameters that can be configured of a SIP interface that supports SIP, see section Usage Guidelines in mg-software parameter. The other parameters are reserved in the system.

Table 1-32 lists parameters that are usually configured to a non-default value. The other parameters are not required.

Table 1-32 Software parameters usually configured of a SIP interface

Parameter

Description

Default Setting

2

Indicates whether the standalone mode is supported.

Numeral type. Range: 0-1.
  • 0: indicates that the standalone function is not supported.
  • 1: indicates that the standalone function is supported.

Default: 0

This parameter is usually set to 1.

8

Indicates whether the heartbeat message of the MG is disabled.

Numeral type. Range: 0-1.
  • 0: the heartbeat message of the MG is disabled
  • 1: the heartbeat message of the MG is enabled

Default value: 0.

Procedure

  1. Enter the SIP interface mode.

    In global config mode, run the interface sip command to enter the SIP interface mode.

  2. Configure software parameters.

    Run the mg-software parameter command the software parameters required in the data plan.

  3. Check whether the software parameters are the same as those in the data plan.

    Run the display mg-software parameter command to check whether the software parameters of the MG interface are the same as those in the data plan.

Example

To configure software parameter 2 of the SIP interface 0 to 1 so that the SIP interface supports standalone, do as follows:

huawei(config)#interface sip 0
huawei(config-if-sip-0)#mg-software parameter 2 1
huawei(config-if-sip-0)#display mg-software parameter 2                      
  -------------------------------------------------
  MGID:0           para index:2   value:1
  -------------------------------------------------
 APPENDIX:
  -------------------------------------------------
 Parameter Index:  Interface software parameter name:
    2 : SAL Support
        0: No
        1: Yes
Translation
Download
Updated: 2019-02-22

Document ID: EDOC1100067358

Views: 13084

Downloads: 123

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