Age | Commit message (Collapse) | Author |
|
Module 'dahdi_dummy.ko' is no longer needed for DAHDI to provide timing,
therefore we can remove the explicit load of dahdi_dummy, which by
default is aliased to dahdi.ko anyway. If you've edited the DAHDI
Kbuild file in order to build dahdi_dummy explicitly, then you should
add dahdi_dummy to /etc/dahdi/modules in order to load it, but this is
not needed for normal operation.
(issue #17959)
Reported by: glen201
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@9309 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8535 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
The init script would fail on SuSE without this change, since it would look for
the redhat init script functions. DAHDI-437.
(closes issue #16761)
Reported by: oej
Patch by: jparker
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8194 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
At the 'stop' command, the dahdi init.d service unloads dahdi
(and any module it depends in).
With this change, the user will be able to specify the modules to
unload, by setting DAHDI_UNLOAD_MODULES in init.conf. This allows:
* Disabling module unloading altogether
* Allowing the user to unload other modules as well, e.g. the 'echo'
module of OSLEC, if you build it as part of DAHDI.
Note that unless you explicitly set DAHDI_UNLOAD_MODULES, the script
behaves exatly as before.
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@7997 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@7497 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
If the echocan factory is associated with a channel, the reference on the
echocan module will not be released until after the board driver is unloaded.
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@7494 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Useful in some testing environments.
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@7461 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
'Hotplug mode' was introduced in r7335.
* The logic in the script was broken.
- Negative logic is not such a grand idea to start with.
* Interactive invocation of init.d ends when expected and not sooner.
This change makes waitfor_xpds wait longer. Rather than waiting for all
the Astribanks to load, it will now wait until the initialization of
dahdi from the Astribanks hook script is run.
This allows running e.g.: /etc/init.d/dahdi start; /etc/init.d/asterisk start
It also means that 'astribank_is_starting' is actually used as a
semaphore and not only as stamp file.
As before, those changes have no effect if hotplug mode is not
explicitly enabled (setting 'XPP_HOTPLUG_DAHDI=yes' in init.conf).
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@7409 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
If XPP_HOTPLUG_DAHDI=yes is set in /etc/dahdi/init.conf (which is not
the default), the normal run of the 'start' operation of the dahdi init
script will only be responsible for loading modules. The rest will be
done (if there are indeed Astribanks on the system) by a second call to
the init script once all of them have connected.
The astribank_hook has also been mostly rewritten. Most of the
functionality of twinstar_hook moved to it. The current twinstar_hook is
a simple example script.
XPP_HOTPLUG_DAHDI mode assumes that all Astribanks on the system are
listed in /etc/dahdi/xpp_order (which can be generated using, e.g.
'dahdi_genconf xpporder')
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@7335 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Move the module loading parts of the dahdi init script to a seperate
function - load_modules. To be used by a later commit.
There is not functional change here (but the diff is confusing).
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@7334 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
This reverts commit r6708.
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6710 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
If there is a digital card in the system, and there is not a span
configuration line in /etc/dahdi/system.conf, the init script will now create
a temporary default one to use. On some installations, this will allow
asterisk to start before dahdi is fully configured.
This a temporary measure until DAHDI is always able to provide a timing
source.
(related to issue #13205)
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6708 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
If the system starts with an Astribank with no firmware, the firmware
loading may take a while and the Astribank only becomes ready some time
after the DAHDI init script starts.
This means that the test at the beginning of xpp_startup() in dahdi.init
fails to find an Astribank, and the init script simply continues
ignoring this.
This changeset moves the testing inside the script waitfor_xpds. The
script now:
1. Tests for an Astribank using dahdi_hardware and exists immediately
if none found.
2. A loop (of maximum 10 seconds) waits for the first Astribank to
be detected by the driver.
3. Waiting for the initialization of all the Astribanks to complete (The
original waitfor_xpds)
The support for the old procfs iinterface has been removed, as it has
never been used with DAHDI.
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6646 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6442 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
xpp_sync needs to only be called after dahdi_cfg was run, because the
application of system.conf may change the priority of a PRI module span
(If it is a sync provider, "NT", priority is lower).
Also some documentation-only changes for xpp_sync.
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6167 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Fixes shutdown_dynamic() in the dahdi init.d script. Not enabling it
by default just yet (the second half of the patch) until we get some
further confirmation that such a shutdown is always good.
(from issue #14603)
Reported by: tamiel
Patches:
20090304_dahdi.init.patch uploaded by tamiel (license 712)
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6095 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Issue: DAHDI-233
patch by: cmoye
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5886 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5809 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
(closes issue #14277)
Reported by: darren1713
Patches:
dahdi.init.txt uploaded by darren1713 (license 116)
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5808 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
RHEL4's 'action' only works with programs and not with functions.
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5514 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5334 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
The userspace side of dahdi-linux r5097.
* Perl modules default to using xpp sysfs but will fallback (with warning)
to procfs interface.
* An additional /usr/share/dahdi/waitfor_xpds to replace the line in the
init.d script.
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5099 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5074 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
(closes issue #13655)
Reported by: jcollie
Patches:
0001-Add-a-trivial-status-command-to-the-init-script.patch uploaded by jcollie (license 412)
(Slight modification by me to update the usage text)
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@5072 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@4984 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@4915 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
(closes issue #13428)
Reported by: eeman
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@4882 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@4855 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
clean up the modules.sample file to have proper lists of cards supported by each module and remove reference to dahdi_dummy since the init script takes care of loading that module
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@4850 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
(also minor README cleanups).
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@4608 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Still needs refactoring to have one function that works on different
platforms.
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@4579 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
- Added /etc/dahdi/modules file that contains comments or the names of modules
to load.
- Removed the MODULES variable from /etc/dahdi/init.conf.
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@4578 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
report when the MODULES parameter is empty at dahdi start.
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@4564 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@4562 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Closes issue #12996 .
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@4551 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
* init.conf: example configuration for the init script.
* dahdi.rules: udev rules (still not installed).
* Makefile: simplify install of RCCONF .
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@4483 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@4414 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|