Routing Calls by Matching Digits

Local policy routing of a call can be based on matching a sequence of digits against what is defined in the local policy. This sequence refers to the first digits in the (phone) number, matching left to right.

The following examples show how the Oracle® Enterprise Session Border Controller matches an area code or number code against configured local policies.

  • If the number or area code being matched is 1234567 (where 123 is an area code), and the from address value in one local policy is 123, and the from address value in another local policy is 12, the Oracle® Enterprise Session Border Controller forwards the call to the server that is defined as the next hop in the local policy with 123 as the from address value.
  • If the number or area code being matched is 21234, and the from address value in one local policy is 123, and the from address value in another local policy is 12, the Oracle® Enterprise Session Border Controller will not find a match to either local policy because the first character of the number or area code must match the first character in a from address or to address field.

The following examples show how the Oracle® Enterprise Session Border Controller matches an area or number code against different local policies: the first one has a From address value of 12 and the second has a From address value of 123. The Oracle® Enterprise Session Border Controller chooses the route of the local policy that is configured with the most digits matching the area or number code in its From address and To address fields.

  • When the two different local policies route to two different servers, and the area or number code being matched is 123, the Oracle® Enterprise Session Border Controller selects the second local policy based on the From address value of 123.
  • When the two different local policies route to two different servers, and the area or number code being matched is 124, the Oracle® Enterprise Session Border Controller selects the first local policy based on the From address value of 12.