aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-04-09 14:42:48 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-04-09 14:42:48 +0000
commit2955ac8134f08547c4f9443d482e3da5db5319d2 (patch)
treefb7e72fad7b4d0d04fa1ff329e31d457738279e7 /channels
parent8b6d92ef9639dd6f6cdb15de2fda068b3434d07f (diff)
Merged revisions 113682 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ................ r113682 | mmichelson | 2008-04-09 09:41:58 -0500 (Wed, 09 Apr 2008) | 17 lines Merged revisions 113681 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r113681 | mmichelson | 2008-04-09 09:40:05 -0500 (Wed, 09 Apr 2008) | 9 lines If Asterisk receives a 488 on an INVITE (not a reinvite), then we should not send a BYE. (closes issue #12392) Reported by: fnordian Patches: chan_sip.patch uploaded by fnordian (license 110) with small modification from me ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@113683 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 5ff3b6401..54b5d5f59 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -14781,6 +14781,9 @@ static void handle_response_invite(struct sip_pvt *p, int resp, char *rest, stru
if (p->owner && !req->ignore)
ast_queue_control(p->owner, AST_CONTROL_CONGESTION);
p->needdestroy = 1;
+ /* If there's no dialog to end, then mark p as already gone */
+ if (!reinvite)
+ sip_alreadygone(p);
}
break;
case 491: /* Pending */