mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-02 11:58:40 +00:00
Don't ACK on anything but INVITE
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@804 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -3937,7 +3937,9 @@ static void handle_response(struct sip_pvt *p, int resp, char *rest, struct sip_
|
||||
ast_queue_hangup(p->owner, 0);
|
||||
break;
|
||||
}
|
||||
transmit_request(p, "ACK", seqno, 0);
|
||||
/* ACK on invite */
|
||||
if (!strcasecmp(msg, "INVITE"))
|
||||
transmit_request(p, "ACK", seqno, 0);
|
||||
p->alreadygone = 1;
|
||||
if (!p->owner)
|
||||
p->needdestroy = 1;
|
||||
|
||||
Reference in New Issue
Block a user