[Home]

Summary:ASTERISK-10344: NOTIFY messages are sent without content
Reporter:Yehavi Bourvine (yehavi)Labels:
Date Opened:2007-09-20 08:39:44Date Closed:2007-10-16 15:11:33
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/Subscriptions
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) test.txt
Description:In the attached example, extension 85684 subscribes for the presence of extension 80620. When a call is made to 80620, the phone with extension 85684 gets the NOTIFY about it, but the content-length is zero, thus the data about the extension is missing.

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

The problem started about a month ago (I keep getting the most recent SVN once in a while).
Comments:By: Digium Subversion (svnbot) 2007-10-16 15:11:33

Repository: asterisk
Revision: 85944

U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r85944 | russell | 2007-10-16 15:11:32 -0500 (Tue, 16 Oct 2007) | 9 lines

This fixes SIP subscriptions in trunk.

Don't improperly memset() over an ast_str.  This was leftover from before it
got changed to use ast_str.

(closes issue ASTERISK-10548, reported by pj)
(closes issue ASTERISK-10344, reported by yehavi)
(patched by me)

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