diff options
author | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-01-27 14:33:20 +0000 |
---|---|---|
committer | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-01-27 14:33:20 +0000 |
commit | 9efad196fbc781c8f2ed2216bb1f60a8b9cb1cc0 (patch) | |
tree | 880c9aae665bafe2c072283b2922be1598587390 /channels | |
parent | f7325f2ffe54425e9de847948fd441beaba403b7 (diff) |
Use the same branch tag in CANCEL as in INVITE
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: http://svn.digium.com/svn/asterisk/branches/1.4@171527 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index a88fc301e..c4af5049e 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -7200,7 +7200,7 @@ static int transmit_invite(struct sip_pvt *p, int sipmethod, int sdp, int init) 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); |