Cisco 7940G Administration Manual - Page 25

Browse online or download pdf Administration Manual for IP Phone Cisco 7940G. Cisco 7940G 29 pages. Ios telephony services ip phone
Also for Cisco 7940G: User Manual (21 pages), User Manual (25 pages), Datasheet (7 pages), Manual (35 pages), Quick Reference (2 pages), User Manual (15 pages), Quick Reference Manual (2 pages), User Manual (20 pages), Phone Manual (17 pages), Administrator's Manual (15 pages), User Manual (16 pages), Reference Manual (24 pages), Manual (21 pages), Installation Manual (12 pages), User Manual (10 pages)

Cisco 7940G Administration Manual
Chapter 3
Initializing Cisco Unified IP Phones
Argument
Rewrite="xxx"
OL-7890-01
Description
Alternate string to be dialed instead of the number that the user
dials. The following apply:
Rewrite rules are matched from start to finish with the longest
matching rule taken as the one to use.
Matches against a period are not counted as part of the length.
A complete rule is matched only if it has more nonwildcard
matches than an incomplete rule.
Comments are allowed with the following syntax:
<!-- comment -->
Rules allow for substitution of up to five replacement strings as
well as picking off of replaced digits one at a time.
For example, a match string of
ab12cd34ef5678
Rewrite
%s
%0
%1
%2
%3
%4
%5
XYZ....
X.Y.Z...
919%1%2%3
AB...X%1X..
X%1X%1X%1
X%s%%
919
............
Cisco Unified IP Phone 7960G and 7940G Administration Guide for Release 8.0 (SIP)
ab..cd..ef*
result in the following.
Output
Notes
ab12cd34ef5678
ab12cd34ef5678
12
34
5678
Null output.
Null output.
XYZ1234
X1Y2Z345
91912345678
12 appears twice.
AB123X12X45
You can reuse the string.
X12X12X12
%% produces a %.
Xab12cd34ef5678%
No need to use the input.
919
Nothing goes in for the extra
12345678
dots.
How to Create Dial Plans
and an input string of
3-25