mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-22 12:52:33 +00:00
properly handle '100 Trying' that arrives after a dialog has been dropped (issue #5475)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6912 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -9404,6 +9404,11 @@ static void handle_response_invite(struct sip_pvt *p, int resp, char *rest, stru
|
|||||||
ast_log(LOG_DEBUG, "SIP response %d to standard invite\n", resp);
|
ast_log(LOG_DEBUG, "SIP response %d to standard invite\n", resp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (ast_test_flag(p, SIP_ALREADYGONE)) { /* This call is already gone */
|
||||||
|
ast_log(LOG_DEBUG, "Got response on call that is already terminated: %s (ignoring)\n", p->callid);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
switch (resp) {
|
switch (resp) {
|
||||||
case 100: /* Trying */
|
case 100: /* Trying */
|
||||||
sip_cancel_destroy(p);
|
sip_cancel_destroy(p);
|
||||||
|
Reference in New Issue
Block a user