R2511-HP MSR Router Series Voice Command Reference(V5)
247
[Sysname] voice-setup
[Sysname-voice] dial-program
[Sysname-voice-dial] entity 3 voip
[Sysname-voice-dial-entity3] match destination host-prefix ali
match source address
Use match source address to match a source address for a VoIP voice entity.
Use undo match source address to delete the call match rule that specifies the source address.
Syntax
match source address { ipv4 ip-address | dns dns-name | server-group group-number }
undo match source address
Default
No source address is specified as a call match rule for a VoIP voice entity. In other words, all source
addresses can be matched.
Views
VoIP voice entity view
Default command level
2: System level
Parameters
ipv4 ip-address: Source IP address. The value must be dotted and can include dots (.), multiplication
signs (x), asterisks (*), and digits, where x represents any number between 0 and 9, * represents any
number between 0 and 255, and x and * can appear multiple times in one source IP address. Fuzzy
matching is supported. For example, 100.1.x.3 indicates any IP address between 100.1.0.3 and
100.1.9.3, and 192.*.*.* indicates any IP address between 192.0.0.1 and 192.255.255.255.
dns dns-name: Domain name. A domain name is not case-insensitive and can include letters, digits,
hyphens (-), underscores (_), asterisk (*), and dots (.), with a maximum length of 255 characters. If you
provide this parameter, the specified domain name is used to match against the source addresses of calls,
and a whole-word match is considered a match. For example, if the domain name is configured as sohu,
sohu.com is not a match. However, fuzzy matching is supported. An asterisk represents a character string
of any length, for example, i*n can match the source addresses ilison, iverson, inn, and so on.
server-group group-number: SIP server group index, in the range 1 to 10.
Usage guidelines
The specified source address is used to match against the source addresses of calls.
You can specify only one source address based match rule for a VoIP voice entity. If you execute match
source address command multiple times, the new configuration overwrites the existing one.
Examples
# Specify that calls with a source IP address in the range 100.1.1.1 to 100.1.1.255 are permitted on VoIP
voice entity 3.
<Sysname> system-view
[Sysname] voice-setup
[Sysname-voice] dial-program
[Sysname-voice-dial] entity 3 voip










