aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_zap.c
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-19 17:04:02 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-19 17:04:02 +0000
commit1e7f09ff59a5e6a34b3cfde4af49856847775115 (patch)
tree720beb09369df2728c4a5407186d634dbd17df47 /channels/chan_zap.c
parentb79c30c466a5b42618ff8c3487e02b8ac232c3e3 (diff)
Make the minidle option actually exist as documented (issue #7159 reported by imran)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@28698 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_zap.c')
-rw-r--r--channels/chan_zap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index 6dae296bc..847063a5b 100644
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -10718,6 +10718,8 @@ static int setup_zap(int reload)
v->value, v->lineno);
} else if (!strcasecmp(v->name, "minunused")) {
minunused = atoi(v->value);
+ } else if (!strcasecmp(v->name, "minidle")) {
+ minidle = atoi(v->value);
} else if (!strcasecmp(v->name, "idleext")) {
ast_copy_string(idleext, v->value, sizeof(idleext));
} else if (!strcasecmp(v->name, "idledial")) {