aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-08-03 04:32:09 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-08-03 04:32:09 +0000
commit9db93135bc083f1d7b8ccd8a200abb7f2100d9f7 (patch)
treef25a7634605543d00f60d19a68dd6bd9af757371 /channels
parent9df792a0de150ebdb69e694ab420b731db900cb7 (diff)
Revert a portion of oej's patch...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6267 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rwxr-xr-xchannels/chan_sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 8370af33f..5bd9b6338 100755
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -9617,7 +9617,7 @@ static int handle_request(struct sip_pvt *p, struct sip_request *req, struct soc
if (option_debug > 2)
ast_log(LOG_DEBUG, "**** Received %s (%d) - Command in SIP %s\n", sip_methods[p->method].text, sip_methods[p->method].id, cmd);
- if (p->icseq && (p->icseq > seqno) && req->method != SIP_ACK) {
+ if (p->icseq && (p->icseq > seqno)) {
ast_log(LOG_DEBUG, "Ignoring too old SIP packet packet %d (expecting >= %d)\n", seqno, p->icseq);
return -1;
} else if (p->icseq && (p->icseq == seqno) && req->method != SIP_ACK &&(p->method != SIP_CANCEL|| ast_test_flag(p, SIP_ALREADYGONE))) {