R2511-HP MSR Router Series Voice Command Reference(V5)
228
Syntax
rule tag { deny | permit } { incoming | outgoing } { pattern | any }
undo rule { tag | all }
Default
No call rule is configured.
Views
Service view
Default command level
2: System level
Parameters
tag: Call rule tag in the range of 0 to 31.
deny: Denies calls.
permit: Permits calls.
incoming: Incoming calls.
outgoing: Outgoing calls.
pattern: Number pattern, consisting of digits and dots (.). Each dot represents a character and can only
appear at the end of a number. This argument does not support other characters.
any: Any number
all: All rules.
Examples
# Configure a call rule.
<Sysname> system-view
[Sysname] voice-setup
[Sysname-voice] sip-server
[Sysname-voice-server] call-rule-set
[Sysname-voice-server-set] service 1
[Sysname-voice-server-set–svc1] rule 1 deny incoming 2....
service
Use service to create a call rule and enter call rule view.
Use undo service to remove a call rule or all call rules.
Syntax
service tag
undo service { tag | all }
Views
Call rule set view
Default command level
2: System level










