Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

SIP message cause code help


I am currently using an AS5400 with IOS version c5400-is-mz.124-19.bin

Is there a way to remove or modify the Q.850 information in a SIP message?

SIP/2.0 500 Internal Server Error
Via: SIP/2.0/UDP IP.IP.IP.IP:5060;branch=z9hG4bK_1584620887_3359_1
From: "Anonymous" <sip:Restricted@IP.IP.IP.IP:5060>;tag=1584620887_C
To: sip:##############@IP.IP.IP.IP:5060;tag=531C24F0-E57
Date: Wed, 07 Apr 2010 19:03:35 GMT
Call-ID: sbcsipuac.2_IP.IP.IP.IP_b03sb13_1_2010040716044947_1584620887_435758
Server: Cisco-SIPGateway/IOS-12.x
CSeq: 1005 INVITE
Allow-Events: telephone-event
Reason: Q.850;cause=16
Content-Length: 0

Our switch was programmed poorly and sends back cause 16 for every call.

Is there any way to change it to 34? or remove it altogether?

I've tried setting sip-status and pstn-cause on sip-ua but only able to modify the SIP message, not the Q.850 message.

Any help would be greatly appreciated.

Thank you in advance.


Re: SIP message cause code help

I'm not sure but try this:

To map a Q.850 call-disconnect cause code to a different Q.850 call-disconnect cause code, use the
q850-cause command in application-map configuration mode. To disable the code-to-code mapping, use
the no form of this command.

q850-cause code-id q850-cause code-id
no q850-cause code-id q850-cause code-id

The following example maps cause code 34 to cause code 17:

Router(config)# application
Router(config-app)# map
Router(config-app-map)# q850-cause 34 q850-cause 17