Creating a SIP Response Code Map

To create a SIP local response code map:

  1. Access the sip-response-map configuration element.
    ORACLE# configure terminal
    ORACLE(configure)# session-router
    ORACLE(session-router)# sip-response-map
    ORACLE(sip-response-map)# 
    
  2. name—Enter the name of the SIP response map you want to configure.
    This value is required and must be unique.
    ORACLE(response-map)# name busy
  3. entries—Configure the entries for this mapping.
    Typing a question mark will show you the response code entry parameters that you can configure.
    ORACLE(response-map)# entries
    ORACLE(response-map-entries)#
    1. recv-code—Enter original SIP response code for the recv-mode parameter.
      The valid range is:
      • Minimum—100
      • Maximum—699
      ORACLE(response-map-entries)# recv-mode 486
    2. xmit-code—Enter the SIP response code into which you want the original response code to be translated.
      This valid range is:
      • Minimum—100
      • Maximum—699
      ORACLE(response-map-entries)# xmit-mode 600
    3. reason—Enter a reason for the translated code into the reason parameter.
      This response comment is sent with the translated code. Make your entry in quotation marks.
      ORACLE(response-map-entries)# reason "Busy Everywhere"
    4. method—Enter the name of the received SIP failure response message you want to map to a 200 OK.

      Note:

      There is no default for this parameter, and leaving the parameter empty turns off the SIP registration response mapping feature.
    5. register-response-expires—Enter the time you want to use for the expires time what mapping the SIP method you identified in the method parameter.
      The maximum is 999999999. By default, the expires time is the Retry-After time (if there is one in the response) or the expires value in the Register request (if there is no Retry-After expires time). Any value you configure in this parameter (when not using the defaults) should never exceed the Register request’s expires time.
  4. Note the name that you gave the SIP response code map so that you can use it when you configure a session agent to support SIP response code mapping.
  5. Save and activate your changes.