[Home]

Summary:ASTERISK-06580: generate a log message when a Required: header is received
Reporter:Fabian Mueller (fmueller)Labels:
Date Opened:2006-03-21 01:06:19.000-0600Date Closed:2008-01-15 17:45:56.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:handle_request_invite() responses with a "420 Bad extension" and does not further process a SIP message with the Required header set to a value. But this behaviour is not logged to the CLI. Can you add an ast_log() call somewhere into this code?

if (required_profile) {
 transmit_response_with_unsupported(p, "420 Bad extension", req, required);
 if (!p->lastinvite)
   ast_set_flag(p, SIP_NEEDDESTROY);
 return -1;
}
Comments:By: Olle Johansson (oej) 2006-03-22 02:00:59.000-0600

Committed fix to svn trunk, rev 14110. Thanks.

By: Digium Subversion (svnbot) 2008-01-15 17:45:56.000-0600

Repository: asterisk
Revision: 14110

U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r14110 | oej | 2008-01-15 17:45:56 -0600 (Tue, 15 Jan 2008) | 2 lines

Issue ASTERISK-6580, generate warning when refusing connection requiring unsupported SIP extensions

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=14110