f11b937659
* New asynchronous behavior is used only when two conditions are met: - Finding new $ASTERISK_SUPPORTS_DAHDI_HOTPLUG=yes in /etc/dahdi/init.conf This should be set only when Asterisk support hotplug and configured to use it (no_failed_channels==1). - DAHDI auto_assign_spans==0 * Adapt /usr/share/dahdi/astribank_hook: - Refactor old twinstar behavior into functions - Add new behavior in a function (just enable the Asrribank watchdog) - Call the correct function. * Adapt init script: If asynchronous behavior is on, don't wait for all Astribanks to finish initialization (it's enough that we saw all/some of them) Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com> Acked-by: Russ Meyerriecks <rmeyerriecks@digium.com>
25 lines
771 B
Plaintext
25 lines
771 B
Plaintext
#
|
|
# Shell settings for Dahdi initialization scripts.
|
|
# This replaces the old/per-platform files (/etc/sysconfig/zaptel,
|
|
# /etc/defaults/zaptel)
|
|
#
|
|
|
|
# The maximal timeout (seconds) to wait for udevd to finish generating
|
|
# device nodes after the modules have loaded and before running dahdi_cfg.
|
|
#DAHDI_DEV_TIMEOUT=40
|
|
|
|
# A list of modules to unload when stopping.
|
|
# All of their dependencies will be unloaded as well.
|
|
#DAHDI_UNLOAD_MODULES="" # Disable module unloading
|
|
#DAHDI_UNLOAD_MODULES="dahdi echo" # If you use OSLEC
|
|
|
|
# Override settings for xpp_fxloader
|
|
#XPP_FIRMWARE_DIR=/usr/share/dahdi
|
|
#XPP_HOTPLUG_DISABLED=yes
|
|
#XPP_HOTPLUG_DAHDI=yes
|
|
#ASTERISK_SUPPORTS_DAHDI_HOTPLUG=yes
|
|
|
|
# Disable udev handling:
|
|
#DAHDI_UDEV_DISABLE_DEVICES=yes
|
|
#DAHDI_UDEV_DISABLE_SPANS=yes
|