summaryrefslogtreecommitdiff
path: root/channels/chan_sip.c
diff options
context:
space:
mode:
authorOlle Johansson <oej@edvina.net>2009-12-14 10:46:20 +0000
committerOlle Johansson <oej@edvina.net>2009-12-14 10:46:20 +0000
commit2d49d547ed02f047be993e2bbe08f0b9649aaa58 (patch)
tree8cb9578b053342bc39831b4511686c378473ad01 /channels/chan_sip.c
parentd32c333f7c00f39ebe92e5b2dfc0feb325ffd376 (diff)
Merged revisions 234492 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r234492 | oej | 2009-12-14 11:16:00 +0100 (Mån, 14 Dec 2009) | 8 lines Stop sending 183's after call hangup. There where still cases where the 183 keep-alive mechanism would not stop sending 183's even though the Asterisk server had sent a final reply to the invite. EDVX-28 ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@234526 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_sip.c')
-rw-r--r--channels/chan_sip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index ff80cd15a..c089c3d00 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -6398,6 +6398,7 @@ static int sip_hangup(struct ast_channel *ast)
}
} else { /* Incoming call, not up */
const char *res;
+ AST_SCHED_DEL(sched, p->provisional_keepalive_sched_id);
if (p->hangupcause && (res = hangup_cause2sip(p->hangupcause)))
transmit_response_reliable(p, res, &p->initreq);
else