Enabling Policy-based Routing

Starting with Release 5.0.0, Oracle Enterprise Communications Broker supports flexible policy-based routing, where you can define policies that control how calls are handled. Each policy has conditions, and actions. All conditions must be true for the policy to apply.

Starting with Oracle Enterprise Communications Broker Release 5.0.0, you can apply policies on a calling number, in addition to the existing facility to apply policies on called number. Applying routing policies to the calling number, and the called number, enables both the origin and destination of a call to be evaluated against their respective policies in the user table.

During the configuration of a policy, a new parameter named userdb-lookup-mode controls the application of policies to both TO and FROM calls. For more information, on this seeDefine a Policy.

The userdb-lookup-mode parameter does not influence the application of policies from the routing table. Its significance is limited to policies applied from the user table.

In an HA environment, the configuration is replicated to the Standby system. The Standby system uses the configured value of userdb-lookup-mode parameter to apply policies for each call.

During an upgrade, the new userdb-lookup-mode parameter does not affect the existing behavior. When upgrading from an unsupported version, the userdb-lookup-mode parameter defaults to the CALLED_NUMBER. This ensures that the current routing policies work as before. When upgrading from a supported version, the userdb-lookup-mode parameter continues to be the same as configured.

In a downgrade scenario, since the userdb-lookup-mode parameter is not available, policies are applied apply only to called numbers.