diff options
author | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-09-06 20:13:16 +0000 |
---|---|---|
committer | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-09-06 20:13:16 +0000 |
commit | 989d780819205673d48f355ebd914f086c797205 (patch) | |
tree | 657d542498c70868bed4f4b60005c6b00e6548a2 /channels | |
parent | a1670a95b20a5009a251c87976e29d9fb24e4c2b (diff) |
This fix comes from Joshua Colp The Brilliant, who, given the trace, came up with a solution. This will most likely will close 13235 and 13409. I'll wait till Monday to verify, and then close these bugs.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@141565 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 6e9d135a8..0dbef7744 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -15165,6 +15165,8 @@ static int handle_request_bye(struct sip_pvt *p, struct sip_request *req) if (p->pendinginvite && !ast_test_flag(&p->flags[0], SIP_OUTGOING) && !ast_test_flag(req, SIP_PKT_IGNORE) && !p->owner) transmit_response_reliable(p, "487 Request Terminated", &p->initreq); + __sip_pretend_ack(p); + p->invitestate = INV_TERMINATED; copy_request(&p->initreq, req); |