Dialogic® 4000 Media Gateway Series Reference Guide
page 51
Important information about the outside access digit configuration
• Configure the outside access digit only if there is a PBX between the PSTN and the Diva SIPcontrol software,
and if this PBX requires the outside access digit for external calls. If you need to configure the outside access
digit, also configure the following related options:
•
Incoming PSTN access code provided by the PBX
:
This option defines whether the Diva SIPcontrol
software expects the outside access digit in the calling number in external calls from the PBX.
The PBX normally prepends the outside access digit to the calling number in incoming external calls in
order to enable callback functionality at internal phones. If this is the case, enable this option.
•
PSTN access code provided by the SIP caller
:
This option defines whether the Diva SIPcontrol software
expects the outside access digit in the called number in external calls from the SIP side to the PSTN.
It is normally required to prepend the outside access digit to call an external number from an internal
phone. In this case, these are phones on the SIP side. However, in some configurations this is not required,
especially in a configuration that is part of the North-American numbering plan (NANP), where an internal
number can be identified based on its length. If it is possible to identify an internal call purely by the
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.
Содержание 4000 Media Gateway Series
Страница 1: ...www dialogic com Dialogic 4000 Media Gateway Series Reference Guide...
Страница 8: ...page 8...