Cisco BTS 10200 Softswitch Manual page 24

Cisco systems softswitch dial plan guide
Hide thumbs Also See for BTS 10200 Softswitch:
Table of Contents

Advertisement

Chapter 1
Digit Translations
Digit Manipulation
Example 5:
Enter 1 to continue translations 1
Enter input string 22233
Match string ^...
Replace string none
Not MATCHED
Output string = 22233
Question Mark (?) Character
The question mark (?) character is used to specify a wild card character based on its position in the
match-string. Each question mark character represents one digit character.
If a question mark is specified as a leading character in a match-string, the beginning of input string is
assumed. Match-string "???555" indicates to look for any three digits followed by digits 555. The
question mark character can not be specified as the only character as it conflicts with the use of "?" as a
help character. So, if the first digit is to be matched, use ^? to represent first digit and ?$ to represent the
last digit of a digit-string.
The following examples show the use of question mark (?) character.
Examples:
Example 1: "???555" indicates that 555 appear in digit position 4-6. This will match the
following input string: 4695551234.
Example 2: "555????" Indicates that find a match on 555 where there are 4 more digits that
follow 555. This will match any of the following input strings: 4695551234 or 5551234.
Digits 5551234 will be replaced with the replace string.
Example 3: "^?" indicates to match on the 1st digit
Example 4: "?$" indicates to match on the last digit
Additional examples:
Example 1:
Enter 1 to continue translations 1
Enter input string 14692551234
Match string ^1???
Replace string none
MATCHED
Output string = 2551234
Example 2:
Enter 1 to continue translations 1
Enter input string 4692551234
Match string ????$
Replace string none
MATCHED
Output string = 469255
Cisco BTS 10200 Softswitch Dial Plan Guide, Release 4.5.x
1-8
OL-8001-10

Advertisement

Table of Contents
loading

Table of Contents