LRT Entry Matching

When searching an LRT for a matching route, the Oracle® Enterprise Session Border Controller can be configured with one of three match modes with the match mode parameter in the local routing config. These modes are:

  • exact—When searching the applicable LRT, the search and table keys must be an exact match.
  • best—The longest matching table key in the LRT is the chosen match.
  • all—The all mode makes partial matches where the table's key value is a prefix of the lookup key. For example, a lookup in the following table with a key of 123456 returns entries 1, 3, and 4. The 'all' mode incurs a performance penalty because it performs multiple searches of the table with continually shortened lookup keys to find all matching entries. This mode also returns any exact matches too.
    Entry# Key Result
    1 1 <sip:\0@host1.example.com>
    2 122 <sip:\0@host22.example.com>
    3 123 <sip:\0@host3.example.com>
    4 1234 <sip:\0@host4.example.com>
    5 1234567 <sip:\0@host7.example.com>
    6 1235 <sip:\0@host5.example.com>

LRT Entry Matching Configuration

  1. In Superuser mode, type configure terminal and press Enter.
    ORACLE# configure terminal
  2. Type session-router and press Enter.
    ORACLE(configure)# session-router
  3. Type local-routing-config and press Enter.
    ORACLE(session-router)# local-routing-config
    ORACLE(local-routing-config)#
  4. match-mode—Set this parameter to either best, all, or leave it as exact which is the default. This indicates to the Oracle® Enterprise Session Border Controller how to determine LRT lookup matches.
  5. Save your work using the done command.