Creating a SIP Response Code Map
To create a SIP local response code map:
-
Access the
sip-response-map configuration element.
ORACLE# configure terminal ORACLE(configure)# session-router ORACLE(session-router)# sip-response-map ORACLE(sip-response-map)#
-
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
-
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)#
-
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
-
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
-
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"
-
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. -
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.
-
recv-code—Enter original SIP response code for the recv-mode parameter.
- 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.
- Save and activate your changes.