[Home]

Summary:ASTERISK-04248: [patch] Support of Supported: and Required: headers
Reporter:Olle Johansson (oej)Labels:
Date Opened:2005-05-20 17:24:51Date Closed:2008-01-15 15:38:48.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/Interoperability
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) sipsupportedoptions.txt
Description:When a SIP device tells us in an INVITE that something is REQUIRED and we do not support that SIP option, we should not accept the INVITE. This patch adds parsing of supported and required headers and denial of unacceptaple INVITEs with REQUIRE headers.

This is part of larger work with SIP Transfers. We need this in order to properly handle the Replaces option between ourselves and other servers and devices.

Disclaimer is on file.

Comments and tests are welcome. The part where I try to copy the device properties to a SIP peer/user is not well thought of, but will be handy later on.
Comments:By: Olle Johansson (oej) 2005-06-09 02:01:55

Need feedback on this patch

By: Terry Wilson (twilson) 2005-06-09 08:15:56

I have tested it in my lab and seen no ill effects.

By: Olle Johansson (oej) 2005-06-09 11:52:33

Ready to move forward...

By: Olle Johansson (oej) 2005-06-10 15:05:28

Ready for CVS:..

By: Kevin P. Fleming (kpfleming) 2005-06-20 21:27:32

Committed to CVS HEAD, thanks! (although there are few minor formatting failures here, please watch them closely <G>)

By: Digium Subversion (svnbot) 2008-01-15 15:38:48.000-0600

Repository: asterisk
Revision: 5952

U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r5952 | kpfleming | 2008-01-15 15:38:47 -0600 (Tue, 15 Jan 2008) | 2 lines

begin properly supporting 'Supported' and 'Required' headers (bug ASTERISK-4248)

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

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