mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-14 00:24:05 +00:00
Fix pingtime calculation in bridge optimized mode
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2718 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -5038,7 +5038,7 @@ retryowner2:
|
|||||||
forward_command(iaxs[fr.callno], AST_FRAME_IAX, IAX_COMMAND_PONG, fr.ts, NULL, 0, -1);
|
forward_command(iaxs[fr.callno], AST_FRAME_IAX, IAX_COMMAND_PONG, fr.ts, NULL, 0, -1);
|
||||||
} else {
|
} else {
|
||||||
/* Calculate ping time */
|
/* Calculate ping time */
|
||||||
iaxs[fr.callno]->pingtime = calc_timestamp(iaxs[fr.callno], 0, NULL) - fr.ts;
|
iaxs[fr.callno]->pingtime = calc_timestamp(iaxs[fr.callno], 0, &f) - fr.ts;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
/* Calculate ping time */
|
/* Calculate ping time */
|
||||||
|
Reference in New Issue
Block a user