From 220d8ff8732dc11c311208c3ecfd3813d7232ae7 Mon Sep 17 00:00:00 2001 From: Travis Cross Date: Sat, 19 Apr 2014 01:44:40 +0000 Subject: [PATCH] Correct display of last write timestamp On start DTMF packets we were showing the last write timestamp as a signed value when it's an unsigned value, which could result in it appearing incongruous with later packets where the value was displayed correctly. --- src/switch_rtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_rtp.c b/src/switch_rtp.c index acc99466eb..375afee12b 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -2861,7 +2861,7 @@ static void do_2833(switch_rtp_t *rtp_session, switch_core_session_t *session) rtp_session->stats.outbound.raw_bytes += wrote; rtp_session->stats.outbound.dtmf_packet_count++; - switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "Send start packet for [%c] ts=%u dur=%d/%d/%d seq=%d lw=%d\n", + switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "Send start packet for [%c] ts=%u dur=%d/%d/%d seq=%d lw=%u\n", rtp_session->dtmf_data.out_digit, rtp_session->dtmf_data.timestamp_dtmf, rtp_session->dtmf_data.out_digit_sofar,