diff --git a/daemon/main.c b/daemon/main.c index 16b43b0a9..9c4d71e73 100644 --- a/daemon/main.c +++ b/daemon/main.c @@ -974,7 +974,7 @@ static void options(int *argc, char ***argv) { if (amr_dtx) { if (!strcasecmp(amr_dtx, "native")) {} else if (!strcasecmp(amr_dtx, "CN")) - rtpe_config.amr_cn_dtx = 1; + rtpe_config.amr_cn_dtx = true; else die("Invalid --amr-dtx ('%s')", amr_dtx); } diff --git a/include/main.h b/include/main.h index 2f4a743d3..a7999f39f 100644 --- a/include/main.h +++ b/include/main.h @@ -146,7 +146,7 @@ struct rtpengine_config { int dtx_lag; int dtx_shift; str dtx_cn_params; - int amr_cn_dtx; + bool amr_cn_dtx; double silence_detect_double; uint32_t silence_detect_int; str cn_payload;