Cisco BTS 10200 Softswitch Manual page 26

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 2:
Enter 1 to continue translations 1
Enter input string 4692551234
Match string %255
Replace string 5
MATCHED
Output string = 51234
Example 3:
Enter 1 to continue translations 1
Enter input string 4692551234
Match string %...255MATCH DIGITS 255 IN DIGIT POSITIONS 4,5,6
Replace string 5
MATCHED
Output string = 51234
Example 4:
Enter 1 to continue translations 1
Enter input string 4692551234
Match string %...255?MATCH DIGITS 255 IN DIGIT POSITIONS 4,5,6 AND 1 MORE DIGIT
Replace string 55
MATCHED
Output string = 55234
Ampersand (&) Character
The ampersand character (&) is used in the replace-string to leave the matched string as is without
replacing it with the replace string. If ampersand is specified by itself, the digit manipulation leaves the
input string as is. If a digit string is specified followed by an ampersand, the digit string is prefixed to
the matched string.
The following examples show the use of the ampersand (&) character.
Examples:
Example 1: input-string=4695551212; match-string=...555....; replace-string=&; will return
an indication of match, but the output string will be unaffected.
Example 2: input string=4695551234; match-string=???555....; replace-string=1&; In this
example, if the input string is 10 digits long, and digits(4-6) 555, prefix the input
string with 1. The resultant output string=14695551234.
Additional examples:
Example 1:
Enter 1 to continue translations 1
Enter input string 4692551234
Match string ???255
Replace string 1&
MATCHED
Output string = 14692551234
Cisco BTS 10200 Softswitch Dial Plan Guide, Release 4.5.x
1-10
OL-8001-10

Advertisement

Table of Contents
loading

Table of Contents