| 1 |
===================================================================== |
| 2 |
=== Information for upgrading from Zaptel 1.2 or 1.4 to DAHDI 2.0 === |
| 3 |
===================================================================== |
| 4 |
|
| 5 |
Upgrading from Zaptel to DAHDI is fairly straightforward; install this |
| 6 |
package using the installation instructions, and then reconfigure and |
| 7 |
rebuild Asterisk; Asterisk 1.4 releases later than 1.4.21, and all |
| 8 |
releases of Asterisk 1.6, will automatically use DAHDI in preference |
| 9 |
to Zaptel, even if Zaptel is still installed on the system. |
| 10 |
|
| 11 |
Important notes about upgrading: |
| 12 |
|
| 13 |
* The Zaptel package, which included both kernel modules and userspace |
| 14 |
tools for configuring and managing the modules, has been split into |
| 15 |
two packages: |
| 16 |
dahdi-linux: kernel modules |
| 17 |
dahdi-tools: userspace tools |
| 18 |
|
| 19 |
In addition, there is a dahdi-linux-complete package that contains both |
| 20 |
dahdi-linux and dahdi-tools for simplified installation. |
| 21 |
|
| 22 |
Note: The dahdi-linux and dahdi-tools packages have *separate* |
| 23 |
version numbers; they will not be released 'in sync', and it is |
| 24 |
perfectly acceptable to use (for example) dahdi-tools 2.0.6 with |
| 25 |
dahdi-linux 2.0.11. The dahdi-linux-complete package version number will |
| 26 |
always include *both* of these version numbers so that you will know |
| 27 |
what is included in it. |
| 28 |
|
| 29 |
Notes about the dahdi-linux package: |
| 30 |
|
| 31 |
* The primary kernel modules have changed names; the new names are: |
| 32 |
zaptel.ko -> dahdi.ko |
| 33 |
ztd-eth.ko -> dahdi_dynamic_eth.ko |
| 34 |
ztd-loc.ko -> dahdi_dynamic_loc.ko |
| 35 |
ztdummy.ko -> dahdi_dummy.ko |
| 36 |
ztdynamic.ko -> dahdi_dynamic.ko |
| 37 |
zttranscode.ko -> dahdi_transcode.ko |
| 38 |
|
| 39 |
* The kernel modules for card drivers have *not* changed names, |
| 40 |
although the wcusb and torisa drivers are no longer included. |
| 41 |
|
| 42 |
* This package no longer includes the 'menuselect' utility for |
| 43 |
choosing which modules to build; all modules that can be built are |
| 44 |
built automatically. |
| 45 |
|
| 46 |
* It is no longer possible to select a software echo canceler at |
| 47 |
compile time to build into dahdi.ko; all four included echo |
| 48 |
cancelers (MG2, KB1, SEC and SEC2) are built as loadable modules, |
| 49 |
and if the Digium HPEC binary object file has been placed into the |
| 50 |
proper directory the HPEC module will be built as well. Any or all |
| 51 |
of these modules can be loaded at the same time, and the echo |
| 52 |
canceler to be used on the system's channels can be configured using |
| 53 |
the dahdi_cfg tool from the dahdi-tools package. |
| 54 |
|
| 55 |
Note: It is *mandatory* to configure an echo canceler for the |
| 56 |
system's channels using dahdi_cfg unless the interface cards in use |
| 57 |
have echo canceler modules available and enabled. There is *no* |
| 58 |
default software echo canceler with DAHDI. |
| 59 |
|
| 60 |
Notes about the dahdi-tools package: |
| 61 |
|
| 62 |
* Many tool names have changed: |
| 63 |
ztcfg -> dahdi_cfg |
| 64 |
ztmonitor -> dahdi_monitor |
| 65 |
ztscan -> dahdi_scan |
| 66 |
ztspeed -> dahdi_speed |
| 67 |
zttest -> dahdi_test |
| 68 |
zttool -> dahdi_tool |
| 69 |
zapconf -> dahdi_genconf (deprecates genzaptelconf) |
| 70 |
|
| 71 |
* The system configuration file has moved from /etc/zaptel.conf to |
| 72 |
/etc/dahdi/system.conf. |
| 73 |
|
| 74 |
* The dahdi_cfg tool can now be used to select an echo canceler on a |
| 75 |
channel-by-channel basis in the system configuration file; see |
| 76 |
system.conf.sample for examples of how to do this. |
| 77 |
|
| 78 |
* The configuration for XPP init_card_* scripts is done now |
| 79 |
in /etc/dahdi/xpp.conf and uses a simple syntax (example included). |
| 80 |
For PRI modules, the 'pri_protocol' setting, determines how |
| 81 |
to configure it (E1/T1). |
| 82 |
|
| 83 |
* In Astribank PRI modules, the LED behaviour represents which ports |
| 84 |
are *CLOCK MASTER* (red color) and which are *CLOCK SLAVE* (green color). |
| 85 |
Usually (but not always), this corresponds to the NT/TE settings in Asterisk. |