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

Configuring an 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 the 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 an 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-24 lists parameters that are usually configured to a non-default value. The other parameters are not required.

Table 1-24 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

(Optional) Configuring the Ringing Mode of the SIP Interface

This topic describes how to configure the ringing mode of the SIP interface to support the break-make ratios of various new ringing modes and make the ringing mode meet the local standards.

Prerequisites

The SIP interface must be added successfully.

Context
  • If the preset ringing modes of the system can meet the user requirements, you can select the required ringing mode and configure the corresponding ringing mapping.
  • If the system-defined ringing modes cannot meet the user requirements, you can use the user-defined ringing mode and configure the corresponding ringing mapping.
  • The user can configure the cadence duration for the user-defined ringing to form different ringing modes.
  • The user-defined ringing modes are 0-15, which correspond to the cadence ringing modes 128-143 and initial ringing modes 144-159 defined by the user. For example, if the user-defined cadence ringing mode is 128, user-defined ringing mode 0 is selected. If the user-defined initial ringing mode is 144, user-defined ringing mode 0 is selected.
  • The system supports up to 16 records of the ringing mode mapping.
Precaution
  • The ringing mapping name must be unique on the same SIP interface.
  • An index can be used for adding only one ringing mode on the same SIP interface.
  • The 16 user-defined ringing modes can be modified but cannot be added.

Procedure

  1. According to the Usage Guidelines of the ringmode add command, check whether the preset ringing mode in the system meets the requirement.

    • If the requirement is met, proceed to step 4.
    • If the requirement is not met, go to step 2.

  2. In the global config mode, run the user defined-ring modify command to configure the user-defined ringing mode.

    NOTE:
    • To use the user-defined ringing mode, perform this step and you can define the ringing types numbered 0-15.
    • After configuring the user-defined ringing mode, you need to reset the corresponding service board to make the configuration data take effect, so that the user of the service board can use the new user-defined ringing mode. If the service board has been in service for a period, evaluate the impact on the online users before resetting the service board, and then determine whether to perform this operation.

  3. Run the display user defined-ring command to query the user-defined ringing.
  4. Run the interface sip command to enter the SIP mode.
  5. Run the ringmode add command to add a ringing mapping.

    Run this command to configure the ringing mode for the users of the same SIP interface. The key parameters are described as follows:

    • cadencering: Indicates the cadence ringing mode. The range 128-143 of this parameter corresponds to user-defined ringing modes 0-15.
    • initialring: Indicates the initial ringing mode. The range 144-159 of this parameter corresponds to user-defined ringing modes 0-15.

  6. Run the display user defined-ring command to query ringing mapping records.

Example

To add such a ringing mode mapping record on SIP interface 0, assume that:
  • Index of the ringing mode mapping record: 1
  • Name of the ringing mode mapping record: alert-group
  • Cadence ringing mode: 1
  • Initial ringing mode: 4
do as follows:
huawei(config)#interface sip 0
huawei(config-if-sip-0)#ringmode add 1 alter-group cadencering 1 initialring 4
huawei(config-if-sip-0)#display ringmode 1
  -----------------------------------------------------------------             
  MGID: 0                                                                       
  Index: 1                                                                      
  Ringmode-name: alter-group                                                    
  CadenceRing: Special Ring 1:2                                                 
  InitialRing: Normal Ring (FSK) 1:4                                            
  -----------------------------------------------------------------             

(Optional) Configuring User-Defined Signals

This topic describes how to configure user-defined signals on an SIP interface when the system default signals cannot meet customer requirements.

Prerequisites

The SIP interface is added successfully.

Context
Signals indicate the combination of different physical signals that are generated when the system needs to inform users of the call progress and call information. Physical signals include 3 types: media signals, line signals, and data signals.
  • Media signals, including various signal tones (such as dial tone and busy tone), are generated by DSP chips.
  • Line signals (such as ringing and polarity reversal signals) are generated by POTS boards.
  • Data signals include calling line identification presentation (CLIP) signals, message waiting indicator (MWI) signals, and call cost signals. DSP chips process received pulse signals and then generate data signals.

When a signal is mapped to a specific scenario, the system generates this signal to inform users once this scenario occurs.

A signal may consist of a single signal unit. Figure 1-173 shows the signal configured for the scenario in which a user picks up the phone but does not dial a number for a long time. This signal consists of 2 signal units busy tone and howler tone. Table 1-25 lists signal attributes. For details, see"Parameter" of the signal-unit set command.
Figure 1-173 Signal configured for the scenario in which a user picks up the phone but does not dial a number for a long time
Table 1-25 Signal attributes

Attribute

Description

type

Indicates the type of the signal unit.

repeat

Indicates how many times this signal unit will be played.

duration

Indicates the duration of the signal unit. If it is set to 4294967295 (0xffffffff), the termination of signal unit playing depends on the termination condition.

start-condition

Indicates the condition for starting a signal unit.

end-condition

Indicates the condition for terminating a signal unit. If it is set to "-", this signal unit is continuously played and does not end.

Procedure

  1. Run the interface sip command to enter the SIP mode.
  2. Run the display signal-scene command to query whether the system default signals meet customer requirements. If the system default signals do not meet customer requirements, configure user-defined signal by referring to 3.
  3. In the SIP mode, run the signal add command to add user-defined signals.

    NOTE:

    The name of a user-defined signal must be unique in a system. You can run the display signal command to query the signals existing in the system.

  4. Run the signal-unit set command to configure signal attributes.
  5. Run the signal-mapping add command to configure the mapping between the signal and scenario.
  6. Run the reset command to reset a SIP interface for the new configuration data to take effect.

    NOTE:

    After the SIP interface is reset successfully, you can run the display signal-scene command to query the new configuration data.

Example

Example 1: On SIP interface 0, add a new signal named signal1 for the scenario in which a user picks up the phone but does not dial a number for a long time. This signal consists of signal unit 0 and signal unit 1.
  • Type of signal unit 0: tone 1 (busy tone). Signal unit 1 will be continuously played for 40s.
  • Type of signal unit 1: tone 2 (howler tone). Signal unit 2 will be continuously played for 60s.
huawei(config)#interface sip 0
huawei(config-if-sip-0)#signal add signal1
huawei(config-if-sip-0)#signal-unit set signal1 0 type tone:1 duration 40000
huawei(config-if-sip-0)#signal-unit set signal1 1 type tone:2 duration 60000
huawei(config-if-sip-0)#signal-mapping add local:no_dial signal1
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                                           
Example 2: On SIP interface 0, add a new signal named signal2 for the scenario in which a user receives a normal incoming call. Figure 1-174 shows the signal configured for this scenario. This signal consists of signal unit 0, signal unit 1, and signal unit 2.
  • Type of signal unit 0: init 0 (initial ringing). The initial ringing ends when signal unit 1 ends.
  • Type of signal unit 1: data 0 (FSK CLIP).
    • Condition for starting signal unit 1: 650 ms elapse after the fsk_start signal is received or signal unit 0 is played for 4000 ms.
    • Condition for terminating signal unit 1: 350 ms elapse after the fsk_end signal is received. If the fsk_end signal is not received in a period of 3500 ms, signal unit 1 is automatically terminated.
  • Type of signal unit 2: cade 0 (cadence ringing). When signal unit 0 ends, the system starts to play signal unit 2.
Figure 1-174 Signal2 configured for the scenario in which a user receives a normal incoming call
huawei(config)#interface sip 0
huawei(config-if-sip-0)#signal add signal2
huawei(config-if-sip-0)#signal-unit set signal2 0 type init:0 end-condition 1e
huawei(config-if-sip-0)#signal-unit set signal2 1 start-condition fs:650|0s:4000 duration 3500
end-condition fe:350
huawei(config-if-sip-0)#signal-unit set signal2 2 type cade:0 start-condition 0e
huawei(config-if-sip-0)#signal-mapping add local:call_incoming signal2
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                                           
Translation
Download
Updated: 2019-02-22

Document ID: EDOC1100067358

Views: 16361

Downloads: 170

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