aboutsummaryrefslogtreecommitdiffstats
path: root/channels/misdn_config.c
diff options
context:
space:
mode:
authornadi <nadi@f38db490-d61c-443f-a65b-d21fe96a405b>2007-03-26 15:25:53 +0000
committernadi <nadi@f38db490-d61c-443f-a65b-d21fe96a405b>2007-03-26 15:25:53 +0000
commit3c6b98aa3dc1e2c146c030c4deefa9fac3ad1ceb (patch)
tree0c1212f4bdef11044337925a7fead816cab6dfd9 /channels/misdn_config.c
parent808c79837558fa094c4b0b94349a7ce14ac2497d (diff)
* mISDN >= 1.2 provides a dsp pipeline for i.e. echo cancellation modules, make chan_misdn use it.
* add a check for linux/mISDNdsp.h to configure.ac and update the autogenerated files: 'configure', 'autoconfig.h.in' (the 'configure' script was not in sync with the latest configure.ac, so the diff is a bit bigger than expected). git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59202 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/misdn_config.c')
-rw-r--r--channels/misdn_config.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/channels/misdn_config.c b/channels/misdn_config.c
index 541400b24..786ca5b01 100644
--- a/channels/misdn_config.c
+++ b/channels/misdn_config.c
@@ -235,9 +235,14 @@ static const struct misdn_cfg_spec port_spec[] = {
"\tA value of zero turns echocancellation off.\n"
"\n"
"\tPossible values are: 0,32,64,128,256,yes(=128),no(=0)" },
- { "echocancelwhenbridged", MISDN_CFG_ECHOCANCELWHENBRIDGED, MISDN_CTYPE_BOOL, "no", NONE,
- "This disables echocancellation when the call is bridged between\n"
- "\tmISDN channels" },
+#ifdef MISDN_1_2
+ { "pipeline", MISDN_CFG_PIPELINE, MISDN_CTYPE_STR, NO_DEFAULT, NONE,
+ "Set the configuration string for the mISDN dsp pipeline.\n"
+ "\n"
+ "\tExample for enabling the mg2 echo cancellation module with deftaps\n"
+ "\tset to 128:\n"
+ "\t\tmg2ec(deftaps=128)" },
+#endif
#ifdef WITH_BEROEC
{ "bnechocancel", MISDN_CFG_BNECHOCANCEL, MISDN_CTYPE_BOOLINT, "yes", 64,
"echotail in ms (1-200)\n"},