
Chapter 14 - Line Configuration
Calling Number Transformation
228
Mediatrix 4104
The matching criterion implicitly matches from the beginning of the string, but not necessarily up to the end.
For instance,
123
will match the criterion
1
, but it will not match the criterion
2
.
If you want to match the whole string, you must end the criterion with “$”. For instance,
123
will not match the
criterion
1$
and will match the criterion
123$
.
Groups
A group is placed within parenthesis. It is used when replacing a string in a mapping. You can use up to nine
groups (defined by “\1” to “\9”) and matching is not case sensitive. “\0” represents the whole string. Lets say
for instance you have the following string:
9(123(45)6)
The following describes how the groups are replaced:
?
Matches 0 or 1 occurrence of the previous item. For instance,
123?4
matches both
124
and
1234
.
+
Repeats the previous digit one or more time. For instance
12+345
matches
12345
,
122345
,
etc. (but not
1345
). If you use the
+
at the end of a number, it repeats the last number one or
more times. For instance:
12345+
matches,
12345
,
123455
,
1234555
, etc.
Table 141:
Groups Replacement Example
Replacement
Result
\0
9123456
\1
123456
\2
45
\3
Table 140:
Regular Expressions Wildcards (Continued)
Character
Description
Summary of Contents for Mediatrix 4104
Page 23: ...Installation and Web Page Configuration ...
Page 24: ...Page Left Intentionally Blank ...
Page 136: ...Chapter 5 Web Interface Telephony Miscellaneous 114 Mediatrix 4104 ...
Page 144: ...Chapter 6 Web Interface Advanced STUN Configuration 122 Mediatrix 4104 ...
Page 145: ...SNMP Configuration ...
Page 146: ...Page Left Intentionally Blank ...
Page 184: ...Chapter 8 IP Address and Network Configuration Ethernet Connection Speed 162 Mediatrix 4104 ...
Page 196: ...Chapter 10 DNS SRV Configuration DNS SRV Oriented Settings 174 Mediatrix 4104 ...
Page 226: ...Chapter 12 Configuration File Download Configuration File Example 204 Mediatrix 4104 ...
Page 242: ...Chapter 13 Software Download Emergency Software Procedure 220 Mediatrix 4104 ...
Page 268: ...Chapter 15 Voice Transmissions User Gain 246 Mediatrix 4104 ...
Page 278: ...Chapter 17 Bypass Configuration Bypass Connector Settings 256 Mediatrix 4104 ...
Page 322: ...Chapter 21 Digit Maps Digit Map Examples 300 Mediatrix 4104 ...
Page 350: ...Chapter 24 Telephony Attributes Call Rejection 328 Mediatrix 4104 ...
Page 362: ...Chapter 27 Quality of Service QoS VLAN 340 Mediatrix 4104 ...
Page 366: ...Chapter 28 Syslog Daemon Syslog Daemon Configuration 344 Mediatrix 4104 ...
Page 370: ...Chapter 29 Statistics RTP Statistics 348 Mediatrix 4104 ...
Page 385: ...Appendices ...
Page 386: ...Page Left Intentionally Blank ...
Page 400: ...Appendix B Standard Hardware Information Warranty 378 Mediatrix 4104 ...
Page 404: ...Appendix C Cabling Considerations RJ 11 Telephone Cable 382 Mediatrix 4104 ...
Page 446: ...Appendix E Glossary Wide Area Network WAN 424 Mediatrix 4104 ...