R2511-HP MSR Router Series Voice Command Reference(V5)

237
Default command level
2: System level
Parameters
contact-user user-name: Host username, a case-sensitive string of 1 to 31 characters excluding double
quotation marks ("), backslash (\), or space.
host-name host-name: Host name, a string of 1 to 255 characters, which are not case-sensitive. A host
name can include letters, digits, hyphens (-), and underscores (_), and cannot include any space.
Usage guidelines
You cannot modify or delete the host username of a SIP trunk account when the account is enabled.
You cannot enable the registration function for a SIP trunk account before assigning a host username to
the account.
Examples
# Assign news.com.cn as the host name to SIP trunk account 2.
<Sysname> system-view
[Sysname] voice-setup
[Sysname-voice] sip-trunk account 2
[Sysname-voice-account-2] assign host-name news.com.cn
# Assign 123 as the host username to SIP trunk account 2.
<Sysname> system-view
[Sysname] voice-setup
[Sysname-voice] sip-trunk account 2
[Sysname-voice-account-2] assign contact-user 123
Related commands
register enable
account enable
Use account enable to enable a SIP trunk account.
Use undo account enable to disable a SIP trunk account.
Syntax
account enable
undo account enable
Default
A SIP trunk account is enabled.
Views
Account view
Default command level
2: System level
Usage guidelines
Disabling a SIP trunk account that is already involved in a connection does not delete the connection. In
other words, execution of this command takes effect on the next calling of this account.