From 0c14c47523fdd33dde901a6028b8dffa05fec8ef Mon Sep 17 00:00:00 2001
From: "Kevin P. Fleming" <kpfleming@digium.com>
Date: Mon, 22 Oct 2007 14:59:27 +0000
Subject: [PATCH] resetinterval defaulting to something other than 'never'
 doesn't seem to accomplish any good and causes problems for plenty of
 people...

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86697 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 channels/chan_zap.c        | 3 +--
 configs/zapata.conf.sample | 4 +---
 2 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/channels/chan_zap.c b/channels/chan_zap.c
index 9cb0f57452..393112b711 100644
--- a/channels/chan_zap.c
+++ b/channels/chan_zap.c
@@ -719,8 +719,7 @@ static struct zt_chan_conf zt_chan_conf_default(void) {
 			.localprefix = "",
 			.privateprefix = "",
 			.unknownprefix = "",
-
-			.resetinterval = 3600
+			.resetinteral = -1,
 		},
 #endif
 #ifdef HAVE_SS7
diff --git a/configs/zapata.conf.sample b/configs/zapata.conf.sample
index ffcd7209fe..ded44d221e 100644
--- a/configs/zapata.conf.sample
+++ b/configs/zapata.conf.sample
@@ -116,9 +116,7 @@
 ;unknownprefix = 
 ;
 ; PRI resetinterval: sets the time in seconds between restart of unused
-; channels, defaults to 3600; minimum 60 seconds.  Some PBXs don't like
-; channel restarts. so set the interval to a very long interval e.g. 100000000
-; or 'never' to disable *entirely*.
+; B channels; defaults to 'never'.
 ;
 ;resetinterval = 3600 
 ;
-- 
GitLab