Massive changes in chan_unistim channel driver. Include many fixes in channel driver...
[asterisk/asterisk.git] / UPGRADE.txt
1 ===========================================================
2 ===
3 === Information for upgrading between Asterisk versions
4 ===
5 === These files document all the changes that MUST be taken
6 === into account when upgrading between the Asterisk
7 === versions listed below. These changes may require that
8 === you modify your configuration files, dialplan or (in
9 === some cases) source code if you have your own Asterisk
10 === modules or patches. These files also include advance
11 === notice of any functionality that has been marked as
12 === 'deprecated' and may be removed in a future release,
13 === along with the suggested replacement functionality.
14 ===
15 === UPGRADE-1.2.txt -- Upgrade info for 1.0 to 1.2
16 === UPGRADE-1.4.txt -- Upgrade info for 1.2 to 1.4
17 === UPGRADE-1.6.txt -- Upgrade info for 1.4 to 1.6
18 === UPGRADE-1.8.txt -- Upgrade info for 1.6 to 1.8
19 === UPGRADE-10.txt -- Upgrade info for 1.8 to 10
20 ===
21 ===========================================================
22
23 From 10 to 11:
24
25 Parking:
26  - The comebacktoorigin setting must now be set per parking lot. The setting in
27    the general section will not be applied automatically to each parking lot.
28
29 res_ais:
30  - Users of res_ais in versions of Asterisk prior to Asterisk 11 must change
31    to use the res_corosync module, instead.  OpenAIS is deprecated, but
32    Corosync is still actively developed and maintained.  Corosync came out of
33    the OpenAIS project.
34
35 Dialplan Functions:
36  - MAILBOX_EXISTS has been deprecated. Use VM_INFO with the 'exists' parameter
37    instead.
38  - Macro has been deprecated in favor of GoSub.  For redirecting and connected
39    line purposes use the following variables instead of their macro equivalents:
40    REDIRECTING_SEND_SUB, REDIRECTING_SEND_SUB_ARGS,
41    CONNECTED_LINE_SEND_SUB, CONNECTED_LINE_SEND_SUB_ARGS.
42
43
44 func_enum:
45  - ENUM query functions now return a count of -1 on lookup error to
46    differentiate between a failed query and a successful query with 0 results
47    matching the specified type.
48
49 CDR:
50  - cdr_adaptive_odbc now supports specifying a schema so that Asterisk can
51    connect to databases that use schemas.
52
53 Configuration Files:
54  - Files listed below have been updated to be more consistent with how Asterisk
55    parses configuration files.  This makes configuration files more consistent
56    with what is expected across modules.
57
58    - cdr.conf: [general] and [csv] sections
59    - dnsmgr.conf
60    - dsp.conf
61
62  - The 'verbose' setting in logger.conf now takes an optional argument,
63    specifying the verbosity level for each logging destination.  The default,
64    if not otherwise specified, is a verbosity of 3.
65
66 AMI:
67   - DBDelTree now correctly returns an error when 0 rows are deleted just as
68     the DBDel action does.
69
70 CCSS:
71  - Macro is deprecated. Use cc_callback_sub instead of cc_callback_macro
72    in channel configurations.
73
74 app_meetme:
75   - The 'c' option (announce user count) will now work even if the 'q' (quiet)
76     option is enabled.
77
78 SIP
79 ===
80  - A new option "tonezone" for setting default tonezone for the channel driver
81    or individual devices
82  - A new manager event, "SessionTimeout" has been added and is triggered when
83    a call is terminated due to RTP stream inactivity or SIP session timer
84    expiration.
85
86 chan_unistim
87  - Due to massive update in chan_unistim phone keys functions and on-screen 
88    information changed.
89
90 users.conf:
91  - A defined user with hasvoicemail=yes now finally uses a Gosub to stdexten
92    as documented in extensions.conf.sample since v1.6.0 instead of a Macro as
93    documented in v1.4.
94
95 From 1.8 to 10:
96
97 cel_pgsql:
98  - This module now expects an 'extra' column in the database for data added
99    using the CELGenUserEvent() application.
100
101 ConfBridge
102  - ConfBridge's dialplan arguments have changed and are not
103    backwards compatible.
104
105 File Interpreters
106  - The format interpreter formats/format_sln16.c for the file extension
107    '.sln16' has been removed. The '.sln16' file interpreter now exists
108    in the formats/format_sln.c module along with new support for sln12,
109    sln24, sln32, sln44, sln48, sln96, and sln192 file extensions.
110
111 HTTP:
112  - A bindaddr must be specified in order for the HTTP server
113    to run. Previous versions would default to 0.0.0.0 if no
114    bindaddr was specified.
115
116 Gtalk:
117  - The default value for 'context' and 'parkinglots' in gtalk.conf has
118    been changed to 'default', previously they were empty.
119
120 chan_dahdi:
121  - The mohinterpret=passthrough setting is deprecated in favor of
122    moh_signaling=notify.
123
124 pbx_lua:
125  - Execution no longer continues after applications that do dialplan jumps
126    (such as app.goto).  Now when an application such as app.goto() is called,
127    control is returned back to the pbx engine and the current extension
128    function stops executing.
129  - the autoservice now defaults to being on by default
130  - autoservice_start() and autoservice_start() no longer return a value.
131
132 Queue:
133  - Mark QUEUE_MEMBER_PENALTY Deprecated it never worked for realtime members
134  - QUEUE_MEMBER is now R/W supporting setting paused, ignorebusy and penalty.
135
136 Asterisk Database:
137  - The internal Asterisk database has been switched from Berkeley DB 1.86 to
138    SQLite 3. An existing Berkeley astdb file can be converted with the astdb2sqlite3
139    utility in the UTILS section of menuselect. If an existing astdb is found and no
140    astdb.sqlite3 exists, astdb2sqlite3 will be compiled automatically. Asterisk will
141    convert an existing astdb to the SQLite3 version automatically at runtime. If
142    moving back from Asterisk 10 to Asterisk 1.8, the astdb2bdb utility can be used
143    to create a Berkeley DB copy of the SQLite3 astdb that Asterisk 10 uses.
144
145 Manager:
146  - The AMI protocol version was incremented to 1.2 as a result of changing two
147    instances of the Unlink event to Bridge events. This change was documented
148    as part of the AMI 1.1 update, but two Unlink events were inadvertently left
149    unchanged.
150
151 Module Support Level
152  - All modules in the addons, apps, bridge, cdr, cel, channels, codecs, 
153    formats, funcs, pbx, and res have been updated to include MODULEINFO data
154    that includes <support_level> tags with a value of core, extended, or deprecated.
155    More information is available on the Asterisk wiki at 
156    https://wiki.asterisk.org/wiki/display/AST/Asterisk+Module+Support+States
157
158    Deprecated modules are now marked to not build by default and must be explicitly
159    enabled in menuselect.
160
161 chan_sip:
162  - Setting of HASH(SIP_CAUSE,<slave-channel-name>) on channels is now disabled
163    by default. It can be enabled using the 'storesipcause' option. This feature
164    has a significant performance penalty.
165
166 UDPTL:
167  - The default UDPTL port range in udptl.conf.sample differed from the defaults
168    in the source. If you didn't have a config file, you got 4500 to 4599. Now the
169    default is 4000 to 4999.
170
171 ===========================================================
172 ===========================================================