From: Travis Cross Date: Sat, 19 Apr 2014 01:44:40 +0000 (+0000) Subject: Correct display of last write timestamp X-Git-Tag: v1.5.12~168 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59fd9b90d0abfea10c7df34d785117dee58d4bac;p=thirdparty%2Ffreeswitch.git 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. --- diff --git a/src/switch_rtp.c b/src/switch_rtp.c index 44afd1bedc..70d8e8ee8f 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -4292,7 +4292,7 @@ static void do_2833(switch_rtp_t *rtp_session) rtp_session->stats.outbound.raw_bytes += wrote; rtp_session->stats.outbound.dtmf_packet_count++; - switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(rtp_session->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(rtp_session->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,