From: Olle Johansson Date: Fri, 10 Nov 2006 21:42:27 +0000 (+0000) Subject: ...and make sure that the dialog is destroyed, even if we don't get any answer on... X-Git-Tag: 1.4.0-beta4~150 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2a321d80f53d99fde8d210c196321ecfa9e247ab;p=thirdparty%2Fasterisk.git ...and make sure that the dialog is destroyed, even if we don't get any answer on the bye... This is the channel that remains dead after the SIP transfer git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47476 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 6c39a0b24f..286abb92ba 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -1972,6 +1972,7 @@ static int __sip_autodestruct(void *data) if (option_debug > 2) ast_log(LOG_DEBUG, "Finally hanging up channel after transfer: %s\n", p->callid); transmit_request_with_auth(p, SIP_BYE, 0, XMIT_RELIABLE, 1); + sip_scheddestroy(p, DEFAULT_TRANS_TIMEOUT); } else sip_destroy(p); return 0;