SIP Port Mapping Configuration

You configure the SIP port mapping feature on a per-realm basis using the SIP interface configuration. Configure the port map range on the SIP interface for the realm where the registrar/softswitch resides. Port mapping is only applied when the access/ingress realm has registration caching and/or HNT enabled.

The range of SIP mapping ports must not overlap the following:

  • Configured SIP port, which might be used for signaling messages not associated with a registered endpoint.
  • Port range defined for steering pool configuration using the same IP address as the SIP interface. If overlap occurs, the NAT table entry for the steering port used in a call prevents SIP messages from reaching the host processor.

    To configure SIP port mapping:

  1. In Superuser mode, type configure terminal and press Enter.
    ORACLE# configure terminal
  2. Type session-router and press Enter to access the session-router path.
    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)#
  4. port-map-start—Set the starting port for the range of SIP ports available for SIP port mapping. The valid range is 1025 through 65535. The default values is 0 and when this value is set, SIP port mapping is disabled. The valid range is:
    • Minimum: 0, 1025

    • Maximum: 65535

      ORACLE(sip-interface)# port-map-start 32768
  5. port-map-end—Set the ending port for the range of SIP ports available for SIP port mapping. The valid range is 1025 through 65535. If you set the value to the default 0, SIP port mapping is disabled. The valid range is:
    • Minimum—0, 1025

    • Maximum—65535

      Note:

      If not set to zero (0), the ending port must be greater than the starting port.
      ORACLE(sip-interface)# port-map-end 40959
  6. options—If you want to use SIP port mapping based on IP address, set the options parameter by typing options, a Space, the option name reg-via-key with a plus sign in front of it, type the equal sign and the word all. Then press Enter.
    ORACLE(sip-interface)# options +reg-via-key=all

    If you type the option without the plus sign, you will overwrite any previously configured options. In order to append the new options to this configuration’s options list, you must prepend the new option with a plus sign as shown in the previous example.

  7. Save your work using the ACLI done command.

    The following example shows SIP port mapping configured for a SIP interface:

    sip-interface
            state                          enabled
            realm-id                       backbone
            sip-port
                    address                        192.168.24.15
                    port                           5060
                    transport-protocol             UDP
                    allow-anonymous                all
            sip-port
                    address                        192.168.24.15
                    port                           5060
                    transport-protocol             TCP
                    allow-anonymous                all
            carriers
            proxy-mode
            redirect-action
            contact-mode                   none
            nat-traversal                  none
            nat-interval                   30
            registration-caching           enabled
            min-reg-expire                 120
            registration-interval          3600
            route-to-registrar             enabled
            teluri-scheme                  disabled
            uri-fqdn-domain
            trust-mode                     agents-only
            max-nat-interval               3600
            nat-int-increment              10
            nat-test-increment             30
            sip-dynamic-hnt                disabled
            stop-recurse                   401,407
            port-map-start                 32768
            port-map-end                   40959
            last-modified-date             2005-09-23 14:32:15