From: Olle Johansson Date: Tue, 29 May 2007 19:02:04 +0000 (+0000) Subject: Don't issue hangup on hangup on hangup on hangup (for jcmoore) X-Git-Tag: 1.4.5~107 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8d06f379fe57302dba5667cd8d0055c76645ef37;p=thirdparty%2Fasterisk.git Don't issue hangup on hangup on hangup on hangup (for jcmoore) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@66474 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index b730569722..d494be206c 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -12490,7 +12490,7 @@ static void handle_response(struct sip_pvt *p, int resp, char *rest, struct sip_ break; default: /* Send hangup */ - if (owner && sipmethod != SIP_MESSAGE && sipmethod != SIP_INFO) + if (owner && sipmethod != SIP_MESSAGE && sipmethod != SIP_INFO && sipmethod != SIP_BYE) ast_queue_hangup(p->owner); break; }