- Make res_timing_pthread allow a max rate of 100/sec instead of 50/sec
[asterisk-bristuff.git] / CHANGES
blob8843e13f678de443fd536b913240cef3cdab5a29
1 ------------------------------------------------------------------------------
2 --- Functionality changes from Asterisk 1.6.0 to Asterisk 1.6.1  -------------
3 ------------------------------------------------------------------------------
5 Device State Handling
6 ---------------------
7  * The event infrastructure in Asterisk got another big update to help support
8     distributed events.  It currently supports distributed device state and
9     distributed Voicemail MWI (Message Waiting Indication).  A new module has
10     been merged, res_ais, which facilitates communicating events between servers.
11     It uses the SAForum AIS (Service Availability Forum Application Interface
12     Specification) CLM (Cluster Management) and EVT (Event) services to maintain
13     a cluster of Asterisk servers, and to share events between them.  For more
14     information on setting this up, see doc/distributed_devstate.txt.
16 Dialplan Functions
17 ------------------
18  * Added a new dialplan function, AST_CONFIG(), which allows you to access
19    variables from an Asterisk configuration file.
20  * The JACK_HOOK function now has a c() option to supply a custom client name.
21  * Added two new dialplan functions from libspeex for audio gain control and 
22    denoise, AGC() and DENOISE(). Both functions can be applied to the tx and 
23    rx directions of a channel from the dialplan.
24  * The SMDI_MSG_RETRIEVE function now has the ability to search for SMDI messages
25    based on other parameters.  The default is still to search based on the
26    forwarding station ID.  However, there are new options that allow you to search
27    based on the message desk terminal ID, or the message desk number.
28  * TIMEOUT() has been modified to be accurate down to the millisecond.
29  * ENUM*() functions now include the following new options:
30      - 'u' returns the full URI and does not strip off the URI-scheme.
31      - 's' triggers ISN specific rewriting
32      - 'i' looks for branches into an Infrastructure ENUM tree
33      - 'd' for a direct DNS lookup without any flipping of digits.
34  * TXCIDNAME() has a new zone-suffix parameter (which defaults to 'e164.arpa')
35  * CHANNEL() now has options for the maximum, minimum, and standard or normal
36    deviation of jitter, rtt, and loss for a call using chan_sip.
38 Zaptel channel driver (chan_zap) Changes
39 ----------------------------------------
40  * Channels can now be configured using named sections in zapata.conf, just
41    like other channel drivers, including the use of templates.
42  * The default for pridialplan has changed from 'national' to 'unknown'.
44 PBX Changes
45 -----------
46  * It is now possible to specify a pattern match as a hint. Once a phone subscribes
47    to something that matches the pattern a hint will be created using the contents
48    and variables evaluated.
49  * Dialplan matching has been extended to allow an extension to return to the
50    PBX core to wait for more digits.  This is done by using the new dialplan
51    application called "Incomplete".  This will permit a whole new level of
52    extension control, by giving the administrator more control over early
53    matches employing one of the short-circuit pattern match operators.  Note
54    that custom applications can trigger this same behavior by returning the
55    special value AST_PBX_INCOMPLETE.
57 Application Changes
58 -------------------
59  * Directory now permits both first and last names to be matched at the same
60    time.  In addition, the number of digits to enter of the name can be set in
61    the arguments to Directory; previously, you could enter only 3, regardless
62    of how many names are in your company.  For large companies, this should be
63    quite helpful.
64  * Voicemail now permits a mailbox setting to wrap around from first to last
65    messages, if the "messagewrap" option is set to a true value.
66  * Voicemail now permits an external script to be run, for password validation.
67    The script should output "VALID" or "INVALID" on stdout, depending upon the
68    wish to validate or invalidate the password given.  Arguments are:
69    "mailbox" "context" "oldpass" "newpass".  See the sample voicemail.conf for
70    more details
71  * Dial has a new option: F(context^extension^pri), which permits a callee to
72    continue in the dialplan, at the specified label, if the caller hangs up.
73  * ChanSpy and ExtenSpy have a new option, 's' which suppresses speaking the
74    technology name (e.g. SIP, IAX, etc) of the channel being spied on.
75  * The Jack application now has a c() option to supply a custom client name.
76  * Chanspy has a new option, 'B', which can be used to "barge" on a call. This is
77    like the pre-existing whisper mode, except that the spy can also talk to the
78    participant on the bridged channel as well.
79  * Chanspy has a new option, 'n', which will allow for the spied-on party's name
80    to be spoken instead of the channel name or number. For more information on the
81    use of this option, issue the command "core show application ChanSpy" from the 
82    Asterisk CLI.
83  * Chanspy has a new option, 'd', which allows the spy to use DTMF to swap between
84    spy modes. Use of this feature overrides the typical use of numeric DTMF. In other
85    words, if using the 'd' option, it is not possible to enter a number to append to
86    the first argument to Chanspy(). Pressing 4 will change to spy mode, pressing 5 will
87    change to whisper mode, and pressing 6 will change to barge mode.
88  * ExternalIVR now takes several options that affect the way it performs, as
89    well as having several new commands.  Please see doc/externalivr.txt for the
90    complete documentation.
91  * ChanIsAvail has a new option, 'a', which will return all available channels instead
92    of just the first one if you give the function more then one channel to check.
93  * PrivacyManager now takes an option where you can specify a context where the 
94    given number will be matched. This way you have more control over who is allowed
95    and it stops the people who blindly enter 10 digits.
96  * ForkCDR has new options: 'a' updates the answer time on the new CDR; 'A' locks
97    answer times, disposition, on orig CDR against updates; 'D' Copies the disposition
98    from the orig CDR to the new CDR after reset; 'e' sets the 'end' time on the
99    original CDR; 'R' prevents the new CDR from being reset; 's(var=val)' adds/changes
100    the 'var' variable on the original CDR; 'T' forces ast_cdr_end(), ast_cdr_answer(),
101    obey the LOCKED flag on cdr's in the chain, and also the ast_cdr_setvar() func.
103 SIP Changes
104 -----------
105  * The ATTENDED_TRANSFER_COMPLETE_SOUND can now be set using setvar to cause a given
106    audio file to be played upon completion of an attended transfer.
107  * Added DNS manager support to registrations for peers referencing peer entries.
108    DNS manager runs in the background which allows DNS lookups to be run asynchronously 
109    as well as periodically updating the IP address. These properties allow for
110    better performance as well as recovery in the event of an IP change.
111  * Performance improvements via using hash tables (astobj2) and doubly-linked lists to improve 
112    load/reload of large numbers of peers/users by ~40x (for large lists of peers.
113    Initially, we saw 4x improvement in call setup/destruction, but at the time
114    of merging, this gain has disappeared; further research will be done to try
115    and restore this performance improvement. Astobj2 refcounting is now used
116    for users, peers, and dialogs.  Users are encouraged to assist in regression
117    testing and problem reporting!
118  * Added ability to specify registration expiry time on a per registration basis in
119    the register line.
120  * Added support for T140 RED - redundancy in T.140 to prevent text loss due to
121    lost packets.
122  * Added t38pt_usertpsource option. See sip.conf.sample for details.
123  * Added SIPnotify AMI command, for sending arbitrary SIP notify commands.
124  * 'sip show peers' and 'sip show users' display their entries sorted in
125     alphabetical order, as opposed to the order they were in, in the config 
126     file or database. 
128 IAX Changes
129 -----------
130  * Existing DNS manager lookups extended to check for SRV records.
132 CLI Changes
133 -----------
134   * New CLI command, "config reload <file.conf>" which reloads any module that
135      references that particular configuration file.  Also added "config list"
136      which shows which configuration files are in use.
137   * New CLI commands, "pri show version" and "ss7 show version" that will
138      display which version of libpri and libss7 are being used, respectively.
139      A new API call was added so trunk will now have to be compiled against
140      a versions of libpri and libss7 that have them or it will not know that
141      these libraries exist.
143 DNS manager changes
144 -------------------
145   * Addresses managed by DNS manager now can check to see if there is a DNS
146     SRV record for a given domain and will use that hostname/port if present.
148 AMI - The manager (TCP/TLS/HTTP)
149 --------------------------------
150   * The Status command now takes an optional list of variables to display
151     along with channel status.
153 ODBC Changes
154 ------------
155   * res_odbc no longer has a limit of 1023 total possible unshared connections,
156     as some people were running into this limit.  This limit has been increased
157     to 4.2 billion.
159 ------------------------------------------------------------------------------
160 --- Functionality changes from Asterisk 1.4.X to Asterisk 1.6.0  -------------
161 ------------------------------------------------------------------------------
163 AMI - The manager (TCP/TLS/HTTP)
164 --------------------------------
165   * Manager has undergone a lot of changes, all of them documented
166     in doc/manager_1_1.txt
167   * Manager version has changed to 1.1
168   * Added a new action 'CoreShowChannels' to list currently defined channels
169      and some information about them. 
170   * Added a new action 'SIPshowregistry' to list SIP registrations.
171   * Added TLS support for the manager interface and HTTP server
172   * Added the URI redirect option for the built-in HTTP server
173   * The output of CallerID in Manager events is now more consistent.
174      CallerIDNum is used for number and CallerIDName for name.
175   * Enable https support for builtin web server.
176      See configs/http.conf.sample for details.
177   * Added a new action, GetConfigJSON, which can return the contents of an
178      Asterisk configuration file in JSON format.  This is intended to help
179      improve the performance of AJAX applications using the manager interface
180      over HTTP.
181   * SIP and IAX manager events now use "ChannelType" in all cases where we 
182      indicate channel driver. Previously, we used a mixture of "Channel"
183      and "ChannelDriver" headers.
184   * Added a "Bridge" action which allows you to bridge any two channels that
185      are currently active on the system.
186   * Added a "ListAllVoicemailUsers" action that allows you to get a list of all
187      the voicemail users setup.
188   * Added 'DBDel' and 'DBDelTree' manager commands.
189   * cdr_manager now reports events via the "cdr" level, separating it from
190      the very verbose "call" level.
191   * Manager users are now stored in memory. If you change the manager account
192     list (delete or add accounts) you need to reload manager.
193   * Added Masquerade manager event for when a masquerade happens between
194      two channels.
195   * Added "manager reload" command for the CLI
196   * Lots of commands that only provided information are now allowed under the
197      Reporting privilege, instead of only under Call or System.
198   * The IAX* commands now require either System or Reporting privilege, to
199      mirror the privileges of the SIP* commands.
200   * Added ability to retrieve list of categories in a config file.
201   * Added ability to retrieve the content of a particular category.
202   * Added ability to empty a context.
203   * Created new action to create a new file.
204   * Updated delete action to allow deletion by line number with respect to category.
205   * Added new action insert to add new variable to category at specified line.
206   * Updated action newcat to allow new category to be inserted in file above another
207     existing category.
208   * Added new event "JitterBufStats" in the IAX2 channel
209   * Originate now requires the Originate privilege and, if you want to call out
210     to a subshell, it requires the System privilege, as well.  This was done to
211     enhance manager security.
212   * Originate now accepts codec settings with "Codecs: alaw, ulaw, h264" 
213   * New command: Atxfer. See doc/manager_1_1.txt for more details or 
214     manager show command Atxfer from the CLI
216 Dialplan functions
217 ------------------
218   * Added the DEVICE_STATE() dialplan function which allows retrieving any device
219      state in the dialplan, as well as creating custom device states that are
220      controllable from the dialplan.
221   * Extend CALLERID() function with "pres" and "ton" parameters to
222      fetch string representation of calling number presentation indicator
223      and numeric representation of type of calling number value.
224   * MailboxExists converted to dialplan function
225   * A new option to Dial() for telling IP phones not to count the call
226      as "missed" when dial times out and cancels.
227   * Added LOCK(), TRYLOCK(), and UNLOCK(), which provide a single level dialplan
228      mutex.  No deadlocks are possible, as LOCK() only allows a single lock to be
229      held for any given channel.  Also, locks are automatically freed when a
230      channel is hung up.
231   * Added HINT() dialplan function that allows retrieving hint information.
232      Hints are mappings between extensions and devices for the sake of 
233      determining the state of an extension.  This function can retrieve the list
234      of devices or the name associated with a hint.
235   * Added EXTENSION_STATE() dialplan function which allows retrieving the state
236     of any extension.
237   * Added SYSINFO() dialplan function which allows retrieval of system information
238   * Added a new dialplan function, DIALPLAN_EXISTS(), which allows you to check for
239      the existence of a dialplan target.
240   * Added two new dialplan functions, TOUPPER and TOLOWER, which convert a string to
241      upper and lower case, respectively.
242   * When bridging, Asterisk sets the BRIDGEPVTCALLID to the channel drivers unique
243      ID for the call (not the Asterisk call ID or unique ID), provided that the
244      channel driver supports this. For SIP, you get the SIP call-ID for the
245      bridged channel which you can store in the CDR with a custom field.
247 CLI Changes
248 -----------
249   * New CLI command "core show hint" (usage: core show hint <exten>)
250   * New CLI command "core show settings"
251   * Added 'core show channels count' CLI command.
252   * Added the ability to set the core debug and verbose values on a per-file basis.
253   * Added 'queue pause member' and 'queue unpause member' CLI commands
254   * Ability to set process limits ("ulimit") without restarting Asterisk
255   * Enhanced "agi debug" to print the channel name as a prefix to the debug
256      output to make debugging on busy systems much easier.
257   * New CLI commands "dialplan set extenpatternmatching true/false"
258   * New CLI command: "core set chanvar" to set a channel variable from the CLI.
259   * Added an easy way to execute Asterisk CLI commands at startup.  Any commands
260     listed in the startup_commands section of cli.conf will get executed.
261   * Added a CLI command, "devstate change", which allows you to set custom device
262      states from the func_devstate module that provides the DEVICE_STATE() function
263      and handling of the "Custom:" devices.
264   * New CLI command: "sip show sched" which shows all ast_sched entries for sip,
265     sorted into the different possible callbacks, with the number of entries
266     currently scheduled for each. Gives you a feel for how busy the sip channel
267     driver is.
269 SIP changes
270 -----------
271   * Improved NAT and STUN support.
272      chan_sip now can use port numbers in bindaddr, externip and externhost
273      options, as well as contact a STUN server to detect its external address
274      for the SIP socket. See sip.conf.sample, 'NAT' section.
275   * The default SIP useragent= identifier now includes the Asterisk version
276   * A new option, match_auth_username in sip.conf changes the matching of incoming requests.
277      If set, and the incoming request carries authentication info,
278      the username to match in the users list is taken from the Digest header
279      rather than from the From: field. This feature is considered experimental.
280   * The "musiconhold" and "musicclass" settings in sip.conf are now removed,
281      since they where replaced by "mohsuggest" and "mohinterpret" in version 1.4
282   * The "localmask" setting was removed in version 1.2 and the reminder about it
283      being removed is now also removed.
284   * A new option "busylevel" for setting a level of calls where asterisk reports
285      a device as busy, to separate it from call-limit. This value is also added
286      to the SIP_PEER dialplan function.
287   * A new realtime family called "sipregs" is now supported to store SIP registration
288      data. If this family is defined, "sippeers" will be used for configuration and
289      "sipregs" for registrations. If it's not defined, "sippeers" will be used for
290      registration data, as before.
291   * The SIPPEER function have new options for port address, call and pickup groups
292   * Added support for T.140 realtime text in SIP/RTP
293   * The "checkmwi" option has been removed from sip.conf, as it is no longer
294      required due to the restructuring of how MWI is handled.  See the descriptions 
295      in this file of the "pollmailboxes" and "pollfreq" options to voicemail.conf 
296      for more information.
297   * Added rtpdest option to CHANNEL() dialplan function.
298   * Added SIPREFERRINGCONTEXT and SIPREFERREDBYHDR variables which are set when a transfer takes place.
299   * SIP now adds a header to the CANCEL if the call was answered by another phone
300      in the same dial command, or if the new c option in dial() is used.
301   * The new default is that 100 Trying is not sent on REGISTER attempts as the RFC specifically
302      states it is not needed. For phones, however, that do require it the "registertrying" option
303      has been added so it can be enabled. 
304   * A new option called "callcounter" (global/peer/user level) enables call counters needed
305      for better status reports needed for queues and SIP subscriptions. (Call-Limit was previously
306      used to enable this functionality).
307   * New settings for timer T1 and timer B on a global level or per device. This makes it 
308      possible to force timeout faster on non-responsive SIP servers. These settings are
309      considered advanced, so don't use them unless you have a problem.
310   * Added a dial string option to be able to set the To: header in an INVITE to any
311      SIP uri.
312   * Added a new global and per-peer option, qualifyfreq, which allows you to configure
313      the qualify frequency.
314   * Added SIP Session Timers support (RFC 4028).  This prevents stuck SIP sessions that
315      were not properly torn down due to network or endpoint failures during an established
316      SIP session.
317   * Added experimental TCP and TLS support for SIP.  See doc/siptls.txt and 
318      configs/sip.conf.sample for more information on how it is used.
319   * Added a new configuration option "authfailureevents" that enables manager events when
320     a peer can't authenticate properly. 
321   * Added DNS manager support to registrations for peers not referencing a peer entry.
323 IAX2 changes
324 ------------
325   * Added the trunkmaxsize configuration option to chan_iax2.
326   * Added the srvlookup option to iax.conf
327   * Added support for OSP.  The token is set and retrieved through the CHANNEL()
328      dialplan function.
330 XMPP Google Talk/Jingle changes
331 -------------------------------
332   * Added the bindaddr option to gtalk.conf.
334 Skinny changes
335 -------------
336   * Added skinny show device, skinny show line, and skinny show settings CLI commands.
337   * Proper codec support in chan_skinny.
338   * Added settings for IP and Ethernet QoS requests
340 MGCP changes
341 ------------
342   * Added separate settings for media QoS in mgcp.conf
344 Console Channel Driver changes
345 ------------------------------
346   * Added experimental support for video send & receive to chan_oss.
347     This requires SDL and ffmpeg/avcodec, plus Video4Linux or X11 to act as
348     a video source.
350 Phone channel changes (chan_phone)
351 ----------------------------------
352   * Added G729 passthrough support to chan_phone for Sigma Designs boards.
354 H.323 channel Changes
355 ---------------------
356   * H323 remote hold notification support added (by NOTIFY message
357      and/or H.450 supplementary service)
359 Local channel changes
360 ---------------------
361   * The device state functionality in the Local channel driver has been updated
362      to indicate INUSE or NOT_INUSE when a Local channel is being used as opposed
363      to just UNKNOWN if the extension exists.
364   * Added jitterbuffer support for chan_local.  This allows you to use the
365      generic jitterbuffer on incoming calls going to Asterisk applications.
366      For example, this would allow you to use a jitterbuffer for an incoming
367      SIP call to Voicemail by putting a Local channel in the middle.  This
368      feature is enabled by using the 'j' option in the Dial string to the Local
369      channel in conjunction with the existing 'n' option for local channels.
370   * A 'b' option has been added which causes chan_local to return the actual channel
371      that is behind it when queried. This is useful for transfer scenarios as the
372      actual channel will be transferred, not the Local channel.
374 Zaptel channel driver (chan_zap) Changes
375 ----------------------------------------
376   * SS7 support in chan_zap (via libss7 library)
377   * In India, some carriers transmit CID via dtmf. Some code has been added
378      that will handle some situations. The cidstart=polarity_IN choice has been added for
379      those carriers that transmit CID via dtmf after a polarity change.
380   * CID matching information is now shown when doing 'dialplan show'.
381   * Added zap show version CLI command to chan_zap.
382   * Added setvar support to zapata.conf channel entries.
383   * Added two new options: mwimonitor and mwimonitornotify.  These options allow
384      you to enable MWI monitoring on FXO lines.  When the MWI state changes,
385      the script specified in the mwimonitornotify option is executed.  An internal
386      event indicating the new state of the mailbox is also generated, so that
387      the normal MWI facilities in Asterisk work as usual.
388   * Added signalling type 'auto', which attempts to use the same signalling type
389      for a channel as configured in Zaptel. This is primarily designed for analog
390      ports, but will also work for digital ports that are configured for FXS or FXO
391      signalling types. This mode is also the default now, so if your zapata.conf
392      does not specify signalling for a channel (which is unlikely as the sample
393      configuration file has always recommended specifying it for every channel) then
394      the 'auto' mode will be used for that channel if possible.
395   * Added a 'zap set dnd' command to allow CLI control of the Do-Not-Disturb
396      state for a channel; also ensured that the DNDState Manager event is
397      emitted no matter how the DND state is set or cleared.
399 New Channel Drivers
400 -------------------
401   * Added a new channel driver, chan_unistim.  See doc/unistim.txt and
402      configs/unistim.conf.sample for details.  This new channel driver allows
403      you to use Nortel i2002, i2004, and i2050 phones with Asterisk.
404   * Added a new channel driver, chan_console, which uses portaudio as a cross
405      platform audio interface.  It was written as a channel driver that would
406      work with Mac CoreAudio, but portaudio supports a number of other audio
407      interfaces, as well. Note that this channel driver requires v19 or higher
408      of portaudio; older versions have a different API.
410 DUNDi changes
411 -------------
412   * Added the ability to specify arguments to the Dial application when using
413      the DUNDi switch in the dialplan.
414   * Added the ability to set weights for responses dynamically.  This can be
415      done using a global variable or a dialplan function.  Using the SHELL()
416      function would allow you to have an external script set the weight for
417      each response.
418   * Added two new dialplan functions, DUNDIQUERY and DUNDIRESULT.  These
419      functions will allow you to initiate a DUNDi query from the dialplan,
420      find out how many results there are, and access each one.
422 ENUM changes
423 ------------
424   * Added two new dialplan functions, ENUMQUERY and ENUMRESULT.  These
425      functions will allow you to initiate an ENUM lookup from the dialplan,
426      and Asterisk will cache the results.  ENUMRESULT can be used to access
427      the results without doing multiple DNS queries.
429 Voicemail Changes
430 -----------------
431   * Added the ability to customize which sound files are used for some of the
432      prompts within the Voicemail application by changing them in voicemail.conf
433   * Added the ability for the "voicemail show users" CLI command to show users
434      configured by the dynamic realtime configuration method.
435   * MWI (Message Waiting Indication) handling has been significantly
436      restructured internally to Asterisk.  It is now totally event based
437      instead of polling based.  The voicemail application will notify other
438      modules that have subscribed to MWI events when something in the mailbox
439      changes.
440     This also means that if any other entity outside of Asterisk is changing
441      the contents of mailboxes, then the voicemail application still needs to
442      poll for changes.  Examples of situations that would require this option
443      are web interfaces to voicemail or an email client in the case of using
444      IMAP storage.  So, two new options have been added to voicemail.conf
445      to account for this: "pollmailboxes" and "pollfreq".  See the sample
446      configuration file for details.
447   * Added "tw" language support
448   * Added support for storage of greetings using an IMAP server
449   * Added ability to customize forward, reverse, stop, and pause keys for message playback
450   * SMDI is now enabled in voicemail using the smdienable option.
451   * A "lockmode" option has been added to asterisk.conf to configure the file
452      locking method used for voicemail, and potentially other things in the
453      future.  The default is the old behavior, lockfile.  However, there is a
454      new method, "flock", that uses a different method for situations where the
455      lockfile will not work, such as on SMB/CIFS mounts.
456   * Added the ability to backup deleted messages, to ease recovery in the case
457      that a user accidentally deletes a message, and discovers that they need it.
458   * Reworked the SMDI interface in Asterisk.  The new way to access SMDI information
459      is through the new functions, SMDI_MSG_RETRIEVE() and SMDI_MSG().  The file
460      smdi.conf can now be configured with options to map SMDI station IDs to Asterisk
461      voicemail boxes.  The SMDI interface can also poll for MWI changes when some
462      outside entity is modifying the state of the mailbox (such as IMAP storage or
463      a web interface of some kind).
464   * Added the support for marking messages as "urgent." There are two methods to accomplish
465      this. One is to pass the 'U' option to VoiceMail(). Another way to mark a message as urgent
466      is to specify "review=yes" in voicemail.conf. Doing this will cause allow the user to mark
467      the message as urgent after he has recorded a voicemail by following the voice instructions.
468     When listening to voicemails using VoiceMailMain urgent messages will be presented before other
469      messages
471 Queue changes
472 -------------
473   * Added the general option 'shared_lastcall' so that member's wrapuptime may be
474      used across multiple queues.
475   * Added QUEUE_VARIABLES function to set queue variables added setqueuevar and 
476      setqueueentryvar options for each queue, see queues.conf.sample for details.
477   * Added keepstats option to queues.conf which will keep queue
478      statistics during a reload.
479   * setinterfacevar option in queues.conf also now sets a variable
480      called MEMBERNAME which contains the member's name.
481   * Added 'Strategy' field to manager event QueueParams which represents
482      the queue strategy in use. 
483   * Added option to run macro when a queue member is connected to a caller, 
484      see queues.conf.sample for details.
485   * app_queue now has a 'loose' option which is almost exactly like 'strict' except it
486      does not count paused queue members as unavailable.
487   * Added min-announce-frequency option to queues.conf which allows you to control the
488      minimum amount of time between queue announcements for use when the caller's queue
489      position changes frequently.
490   * Added additional information to EXITWITHTIMEOUT and EXITWITHKEY events in the
491      queue log.
492   * Added ability for non-realtime queues to have realtime members
493   * Added the "linear" strategy to queues.
494   * Added the "wrandom" strategy to queues.
495   * Added new channel variable QUEUE_MIN_PENALTY
496   * QUEUE_MAX_PENALTY and QUEUE_MIN_PENALTY may be adjusted in mid-call by defining
497      rules in queuerules.conf. See configs/queuerules.conf.sample for details
498   * Added a new parameter for member definition, called state_interface. This may be
499     used so that a member may be called via one interface but have a different interface's
500     device state reported.
501   * New configuration option: randomperiodicannounce. If a list of periodic announcements is
502     specified by the periodic-announce option, then one will be chosen randomly when it is time
503     to play a periodic announcment
504   * New configuration options: announce-position now takes two more values in addition to "yes" and
505     "no." Two new options, "limit" and "more," are allowed. These are tied to another option,
506     announce-position-limit. By setting announce-position to "limit" callers will only have their
507     position announced if their position is less than what is specified by announce-position-limit.
508     If announce-position is set to "more" then callers beyond the position specified by announce-position-limit
509     will be told that their are more than announce-position-limit callers waiting.
510   * Two new queue log events have been added. An ADDMEMBER event will be logged
511     when a realtime queue member is added and a REMOVEMEMBER event will be logged
512     when a realtime queue member is removed. Since there is no calling channel associated
513     with these events, the string "REALTIME" is placed where the channel's unique id
514     is typically placed.
516 MeetMe Changes
517 --------------
518   * The 'o' option to provide an optimization has been removed and its functionality 
519      has been enabled by default.
520   * When a conference is created, the UNIQUEID of the channel that caused it to be
521      created is stored.  Then, every channel that joins the conference will have the
522      MEETMEUNIQUEID channel variable set with this ID.  This can be used to relate
523      callers that come and go from long standing conferences.
524   * Added a new application, MeetMeChannelAdmin, which is similar to MeetMeAdmin,
525      except it does operations on a channel by name, instead of number in a conference.
526      This is a very useful feature in combination with the 'X' option to ChanSpy.
527   * Added 'C' option to Meetme which causes a caller to continue in the dialplan
528      when kicked out.
529   * Added new RealTime functionality to provide support for scheduled conferencing.
530      This includes optional messages to the caller if they attempt to join before
531      the schedule start time, or to allow the caller to join the conference early.
532      Also included is optional support for limiting the number of callers per
533      RealTime conference.
534   * Added the S() and L() options to the MeetMe application.  These are pretty
535      much identical to the S() and L() options to Dial().  They let you set
536      timeouts for the conference, as well as have warning sounds played to
537      let the caller know how much time is left, and when it is running out.
538   * Added the ability to do "meetme concise" with the "meetme" CLI command.
539      This extends the concise capabilities of this CLI command to include
540      listing all conferences, instead of an addition to the other sub commands
541      for the "meetme" command.
542   * Added the ability to specify the music on hold class used to play into the
543      conference when there is only one member and the M option is used.
544   * Added MEETME_INFO dialplan function which provides a way to query
545      various properties of a Meetme conference.
547 Other Dialplan Application Changes
548 ----------------------------------
549   * Argument support for Gosub application
550   * From the to-do lists: straighten out the app timeout args:
551      Wait() app now really does 0.3 seconds- was truncating arg to an int.
552      WaitExten() same as Wait().
553      Congestion() - Now takes floating pt. argument.
554      Busy() - now takes floating pt. argument.
555      Read() - timeout now can be floating pt.
556      WaitForRing() now takes floating pt timeout arg.
557      SpeechBackground() -- clarified in the docstrings that the timeout is an integer seconds.
558   * Added 's' option to Page application.
559   * Added 'E' and 'V' commands to ExternalIVR.
560   * Added 'o' and 'X' options to Chanspy.
561   * Added a new dialplan application, Bridge, which allows you to bridge the
562      calling channel to any other active channel on the system.
563   * Added the ability to specify a music on hold class to play instead of ringing
564      for the SLATrunk application.
565   * The Read application no longer exits the dialplan on error.  Instead, it sets
566      READSTATUS to ERROR, which you can catch and handle separately.
567   * Added 'm' option to Directory, which lists out names, 8 at a time, instead
568      of asking for verification of each name, one at a time.
569   * Privacy() no longer uses privacy.conf, as all options are specifyable as
570      direct options to the app.
571   * AMD() has a new "maximum word length" option. "show application AMD" from the CLI
572      for more details
573   * GotoIfTime() now may branch based on a "false" condition, like other Goto-related applications
574   * The ChannelRedirect application no longer exits the dialplan if the given channel
575      does not exist. It will now set the CHANNELREDIRECT_STATUS variable to SUCCESS upon success
576      or NOCHANNEL if the given channel was not found.
577   * The silencethreshold setting that was previously configurable in multiple
578      applications is now settable globally via dsp.conf.
579   * Added ability to communicate over a TCP socket instead of forking a child process for the 
580     ExternalIVR application.
582 Music On Hold Changes
583 ---------------------
584   * A new option, "digit", has been added for music on hold classes in 
585      musiconhold.conf.  If this is set for a music on hold class, a caller
586      listening to music on hold can press this digit to switch to listening
587      to this music on hold class.
588   * Support for realtime music on hold has been added.
589   * In conjunction with the realtime music on hold, a general section has
590      been added to musiconhold.conf, its sole variable is cachertclasses. If this
591      is set, then music on hold classes found in realtime will be cached in memory.
593 AEL Changes
594 -----------
595   * AEL upgraded to use the Gosub with Arguments instead
596      of Macro application, to hopefully reduce the problems
597      seen with the artificially low stack ceiling that 
598      Macro bumps into. Macros can only call other Macros
599      to a depth of 7. Tests run using gosub, show depths
600      limited only by virtual memory. A small test demonstrated
601      recursive call depths of 100,000 without problems.
602      -- in addition to this, all apps that allowed a macro
603      to be called, as in Dial, queues, etc, are now allowing
604      a gosub call in similar fashion.
605   * AEL now generates LOCAL(argname) declarations when it
606      Set()'s the each arg name to the value of ${ARG1}, ${ARG2),
607      etc. That makes the arguments local in scope. The user
608      can define their own local variables in macros, now,
609      by saying "local myvar=someval;"  or using Set() in this
610      fashion:  Set(LOCAL(myvar)=someval);  ("local" is now
611      an AEL keyword).
612   * utils/conf2ael introduced. Will convert an extensions.conf
613      file into extensions.ael. Very crude and unfinished, but 
614      will be improved as time goes by. Should be useful for a
615      first pass at conversion.
616   * aelparse will now read extensions.conf to see if a referenced
617      macro or context is there before issueing a warning.
618   * AEL parser sets a local channel variable ~~EXTEN~~, to 
619     preserve the value of ${EXTEN} thru switch statements.
620   * New operator in $[...] expressions: the ~~ operator serves
621     as a concatenation operator. AT THE MOMENT, it is really only
622     necessary and useful in AEL, especially in if() expressions.
623     Operation: ${a} ~~ ${b|  with force both a and b to strings, strip 
624     any enclosing double-quotes, and evaluate to the value of a
625     concatenated with the value of b.  For example if a is set to
626     "xyz"  and b has the value "abc", then ${a} ~~ ${b| would
627     evaluate to xyzabc .
630 Call Features (res_features) Changes
631 ------------------------------------
632   * Added the parkedcalltransfers option to features.conf
633   * The built-in method for doing attended transfers has been updated to
634      include some new options that allow you to have the transferee sent
635      back to the person that did the transfer if the transfer is not successful.
636      See the options "atxferdropcall", "atxferloopdelay", and "atxfercallbackretries"
637      in features.conf.sample.
638   * Added support for configuring named groups of custom call features in
639      features.conf.  This means that features can be written a single time, and
640      then mapped into groups of features for different key mappings or easier
641      access control.
642   * Updated the ParkedCall application to allow you to not specify a parking
643      extension.  If you don't specify a parking space to pick up, it will grab
644      the first one available.
645   * Added cli command 'features reload' to reload call features from features.conf
646   * Moved into core asterisk binary.
648 Language Support Changes
649 ------------------------
650   * Brazilian Portuguese (pt-BR) in VM, and say.c was added
651   * Added support for the Hungarian language for saying numbers, dates, and times.
653 AGI Changes
654 -----------
655   * Added SPEECH commands for speech recognition. A complete listing can be found
656      using agi show.
657   * If app_stack is loaded, GOSUB is a native AGI command that may be used to
658     invoke subroutines in the dialplan.  Note that calling EXEC with Gosub
659     does not behave as expected; the native command needs to be used, instead.
661 Logger changes
662 --------------
663   * Added rotatestrategy option to logger.conf, along with two new options:
664      "timestamp" which will use the time to name the logger files instead of
665      sequence number; and "rotate", which rotates the names of the logfiles,
666      similar to the way syslog rotates files.
667   * Added exec_after_rotate option to logger.conf, which allows a system
668      command to be run after rotation.  This is primarily useful with
669      rotatestrategry=rotate, to allow a limit on the number of logfiles kept
670      and to ensure that the oldest log file gets deleted.
671   * Added realtime support for the queue log
673 Call Detail Records 
674 -------------------
675   * The cdr_manager module has a [mappings] feature, like cdr_custom,
676     to add fields to the manager event from the CDR variables.
677   * Added cdr_adaptive_odbc, a new module that adapts to the structure of your
678      backend database CDR table.  Specifically, additional, non-standard
679      columns are supported, merely by setting the corresponding CDR variable in
680      your dialplan.  In addition, you may alias any column to another name (for
681      example, if you want the 'src' CDR variable to be column 'ANI' in the DB,
682      simply "alias src => ANI" in the configuration file).  Records may be
683      posted to more than one backend, simply by specifying multiple categories
684      in the configuration file.  And finally, you may filter which CDRs get
685      posted to each backend, by specifying a filter (which the record must
686      match) for the particular category.  Filters are additive (meaning all
687      rules must match to post that CDR).
688   * The Postgres CDR module now supports some features of the cdr_adaptive_odbc
689      module.  Specifically, you may add additional columns into the table and
690      they will be set, if you set the corresponding CDR variable name.  Also,
691      if you omit columns in your database table, they will be silently skipped
692      (but a record will still be inserted, based on what columns remain).  Note
693      that the other two features from cdr_adaptive_odbc (alias and filter) are
694      not currently supported.
695   * The ResetCDR application now has an 'e' option that re-enables a CDR if it
696      has been disabled using the NoCDR application.
698 Miscellaneous New Modules
699 -------------------------
700   * Added a new CDR module, cdr_sqlite3_custom.
701   * Added a new realtime configuration module, res_config_sqlite
702   * Added a new codec translation module, codec_resample, which re-samples
703      signed linear audio between 8 kHz and 16 kHz to help support wideband
704      codecs.
705   * Added a new module, res_phoneprov, which allows auto-provisioning of phones
706      based on configuration templates that use Asterisk dialplan function and
707      variable substitution.  It should be possible to create phone profiles and
708      templates that work for the majority of phones provisioned over http. It
709      is currently only intended to provision a single user account per phone.
710      An example profile and set of templates for Polycom phones is provided.
711      NOTE: Polycom firmware is not included, but should be placed in
712      AST_DATA_DIR/phoneprov/configs to match up with the included templates.
713   * Added a new module, app_jack, which provides interfaces to JACK, the Jack
714      Audio Connection Kit (http://www.jackaudio.org/).  Two interfaces are
715      provided; there is a JACK() application, and a JACK_HOOK() function.  Both
716      interfaces create an input and output JACK port.  The application makes
717      these ports the endpoint of the call.  The audio coming from the channel
718      goes out the output port and whatever comes back in on the input port is
719      what gets sent to the channel.  The JACK_HOOK() function turns on a JACK
720      audiohook on the channel.  This lets you run the audio coming from a
721      channel through JACK, and whatever comes back in is what gets forwarded
722      on as the channel's audio.  This is very useful for building custom
723      vocoders or doing recording or analysis of the channel's audio in another
724      application.
725   * Added a new module, res_config_curl, which permits using a HTTP POST url
726      to retrieve, create, update, and delete realtime information from a remote
727      web server.  Note that this module requires func_curl.so to be loaded for
728      backend functionality.
729   * Added a new module, res_config_ldap, which permits the use of an LDAP
730      server for realtime data access.
731   * Added support for writing and running your dialplan in lua using the pbx_lua
732      module.  See configs/extensions.lua.sample for examples of how to do this.
734 Miscellaneous 
735 -------------
736   * Ability to use libcap to set high ToS bits when non-root
737      on Linux. If configure is unable to find libcap then you
738      can use --with-cap to specify the path.
739   * Added maxfiles option to options section of asterisk.conf which allows you to specify
740      what Asterisk should set as the maximum number of open files when it loads.
741   * Added the jittertargetextra configuration option.
742   * Added support for setting the CoS for VLAN traffic (802.1p).  See the sample
743      configuration files for the IP channel drivers.  The new option is "cos".
744      This information is also documented in doc/qos.tex, or the IP Quality of Service
745      section of asterisk.pdf.
746   * When originating a call using AMI or pbx_spool that fails the reason for failure
747      will now be available in the failed extension using the REASON dialplan variable.
748   * Added support for reading the TOUCH_MONITOR_PREFIX channel variable.
749      It allows you to configure a prefix for auto-monitor recordings.
750   * A new extension pattern matching algorithm, based on a trie, is introduced
751      here, that could noticeably speed up mid-sized to large dialplans.
752      It is NOT used by default, as duplicating the behaviour of the old pattern
753      matcher is still under development. A config file option, in extensions.conf,
754      in the [general] section, called "extenpatternmatchingnew", is by default
755      set to false; setting that to true will force the use of the new algorithm.
756      Also, the cli commands "dialplan set extenpatternmatchingnew true/false" can
757      be used to switch the algorithms at run time.
758   * A new option when starting a remote asterisk (rasterisk, asterisk -r) for
759      specifying which socket to use to connect to the running Asterisk daemon
760      (-s)
761   * Performance enhancements to the sched facility, which is used in
762     the channel drivers, etc. Added hashtabs and doubly-linked lists
763     to speed up deletion; start at the beginning or end of list to
764     speed up insertion.
765   * Added Doubly-linked lists after the fashion of linkedlists.h. They are in
766     dlinkedlists.h. Doubly-linked lists feature fast deletion times.
767     Added regression tests to the tests/ dir, also.
768   * Added a refcount trace feature to astobj2 for those trying to balance
769     object creation, deletion; work, play; space and time. See the
770     notes in astobj2.h. Also, see utils/refcounter as well, as a
771     quick way to find unbalanced refcounts in what could be a sea
772     of objects that were balanced.
773   * Added logging to 'make update' command.  See update.log
774   * Added strictrtp option to rtp.conf. If enabled this will drop RTP packets that
775      do not come from the remote party.
776   * Added the 'n' option to the SpeechBackground application to tell it to not
777      answer the channel if it has not already been answered.
778   * Added a compiler flag, CHANNEL_TRACE, which permits channel tracing to be
779      turned on, via the CHANNEL(trace) dialplan function.  Could be useful for
780      dialplan debugging.
781   * iLBC source code no longer included (see UPGRADE.txt for details)
782   * If compiled with DETECT_DEADLOCKS enabled and if you have glibc, then if 
783      deadlock is detected, a backtrace of the stack which led to the lock calls
784      will be output to the CLI.
785   * If compiled with DEBUG_THREADS enabled and if you have glibc, then issuing
786      the "core show locks" CLI command will give lock information output as well
787      as a backtrace of the stack which led to the lock calls.