mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-08 02:48:29 +00:00
Actually apply timestamp bug (bug #3961)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5714 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -6527,8 +6527,17 @@ retryowner:
|
||||
/* Handle the IAX pseudo frame itself */
|
||||
if (option_debug)
|
||||
ast_log(LOG_DEBUG, "IAX subclass %d received\n", f.subclass);
|
||||
/* Go through the motions of delivering the packet without actually doing so */
|
||||
schedule_delivery(&fr, 0, updatehistory, 0);
|
||||
|
||||
/* Update last ts unless the frame's timestamp originated with us. */
|
||||
if (iaxs[fr.callno]->last < fr.ts &&
|
||||
f.subclass != IAX_COMMAND_ACK &&
|
||||
f.subclass != IAX_COMMAND_PONG &&
|
||||
f.subclass != IAX_COMMAND_LAGRP) {
|
||||
iaxs[fr.callno]->last = fr.ts;
|
||||
if (option_debug)
|
||||
ast_log(LOG_DEBUG, "For call=%d, set last=%d\n", fr.callno, fr.ts);
|
||||
}
|
||||
|
||||
switch(f.subclass) {
|
||||
case IAX_COMMAND_ACK:
|
||||
/* Do nothing */
|
||||
|
||||
Reference in New Issue
Block a user