600a1d42f3d428a921f18a590c78854c9d962599
[asterisk/asterisk.git] / UPGRADE.txt
1 Information for Upgrading From Previous Asterisk Releases
2 =========================================================
3
4 PBX Core:
5
6 * The (very old and undocumented) ability to use BYEXTENSION for dialing
7   instead of ${EXTEN} has been removed.
8
9 Command Line Interface:
10
11 * 'show channels concise', designed to be used by applications that will parse
12   its output, previously used ':' characters to separate fields. However, some
13   of those fields can easily contain that character, making the output not
14   parseable. The delimiter has been changed to '!'.
15
16 Applications:
17
18 * In previous Asterisk releases, many applications would jump to priority n+101
19   to indicate some kind of status or error condition.  This functionality was
20   marked deprecated in Asterisk 1.2.  An option to disable it was provided with
21   the default value set to 'on'.  The default value for the global priority
22   jumping option is now 'off'.
23
24 * The applications Cut, Sort, DBGet, DBPut, SetCIDNum, SetCIDName, SetRDNIS,
25   AbsoluteTimeout, DigitTimeout, ResponseTimeout, SetLanguage, GetGroupCount,
26   and GetGroupMatchCount were all deprecated in version 1.2, and therefore have
27   been removed in this version.  You should use the equivalent dialplan
28   function in places where you have previously used one of these applications.
29
30 * The application SetVar has been renamed to Set.  The syntax SetVar was marked
31   deprecated in version 1.2 and is no longer recognized in this version.
32
33 * app_read has been updated to use the newer options codes, using "skip" or
34   "noanswer" will not work.  Use s or n.  Also there is a new feature i, for
35   using indication tones, so typing in skip would give you unexpected results.
36
37 * OSPAuth is added to authenticate OSP tokens in in_bound call setup messages.
38
39 Variables:
40
41 * The builtin variables ${CALLERID}, ${CALLERIDNAME}, ${CALLERIDNUM},
42   ${CALLERANI}, ${DNID}, ${RDNIS}, ${DATETIME}, ${TIMESTAMP}, ${ACCOUNTCODE},
43   and ${LANGUAGE} have all been deprecated in favor of their related dialplan
44   functions.  You are encouraged to move towards the associated dialplan
45   function, as these variables will be removed in a future release.
46
47 * The CDR-CSV variables uniqueid, userfield, and basing time on GMT are now 
48   adjustable from cdr.conf, instead of recompiling.
49
50 * OSP applications exports several new variables, ${OSPINHANDLE},
51   ${OSPOUTHANDLE}, ${OSPINTOKEN}, ${OSPOUTTOKEN}, ${OSPCALLING},
52   ${OSPINTIMELIMIT}, and ${OSPOUTTIMELIMIT}
53
54 Functions:
55
56 * The function ${CHECK_MD5()} has been deprecated in favor of using an
57   expression: $[${MD5(<string>)} = ${saved_md5}].
58
59 * The 'builtin' functions that used to be combined in pbx_functions.so are
60   now built as separate modules. If you are not using 'autoload=yes' in your
61   modules.conf file then you will need to explicitly load the modules that
62   contain the functions you want to use.
63
64 * The ENUMLOOKUP() function with the 'c' option (for counting the number of records),
65   but the lookup fails to match any records, the returned value will now be "0" instead of blank.
66
67 The IAX2 channel:
68
69 * The "mailboxdetail" option has been deprecated.  Previously, if this option
70   was not enabled, the 2 byte MSGCOUNT information element would be set to all
71   1's to indicate there there is some number of messages waiting.  With this
72   option enabled, the number of new messages were placed in one byte and the
73   number of old messages are placed in the other.  This is now the default
74   (and the only) behavior.
75
76 The SIP channel:
77
78 * The "incominglimit" setting is replaced by the "call-limit" setting in sip.conf.
79
80 * OSP support code is removed from SIP channel to OSP applications. ospauth 
81   option in sip.conf is removed to osp.conf as authpolicy. allowguest option
82   in sip.conf cannot be set as osp anymore. 
83
84 Installation:
85
86 * On BSD systems, the installation directories have changed to more "FreeBSDish" directories. On startup, Asterisk will look for the main configuration in /usr/local/etc/asterisk/asterisk.conf
87 If you have an old installation, you might want to remove the binaries and move the configuration files to the new locations. The following directories are now default:
88         ASTLIBDIR       /usr/local/lib/asterisk
89         ASTVARLIBDIR    /usr/local/share/asterisk
90         ASTETCDIR       /usr/local/etc/asterisk
91         ASTBINDIR       /usr/local/bin/asterisk
92         ASTSBINDIR      /usr/local/sbin/asterisk
93
94 Sounds:
95
96 * The phonetic sounds directory has been removed from the asterisk-sounds package
97   because they are now included directly in Asterisk.  However, it is important to
98   note that the phonetic sounds that existed in asterisk-sounds used a different
99   naming convention than the sounds in Asterisk.  For example, instead of alpha.gsm
100   and bravo.gsm, Asterisk has a_p.gsm and b_p.gsm.