Find answers to your technical questions and learn how to use our products
Search suggestions:
Find answers to your technical questions and learn how to use our products
Search suggestions:
|
Input (String prior to the adaptation processing)
|
Adaptation Processing
|
Output (String after the adaptation processing)
|
|---|---|---|
5335; phone-context = site1@avaya.com; user = phone |
Ingress adaptation
|
9085335@avaya.com |
9085335@avaya.com |
Egress adaptation
|
5335; phone-context = site1@avaya.com; user = phone |
+ sign. If the incoming request contains the phone-context parameter with a number starting with +, Session Manager prefixes the user part with the contents of the phone-context before invoking the routing lookup. Session Manager uses the resulting string for routing purposes only and does not modify the user part. The following examples illustrate this point:
|
R-URI
|
Ingress Adapter Rule
|
Resulting R-URI
|
Routing Notes
|
|---|---|---|---|
8885335;phone-context=+1303@avaya.com; user=phone |
Matching pattern: 888 Min: 7 Max: 7 Phone-Context: Delete Digits: 3 Insert Digits: 538 Address to modify: both
Note:
Phone-Context string is empty.
|
5385335;phone-context=+1303@avaya.com; user=phone |
Session Manager uses the string +13035385335@avaya.com for routing purposes.
|
5385335;phone-context=+1303@avaya.com; user=phone |
Matching pattern: 538 Min: 7 Max: 7 Phone-Context: +1303 Delete Digits: 0 Insert Digits: +1303 Address to modify: both
|
+13035385335@avaya.com |
Session Manager uses the string +13035385335@avaya.com for routing purposes.
|
+13035383535 to determine the destination. Here, Session Manager only changes the phone number and not the phone-context parameter.
+1303 in the phone-context field. Also, the incoming INVITE contains the phone-context parameter with value of +1303. Because the ingress adaptation rule requires matching all four fields, the match succeeds and the adaptation is applied, which changes the R-URI. On receiving this INVITE, Session Manager performs routing lookup based on the updated R-URI.