R0106-HP MSR Router Series Voice Command Reference(V7)

113
SIP commands
address sip
Use address sip to configure a call destination IP address for a VoIP entity.
Use undo address sip to remove the call destination IP address for a VoIP entity.
Syntax
address sip { dns domain-name port port-number | ip ip-address [ port port-number ]| proxy }
undo address sip { dns | ip | proxy }
Default
No call destination IP address is configured for a VoIP entity.
Views
VoIP entity view
Predefined user roles
network-admin
Parameters
dns domain-name: Specifies the destination domain name, which consists of case-insensitive character
strings separated by a dot (for example, aabbcc.com). Each separated string contains no more than 63
characters. A domain name can include letters, digits, hyphens (-), and underscores (_), and has a
maximum length of 255 characters.
port port-number: Specifies the destination port number in the range of 1 to 65535. If the ip keyword is
specified, the default port number is 5060 for TCP and UDP and 5061 for TLS. If the dns keyword is
specified, the destination port number must be configured.
ip ip-address: Specifies the destination IP address.
proxy: Contacts the SIP proxy server to obtain the destination IP address.
Examples
# Configure the call destination IP address as 3.3.3.3 for VoIP entity 10.
<Sysname> system-view
[Sysname] voice-setup
[Sysname-voice] dial-program
[Sysname-voice-dial] entity 10 voip
[Sysname-voice-dial-entity10] address sip ip 3.3.3.3
asserted-id
Use asserted-id to add the P-Asserted-Identity or P-Preferred-Identity header field into outgoing SIP
messages.
Use undo asserted-id to not add the P-Asserted-Identity or P-Preferred-Identity header field into SIP
messages.