In this document we will see how to configure the configurable SIP error codes to override the SIP error code response on CUBE.
In case of Total-call thresold configured using CAC, we just send a "503 service unavailable" response when the threshold is exceeded. Sending a more meaningful response back to the initiating party when a certain CAC threshold is exceeded allows for the initiating party to take appropriate action and makes troubleshooting easier.
In this example we will see how to configure the SIP error codes for CUBE to send " “502 Total Number of Calls Allowed Exceeded” when the total call limit on CUBE is exceeded.
Configuring SIP Error code
1. Configure Error code at the dial-peer level when total-calls are exceeded
The error-code-override command can either be configured globally or under the dial-peer.
CUBE(config)#call threshold global total-calls low 1 high 1 CUBE(config)#call treatment on CUBE(config)#voice service voip CUBE(conf-voi-serv)#sip CUBE(conf-serv-sip)#error-code-override ? cac-bandwidth Status code to be sent for max-bandwidth CAC call Configure call parameters cpu Status code to be sent for all cpu threshold max-conn Status code to be sent for max-conn threshold mem Status code to be sent for all memory threshold options-keepalive Status code to be sent for options keepalive sip-shutdown Status code to be sent for all SIP Shutdown total-calls Status code to be sent for total call threshold
voice-class sip bind control source-interface GigabitEthernet0/1 voice-class sip bind media source-interface GigabitEthernet0/1 dtmf-relay rtp-nte codec g711ulaw no vad
Place an inbound call and keep running debug ccsip message and debug voip ccapi inout on CUBE to see the new response received in the sip error code...
Jun 21 05:44:59.684: %CALLTREAT-3-HIGH_TOTAL_CALLS: High call volume. Processing for callID(108) is rejected. Jun 21 05:44:59.684: %SIP-3-TOTCALLCAC: Call rejected due to CAC based on Total-calls, sent response 502 Jun 21 05:44:59.688: //108/841FE2118265/SIP/Msg/ccsipDisplayMsg: Sent: 502 Total Number of Calls Allowed Exceeded
I have an ongoing issue with webex teams and MRA/SSO -SAML and wondering if anybody else experiences the same thing or has succesfully set it upCUCM, Unity Connection, Expressway E & C's + webex have all been setup to use SAML SSO with ADFS with the s...
I have an ongoing issue with webex teams and MRA/SSO -SAML and wondering if anybody else experiences the same thing or has successfully set it up CUCM, Unity Connection, Expressway E & C's + webex have all been setup to use SAML SSO with ADFS wit...
I have a Cisco 8961 running sip8961.9-4-2SR4-1 firmware. On my config file I have Bluetooth and the USB ports enabled. When I plug in a USB device it says that the port is disabled by the administrator. When I try to find Bluetooth in the setting I c...
I have a Cisco 2911 router with the UC license running IOS c2900-universalk9-mz.SPA.157-3.M.bin abd a SM-ES2-24-P switch installed into it with 5 IP phones connected to the switch. Please note that this is a Service Module switch and not an external switc...
We have registered Webex Team (Windows )with CUCM.My Queries are following:1.Shall CUCM corporate directory work on Webex Teams,just like it works on Cisco Jabber.2.How can we retrieve voicemail on Webex Teams ,just like we do on Cisco Jabber.