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
1.4
Olle Johansson 19 years ago
parent 13afc81f91
commit 8d06f379fe

@ -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;
}

Loading…
Cancel
Save