Dialogic® 4000 Media Gateway Series Reference Guide
page 53
Replace the international dial prefix by number type
Task: A call that has an international dial prefix should be placed with an international number type instead of
the prefix.
Example: The number (01)1-472-333-7777 should be dialed as +1-472-333-7777
Expression entry: ^01
Format entry: +
Replace an extension by another
Task: Calls for specific extensions should be indicated with other extensions.
Example: The extension 1111 should be replaced by 2222, and extension 3333 by extension 4444.
First expression entry: 1111(@.*)?$
First format entry: 2222
Stop on Match: true
Second expression entry: 3333(@.*)?$
Second format entry: 4444
Stop on Match: true
Note:
This example applies only for calls from the SIP to the PSTN.
Replace the "N" in a national number
The "N" can be set to signal a number as national number.
Task: Replace the "N" in a national number with the national prefix.
Example: N123-45678 should be signaled as 0123-45678
Expression: ^N
Format entry: 0
Display the "user=phone" parameter without E.164
The "user=phone" parameter is set automatically if the number is a valid "tel:" URI. The number is either in
E.164 format or has the "phone-context=XXX" parameter added. If you need the "user=phone" without E.164,
you need to provide the phone-context parameter.
Task: Display "user=phone" parameter without E.164 and provide phone-context parameter.
Example: Present the phone 1(123)727-0203 without E.164.
Expression: ^(.*)
Format entry: $1;phone-c1(123)$1