[Home]

Summary:ASTERISK-14242: invalid SIP/NOTIFY header (Multiple values in single-value header Event and Content-Type)
Reporter:pj (pj)Labels:
Date Opened:2009-06-01 05:28:16Date Closed:2009-06-01 08:32:12
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/Subscriptions
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) bad_notify.png
( 1) sipnotify.pcap
Description:asterisk sending wrong SIP/NOTIFY header to client, notify header contain:
Multiple values in single-value header Event
Multiple values in single-value header Content-Type
xlite softphone refuses this incorrect header with
SIP/2.0 400 Bad Request
and presence states doesn't work at all (all contact are displayed as offline/unknown)
this is regression, in SVN trunk r183107 it was fine






****** ADDITIONAL INFORMATION ******

[Jun  1 11:57:45]     -- Incoming call: Got SIP response 400 "Bad Request(Multiple values in single-value header Event,Multiple values in single-value header Content-Type)" back from 192.168.144.136
[Jun  1 11:57:45]     -- Incoming call: Got SIP response 400 "Bad Request(Multiple values in single-value header Event,Multiple values in single-value header Content-Type)" back from 192.168.144.136
Comments:By: Digium Subversion (svnbot) 2009-06-01 08:31:28

Repository: asterisk
Revision: 198498

U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r198498 | file | 2009-06-01 08:31:28 -0500 (Mon, 01 Jun 2009) | 5 lines

Fix a bug where the Event and Content-Type headers were added twice to outgoing SIP NOTIFY messages.

(closes issue ASTERISK-14242)
Reported by: pj

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

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

By: Digium Subversion (svnbot) 2009-06-01 08:32:12

Repository: asterisk
Revision: 198499

_U  branches/1.6.2/

------------------------------------------------------------------------
r198499 | file | 2009-06-01 08:32:12 -0500 (Mon, 01 Jun 2009) | 11 lines

Blocked revisions 198498 via svnmerge

........
 r198498 | file | 2009-06-01 10:31:27 -0300 (Mon, 01 Jun 2009) | 5 lines
 
 Fix a bug where the Event and Content-Type headers were added twice to outgoing SIP NOTIFY messages.
 
 (closes issue ASTERISK-14242)
 Reported by: pj
........

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

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