]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
add debug line
authorAnthony Minessale <anthony.minessale@gmail.com>
Tue, 14 Oct 2008 23:22:39 +0000 (23:22 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Tue, 14 Oct 2008 23:22:39 +0000 (23:22 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10019 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_rtp.c

index 673816fa1c793cb9023d5a1fccad03cda00b61da..f99d40244726f16f9e4cdd87b19c2f4345185c2c 100644 (file)
@@ -1606,6 +1606,7 @@ SWITCH_DECLARE(switch_size_t) switch_rtp_dequeue_dtmf(switch_rtp_t *rtp_session,
        if (switch_queue_trypop(rtp_session->dtmf_data.dtmf_inqueue, &pop) == SWITCH_STATUS_SUCCESS) {
                _dtmf = (switch_dtmf_t *) pop;
                *dtmf = *_dtmf;
+               switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "RTP RECV DTMF %c:%d\n", dtmf->digit, dtmf->duration);
                bytes++;
        }
        switch_mutex_unlock(rtp_session->dtmf_data.dtmf_mutex);