diff --git a/src/mod/endpoints/mod_dingaling/mod_dingaling.c b/src/mod/endpoints/mod_dingaling/mod_dingaling.c index abbe160417..17cdfb8684 100644 --- a/src/mod/endpoints/mod_dingaling/mod_dingaling.c +++ b/src/mod/endpoints/mod_dingaling/mod_dingaling.c @@ -1560,14 +1560,6 @@ static ldl_status handle_signalling(ldl_handle_t *handle, ldl_session_t *dlsessi case LDL_SIGNAL_MSG: if (msg) { if (*msg == '+') { - char *p; - if ((p = strchr(msg, '\r'))) { - *p = '\0'; - } - if ((p = strchr(msg, '\n'))) { - *p = '\0'; - } - switch_channel_queue_dtmf(channel, msg + 1); } switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "SESSION MSG [%s]\n", msg);