summaryrefslogtreecommitdiff
path: root/channels/misdn_config.c
diff options
context:
space:
mode:
authorChristian Richter <christian.richter@beronet.com>2006-05-23 19:40:16 +0000
committerChristian Richter <christian.richter@beronet.com>2006-05-23 19:40:16 +0000
commit39ac1a5b83bcd9f684eb7ce7340a962356ec3c07 (patch)
treee4f7046e18a47fc26abbd8b0e1bac53b699cf04c /channels/misdn_config.c
parent45107ed763b6ee3322f73d525109a8257d5dccf9 (diff)
added a l1watcher timeout, therefore removed the old behaviour of guessing the l1state.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29803 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/misdn_config.c')
-rw-r--r--channels/misdn_config.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/channels/misdn_config.c b/channels/misdn_config.c
index 8d507a517..d1c6111ef 100644
--- a/channels/misdn_config.c
+++ b/channels/misdn_config.c
@@ -118,7 +118,6 @@ static const struct misdn_cfg_spec port_spec[] = {
{ "pickupgroup", MISDN_CFG_PICKUPGROUP, MISDN_CTYPE_ASTGROUP, NO_DEFAULT, NONE },
{ "max_incoming", MISDN_CFG_MAX_IN, MISDN_CTYPE_INT, "-1", NONE },
{ "max_outgoing", MISDN_CFG_MAX_OUT, MISDN_CTYPE_INT, "-1", NONE },
- { "l1_poll_timer", MISDN_CFG_L1_POLL, MISDN_CTYPE_INT, "-1", NONE },
{ "msns", MISDN_CFG_MSNS, MISDN_CTYPE_MSNLIST, NO_DEFAULT, NONE }
};
@@ -131,7 +130,9 @@ static const struct misdn_cfg_spec gen_spec[] = {
{ "append_digits2exten", MISDN_GEN_APPEND_DIGITS2EXTEN, MISDN_CTYPE_BOOL, "yes", NONE },
{ "dynamic_crypt", MISDN_GEN_DYNAMIC_CRYPT, MISDN_CTYPE_BOOL, "no", NONE },
{ "crypt_prefix", MISDN_GEN_CRYPT_PREFIX, MISDN_CTYPE_STR, NO_DEFAULT, NONE },
- { "crypt_keys", MISDN_GEN_CRYPT_KEYS, MISDN_CTYPE_STR, NO_DEFAULT, NONE }
+ { "crypt_keys", MISDN_GEN_CRYPT_KEYS, MISDN_CTYPE_STR, NO_DEFAULT, NONE },
+ { "l1watcher_timeout", MISDN_GEN_L1_TIMEOUT, MISDN_CTYPE_INT, "0", NONE }
+
};
/* array of port configs, default is at position 0. */