Trust Mode

To configure the trust mode:

  1. In Superuser mode, type configure terminal and press Enter.
    ORACLE# configure terminal
  2. Type session-router and press Enter to access the system-level configuration elements.
    ORACLE(configure)# session-router
  3. Type sip-interface and press Enter. The system prompt changes to let you know that you can begin configuring individual parameters.
    ORACLE(session-router)# sip-interface
    ORACLE(sip-interface)#

    From this point, you can configure SIP interface parameters. To view all sip-interface parameters, enter a ? at the system prompt.

  4. If configuring an existing interface, enter the select command to select the interface.
  5. trust-mode—Select the trust mode for this SIP interface. The default value is all. The valid values are:
    • all—Trust all previous and next hops except untrusted session agents

    • agents-only—Trust only trusted session agents

    • realm-prefix—Trusted only trusted session agents or address matching realm prefix

    • registered—Trust only trusted session agents or registered endpoints

    • none—Trust nothing

  6. Save and activate your configuration.

    The following example shows the trust-mode set to none. The remaining SIP interface options are omitted for brevity.

    sip-interface
            state                          enabled
            realm-id                       access1
            sip-port
                    address                        192.168.1.30
                    port                           5060
                    transport-protocol             UDP
                    allow-anonymous                all
            carriers
            proxy-mode                     Proxy
            redirect-action
            contact-mode                   maddr
            nat-traversal                  none
            nat-interval                   30
            registration-caching           disabled
            min-reg-expire                 300
            registration-interval          3600
            route-to-registrar             disabled
            teluri-scheme                  disabled
            uri-fqdn-domain
            options
            trust-mode                     none