Technical data
How Numbers Are Processed
Dialogic
®
Diva
®
SIPcontrol
TM
Software 1.8 Reference Guide page 53
length of the called number, this option can be disabled. In all other configurations with outside access
digit this option has to be enabled.
It is recommended to have this option enabled in dialplans with outside access digit.
• The Diva SIPcontrol software's number normalization function does not remove outside access digits as a
PBX can for external calls. If the Diva SIPcontrol software needs to behave like a PBX with an outside access
digit for external calls, use the Address Map functionality in combination with a Routing module.
Number modification using regular expressions
The Dialogic
®
Diva
®
SIPcontrol
TM
software organizes regular expressions into address maps, and each endpoint
or route may be assigned one map. Each address map contains a number of regular expressions together with
the respective output format string that ensures that virtually every required manipulation scheme can be
configured.
By using separate address maps, instead of rules embedded into the routes and endpoints, it is possible to share
the same settings across different objects. For example, if several PSTN interfaces are connected to the same
PBX, they will most probably be configured with the same settings and, therefore, can share an address map
that the Diva SIPcontrol software lets you assign for each individual controller.
The Diva SIPcontrol software uses the style of regular expressions used by Perl. Most tutorials and how-to's
covering Perl regular expressions can apply to the Diva SIPcontrol software.
Common expressions:
Character Meaning
. Matches any character
^ Matches the beginning of a number only
$ Matches the end of a number
\+ Matches the plus sign ("+")
* Matches any number of occurrences of the previous character
{n} Matches the previous character exactly n times
{n,m} Matches the previous character between n and m times, both inclusive
( ) Marks a sub-expression to be referenced in format string and also groups sets of
characters
| Alternate operator, matches either the left or right sub-expression
[ ] Matches any character given within the square brackets, i.e [123] matches either 1, 2,
or 3, but not 4, 5, or 123.