SBM powered by Microsoft Lync™ Administrator's Guide 2011-11

2-61
Complete the Setup Wizard
PSTN Configuration
If you want select all incoming phone numbers, but remove a leading + when
present, you would move the parentheses as follows:
[\+]?([-\*\#\d]+)
This mask selects the same phone numbers as the default mask (including
both those with a leading + and those without). However, because the paren-
theses exclude the part of the expression that selects the +, the Media Gateway
removes the + in the outgoing number.
Next, examine another use case. You want to select numbers with a particular
leading string, +123 or 123, and then to strip that string. You could use a mask
such as this:
[\+]?123(([-\*\#\d]{7}+))
Note that this mask specifies the minimum number of digits that must be
matched by [-\*\#\d] in the curly brackets. Thus it prevents the Media Gateway
from mapping phone numbers that happen to match leading string within the
phone number itself. The table below explains in more detail.
Table 2-7. PSTN Outbound Number Mask
Connect to the PSTN Carrier
If you have not already connected your PSTN interface or interfaces to the
carrier equipment, do so now. Use the standard cables specified for your card
(refer to the installation guide for that card).
Important On a T1/E1 card with multiple interfaces, the card uses the clock signal from
the first interface (Port 1) to support echo cancellation. If this interface does
not have an active T1/E1 circuit, the echo canceller uses a free-run clock that
is not synchronized with the other T1/E1 interfaces. The echo canceller might
not work properly, degrading the audio quality.
Use case Mask Examples of
Incoming Numbers
Examples of Mapped
Outbound Numbers
Strip a leading
string
[\+]?123(([-\*\#\d]{7}+)) 123456-7890
1234567890
123-4567
+123456-7890
456-7890
4567890
Not matched
456-7890