03 Adding SIP Interface
03 Adding SIP Interface
This topic describes how to add an SIP interface so that the MA5616 can communicate with the
IMS through the SIP interface.
Prerequisite
The to-be-configured media and signaling IP addresses of the SIP interface must be added to the
media and signaling IP address pools successfully.
Context
Procedure
1. Run the display protocol support command to query the current system protocol.
o If the system protocol is SIP, go to 8.
o If the system protocol is not SIP, go to 2.
2. Run the display if-h248 all command to query whether an MG interface that supports the
current protocol exists in the system.
3. Run the display mgpstnuser command to check the user data, run the esl user command
to enter ESL user mode, and then run the mgpstnuser batdel command to delete the
voice service user.
4. Run the shutdown(h248) command to shut down the MG interface.
CAUTION:
This operation interrupts the ongoing services carried on the currently used MG interface.
Hence, exercise caution when performing this operation. Before performing this
operation, be sure to check whether the operation is allowed.
CAUTION:
You must delete the default and user-defined local digitmaps before switching the
protocol.
7. After saving the configuration data by running the save command, run the reboot system
command to reboot the system to make the new configuration take effect.
8. Run the interface sip command to add an SIP interface.
1
9. Run the if-sip attribute basic command to configure the basic attributes of the SIP
interface.
NOTE:
o 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.
o The profile index must be configured.
10. Run the if-sip attribute optional command to configure the optional attributes of the SIP
interface.
11. Run the display if-sip attribute command to query the SIP interface attributes.
12. After the configuration, you need to run the reset command to reset the SIP interface to
make the configuration take effect. Otherwise, the configuration is stored only in the
database.
13. After the configuration, run the display if-sip attribute running command to query the
status of the SIP interface.
Example
huawei(config)#interface sip 0
huawei(config)#if-sip attribute basic media-ip 10.13.4.116 signal-ip
10.13.4.117 signal-port 5000 transfer udp primary-proxy-ip1 10.13.4.118
primary-proxy-port 5060 primary-proxy-domain proxy.domain secondary-proxy-ip1
10.13.4.119 secondary-proxy-port 50
huawei(config-if-sip-0)#if-sip attribute basic 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
------------------------------------------------------------
MGID 0
Signalling IP 10.13.4.117
Signalling Port 5000
Media IP 10.13.4.116
Transfer Mode UDP
Primary Proxy IP 1 10.13.4.118
Primary Proxy IP 2 -
Primary Proxy Port 5060
Secondary Proxy IP 1 10.13.4.119
2
Secondary Proxy IP 2 -
Secondary Proxy Port 5060
Proxy Address Mode IP
SIPProfile Index 1:Default
Service logic Index 0:Default
Server Address DHCP Option 0:None
Primary Proxy Domain Name -
Secondary Proxy Domain Name -
Home Domain Name sip.huawei.com
Description -
MG Domain Name -
Phone Context -
Register URI -
Conference Factory URI -
Primary Proxy State up
Secondary Proxy State up
Subscribe to UA-Profile enable
Subscribe to REG-STATE disable
Subscribe to MWI disable
SDP negotiation mode remote
Mode of supporting proxy dual-homing dualhome
Proxy detection mode probe
Proxy refresh mode immediate
------------------------------------------------------------
3
پایان
4