diff options
-rw-r--r-- | channels/misdn_config.c | 2 | ||||
-rw-r--r-- | configs/misdn.conf.sample | 14 |
2 files changed, 10 insertions, 6 deletions
diff --git a/channels/misdn_config.c b/channels/misdn_config.c index 51f119116..593642959 100644 --- a/channels/misdn_config.c +++ b/channels/misdn_config.c @@ -107,7 +107,7 @@ static const struct misdn_cfg_spec port_spec[] = { { "incoming_early_audio", MISDN_CFG_INCOMING_EARLY_AUDIO, MISDN_CTYPE_BOOL, "no", NONE }, { "echocancel", MISDN_CFG_ECHOCANCEL, MISDN_CTYPE_BOOLINT, "0", 128 }, { "echocancelwhenbridged", MISDN_CFG_ECHOCANCELWHENBRIDGED, MISDN_CTYPE_BOOL, "no", NONE }, - { "echotraining", MISDN_CFG_ECHOTRAINING, MISDN_CTYPE_BOOLINT, "0", 1 }, + { "echotraining", MISDN_CFG_ECHOTRAINING, MISDN_CTYPE_BOOLINT, "0", 2000 }, { "need_more_infos", MISDN_CFG_NEED_MORE_INFOS, MISDN_CTYPE_BOOL, "0", NONE }, { "jitterbuffer", MISDN_CFG_JITTERBUFFER, MISDN_CTYPE_INT, "4000", NONE }, { "jitterbuffer_upper_threshold", MISDN_CFG_JITTERBUFFER_UPPER_THRESHOLD, MISDN_CTYPE_INT, "0", NONE }, diff --git a/configs/misdn.conf.sample b/configs/misdn.conf.sample index 55b204904..841823035 100644 --- a/configs/misdn.conf.sample +++ b/configs/misdn.conf.sample @@ -268,21 +268,25 @@ screen=-1 ; echocancelwhenbridged=no -; Set this to no to disable echotraining + +; Set this to no to disable echotraining. You can enter a number > 10 +; the value is a multiple of 0.125 ms. ; -; default value: yes +; default value: no +; yes = 2000 +; no = 0 ; -echotraining=yes +echotraining=no ; -; chan_misdns jitterbuffer, default 1000 +; chan_misdns jitterbuffer, default 4000 ; jitterbuffer=4000 ; ; change this threshold to enable dejitter functionality ; -jitterbuffer_upper_threshold=600 +jitterbuffer_upper_threshold=0 [intern] |