Cisco BTS 10200 Softswitch Manual page 25

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 3:
Enter 1 to continue translations 1
Enter input string 4695551234
Match string ???555
Replace string 5
MATCHED
Output string = 51234
Example 4:
Enter 1 to continue translations 1
Enter input string 4692551234
Match string ???555
Replace string none
Not MATCHED
Output string = 4692551234
Percent (%) Character (Match and Replace)
The percent character (%) is used to specify the match and replace function i.e. if a match occurs, replace
the matched string with the replace-string. The percent character is also used as a wild card character.
If match-string=%, the whole input-string is replaced by the replace-string.
If match-string=%nn, the input-string is searched from the beginning until it matches pattern nn, and the
whole string from the beginning to the end of pattern is replaced with the replace-string.
If match-string=%...nnn, the input-string is searched for pattern nnn in digit positions 4,5 and 6. If a
match occurs, the digit string from the beginning including the pattern nnn is replaced with the
replace-string.
The following examples show the use of the percent (%) character.
Examples:
Example 1: %555 - indicates match on 555 and any number of digits preceding it. This will
match on of the following input string: 4695551234. Digits 469555 will be replaced with
the replace string.
Example 2: % - indicates match on any number of digits.
Additional examples:
Example 1:
Enter 1 to continue translations 1
Enter input string 4692551234
Match string %
Replace string 55555
MATCHED
Output string = 55555
Cisco BTS 10200 Softswitch Dial Plan Guide, Release 4.5.x
1-9
OL-8001-10

Advertisement

Table of Contents
loading

Table of Contents