R0106-HP MSR Router Series Voice Command Reference(V7)
129
Predefined user roles
network-admin
Parameters
registrar-index: Specifies an index for the registrar, in the range of 1 to 6.
dns domain-name: Specifies the registrar by its domain name, which consists of case-insensitive
character strings separated by dots (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.
ip ip-address: Specifies the registrar by its IP address.
port port-number: Specifies the port number of the registrar, 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 port number must be configured.
expires seconds: Sets the registration expiration time in the range of 60 to 65535 seconds. The default
the registration expiration time is 3600 seconds.
refresh-ratio ratio-percentage: Sets the refresh percentage in the range of 50 to 100. The default refresh
percentage is 80%.
tcp: Uses TCP as the transport protocol. By default, UDP is used.
tls: Uses TLS as the transport protocol.
scheme: Specifies a URL scheme.
sip: Specifies SIP as the URL scheme. By default, SIP is used.
sips: Specifies SIPS as the URL scheme.
Usage guidelines
When the registration time reaches the registration expiration time multiplied by the refresh percentage,
a voice entity or SIP trunk re-registers the number with the registrar to avoid expiration.
If you use TLS as the transport protocol for registration, the port number specified in this command must
be the same as the one configured on the registrar.
Examples
# Specify a registrar with IP address 169.54.5.10 and port number 1120, and configure the registration
expiration time as 120 seconds.
<Sysname> system-view
[Sysname] voice-setup
[Sysname-voice] sip
[Sysname-voice-sip] registrar 1 ip 169.54.5.10 port 1120 expires 120
# Specify a registrar with domain name cc.news.com and port number 1100, and configure the
registration expiration time as 520 seconds.
<Sysname> system-view
[Sysname] voice-setup
[Sysname-voice] sip
[Sysname-voice-sip] registrar 2 dns cc.news.com port 1100 expires 520
Related commands
• credentials