move relevant entries into UPGRADE.txt and resync UPGRADE-1.6.txt with previous branches
[asterisk/asterisk.git] / UPGRADE.txt
1 ===========================================================
2 === Information for upgrading between Asterisk 1.6 versions
3 ===
4 ===
5 === UPGRADE-1.2.txt -- Upgrade info for 1.0 to 1.2
6 === UPGRADE-1.4.txt -- Upgrade info for 1.2 to 1.4
7 === UPGRADE-1.6.txt -- Upgrade info for 1.4 to 1.6
8 ===========================================================
9
10 From 1.6.0.1 to 1.6.1:
11
12 * The ast_agi_register_multiple() and ast_agi_unregister_multiple()
13   API calls were added in 1.6.0, so that modules that provide multiple
14   AGI commands could register/unregister them all with a single
15   step. However, these API calls were not implemented properly, and did
16   not allow the caller to know whether registration or unregistration
17   succeeded or failed. They have been redefined to now return success
18   or failure, but this means any code using these functions will need
19   be recompiled after upgrading to a version of Asterisk containing
20   these changes. In addition, the source code using these functions
21   should be reviewed to ensure it can properly react to failure
22   of registration or unregistration of its API commands.
23
24 * The ast_agi_fdprintf() API call has been renamed to ast_agi_send()
25   to better match what it really does, and the argument order has been
26   changed to be consistent with other API calls that perform similar
27   operations.
28
29 From 1.6.0.x to 1.6.1:
30
31 * The following core commands dealing with dialplan have been deprecated: 'core
32   show globals', 'core set global' and 'core set chanvar'. Use the equivalent
33   'dialplan show globals', 'dialplan set global' and 'dialplan set chanvar'
34   instead.
35
36 * In the dialplan expression parser, the logical value of spaces
37   immediately preceding a standalone 0 previously evaluated to
38   true. It now evaluates to false.  This has confused a good many
39   people in the past (typically because they failed to realize the
40   space had any significance).  Since this violates the Principle of
41   Least Surprise, it has been changed.
42
43 * While app_directory has always relied on having a voicemail.conf or users.conf file
44   correctly set up, it now is dependent on app_voicemail being compiled as well.
45
46 * SIP: All of the functionality in SIPCHANINFO() has been implemented in CHANNEL(),
47   and you should start using that function instead for retrieving information about
48   the channel in a technology-agnostic way.
49
50 * If you have any third party modules which use a config file variable whose
51   name ends in a '+', please note that the append capability added to this
52   version may now conflict with that variable naming scheme.  An easy
53   workaround is to ensure that a space occurs between the '+' and the '=',
54   to differentiate your variable from the append operator.  This potential
55   conflict is unlikely, but is documented here to be thorough.
56
57 From 1.6.1 to 1.6.2:
58
59 * The default console now will use colors according to the default background
60   color, instead of forcing the background color to black.  If you are using a
61   light colored background for your console, you may wish to use the option
62   flag '-W' to present better color choices for the various messages.  However,
63   if you'd prefer the old method of forcing colors to white text on a black
64   background, the compatibility option -B is provided for this purpose.
65
66 * SendImage() no longer hangs up the channel on transmission error or on
67   any other error; in those cases, a FAILURE status is stored in
68   SENDIMAGESTATUS and dialplan execution continues.  The possible
69   return values stored in SENDIMAGESTATUS are: SUCCESS, FAILURE, and
70   UNSUPPORTED. ('OK' has been replaced with 'SUCCESS', and 'NOSUPPORT'
71   has been replaced with 'UNSUPPORTED').  This change makes the
72   SendImage application more consistent with other applications.
73
74 * skinny.conf now has seperate sections for lines and devices.
75   Please have a look at configs/skinny.conf.sample and update
76   your skinny.conf.
77
78 * Queue names previously were treated in a case-sensitive manner,
79   meaning that queues with names like "sales" and "sALeS" would be
80   seen as unique queues. The parsing logic has changed to use
81   case-insensitive comparisons now when originally hashing based on
82   queue names, meaning that now the two queues mentioned as examples
83   earlier will be seen as having the same name.