Age | Commit message (Collapse) | Author |
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.2@8637 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Merged revisions 8589 via svnmerge from
http://svn.digium.com/svn/dahdi/tools/trunk
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.2@8591 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Groff considers '-' a hyphen. If we want a minus (or a dash) we need to use
'\-'.
Merged revisions 8529 via svnmerge from
http://svn.digium.com/svn/dahdi/tools/trunk
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.2@8532 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
This ensures that "make config" works properly
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.2@8333 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Merged revisions 7333 via svnmerge from
http://svn.digium.com/svn/dahdi/tools/trunk
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.2@7901 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Merged revisions 7754 via svnmerge from
http://svn.digium.com/svn/dahdi/tools/trunk
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.2@7829 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
We can tell if a device is an Astribank by the vendorId and productId
attribute. Get other attributed only after we give up on other devices.
(closes issue #16552)
Merged revisions 7558 via svnmerge from
https://origsvn.digium.com/svn/dahdi/tools/trunk
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.2@7827 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
This commit prepares xpp_fxloader to get hotplug envirnment from newer kernel
versions:
* DEVICE will eventually be replaced with DEVNAME. Accept both (and look
at DEVNAME first).
* If we get DEVICE, we'll probably get an invalid path based at
/proc/bus/usb . Fix it to use /dev/bus/usb .
* While we're at it, allow using PRODUCT from the envirnment instead of
from the command-line.
This should allow fixing udev rules but will also work with existing
rules in DAHDI-linux from trunk (for systems where they are valid).
Merged revisions 7752 via svnmerge from
http://svn.digium.com/svn/dahdi/tools/trunk
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.2@7814 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Merged revisions 7463 via svnmerge from
http://svn.digium.com/svn/dahdi/tools/trunk
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.2@7813 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
This also avoids a bogus, empty twinstar.8 man page.
Merged revisions 7219,7263 via svnmerge from
http://svn.digium.com/svn/dahdi/tools/trunk
........
r7219 | tzafrir | 2009-09-27 13:49:40 +0200 (Sun, 27 Sep 2009) | 5 lines
xpp: install twinstar by default; Add a man page
Add a man page to twinstar (as perl POD) and get it installed by
default.
........
r7263 | tzafrir | 2009-09-29 22:45:50 +0200 (Tue, 29 Sep 2009) | 2 lines
xpp: fix a typo in documentation
........
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.2@7805 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Tweak title a bit to avoid asciidoc consider it a header for a syntax
block.
Merged revisions 7792 via svnmerge from
http://svn.digium.com/svn/dahdi/tools/trunk
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.2@7793 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Originaly part of trunk r7219.
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.2@7655 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
* New firmware loading protocol
- Older one (1.3) is still supported for now
* Support loading firmwares from Astribanks with a minimal firmware
(1163)
* astribank_tool -Q: always query, regardless of verbosity level
xpp rev: up to 7559
Merged revisions 7609 via svnmerge from
https://origsvn.digium.com/svn/dahdi/tools/trunk
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.2@7621 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Demote some messages to debug while we're at it.
Merged revisions 7596 via svnmerge from
http://svn.digium.com/svn/dahdi/tools/trunk
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.2@7611 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
LED indiction and such.
Merged revisions 7252-7253 via svnmerge from
http://svn.digium.com/svn/dahdi/tools/trunk
........
r7252 | tzafrir | 2009-09-29 21:06:47 +0200 (Tue, 29 Sep 2009) | 2 lines
xpp: xpp_sync: add -v and fix perldoc
........
r7253 | tzafrir | 2009-09-29 21:12:22 +0200 (Tue, 29 Sep 2009) | 2 lines
xpp: use xpd sysfs attr. timing_priority to set NT/TE
........
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.2@7492 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Merged revisions 6993 via svnmerge from
http://svn.digium.com/svn/dahdi/tools/trunk
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.2@7481 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
The hotplug mode is only used in XPP_HOTPLUG_DAHDI=yes is set in
/etc/dahdi/init.conf . If it is set and the system actually has
Astribanks, most of the init script will actually be run from the
context of a udev event.
Merged revisions 6987,7014,7334-7335,7409,7476 via svnmerge from
https://origsvn.digium.com/svn/dahdi/tools/trunk
........
r6987 | tzafrir | 2009-08-13 18:15:49 +0300 (Thu, 13 Aug 2009) | 9 lines
xpp: Add astribank_is_starting:
astribank_is_running is used to tell when we may have an Astribank that
is initializing (and may be re-enumerating and thus not listed as a
device).
It uses a semaphore as we can always write to one and we can't always
write to a file.
........
r7014 | tzafrir | 2009-08-16 19:05:11 +0300 (Sun, 16 Aug 2009) | 4 lines
xpp: A man page for astribank_is_starting
xpp rev: 7321
........
r7334 | tzafrir | 2009-10-04 15:35:51 +0200 (Sun, 04 Oct 2009) | 7 lines
dahdi.init: move module loading to a separate function
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).
........
r7335 | tzafrir | 2009-10-04 15:53:01 +0200 (Sun, 04 Oct 2009) | 16 lines
Add XPP_HOTPLUG_DAHDI mode: cfg initiated mostly from hotplug
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')
........
r7409 | tzafrir | 2009-10-21 16:30:32 +0200 (Wed, 21 Oct 2009) | 21 lines
Fix XPP_HOTPLUG_DAHDI: logic; end of init.d script
'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).
........
r7476 | tzafrir | 2009-11-04 22:12:35 +0200 (Wed, 04 Nov 2009) | 6 lines
xpp: make astribank_is_starting build without warnings.
autoconfig.h is needed as semtimedop() requires _GNU_SOURCE.
xpp rev: 7471
........
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.2@7477 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Also support generating (open)R2 config in chan_dahdi.conf, while we're
at it.
Default configuration remains ISDN as before if no extra settings are
given in genconf_parameters.
Merged revisions 7016,7018-7019,7224,7257 via svnmerge from
http://svn.digium.com/svn/dahdi/tools/trunk
........
r7016 | tzafrir | 2009-08-16 20:04:04 +0300 (Sun, 16 Aug 2009) | 6 lines
dahdi-perl: chan_dahdi.conf generator can generate openr2 conf
If configured to use R2 ("pri_connection_type R2" in genconf_parameters),
the chandahdi generator of dahdi_genconf will now generate configuration
for the openr2 support in chan_dahdi.
........
r7018 | tzafrir | 2009-08-16 20:19:26 +0300 (Sun, 16 Aug 2009) | 10 lines
xpp: Dahdi::Config::Gen.pm: improvements in preperation for T1-CAS:
- New channo_range() method which returns range strings for any list
of channel numbers (handle sorting, validation, etc.)
- Reimplement bchan_range() as a small wrapper around channo_range().
- Another small wrapper is chan_range() that works on channel objects.
- Also a parse_chan_range() does the reverse (from range string to
a list of channel numbers). This isn't used at the moment.
xpp rev: 7306
........
r7019 | tzafrir | 2009-08-16 20:27:28 +0300 (Sun, 16 Aug 2009) | 11 lines
dahdi-perl: Add basic T1-CAS support for dahdi_genconf
- Support added in generators of system.conf and of chan_dahdi.conf .
- Some strange asumptions about being FXS/FXO depending on being timing
provider/supplier.
- New gen_cas() method for Chandahdi and System.
- Now gen_digital() is a bit cleaner.
- Call gen_cas(), gen_openr2(), gen_digital() according to
the 'pri_connection_type' config (CAS, R2, PRI/BRI).
xpp rev: 7307
........
r7224 | tzafrir | 2009-09-27 17:01:20 +0200 (Sun, 27 Sep 2009) | 6 lines
dahdi_perl: improved config generation for T1 CAS
A few extra options for a CAS span signalling.
xpp rev: 7343, 7346, 7369
........
r7257 | tzafrir | 2009-09-29 21:28:58 +0200 (Tue, 29 Sep 2009) | 2 lines
xpp: more T1-CAS config generation support
........
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.2@7475 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Make the new XPP tools much less verbose:
* demote messages to be debug
* Convert multi-line messages to be single-line messages
Making xpp_fxloader run in debug mode can be done by setting
DEBUG=yes
in /etc/dahdi/init.conf
Merged revisions 7221 via svnmerge from
http://svn.digium.com/svn/dahdi/tools/trunk
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.2@7474 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
* Fix pattern for PCI BRI cards
* Fix recognizing xpp devices by @connector in xpp_order
* Print more helpful comments in xpp_order
* Remove most (if not all) need of /proc/bus/usb
* Handle other similar "is_twinstar" errors.
Merged revisions 6975,7000,7223,7401,7462 via svnmerge from
http://svn.digium.com/svn/dahdi/tools/trunk
........
r6975 | tzafrir | 2009-08-12 22:02:00 +0300 (Wed, 12 Aug 2009) | 2 lines
dahdi-perl: Remove a pointless whitespace in BRI strings list
........
r7000 | tzafrir | 2009-08-14 00:40:01 +0300 (Fri, 14 Aug 2009) | 4 lines
dahdi-perl: don't re-append '@' when testing the Astribank connector string
xpp rev: 7291
........
r7223 | tzafrir | 2009-09-27 16:38:50 +0200 (Sun, 27 Sep 2009) | 7 lines
dahdi_genconf: xpp_order generator: Extra '#' after connector comment
Add an extra '#' right after the connector string to make it simpler
to use the connector string from the generated xpp_order.
xpp rev: 7292
........
r7401 | tzafrir | 2009-10-13 20:21:17 +0200 (Tue, 13 Oct 2009) | 12 lines
xpp: make /proc/bus/usb/devices optional
Get the information we read from /proc/bus/usb/devices from
/sys/bus/usb/devices . Tested on my Debian Unstable with 2.6.30 kernel.
The default is still /proc/bus/usb and sysfs is only used if the procfs
file is not found.
Also fixes a case of using the sysfs attribute busnum, that does not
exist in kernel 2.6.9 . Devise the bus number from the name of the node.
........
r7462 | tzafrir | 2009-11-04 13:48:43 +0200 (Wed, 04 Nov 2009) | 6 lines
dahdi-perl: Avoid '"is_twinstar" on unblessed reference'
Dpn't panic if a device is not found in the list of hardware. This
is not only indication of a bug, but can also happen if a device
appeared after the script was started.
........
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.2@7473 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
(closes issue #14832)
Reported by: jlduran
Patch by: jldruan
Merged revisions 7162-7163 via svnmerge from
http://svn.digium.com/svn/dahdi/tools/trunk
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.2@7472 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Merged revisions 6842,6898,6902,6976,7131 via svnmerge from
http://svn.digium.com/svn/dahdi/tools/trunk
........
r6842 | tzafrir | 2009-07-16 13:19:23 +0300 (Thu, 16 Jul 2009) | 2 lines
Document attributes of a Dahdi::Xpp::Xpd object.
........
r6898 | dbrooks | 2009-07-27 22:54:13 +0300 (Mon, 27 Jul 2009) | 6 lines
Replaces typos "recieved" with "received" and "initilize" with "initialize".
(closes issue #15571)
Reported by: alecdavis
........
r6902 | seanbright | 2009-07-28 00:05:16 +0300 (Tue, 28 Jul 2009) | 11 lines
Pass correct channel number to DAHDI_GET_PARAMS when passing span numbers to dahdi_scan.
When filtering, we weren't taking into account the number of channels in the spans that
we were skipping.
(closes issue #15553)
Reported by: tony
Patches:
20090723_issue15553.patch uploaded by seanbright (license 71)
Tested by: seanbright
........
r6976 | tzafrir | 2009-08-12 22:21:01 +0300 (Wed, 12 Aug 2009) | 4 lines
xpp: cleanup gcc warnings and one real astribank_tool bug
xpp rev: 7281
........
r7131 | tzafrir | 2009-09-15 19:52:58 +0300 (Tue, 15 Sep 2009) | 7 lines
Add a missing trailing slash on the install-libs target
(closes issue #15793)
Reported by: pprindeville
Patches:
dahdi-tools-makefile.patch uploaded by pprindeville (license 347)
........
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.2@7471 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Merged revisions 6856 via svnmerge from
http://svn.digium.com/svn/dahdi/tools/trunk
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.2@7470 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Merged revisions 6832 via svnmerge from
http://svn.digium.com/svn/dahdi/tools/trunk
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.2@7469 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Merged revisions 6829,7021 via svnmerge from
http://svn.digium.com/svn/dahdi/tools/trunk
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.2@7468 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Merged revisions 6823 via svnmerge from
http://svn.digium.com/svn/dahdi/tools/trunk
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.2@7467 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
http://svn.digium.com/svn/dahdi/tools/trunk
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.2@7466 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/branches/2.2@7455 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Cleans up an error I am seeing on Ubuntu.
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6678 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6677 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6668 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Check the output of dahdi_hardware and give a different message for the
case it found no hardware.
(closes issue #14792)
Reported by: Dovid
Patches:
dahdi_hardware_nodev_make.diff uploaded by tzafrir (license 46)
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6657 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
From xpp rev. 7137.
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6655 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
dahdi_genconf's 'bri_hardhdlc' parameter changes. Should generally work
with no need for manual configuration unless you use a bristuffed driver
(zaphfc, qozap).
See notes in genconf_parameters.
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6647 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
|
|
As we install it, we need a matching man page.
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6643 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6632 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6630 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
If there are not "loadzone" and "defaultzone" lines in /etc/dahdi/system.conf,
default to the us zone. This mimics the behavior of older zaptel releases.
DAHDI-29.
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6619 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
As of USB firmware rev. 6926, the Astribank control connection protocol
has changed in an incompatible manner. If astribank_tool fails to open a
device when running a reset command, try to reset the device with the
command from the old (pre-MPP) protocol (A single 0x20 byte). No support
whatsoever for any other feature of the old protocol.
From xpp rev. 7067. (previous commit was xpp rev. 7066).
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6617 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6616 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6613 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6603 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6601 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6585 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6583 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
(In case someone, such as dahdi_dynamic_ethmf adds there some other
entries)
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6579 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6512 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
The sample xpp_order will be generated anyway when running
'dahdi_genconf xpporder' (see xpp/perl_modules/Dahdi/Config/Gen/Xpporder.pm) .
No need to clutter the main DAHDI installation with it.
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6492 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Also slightly fix the sample config.
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6476 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|