Fix peerpoke to also acknowledge
authorMark Spencer <markster@digium.com>
Tue, 8 Apr 2003 14:26:49 +0000 (14:26 +0000)
committerMark Spencer <markster@digium.com>
Tue, 8 Apr 2003 14:26:49 +0000 (14:26 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@780 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 6512582..c6c1e4e 100755 (executable)
@@ -3673,6 +3673,7 @@ static void handle_response(struct sip_pvt *p, int resp, char *rest, struct sip_
                   need to hang around for something more "difinitive" */
                if (resp != 100) {
                        int statechanged = 0;
+                       __sip_ack(p, seqno, 0);
                        peer = p->peerpoke;
                        gettimeofday(&tv, NULL);
                        pingtime = (tv.tv_sec - peer->ps.tv_sec) * 1000 +