Age | Commit message (Collapse) | Author |
|
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
|
|
* 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
|
|
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
|
|
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
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6427 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
* New generator Dahdi::Config::Gen::Xpporder can generate
and xpp_order config for an existing setup.
* Add more TwinStar related logic to Dahdi::Xpp::Mpp. Simplifies
the twinstar utility accordingly.
* twinstar_hook: for the multiple Astribanks case.
* twinstar_setup: More logic tests. Now delegates configuration
generation to dahdi_genconf (with new Xpporder generator).
* dahdi_hardware: Show number of channels with -v
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6417 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6278 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Rework the text added by dahdi_genconf generators to say that you can
hand-edit files. But just don't complain if they get mysteriously
overriden when it is run again :-)
(closes issue #14569)
Reported by: jtodd
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6215 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
* Parsing genconf_parameters is now in Dahdi::Config::Params
All hard-coded defaults are there too (in the item() method).
* Dahdi::Config::Genconf is gone (merged into Dahdi::Config::Gen)
All semantic mapping is in the constructor.
* dahdi_genconf is now lean and mean.
* Add some implementation docs into these files.
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6075 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
Fixed a regression from r6013 .
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6073 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
* dahdi_genconf -F will generate chan_dahdi.conf for freepbx
(like genzaptelconf -F)
* Better procfs compatibility for xpp modules.
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6057 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6056 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|
|
'dahdi_genconf foo bar' will use the modules Dahdi::Config::Gen::Foo and
Dahdi::Config::Gen::Bar to generate configuraion files. Extra formats
can thus be added without modifying dahdi_genconf and independently of
DAHDI.
git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@6013 a0bf4364-ded3-4de4-8d8a-66a801d63aff
|