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

143
undo voice-class sip bind { control | media }
Default
The default global source interface is used.
Views
VoIP entity view
Predefined user roles
network-admin
Parameters
control: Specifies outbound SIP messages.
media: Specifies outbound media packets.
source interface interface-type interface-number: Specifies a source interface whose IP address is used
as the source address of outbound SIP messages or media packets. The specified interface must be a
Layer 3 Ethernet interface or dialer interface.
Usage guidelines
For information about how source interface binding works in different conditions, see the usage
guidelines for the bind co
mmand.
You can configure source interface binding both globally (by using the bind command in SIP view) and
for a specific VoIP entity (by using the voice-class sip bind command in VoIP entity view). The
configuration in VoIP entity view takes precedence over the global configuration. A VoIP entity uses the
global configuration only when source interface binding is not configured in VoIP entity view.
Examples
# Specify Dialer 0 as the source interface for outbound SIP messages on VoIP entity 10.
<Sysname> system-view
[Sysname] voice-setup
[Sysname-voice] dial-program
[Sysname-voice-dial] entity 10 voip
[Sysname-voice-dial-entity10] voice-class sip bind control source-interface dialer 0
Related commands
bind
voice-class sip options-keepalive
Use voice-class sip options-keepalive to enable keepalive function for a VoIP entity.
Use undo voice-class sip options-keepalive to disable keepalive function for a VoIP entity.
Syntax
voice-class sip options-keepalive [ up-interval seconds ] [ down-interval seconds ] [ retry retries ]
undo voice-class sip options-keepalive
Default
The keepalive function is disabled for a VoIP entity.