
How Call Addresses Are Processed
97
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
Address Condition: ^01
Address Result: (none)
Number type Condition: Unknown
Number type result: International
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 Address Condition: 1111(@.*)?$
First Address Result: 2222
Stop on Match: true
Second Address Condition: 3333(@.*)?$
Second Result Condition: 4444
Stop on Match: true
Note: This example applies only for calls from the SIP to the PSTN.
Replace the National Number Type with a Prefix
Task: Replace the National number type in a national number with the national prefix 0.
Example: National number 123-45678 should be signaled as 0123-45678
Address Condition: .*
Address Result: 0$&
Number type Condition: National
Number type Result: Unknown
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 result 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 number 727-0203 without E.164. The local area code is
+1(123).
Address Condition: ^(.*)
Address Result: $1;phone-context=+1(123)$1
Comentarios a estos manuales