UPGRADE-11.txt 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  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. From 11.6 to 11.7:
  23. ConfBridge
  24. - ConfBridge now has the ability to set the language of announcements to the
  25. conference. The language can be set on a bridge profile in confbridge.conf
  26. or by the dialplan function CONFBRIDGE(bridge,language)=en.
  27. chan_sip - Clarify The "sip show peers" Forcerport Column And Add Comedia
  28. - Under the "Forcerport" column, the "N" used to mean NAT (i.e. Yes). With
  29. the additon of auto_* NAT settings, the meaning changed and there was a
  30. certain combination of letters added to indicate the current setting. The
  31. combination of using "Y", "N", "A" or "a", can be confusing. Therefore, we
  32. now display clearly what the current Forcerport setting is: "Yes", "No",
  33. "Auto (Yes)", "Auto (No)".
  34. - Since we are clarifying the Forcerport column, we have added a column to
  35. display the Comedia setting since this is useful information as well. We
  36. no longer have a simple "NAT" setting like other versions before 11.
  37. From 11.5 to 11.6:
  38. * res_agi will now properly indicate if there was an error in streaming an
  39. audio file. The result code will be -1 and the result returned from the
  40. the function will be RESULT_FAILURE instead of the prior behavior of always
  41. returning RESULT_SUCCESS even if there was an error.
  42. From 11.4 to 11.5:
  43. * The default settings for chan_sip are now overriden properly by the general
  44. settings in sip.conf. Please look over your settings upon upgrading.
  45. From 11.3 to 11.4:
  46. * Added the 'n' option to MeetMe to prevent application of the DENOISE function
  47. to a channel joining a conference. Some channel drivers that vary the number
  48. of audio samples in a voice frame will experience significant quality problems
  49. if a denoiser is attached to the channel; this option gives them the ability
  50. to remove the denoiser without having to unload func_speex.
  51. * The Registry AMI event for SIP registrations will now always include the
  52. Username field. A previous bug fix missed an instance where it was not
  53. included; that has been corrected in this release.
  54. From 11.2.0 to 11.2.1:
  55. * Asterisk would previously not output certain error messages when a remote
  56. console attempted to connect to Asterisk and no instance of Asterisk was
  57. running. This error message is displayed on stderr; as a result, some
  58. initialization scripts that used remote consoles to test for the presence
  59. of a running Asterisk instance started to display erroneous error messages.
  60. The init.d scripts and the safe_asterisk have been updated in the contrib
  61. folder to account for this.
  62. From 11.2 to 11.3:
  63. * Now by default, when Asterisk is installed in a path other than /usr, the
  64. Asterisk binary will search for shared libraries in ${libdir} in addition to
  65. searching system libraries. This allows Asterisk to find its shared
  66. libraries without having to specify LD_LIBRARY_PATH. This can be disabled by
  67. passing --disable-rpath to configure.
  68. From 10 to 11:
  69. Voicemail:
  70. - All voicemails now have a "msg_id" which uniquely identifies a message. For
  71. users of filesystem and IMAP storage of voicemail, this should be transparent.
  72. For users of ODBC, you will need to add a "msg_id" column to your voice mail
  73. messages table. This should be a string capable of holding at least 32 characters.
  74. All messages created in old Asterisk installations will have a msg_id added to
  75. them when required. This operation should be transparent as well.
  76. Parking:
  77. - The comebacktoorigin setting must now be set per parking lot. The setting in
  78. the general section will not be applied automatically to each parking lot.
  79. - The BLINDTRANSFER channel variable is deleted from a channel when it is
  80. bridged to prevent subtle bugs in the parking feature. The channel
  81. variable is used by Asterisk internally for the Park application to work
  82. properly. If you were using it for your own purposes, copy it to your
  83. own channel variable before the channel is bridged.
  84. res_ais:
  85. - Users of res_ais in versions of Asterisk prior to Asterisk 11 must change
  86. to use the res_corosync module, instead. OpenAIS is deprecated, but
  87. Corosync is still actively developed and maintained. Corosync came out of
  88. the OpenAIS project.
  89. Dialplan Functions:
  90. - MAILBOX_EXISTS has been deprecated. Use VM_INFO with the 'exists' parameter
  91. instead.
  92. - Macro has been deprecated in favor of GoSub. For redirecting and connected
  93. line purposes use the following variables instead of their macro equivalents:
  94. REDIRECTING_SEND_SUB, REDIRECTING_SEND_SUB_ARGS,
  95. CONNECTED_LINE_SEND_SUB, CONNECTED_LINE_SEND_SUB_ARGS.
  96. - The REDIRECTING function now supports the redirecting original party id
  97. and reason.
  98. - The HANGUPCAUSE and HANGUPCAUSE_KEYS functions have been introduced to
  99. provide a replacement for the SIP_CAUSE hash. The HangupCauseClear
  100. application has also been introduced to remove this data from the channel
  101. when necessary.
  102. func_enum:
  103. - ENUM query functions now return a count of -1 on lookup error to
  104. differentiate between a failed query and a successful query with 0 results
  105. matching the specified type.
  106. CDR:
  107. - cdr_adaptive_odbc now supports specifying a schema so that Asterisk can
  108. connect to databases that use schemas.
  109. Configuration Files:
  110. - Files listed below have been updated to be more consistent with how Asterisk
  111. parses configuration files. This makes configuration files more consistent
  112. with what is expected across modules.
  113. - cdr.conf: [general] and [csv] sections
  114. - dnsmgr.conf
  115. - dsp.conf
  116. - The 'verbose' setting in logger.conf now takes an optional argument,
  117. specifying the verbosity level for each logging destination. The default,
  118. if not otherwise specified, is a verbosity of 3.
  119. AMI:
  120. - DBDelTree now correctly returns an error when 0 rows are deleted just as
  121. the DBDel action does.
  122. - The IAX2 PeerStatus event now sends a 'Port' header. In Asterisk 10, this was
  123. erroneously being sent as a 'Post' header.
  124. CCSS:
  125. - Macro is deprecated. Use cc_callback_sub instead of cc_callback_macro
  126. in channel configurations.
  127. app_meetme:
  128. - The 'c' option (announce user count) will now work even if the 'q' (quiet)
  129. option is enabled.
  130. app_followme:
  131. - Answered outgoing calls no longer get cut off when the next step is started.
  132. You now have until the last step times out to decide if you want to accept
  133. the call or not before being disconnected.
  134. chan_gtalk:
  135. - chan_gtalk has been deprecated in favor of the chan_motif channel driver. It is recommended
  136. that users switch to using it as it is a core supported module.
  137. chan_jingle:
  138. - chan_jingle has been deprecated in favor of the chan_motif channel driver. It is recommended
  139. that users switch to using it as it is a core supported module.
  140. SIP
  141. ===
  142. - A new option "tonezone" for setting default tonezone for the channel driver
  143. or individual devices
  144. - A new manager event, "SessionTimeout" has been added and is triggered when
  145. a call is terminated due to RTP stream inactivity or SIP session timer
  146. expiration.
  147. - SIP_CAUSE is now deprecated. It has been modified to use the same
  148. mechanism as the HANGUPCAUSE function. Behavior should not change, but
  149. performance should be vastly improved. The HANGUPCAUSE function should now
  150. be used instead of SIP_CAUSE. Because of this, the storesipcause option in
  151. sip.conf is also deprecated.
  152. - The sip paramater for Originating Line Information (oli, isup-oli, and
  153. ss7-oli) is now parsed out of the From header and copied into the channel's
  154. ANI2 information field. This is readable from the CALLERID(ani2) dialplan
  155. function.
  156. - ICE support has been added and is enabled by default. Some endpoints may have
  157. problems with the ICE candidates within the SDP. If this is the case ICE support
  158. can be disabled globally or on a per-endpoint basis using the icesupport
  159. configuration option. Symptoms of this include one way media or no media flow.
  160. chan_unistim
  161. - Due to massive update in chan_unistim phone keys functions and on-screen
  162. information changed.
  163. users.conf:
  164. - A defined user with hasvoicemail=yes now finally uses a Gosub to stdexten
  165. as documented in extensions.conf.sample since v1.6.0 instead of a Macro as
  166. documented in v1.4. Set the asterisk.conf stdexten=macro parameter to
  167. invoke the stdexten the old way.
  168. res_jabber
  169. - This module has been deprecated in favor of the res_xmpp module. The res_xmpp
  170. module is backwards compatible with the res_jabber configuration file, dialplan
  171. functions, and AMI actions. The old CLI commands can also be made available using
  172. the res_clialiases template for Asterisk 11.
  173. From 1.8 to 10:
  174. cel_pgsql:
  175. - This module now expects an 'extra' column in the database for data added
  176. using the CELGenUserEvent() application.
  177. ConfBridge
  178. - ConfBridge's dialplan arguments have changed and are not
  179. backwards compatible.
  180. File Interpreters
  181. - The format interpreter formats/format_sln16.c for the file extension
  182. '.sln16' has been removed. The '.sln16' file interpreter now exists
  183. in the formats/format_sln.c module along with new support for sln12,
  184. sln24, sln32, sln44, sln48, sln96, and sln192 file extensions.
  185. HTTP:
  186. - A bindaddr must be specified in order for the HTTP server
  187. to run. Previous versions would default to 0.0.0.0 if no
  188. bindaddr was specified.
  189. Gtalk:
  190. - The default value for 'context' and 'parkinglots' in gtalk.conf has
  191. been changed to 'default', previously they were empty.
  192. chan_dahdi:
  193. - The mohinterpret=passthrough setting is deprecated in favor of
  194. moh_signaling=notify.
  195. pbx_lua:
  196. - Execution no longer continues after applications that do dialplan jumps
  197. (such as app.goto). Now when an application such as app.goto() is called,
  198. control is returned back to the pbx engine and the current extension
  199. function stops executing.
  200. - the autoservice now defaults to being on by default
  201. - autoservice_start() and autoservice_start() no longer return a value.
  202. Queue:
  203. - Mark QUEUE_MEMBER_PENALTY Deprecated it never worked for realtime members
  204. - QUEUE_MEMBER is now R/W supporting setting paused, ignorebusy and penalty.
  205. Asterisk Database:
  206. - The internal Asterisk database has been switched from Berkeley DB 1.86 to
  207. SQLite 3. An existing Berkeley astdb file can be converted with the astdb2sqlite3
  208. utility in the UTILS section of menuselect. If an existing astdb is found and no
  209. astdb.sqlite3 exists, astdb2sqlite3 will be compiled automatically. Asterisk will
  210. convert an existing astdb to the SQLite3 version automatically at runtime. If
  211. moving back from Asterisk 10 to Asterisk 1.8, the astdb2bdb utility can be used
  212. to create a Berkeley DB copy of the SQLite3 astdb that Asterisk 10 uses.
  213. Manager:
  214. - The AMI protocol version was incremented to 1.2 as a result of changing two
  215. instances of the Unlink event to Bridge events. This change was documented
  216. as part of the AMI 1.1 update, but two Unlink events were inadvertently left
  217. unchanged.
  218. Module Support Level
  219. - All modules in the addons, apps, bridge, cdr, cel, channels, codecs,
  220. formats, funcs, pbx, and res have been updated to include MODULEINFO data
  221. that includes <support_level> tags with a value of core, extended, or deprecated.
  222. More information is available on the Asterisk wiki at
  223. https://wiki.asterisk.org/wiki/display/AST/Asterisk+Module+Support+States
  224. Deprecated modules are now marked to not build by default and must be explicitly
  225. enabled in menuselect.
  226. chan_sip:
  227. - Setting of HASH(SIP_CAUSE,<slave-channel-name>) on channels is now disabled
  228. by default. It can be enabled using the 'storesipcause' option. This feature
  229. has a significant performance penalty.
  230. UDPTL:
  231. - The default UDPTL port range in udptl.conf.sample differed from the defaults
  232. in the source. If you didn't have a config file, you got 4500 to 4599. Now the
  233. default is 4000 to 4999.
  234. ===========================================================
  235. ===========================================================