R0106-HP MSR Router Series Voice Command Reference(V7)
148
matching credentials. You can configure up to 12 realms for a phone number, and up to 128 SIP trunk
accounts on the device.
Examples
# Configure a SIP trunk account for phone number 1000 that uses the following:
• Username 1000 and password 1000, for realm server1.
• Username 2000 and password 2000 for realm server2.
• Username 3000 and password 3000 for realm server3.
<Sysname> system-view
[Sysname] voice-setup
[Sysname-voice] sip
[Sysname-voice-sip] credentials number 1000 username 1000 password simple 1000 realm
server1
[Sysname-voice-sip] credentials number 1000 username 2000 password simple 2000 realm
server2
[Sysname-voice-sip] credentials number 1000 username 3000 password simple 3000 realm
server3
Related commands
registrar
media flow-around
Use media flow-around to enable the SIP trunk device to directly forward media packets between SIP
endpoints, without changing the media address for the media packets.
Use undo media flow-around to restore the default.
Syntax
media flow-around
undo media flow-around
Default
The SIP trunk device changes the media address of a media packet to its own address before forwarding
the media packet.
Views
VoIP entity view
Predefined user roles
network-admin
Usage guidelines
If media address hiding is not needed, you can enable media flow-around on the SIP trunk device to
improve forwarding performance.
Examples
# Enable media flow-around for VoIP entity 1.
<Sysname> system-view
[Sysname] voice-setup
[Sysname-voice] dial-program