[Home]

Summary:ASTERISK-02548: chan_sip 1.521 breaks SIP NOTIFY
Reporter:kuj (kuj)Labels:
Date Opened:2004-10-06 18:46:31Date Closed:2008-01-15 15:09:34.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) sip.520.trc
( 1) sip.521.trc
Description:Recent changes to chan_sip.c (v. 1.521) seem to break SIP NOTIFY. Apparently, incomplete/incorrect headers are generated (From:, To: and Contact: empty)

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

As per the attached sip.521.trc ("sip debug peer 2001"), NOTIFY does not work anymore. Look for the empty header fields in the NOTIFY message. Looks like "reqprep" might not be an adequate replacement for "initreqprep". Compare to sip.520.trc, where the NOTIFY works.
Comments:By: kuj (kuj) 2004-10-06 19:05:53

Forgot to add: symptoms on * console are these two messages:

Oct  6 17:22:29 NOTICE[-1097487440]: No field 'Call-ID' present to copy
Oct  6 17:22:35 WARNING[-1097487440]: Maximum retries exceeded on call 031e88a73aa61fbc406eb13578976485@67.165.241.16 for seqno 102 (Non-critical Request)

By: jacs (jacs) 2004-10-07 03:24:18

Yes I've had to back out this change as my logs are filling up with these notice messages.

By: Mark Spencer (markster) 2004-10-07 11:48:59

Should be fixed now, sorry.

By: Russell Bryant (russell) 2004-10-07 17:47:08

fixed in 1.0 branch

By: Digium Subversion (svnbot) 2008-01-15 15:09:24.000-0600

Repository: asterisk
Revision: 3928

U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r3928 | markster | 2008-01-15 15:09:24 -0600 (Tue, 15 Jan 2008) | 2 lines

Fix which one we use initreqprep vs. reqprep (bug ASTERISK-2548, 2596)

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

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

By: Digium Subversion (svnbot) 2008-01-15 15:09:34.000-0600

Repository: asterisk
Revision: 3940

U   branches/v1-0/channels/chan_sip.c

------------------------------------------------------------------------
r3940 | russell | 2008-01-15 15:09:34 -0600 (Tue, 15 Jan 2008) | 2 lines

Fix which one we use initreqprep vs. reqprep (bug ASTERISK-2548, 2596)

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

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