add debug line
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10019 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
41a8efb579
commit
6d89c01918
|
@ -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) {
|
if (switch_queue_trypop(rtp_session->dtmf_data.dtmf_inqueue, &pop) == SWITCH_STATUS_SUCCESS) {
|
||||||
_dtmf = (switch_dtmf_t *) pop;
|
_dtmf = (switch_dtmf_t *) pop;
|
||||||
*dtmf = *_dtmf;
|
*dtmf = *_dtmf;
|
||||||
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "RTP RECV DTMF %c:%d\n", dtmf->digit, dtmf->duration);
|
||||||
bytes++;
|
bytes++;
|
||||||
}
|
}
|
||||||
switch_mutex_unlock(rtp_session->dtmf_data.dtmf_mutex);
|
switch_mutex_unlock(rtp_session->dtmf_data.dtmf_mutex);
|
||||||
|
|
Loading…
Reference in New Issue