Age | Commit message (Collapse) | Author |
|
If LIVE_DAHDI_FREEPBXDB=yes is set in live.conf, live_dahdi will also
generate FreePBX astdb entries for the FXS entensions it probed (using
the dahdi_genconf module freepbxdb).
Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10151 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
live_dahdi: Add a new command: symlink_ast, to make the system's
/etc/asterisk/dahdi-channels.conf a symlink to the one generated by
'reload' / 'genconf'.
If the system dahdi-channels.conf is a generated one and has not edited,
there's no real harm with running this.
Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10057 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
xpp_fxloader also reads /etc/dahdi/xpp.conf in one specific case. Make
it use the live copy.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10051 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
/etc/asterisk already gets generated at config. No need to re-create it
at genconf time.
Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10050 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Make sure you have etc/asterisk in the live tree before generating
configuration.
Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10028 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@10014 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9532 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Link live/usr/share/dahdi/xpp.conf from live/etc/dahdi/xpp.conf in
'config'. This makes the 'live' xpp.conf used rather than the global
xpp.conf .
Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9508 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
* Change the destination of rsync to /tmp/dahdi
* Add variable LIVE_DAHDI_RSYNC_DIR to allow overriding this.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9480 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Only check that TOOLD_DIR is valid when it is actually needed (configure,
install, config). This allows not checking for it with *load on a
rsync-ed copy.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9479 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Different versions of git have variability in how the log output looks.
Instead of git log, we can use git rev-parse directly.
Signed-off-by: Shaun Ruffell <sruffell@digium.com>
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9475 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
(closes issue #16143)
Reported by: Max Khon
Signed-off-by: Kinsey Moore <kmoore@digium.com>
Signed-off-by: Shaun Ruffell <sruffell@digium.com>
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9418 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
'[[' is a bash construct specifically, yet #!/bin/sh is at the top of the
file.
Signed-off-by: Shaun Ruffell <sruffell@digium.com>
Acked-by: Kinsey Moore <kmoore@digium.com>
Acked-by: Russ Meyerriecks <rmeyerriecks@digium.com>
Acked-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
Review: https://reviewboard.asterisk.org/r/940/
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9408 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
If building within a git repository search the last log message for a
'git-svn-id'. If found, the commit has a corresponding svn revision
number and we will use the SVN-xxx-rxxx revision form. Otherwise use the
output of 'git describe --long --always --tags --dirty=M' as the
version.
Signed-off-by: Shaun Ruffell <sruffell@digium.com>
Acked-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9396 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
If we fail to shutdown the dynamic spans, we may get a panic on the next
load.
This attempts to guess when we need to unload spans at unload.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9163 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Adds support for configuring dynamic spans through live_dahdi. To enable, set
in live/live.conf:
DYNAMIC_LOC="yes"
It will generate an extra live/etc/dahdi/dynamic.conf (if one does not exist)
and use it to configure extra dynamic spans in the system.
Note that ATM this will make the system hang pretty easily at 'load' time.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9162 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Copy sruffel's fix to the init.d script from -tools.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8818 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Adds commands 'genconf' (for basically: dahdi_genconf; dahdi_cfg) and
'asterisk' (start asterisk) so doing those should not require a full
restart.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8814 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Modprobe firmware_class for modules that may need it (and that we
insmod later)
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8751 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
'wc -c <f$ile' returns the name of the file as well.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8585 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
* Run programs from live tree rather than tools dir (not copied)
* Calculate MODULES dir after reading config file (you'll still need to
override it from the command line for building, but not for reload)
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8347 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8033 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7867 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
checkpatch.pl is a script intended to check style of code (normally:
before submitting kernel patches).
As using this script simplifies testing new code for coding style,
this commit officially closes issue #16191 .
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7702 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7379 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7179 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7172 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
* wcb4xxp and wcte12xp should also be loaded from a subdirectory with
their name.
* wctdm24xxp and wcte12xp depend on the voicebus driver.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6971 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
* More varibles to set through the environment
* Different way to list drivers
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6487 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5711 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
* Script runs with -e. But we should not fail if either:
- Asterisk was not running
- The module dahdi was not loaded.
* The configure script of dahdi-tools should get absolute path to
dahdi-linux.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5672 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Also acknowledge an warning I'm not sure how to fix for now.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5646 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5535 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5460 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5459 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Some silly person (or people) decided that it wasn't useful to have in their distro...
*cough*
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5124 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
name to make it less easy to accidentally duplicate, only search directories where we expect that DAHDI or Zaptel modules might be found (known installation locations, even old ones), and always uninstall old DAHDI modules before installing new ones, in case a module is no longer in the tree and shouldn't be left installed
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4575 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
supplied), and automatically uninstall any Zaptel modules present for the KVERS kernel during installation of DAHDI
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4570 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
support 2.4 kernels, have proper name references, etc.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4503 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
* ADded test_git_kernel command 'driver_version' Reporting it is of no
busyniss of the builder script.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4474 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Also include other test_kernel_git from
http://svn.digium.com/view/zaptel?view=rev&revision=4375
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4473 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
* Clean, in order to guarantee everything belongs to this version/build .
* "test" is now "build".
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4470 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4379 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4343 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4332 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4322 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4318 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|