Step 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.
Step 8
Run the
interface sip
command to add an SIP interface.
Step 9
Run the
if-sip attribute basic
command to configure the basic attributes of the SIP interface.
NOTE
l
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.
l
The profile index must be configured.
Step 10
Run the
if-sip attribute optional
command to configure the optional attributes of the SIP
interface.
Step 11
Run the
display if-sip attribute
command to query the SIP interface attributes.
Step 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.
Step 13
After the configuration, run the
display if-sip attribute running
command to query the status
of the SIP interface.
----End
Example
Assume that the media IP address is 10.13.4.116, signaling IP address is 10.13.4.117,
transmission protocol is UDP, port ID is 5000, IP address 1 of the primary proxy server is
10.13.4.118, port ID of the primary proxy server is 5060, domain name of the primary proxy
server is proxy.domain, IP address 1 of the secondary proxy server is 10.13.4.119, port ID of
the secondary proxy server is 5060, home domain name is sip.huawei.com, and profile index is
1. To configure such attributes of SIP interface 0, do as follows:
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
{ <cr>|home-domain<K>|primary-proxy-ip2<K>|proxy-addr-mode<K>|secondary-proxy-do
main<K>|secondary-proxy-ip1<K>|secondary-proxy-ip2<K>|secondary-proxy-port<K>|se
rver-dhcp-option<K>|sipprofile-index<K>|srvlogic-index<K> }:
secondary-proxy-ip1
{ secondary-proxy-ip1-value<I><X.X.X.X> }:
10.13.4.119
{ <cr>|home-domain<K>|primary-proxy-ip2<K>|proxy-addr-mode<K>|secondary-proxy-do
main<K>|secondary-proxy-ip2<K>|secondary-proxy-port<K>|server-dhcp-option<K>|sip
profile-index<K>|srvlogic-index<K> }:
secondary-proxy-port 5060
{ <cr>|home-domain<K>|primary-proxy-ip2<K>|proxy-addr-mode<K>|secondary-proxy-do
main<K>|secondary-proxy-ip2<K>|server-dhcp-option<K>|sipprofile-index<K>|srvlogi
c-index<K> }:
Command:
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 5060
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
------------------------------------------------------------
SmartAX MA5616 Multi-service Access Module
Configuration Guide
7 Configuring the Voice Service
Issue 04 (2011-10-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
249