diff options
author | crichter <crichter@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-08-03 16:38:00 +0000 |
---|---|---|
committer | crichter <crichter@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-08-03 16:38:00 +0000 |
commit | e75c6a98a83868c4eaedacaa7a7823d3508a3c39 (patch) | |
tree | e0b13b91f114361f7c52e40a5a9306ec9612ef89 /channels/misdn_config.c | |
parent | ca8821d221576b66e1638d0351d2e7a45337e0e0 (diff) |
* removed pp_l2_check (fixed L2 bug in mISDNuser)
* added blocking flag to stack object. A port can be blocked/unblocked from the
cli
* added EVENT_PORT_ALARM to send alarm infos to the chan_misdn.c layer (later
we can add a manager event for that)
* added block_on_alarm option, to block the port whenever a ALARM occurs
* added need_busy flag to indicate if we've sended a CONTROL_BUSY already
* changed a bunch of cb_log(-1,..) to cb_log(0,..) due to funny behaviour in
recent asterisk ast_log messages..
* fixed a few ETSI state violations, especially when finishing calls in
different seldom states
* changed debug levels a lot to make the log more readable in low debuglevels
* some first fixes for the HOLD/RETRIEVE stuff (doesn't work totally still)
* removed the PRECONNECTED state stuff
* added cause 27 when we get a CLEANUP directly after a outgoing SETUP, this
creates a CHANISUNAVAIL instead of a NOANSWER
* removed the addr pointer from "misdn show stacks" that's not needed anymore
and makes the output more unreadable
* added cause saving on RELEASE/RELEASE_COMPLETE
* set cause to 16 on prepare_bc
* removed stack getting from ph_control functions, we don't really need it
there
* added beroec api
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@38801 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/misdn_config.c')
-rw-r--r-- | channels/misdn_config.c | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/channels/misdn_config.c b/channels/misdn_config.c index 2556ae212..48be30675 100644 --- a/channels/misdn_config.c +++ b/channels/misdn_config.c @@ -112,10 +112,9 @@ static const struct misdn_cfg_spec port_spec[] = { "\tBut be aware! a broken or plugged off cable might be used for a group call\n" "\tas well, since chan_misdn has no chance to distinguish if the L1 is down\n" "\tbecause of a lost Link or because the Provider shut it down..." }, - { "pp_l2_check", MISDN_CFG_PP_L2_CHECK, MISDN_CTYPE_BOOL, "no", NONE , - "Some PBX's do not turn on the L2 automatically. Turn this to yes\n" - "and we'll ignore that and send out calls on that port anyways\n" - "default: no\n" }, + { "block_on_alarm", MISDN_CFG_ALARM_BLOCK, MISDN_CTYPE_BOOL, "yes", NONE , + "Block this port if we have an alarm on it.\n" + "default: yes\n" }, { "hdlc", MISDN_CFG_HDLC, MISDN_CTYPE_BOOL, "no", NONE, "Set this to yes, if you want to bridge a mISDN data channel to\n" "\tanother channel type or to an application." }, @@ -239,12 +238,20 @@ static const struct misdn_cfg_spec port_spec[] = { { "echocancelwhenbridged", MISDN_CFG_ECHOCANCELWHENBRIDGED, MISDN_CTYPE_BOOL, "no", NONE, "This disables echocancellation when the call is bridged between\n" "\tmISDN channels" }, - { "echotraining", MISDN_CFG_ECHOTRAINING, MISDN_CTYPE_BOOLINT, "0", 2000, - "Set this to no to disable echotraining. You can enter a number > 10.\n" - "\tThe value is a multiple of 0.125 ms.\n" - "\n" - "\tyes = 2000\n" - "\tno = 0" }, +#ifdef WITH_BEROEC + { "bnechocancel", MISDN_CFG_BNECHOCANCEL, MISDN_CTYPE_BOOLINT, "yes", 64, + "echotail in ms (1-200)\n"}, + { "bnec_antihowl", MISDN_CFG_BNEC_ANTIHOWL, MISDN_CTYPE_INT, "0", NONE, + "Use antihowl\n"}, + { "bnec_nlp", MISDN_CFG_BNEC_NLP, MISDN_CTYPE_BOOL, "yes", NONE, + "Nonlinear Processing (much faster adaption)"}, + { "bnec_zerocoeff", MISDN_CFG_BNEC_ZEROCOEFF, MISDN_CTYPE_BOOL, "no", NONE, + "ZeroCoeffeciens\n"}, + { "bnec_tonedisabler", MISDN_CFG_BNEC_TD, MISDN_CTYPE_BOOL, "no", NONE, + "Disable Tone\n"}, + { "bnec_adaption", MISDN_CFG_BNEC_ADAPT, MISDN_CTYPE_INT, "1", NONE, + "Adaption mode (0=no,1=full,2=fast)\n"}, +#endif { "need_more_infos", MISDN_CFG_NEED_MORE_INFOS, MISDN_CTYPE_BOOL, "0", NONE, "Send Setup_Acknowledge on incoming calls anyway (instead of PROCEEDING),\n" "\tthis requests additional Infos, so we can waitfordigits without much\n" |