m_sip-supp-err-codes
m_sip-supp-err-codes
The Configurable SIP Error Codes feature describes how Cisco Unified Border Element provides support for
configurable SIP Error codes to override or modify Session Initiation Protocol (SIP) error response codes.
The different methods to modify SIP error codes are listed below:
• Configure user-defined error codes to override SIP Call Admission Control (CAC) response codes for
specific failure types.
• Copy SIP status line from an incoming SIP response to an outgoing SIP response.
• Modify the status line for an outgoing SIP response with user defined-values.
• Finding Feature Information, on page 1
• Information About Configurable SIP Error Codes, on page 1
• How to Configure SIP Error Codes, on page 3
• Configuration Examples for Configurable SIP Error Codes, on page 5
• Additional References for Configurable SIP Error Codes, on page 5
• Feature Information for Configurable SIP Error Codes, on page 6
• Memory Used
With the Configurable SIP Error Codes feature, you can configure SIP error codes. This helps the network
administrators easily identify the cause of error and troubleshoot the issues. It also helps configure specific
alternate routing policies on the calling device based on the error codes that are received. This feature allows:
• Configuring of error codes for CAC failures
• Modifying SIP Response Status Line with Conditional SIP Profiles
You can configure user-defined response codes using the voice-class sip error-code-override command in
the dial-peer configuration mode. See the call flow below in the following figure:
Figure 1: Call Flow for Configuring User-Defined Response Codes to Override SIP CAC Response Codes for Maximum Connections
Exceeded
The error codes are applied for the inbound INVITE message only. If the user-defined error codes are not
configured, the default SIP response code of 503 is sent.
SUMMARY STEPS
1. enable
2. configure terminal
3. voice service voip
4. sip
5. error-code-override {options-keepalive | call | cpu | mem | max-conn | total-calls |
sip-shutdown} failure sip-status-code-num
6. end
DETAILED STEPS
Step 3 voice service voip Specifies VoIP encapsulation and enters voice-service
configuration mode.
Example:
Device(config)# voice service voip
Step 5 error-code-override {options-keepalive | call | cpu Configures the SIP error codes.
| mem | max-conn | total-calls | sip-shutdown}
failure sip-status-code-num
Example:
Device(conf-serv-sip)# error-code-override mem
failure 411
Configuring SIP Error Code for CAC Failures (Dial Peer Level)
SUMMARY STEPS
1. enable
2. configure terminal
3. dial-peer voice tag voip
4. voice-class sip error-code-override {options-keepalive | call | cpu | mem | max-conn |
total-calls | sip-shutdown} failure {sip-status-code-num | system}
5. end
DETAILED STEPS
Step 3 dial-peer voice tag voip Defines a VoIP dial peer and enters dial peer configuration
mode.
Example:
Device(config)# dial-peer voice 10 voip
Step 4 voice-class sip error-code-override {options-keepalive Configures the Session Initiation Protocol (SIP) error code
| call | cpu | mem | max-conn | total-calls | to be used at the dial peer.
sip-shutdown} failure {sip-status-code-num | system}
Example:
Device(config-dial-peer)# voice-class sip
error-code-override max-conn failure 421
The following example shows how to configure SIP error codes for CAC failure at the dial peer level:
Device> enable
Device# configure terminal
Device(config)# dial-peer voice 10 voip
Device(config-dial-peer)# voice-class sip error-code-override max-conn failure 421
Device(config-dial-peer)# end
Technical Assistance
Description Link
The Cisco Support website provides extensive online resources, including http://www.cisco.com/support
documentation and tools for troubleshooting and resolving technical issues
with Cisco products and technologies.
To receive security and technical information about your products, you can
subscribe to various services, such as the Product Alert Tool (accessed from
Field Notices), the Cisco Technical Services Newsletter, and Really Simple
Syndication (RSS) Feeds.
Access to most tools on the Cisco Support website requires a Cisco.com user
ID and password.
Configurable SIP Error Cisco IOS XE The Configurable SIP Error Codes feature describes how
Codes Release 3.11S Cisco Unified Border Element provides support for
configurable SIP Error codes to override or modify Session
Initiation Protocol (SIP) error response codes.
The following commands were introduced or modified:
sip-header SIP-StatusLine