aboutsummaryrefslogtreecommitdiffstats
path: root/Zaptel-to-DAHDI.txt
blob: a08fdea69d64eaafa4169cfa71c2a95a39642250 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
=========================================================
=== Information for upgrading from Zaptel to DAHDI    ===
=========================================================

As announced in early 2008, Digium is renaming the Zaptel telephony
interface project to DAHDI (Digium Asterisk Hardware Device Interface)
to accommodate the desires of the owner of the Zaptel trademark for
telephony purposes.

This version of Asterisk can be built using either Zaptel or DAHDI,
and has many changes to make the use of DAHDI as easy as possible for
existing users with dialplans, CDR parsers, AMI applications, and
others that expect Zaptel to be in use.

First, the modules that directly use services from Zaptel/DAHDI have been
renamed; the new names are:

  chan_zap.so -> chan_dahdi.so
  app_zapbarge.so -> app_dahdibarge.so
  app_zapras.so -> app_dahdiras.so
  app_zapscan.so -> app_dahdiscan.so
  codec_zap.so -> codec_dahdi.so

However, in spite of the file name changes, the channels and
applications provided by these modules can still be used with 'Zap'
style names; see below for more information.

Second, there are have been a number of efforts made to ensure that
existing systems will not have to have any major configuration changes
made solely because Asterisk was built against DAHDI instead of
Zaptel. This includes:

chan_dahdi.so:

  This module will determine which channel name ('Zap' or 'DAHDI')
  should be used for incoming and outgoing channels based on the
  build-time choice of telephony drivers. However, if you wish to
  continue using the 'Zap' channel name even though you built Asterisk
  against the DAHDI drivers, you can add the following line to the
  [options] section of your /etc/asterisk/asterisk.conf file:

    dahdichanname = no

  All CLI commands that begin with 'zap' are now available as 'dahdi'
  commands as well; the 'zap' variants will report that they are
  deprecated the first time you use each one in an Asterisk instance,
  but they will otherwise operate just as they did in previous versions.

  All Asterisk Manager Interface (AMI) actions that begin with 'Zap'
  are also available with 'DAHDI' prefixes.

  The ZapSendKeypadFacility dialplan application is now available as
  DAHDISendKeypadFacility as well; the Zap variant will report a deprecation
  warning but will otherwise operate as it did it in previous
  versions.

  The configuration for the channel driver will be read from
  /etc/asterisk/chan_dahdi.conf unless 'dahdichanname' has been set to
  'no' in asterisk.conf; if that is done, then the configuration will
  be read from /etc/asterisk/zapata.conf, just as it was in previous
  versions.

app_dahdibarge.so:

  The ZapBarge application is now available as DAHDIBarge as well; the
  ZapBarge variant will report a deprecation warning when used, but
  will otherwise operate as it did in previous versions. Regardless of
  which application name is used, the application will restrict itself
  to channels of the proper type, based on the 'dahdichanname' setting
  in asterisk.conf.

app_dahdiras.so:

  The ZapRAS application is now available as DAHDIRAS as well; the
  ZapRAS variant will report a deprecation warning when used, but will
  otherwise operate as it did in previous versions. Regardless of
  which application name is used, the application will restrict itself
  to channels of the proper type, based on the 'dahdichanname' setting
  in asterisk.conf.

app_dahdiscan.so:

  The ZapScan application is now available as DAHDIScan as well; the
  ZapScan variant will report a deprecation warning when used, but will
  otherwise operate as it did in previous versions. Regardless of
  which application name is used, the application will restrict itself
  to channels of the proper type, based on the 'dahdichanname' setting
  in asterisk.conf.

app_flash.so:

  This application has not had any name changes, but will report its
  usage (via 'show application flash') as being for either DAHDI or
  Zaptel channels based on the 'dahdichanname' setting in
  asterisk.conf.

app_chanspy.so:

  This application will transparently create 'DAHDI' or 'Zap' channels
  as needed, based on the 'dahdichanname' setting in asterisk.conf.

app_meetme.so:

  This application will transparently create 'DAHDI' or 'Zap' channels
  as needed, based on the 'dahdichanname' setting in asterisk.conf.