Browse Source

MT#55283 Don't log an error on success when sending DTMF event

closes #1701

Change-Id: I1bc894bf7cc1b716ec847045dcf1bf4a676e81f7
pull/1702/head
Alex Hermann 2 years ago
committed by Richard Fuchs
parent
commit
d4d93332a4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      daemon/dtmf.c

+ 1
- 1
daemon/dtmf.c View File

@ -163,7 +163,7 @@ static void dtmf_end_event(struct call_media *media, unsigned int event, unsigne
udp_dst = &rtpe_config.dtmf_udp_ep; udp_dst = &rtpe_config.dtmf_udp_ep;
if (udp_dst) if (udp_dst)
if (socket_sendto(&dtmf_log_sock, buf->str, buf->len, udp_dst))
if (socket_sendto(&dtmf_log_sock, buf->str, buf->len, udp_dst) < 0)
ilog(LOG_ERR, "Error sending DTMF event info to UDP destination %s: %s", ilog(LOG_ERR, "Error sending DTMF event info to UDP destination %s: %s",
endpoint_print_buf(udp_dst), endpoint_print_buf(udp_dst),
strerror(errno)); strerror(errno));


Loading…
Cancel
Save