diff options
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 3 |
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 */ |