diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-02-20 06:17:26 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-02-20 06:17:26 +0000 |
commit | 65df7813ea63026c5287d03d8d76f33d373dd672 (patch) | |
tree | bfa03f27b505ed51d9fc6e4cd3f9ce238bd0e4df | |
parent | 4103f0941399fbbb6ae01653347b52c8cdae2530 (diff) |
Handle ACKing properly (remove gratuitous -1)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@10535 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | channels/chan_sip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 0c140fdb6..846551e53 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -11035,7 +11035,7 @@ static int handle_request(struct sip_pvt *p, struct sip_request *req, struct soc /* Make sure we don't ignore this */ if (seqno == p->pendinginvite) { p->pendinginvite = 0; - __sip_ack(p, seqno, FLAG_RESPONSE, -1); + __sip_ack(p, seqno, FLAG_RESPONSE, 0); if (!ast_strlen_zero(get_header(req, "Content-Type"))) { if (process_sdp(p, req)) return -1; |