[asterisk-commits] tzafrir: trunk r404542 - in /trunk: ./ channels/ configs/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Dec 23 10:38:53 CST 2013
Author: tzafrir
Date: Mon Dec 23 10:38:43 2013
New Revision: 404542
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=404542
Log:
chan_dahdi: enable ignore_failed_channels by default
If ignore_failed_channels is set to "true" for a channel, the channel
will continue to be configured even if configuring it has failed.
This allows Asterisk to start before all the DAHDI initialization is
done and thus not force the starting order dahdi -> asterisk.
Review: https://reviewboard.asterisk.org/r/3063/
Modified:
trunk/UPGRADE-12.txt
trunk/channels/chan_dahdi.c
trunk/configs/chan_dahdi.conf.sample
Modified: trunk/UPGRADE-12.txt
URL: http://svnview.digium.com/svn/asterisk/trunk/UPGRADE-12.txt?view=diff&rev=404542&r1=404541&r2=404542
==============================================================================
--- trunk/UPGRADE-12.txt (original)
+++ trunk/UPGRADE-12.txt Mon Dec 23 10:38:43 2013
@@ -219,6 +219,11 @@
mailbox at context.
- Added mwi_vm_boxes that also must be configured for ISDN MWI to be enabled.
+
+ - ignore_failed_channels now defaults to True: the channel will continue to
+ be configured even if configuring it has failed. This is generally a
+ better setup for systems with not more than one DAHDI device or with DAHDI
+ >= 2.8.0 .
chan_local:
- The /b option has been removed.
Modified: trunk/channels/chan_dahdi.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_dahdi.c?view=diff&rev=404542&r1=404541&r2=404542
==============================================================================
--- trunk/channels/chan_dahdi.c (original)
+++ trunk/channels/chan_dahdi.c Mon Dec 23 10:38:43 2013
@@ -961,6 +961,7 @@
.debouncetime = -1
},
.is_sig_auto = 1,
+ .ignore_failed_channels = 1,
.smdi_port = "/dev/ttyS0",
};
Modified: trunk/configs/chan_dahdi.conf.sample
URL: http://svnview.digium.com/svn/asterisk/trunk/configs/chan_dahdi.conf.sample?view=diff&rev=404542&r1=404541&r2=404542
==============================================================================
--- trunk/configs/chan_dahdi.conf.sample (original)
+++ trunk/configs/chan_dahdi.conf.sample Mon Dec 23 10:38:43 2013
@@ -1167,12 +1167,11 @@
;
;
; ignore_failed_channels: Continue even if some channels failed to configure.
-; False by default, as if even a single channel failed to configure, it might
-; mean other channels are misplaced and having them work may not be a good
-; idea. If enabled (set to true), chan_dahdi will nevertheless attempt to
-; configure other channels rather than giving up. This normally makes sense
-; only if you use names (<subdir>!<number>) for DAHDI channels.
-;ignore_failed_channels = true
+; True by default. Disable this if you can guarantee that DAHDI starts before
+; Asterisk and want to be sure chan_dahdi will not start with broken
+; configuration.
+;
+;ignore_failed_channels = false
;
; Configure jitter buffers in DAHDI (each one is 20ms, default is 4)
; This is set globally, rather than per-channel.
More information about the asterisk-commits
mailing list