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:
parent
451970b3fb
commit
b6a6c83b78
|
@ -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 +
|
||||
|
|
Loading…
Reference in New Issue