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
Hi erverybody. I´m configuring a ISR 4321 and when I test softphone registration from other branch via VMVPN I can´t get full register. I do a debug tftp events and tftp packets command and see following: Oct 19 01:18:25.639: TFTP: Server ...
I am trying to setup a unity call handler and setup a tree, for a school main number, that is using cisco Attendant console, is this possible? I can set it up without the Attendant console, no problem, but would like the receptionist to use the Cons...
Call Flow: (used my cell)PSTN caller->VGW1->CUCM->UCCX->Agent xfers to internal operator-> Internal Operator blind xfers to end user-> end user has cfwd all set to cell phone-> SIP Trunk ->Cube/VGW2 ->H.323 PRI -> PSTN F...
I recently had a problem with a BE6000S not booting properly, and had to contact Cisco support. During the boot process VMWare 5.5.0 Build 1131820 hangs at "Loading module ipmi_si_drv".The support technician was asking me about CIMC - Cisco Integrated Man...
I have a customer who has CUCM 12, and they have successfully registered it to a Smart Account. They recently had a license violation for 1 user, so I decided to check the License Usage Report on CUCM for details on what devices that user is assigned to. ...