R0106-HP MSR Router Series Voice Configuration Guide(V7)
93
Configuring source interface binding for outgoing SIP
messages or media packets
Perform this task to specify the source interface for outgoing SIP messages and media packets. The IP
address of the specified source interface is used as the source address. If the source interface obtains its
IP address from a DHCP or PPPoE server, you do not need to manually re-configure the source address
when the IP address of the source interface is changed. Only the Layer 3 Ethernet interfaces and dialer
interfaces that are up and have a primary IP address support interface binding.
For more information about DHCP, see Layer 3—IP Services Configuration Guide.
For more information about PPPoE, see Layer 2—WAN Access Configuration Guide.
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.
The following table describes how source interface binding works in different conditions:
Condition Result
Configure a new source interface when
ongoing calls exist.
• The new source interface takes effect for subsequent SIP
media sessions but does not take effect for existing SIP media
sessions.
• The new source interface immediately takes effect for all SIP
signaling sessions.
The bound source interface is shut down.
The source interface binding function does not take effect, and
the default setting is restored.
The IP address of the bound source interface
or the bound source interface is removed.
The physical or link layer state of the bound
interface is down.
The bound source interface obtains a new IP
address from the DHCP or PPPoE server.
The new IP address is used as the source IP address.
Configure a new source interface during SIP
registration.
The new source interface takes effect for subsequent
registrations.
Configuring global source interface binding
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter voice view.
voice-setup N/A
3. Enter SIP view.
sip N/A
4. Configure global source
interface binding for outgoing
SIP messages or media
packets.
bind { control | media } source
interface interface-type
interface-number
By default, the egress interface is
used as the global source interface
of SIP messages or media packets.