aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authoroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2007-05-29 19:02:04 +0000
committeroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2007-05-29 19:02:04 +0000
commite3464b18d99f24055070736b25ef24708753e3d8 (patch)
tree8907473637866ec22756bbad33aeaa0d2c2baf6c /channels
parenteb25f68d4734ac90b5020d73909907d6be968538 (diff)
Don't issue hangup on hangup on hangup on hangup (for jcmoore)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@66474 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index b73056972..d494be206 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;
}