Originally putnopvut implemented some changes in revision 142079 that according to the bug report seemed to have worked then, but somehow fails now.
I guess code, as humans, get old and forget stuff. Anyway, this bug caused CANCEL not to work with picky systems.
Thanks Fredrik for pointing out where the bug in the SIP messaging was.
(closes issue #14346)
Reported by: oej
Patches:
bug14346.diff uploaded by oej (license 306)
Tested by: oej
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@171527
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
if (init > 1)
initreqprep(&req, p, sipmethod);
else
- reqprep(&req, p, sipmethod, 0, 1);
+ reqprep(&req, p, sipmethod, 0, 0);
} else
reqprep(&req, p, sipmethod, 0, 1);