From 8d06f379fe57302dba5667cd8d0055c76645ef37 Mon Sep 17 00:00:00 2001 From: Olle Johansson Date: Tue, 29 May 2007 19:02:04 +0000 Subject: [PATCH] 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 --- channels/chan_sip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }