Browse Source

Add missing includes.

pull/1183/head
Damir Nedžibović 5 years ago
parent
commit
f0d90d1831
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      daemon/dtmf.c

+ 3
- 2
daemon/dtmf.c View File

@ -1,5 +1,7 @@
#include <errno.h> #include <errno.h>
#include "dtmf.h" #include "dtmf.h"
#include "bencode.h"
#include "control_ng.h"
#include "media_socket.h" #include "media_socket.h"
#include "log.h" #include "log.h"
#include "call.h" #include "call.h"
@ -9,11 +11,10 @@
#include "codec.h" #include "codec.h"
#include "ssrc.h" #include "ssrc.h"
static socket_t dtmf_log_sock; static socket_t dtmf_log_sock;
void dtmf_init(void) { void dtmf_init(void) {
ilog(LOG_DEBUG, "log dtmf over ng %d", rtpe_config.dtmf_via_ng);
if (rtpe_config.dtmf_udp_ep.port) { if (rtpe_config.dtmf_udp_ep.port) {
if (connect_socket(&dtmf_log_sock, SOCK_DGRAM, &rtpe_config.dtmf_udp_ep)) if (connect_socket(&dtmf_log_sock, SOCK_DGRAM, &rtpe_config.dtmf_udp_ep))
ilog(LOG_ERR, "Failed to open/connect DTMF logging socket: %s", strerror(errno)); ilog(LOG_ERR, "Failed to open/connect DTMF logging socket: %s", strerror(errno));


Loading…
Cancel
Save