Fix peerpoke to also acknowledge

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@780 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer 2003-04-08 14:26:49 +00:00
parent 451970b3fb
commit b6a6c83b78
1 changed files with 1 additions and 0 deletions

View File

@ -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 +