diff options
author | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-12-14 10:16:00 +0000 |
---|---|---|
committer | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-12-14 10:16:00 +0000 |
commit | afab0c3ea0fe5b72d45ebd465e3b2dd2948ca9a1 (patch) | |
tree | 107fcaaa08b665f47ee1a36e3b9ea4c8eded9227 /channels | |
parent | be6e41c4768859d0500012605babfff89515c250 (diff) |
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: http://svn.digium.com/svn/asterisk/branches/1.4@234492 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 654bebbd5..4f2dd6150 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -3785,6 +3785,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 |