Massive changes in chan_unistim channel driver. Include many fixes in channel driver...
[asterisk/asterisk.git] / CHANGES
1 ==============================================================================
2 ===
3 === This file documents the new and/or enhanced functionality added in
4 === the Asterisk versions listed below. This file does NOT include
5 === changes in behavior that would not be backwards compatible with
6 === previous versions; for that information see the UPGRADE.txt file
7 === and the other UPGRADE files for older releases.
8 ===
9 ==============================================================================
10
11 ------------------------------------------------------------------------------
12 --- Functionality changes from Asterisk 10 to Asterisk 11 --------------------
13 ------------------------------------------------------------------------------
14
15 Core
16 ----
17  * The expression parser now recognizes the ABS() absolute value function,
18    which will convert negative floating point values to positive values.
19  * The Asterisk build system will now build and install a shared library
20    (libasteriskssl.so) used to wrap various initialization and shutdown functions
21    from the libssl and libcrypto libraries provided by OpenSSL. This is done so
22    that Asterisk can ensure that these functions do *not* get called by any
23    modules that are loaded into Asterisk, since they should only be called once
24    in any single process. If desired, this feature can be disabled by supplying
25    the "--disable-asteriskssl" option to the configure script.
26
27 CLI Changes
28 -------------------
29  * mixmonitor list <channel> command will now show MixMonitor ID, and the filenames
30    of all running mixmonitors on a channel.
31  * The debuglevel of "pri set debug" is now a bitmask ranging from 0 to 15 if
32    numeric instead of 0, 1, or 2.
33
34 ConfBridge
35 -------------------
36  * Added menu action admin_toggle_mute_participants.  This will mute / unmute
37    all non-admin participants on a conference.  The confbridge configuration file
38    also allows for the default sounds played to all conference users when this
39    occurs to be overriden using sound_participants_unmuted and sound_participants_muted.
40  * Added menu action participant_count.  This will playback the number of current
41    participants in a conference.
42  * Added announcement configuration option to user profile. If set the sound file will
43    be played to the user, and only the user, upon joining the conference bridge.
44
45 Voicemail
46 ------------------
47  * Addition of the VM_INFO function - see Dialplan function changes
48  * The imapserver, imapport, and imapflags configuration options can now be
49    overriden on a user by user basis.
50
51 SIP Changes
52 -----------
53  * Asterisk will no longer substitute CID number for CID name into display
54    name field if CID number exists without a CID name. This change improves
55    compatibility with certain device features such as Avaya IP500's directory
56    lookup service.
57  * A new setting for autocreatepeer (autocreatepeer=persistent) allows peers
58    created using that setting to not be removed during SIP reload.
59  * Add support to realtime for the 'callbackextension' option
60  * When multiple peers exist with the same address, but differing
61    callbackextension options, incoming requests that are matched by address
62    will be matched to the peer with the matching callbackextension if it is
63    available.
64  * NAT settings are now a combinable list of options. The equivalent of the
65    deprecated nat=yes is nat=force_rport,comedia. nat=no behaves as before.
66  * Two new NAT options, auto_force_rport and auto_comedia, have been added
67    which set the force_rport and comedia options automatically if Asterisk
68    detects that an incoming SIP request crossed a NAT after being sent by
69    the remote endpoint.
70  * Adds an option send_diversion which can be disabled to prevent
71    diversion headers from automatically being added to invites.
72
73 Chan_local changes
74 ------------------
75  * Added a manager event "LocalBridge" for local channel call bridges between
76    the two pseudo-channels created.
77
78 Chan_dahdi changes
79 ------------------
80  * Added dialtone_detect option for analog ports to disconnect incoming
81    calls when dialtone is detected.
82
83 Chan_unistim changes
84 --------------------
85  * Added ability to use multiple lines on phone, so for one device in 
86    configuration multiple lines can be defined, it allows to have multiple calls
87    on one phone, callwaiting and switching between calls.
88  * Added option 'sharpdial' allowing end dialing by pressing # key
89  * Added options 'cwstyle', 'cwvolume' controlling callwaiting appearance
90  * Added global 'debug' option, that enables debug in channel driver
91  * Added ability for translation on-screen menu to multiple languages. Tested on
92    Russian languages.  Supported encodings: ISO 8859-1, ISO 8859-2, ISO 8859-4, 
93    ISO 8859-5, ISO 2022-JP. Language controlled by 'language' and on-screen 
94    menu of phone
95  * Reworked dialing number input: added dialing by timeout, immediate dial on 
96    on dialplan compare, phone number length now not limited by screen size
97  * Added ability for pickup a call using fetures.conf defined value and 
98    on-screen key
99
100 Codec changes
101 -------------
102  * Codec lists may now be modified by the '!' character, to allow succinct
103    specification of a list of codecs allowed and disallowed, without the
104    requirement to use two different keywords.  For example, to specify all
105    codecs except g729 and g723, one need only specify allow=all,!g729,!g723.
106
107 Music On Hold Changes
108 ---------------------
109  * Added 'announcement' option which will play at the start of MOH and between
110    songs in modes of MOH that can detect transitions between songs (eg.
111    files, mp3, etc).
112
113 Queue changes
114 -------------
115  * Added queue options autopausebusy and autopauseunavail for automatically
116    pausing a queue member when their device reports busy or congestion.
117
118 Voicemail changes
119 -----------------
120  * When voicemail plays a message's envelope with saycid set to yes, when reaching
121    the caller id field it will play a recording of a file with the same base name
122    as the sender's callerid if there is a similarly named file in
123    <astspooldir>/recordings/callerids/
124
125 Applications
126 ------------
127  * Added 'j' option to SayUnixTime. SayUnixTime no longer auto jumps to extension
128    when receiving DTMF.  Use the 'j' option to enable extension jumping. Also
129    changed arguments to SayUnixTime so that every option is truly optional even
130    when using multiple options (so that j option could be used without having to
131    manually specify timezone and format) There are other beneftis eg. format can
132    now be used without specifying time zone as well.
133
134 Parking
135 ------------
136  * New per parking lot options: comebackcontext and comebackdialtime. See
137    configs/features.conf.sample for more details.
138
139  * Channel variable PARKER is now set when comebacktoorigin is disabled in
140    a parking lot.
141
142  * MixMonitor hooks now have IDs associated with them which can be used to assign
143    a target to StopMixMonitor. Use of MixMonitor's i(variable) option will allow
144    storage of the MixMontior ID in a channel variable.  StopMixmonitor now accepts
145    that ID as an argument.
146
147 CDR postgresql driver changes
148 -----------------------------
149  * Added command "cdr show pgsql status" to check connection status
150
151 AMI (Asterisk Manager Interface) changes
152 ----------------------------------------
153  * Originate now generates an error response if the extension given
154    is not found in the dialplan
155
156  * MixMonitor will now show IDs associated with the mixmonitor upon creating them
157    if the i(variable) option is used. StopMixMonitor will accept MixMonitorID as
158    on option to close specific MixMonitors.
159
160  * The SIPshowpeer manager action response field "SIP-Forcerport" has been updated
161    to include information about peers configured with nat=auto_force_rport by
162    returning "A" if auto_force_rport is set and nat is detected, and "a" if it is
163    set and nat is not detected. "Y" and "N" are still returned if auto_force_rport
164    is not enabled.
165
166 FAX changes
167 -----------
168  * FAXOPT(faxdetect) will enable a generic fax detect framehook for dialplan
169    control of faxdetect.
170
171 DUNDi changes
172 -------------
173  * Allow the built in variables ${NUMBER}, ${IPADDR} and ${SECRET} to be
174    used within the dynamic weight attribute when specifying a mapping.
175
176 Core changes
177 ------------
178  * Each logging destination and console now have an independent notion of the
179    current verbosity level.  Logger.conf now allows an optional argument to
180    the 'verbose' specifier, indicating the level of verbosity sent to that
181    particular logging destination.  Additionally, remote consoles now each
182    have their own verbosity level.  The command 'core set verbose' will now set
183    a separate level for each remote console without affecting any other
184    console.
185
186 Dialplan functions
187 ------------------
188  * Addition of the VM_INFO function that can be used to retrieve voicemail
189    user information, such as the email address and full name.
190    The MAILBOX_EXISTS dialplan function has been deprecated in favour of
191    VM_INFO.
192
193 Followme changes
194 -------------
195  * A new option, 'I' has been added to app_followme.
196    By setting this option, Asterisk will not update the caller with
197    connected line changes when they occur.  This is similar to app_dial
198    and app_queue.
199  * The 'N' option is now ignored if the call is already answered.
200
201 RTP changes
202 -------------
203  * A new option, 'probation' has been added to rtp.conf
204    RTP in strictrtp mode can now require more than 1 packet to exit learning
205    mode with a new source (and by default requires 4). The probation option
206    allows the user to change the required number of packets in sequence to any
207    desired value. Use a value of 1 to essentially restore the old behavior.
208    Also, with strictrtp on, Asterisk will now drop all packets until learning
209    mode has successfully exited. These changes are based on how pjmedia handles
210    media sources and source changes.
211
212 Text Messaging
213 --------------
214  * MESSAGE(from) for incoming SIP messages now returns "display-name" <uri>
215    instead of simply the uri.  This is the format that MessageSend() can use
216    in the from parameter for outgoing SIP messages.
217
218 res_corosync
219 ------------
220  * A new module, res_corosync, has been introduced.  This module uses the
221    Corosync cluster enginer (http://www.corosync.org) to allow a local cluster
222    of Asterisk servers to both Message Waiting Indication (MWI) and/or
223    Device State (presence) information.  This module is very similar to, and
224    is a replacement for the res_ais module that was in previous releases of
225    Asterisk.
226
227 AGI
228 ---
229  * A new channel variable, AGIEXITONHANGUP, has been added which allows
230    Asterisk to behave like it did in Asterisk 1.4 and earlier where the
231    AGI application would exit immediately after a channel hangup is detected.
232  * IPv6 addresses are now supported when using FastAGI (agi://).  Hostnames
233    are resolved and each address is attempted in turn until one succeeds or
234    all fail.
235
236 ------------------------------------------------------------------------------
237 --- Functionality changes from Asterisk 1.8 to Asterisk 10 -------------------
238 ------------------------------------------------------------------------------
239
240 Text Messaging
241 --------------
242  * Asterisk now has protocol independent support for processing text messages
243    outside of a call.  Messages are routed through the Asterisk dialplan.
244    SIP MESSAGE and XMPP are currently supported.  There are options in
245    jabber.conf and sip.conf to allow enabling these features.
246      -> jabber.conf: see the "sendtodialplan" and "context" options.
247      -> sip.conf: see the "accept_outofcall_message", "auth_message_requests"
248         and "outofcall_message_context" options.
249    The MESSAGE() dialplan function and MessageSend() application have been
250    added to go along with this functionality.  More detailed usage information
251    can be found on the Asterisk wiki (http://wiki.asterisk.org/).
252  * If real-time text support (T.140) is negotiated, it will be preferred for
253    sending text via the SendText application. For example, via SIP, messages
254    that were once sent via the SIP MESSAGE request would be sent via RTP if
255    T.140 text is negotiated for a call.
256
257 Parking
258 -------
259  * parkedmusicclass can now be set for non-default parking lots.
260
261 Asterisk Manager Interface
262 --------------------------
263  * PeerStatus now includes Address and Port.
264  * Added Hold events for when the remote party puts the call on and off hold
265    for chan_dahdi ISDN channels.
266  * Added new action MeetmeListRooms to list active conferences (shows same
267    data as "meetme list" at the CLI).
268  * DAHDIShowChannels, SIPshowpeer, SIPpeers, and IAXpeers now contains a
269    Description field that is set by 'description' in the channel configuration
270    file.
271  * Added Uniqueid header to UserEvent.
272  * Added new action FilterAdd to control event filters for the current session.
273    This requires the system permission and uses the same filter syntax as
274    filters that can be defined in manager.conf
275  * The Unlink event is now a Bridge event with Bridgestatus: Unlink. Previous
276    versions had some instances of the event converted, but others were left
277    as-is. All Unlink events should now be converted to Bridge events. The AMI
278    protocol version number was incremented to 1.2 as a result of this change.
279
280 Asterisk HTTP Server
281 --------------------------
282  * The HTTP Server can bind to IPv6 addresses.
283
284 chan_dahdi
285 --------------------------
286  * Busy tone patterns featuring 2 silence and 2 tone lengths can now be used
287    with busydetect.  usage example: busypattern=200,200,200,600
288
289 CLI Changes
290 --------------------------
291  * New 'gtalk show settings' command showing the current settings loaded from
292    gtalk.conf.
293  * The 'logger reload' command now supports an optional argument, specifying an
294    alternate configuration file to use.
295  * 'dialplan add extension' command will now automatically create a context if
296    the specified context does not exist with a message indicated it did so.
297  * 'sip show peers', 'iax show peers', and 'dahdi show peers' now contains a
298    Description field which can be populated with 'description' in the channel
299    configuration files (sip.conf, iax2.conf, and chan_dahdi.conf).
300
301 CDR
302 --------------------------
303  * The filter option in cdr_adaptive_odbc now supports negating the argument,
304    thus allowing records which do NOT match the specified filter.
305  * Added ability to log CONGESTION calls to CDR
306
307 CODECS
308 --------------------------
309  * Ability to define custom SILK formats in codecs.conf.
310  * Addition of speex32 audio format with translation.
311  * CELT codec pass-through support and ability to define
312    custom CELT formats in codecs.conf.
313  * Ability to read raw signed linear files with sample rates
314    ranging from 8khz - 192khz.  The new file extensions introduced
315    are .sln12, .sln24, .sln32, .sln44, .sln48, .sln96, .sln192.
316  * Due to protocol limitations, channel drivers other than SIP (eg. IAX2, MGCP,
317    Skinny, H.323, etc) can still only support the following codecs:
318    Audio: ulaw, alaw, slin, slin16, g719, g722, g723, g726, g726aal2, g729, gsm,
319           siren7, siren14, speex, speex16, ilbc, lpc10, adpcm
320    Video: h261, h263, h263p, h264, mpeg4
321    Image: jpeg, png
322    Text:  red, t140
323
324 ConfBridge
325 --------------------------
326  * New highly optimized and customizable ConfBridge application capable of
327    mixing audio at sample rates ranging from 8khz-96khz.
328  * CONFBRIDGE dialplan function capable of creating dynamic ConfBridge user
329    and bridge profiles on a channel.
330  * CONFBRIDGE_INFO dialplan function capable of retrieving information 
331    about a conference such as locked status and number of parties, admins,
332    and marked users.
333  * Addition of video_mode option in confbridge.conf for adding video support
334    into a bridge profile.
335  * Addition of the follow_talker video_mode in confbridge.conf.  This video
336    mode dynamically switches the video feed to always display the loudest talker
337    supplying video in the conference.
338
339 Dialplan Variables
340 ------------------
341  * Added ASTETCDIR, ASTMODDIR, ASTVARLIBDIR, ASTDBDIR, ASTKEYDIR, ASTDATADIR,
342    ASTAGIDIR, ASTSPOOLDIR, ASTRUNDIR, ASTLOGDIR which hold the equivalent
343    variables from asterisk.conf.
344
345 Dialplan Functions
346 ------------------
347  * Addition of the JITTERBUFFER dialplan function. This function allows
348    for jitterbuffering to occur on the read side of a channel.  By using
349    this function conference applications such as ConfBridge and MeetMe can
350    have the rx streams jitterbuffered before conference mixing occurs.
351  * Added DB_KEYS, which lists the next set of keys in the Asterisk database
352    hierarchy.
353  * Added STRREPLACE function.  This function let's the user search a variable
354    for a given string to replace with another string as many times as the
355    user specifies or just throughout the whole string.
356  * Added option to CHANNEL(pickupgroup) allow reading and setting the pickupgroup of channel.
357  * Mark VALID_EXTEN() deprecated in favor of DIALPLAN_EXISTS()
358  * Added extensions to chan_ooh323 in function CHANNEL()
359
360 libpri channel driver (chan_dahdi) DAHDI changes
361 --------------------------
362  * Added moh_signaling option to specify what to do when the channel's bridged
363    peer puts the ISDN channel on hold.
364  * Added display_send and display_receive options to control how the display ie
365    is handled.  To send display text from the dialplan use the SendText()
366    application when the option is enabled.
367  * Added mcid_send option to allow sending a MCID request on a span.
368
369 Calendaring
370 --------------------------
371  * Added setvar option to calendar.conf to allow setting channel variables on
372    notification channels.
373  * Added "calendar show types" CLI command to list registered calendar
374    connectors.
375
376 MixMonitor
377 --------------------------
378  * Added two new options, r and t with file name arguments to record 
379    single direction (unmixed) audio recording separate from the bidirectional
380    (mixed) recording.  The mixed file name argument is optional now as long
381    as at least one recording option is used.
382
383 FollowMe
384 --------------------------
385  * Added a new option, l, which will disable local call optimization for
386    channels involved with the FollowMe thread.  Use this option to improve
387    compatability for a FollowMe call with certain dialplan apps, options, and
388    functions.
389
390 Meetme
391 --------------------------
392  * Added option "k" that will automatically close the conference when there's
393    only one person left when a user exits the conference.
394
395 CEL
396 --------------------------
397  * cel_pgsql now supports the 'extra' column for data added using the
398    CELGenUserEvent() application.
399
400 pbx_lua
401 --------------------------
402  * Support for defining hints has been added to pbx_lua.  See the 'hints' table
403    in the sample extensions.lua file for syntax details.
404  * Applications that perform jumps in the dialplan such as Goto will now
405    execute properly.  When pbx_lua detects that the context, extension, or
406    priority we are executing on has changed it will immediately return control
407    to the asterisk PBX engine.  Currently the engine cannot detect a Goto to
408    the priority after the currently executing priority.
409  * An autoservice is now started by default for pbx_lua channels.  It can be
410    stopped and restarted using the autoservice_stop() and autoservice_start()
411    functions.
412
413 res_fax
414 --------------------------
415  * The ReceiveFAXStatus and SendFAXStatus manager events have been consolidated
416    into a FAXStatus event with an 'Operation' header that will be either
417    'send', 'receive', and 'gateway'.
418  * T.38 gateway functionality has been added to res_fax (and res_fax_spandsp).
419    Set FAXOPT(gateway)=yes to enable this functionality on a channel. This
420    feature will handle converting a fax call between an audio T.30 fax terminal
421    and an IFP T.38 fax terminal.
422
423 SIP Changes
424 -----------
425  * Add T38 support for REJECTED state where T.38 Negotiation is explicitly rejected.
426  * Add option encryption_taglen to set auth taglen only 32 and 80 are supported currently.
427  * SIP now generates security events using the Security Events Framework for REGISTER and INVITE.
428
429 Queue changes
430 -------------
431  * Added general option negative_penalty_invalid default off. when set
432    members are seen as invalid/logged out when there penalty is negative.
433    for realtime members when set remove from queue will set penalty to -1.
434  * Added queue option autopausedelay when autopause is enabled it will be
435    delayed for this number of seconds since last successful call if there
436    was no prior call the agent will be autopaused immediately.
437  * Added member option ignorebusy this when set and ringinuse is not
438    will allow per member control of multiple calls as ringinuse does for
439    the Queue.
440  * Added global option check_state_unknown to enforce checking of device state
441    when the device state is unknown app_queue will see unknown as available.
442
443 Applications
444 ------------
445  * Added 'v' option to MeetMe to play voicemail greetings when a user joins/leaves
446    a MeetMe conference
447  * Added 'k' option to MeetMe to automatically kill the conference when there's only
448    one participant left (much like a normal call bridge)
449  * Added extra argument to Originate to set timeout.
450
451 Asterisk Database
452 -----------------
453  * The internal Asterisk database has been switched from Berkeley DB 1.86 to
454    SQLite 3. An existing Berkeley astdb file can be converted with the astdb2sqlite3
455    utility in the UTILS section of menuselect. If an existing astdb is found and no
456    astdb.sqlite3 exists, astdb2sqlite3 will be compiled automatically. Asterisk will
457    convert an existing astdb to the SQLite3 version automatically at runtime.
458
459 Asterisk Modules
460 ----------------
461  * Modules marked as deprecated are no longer marked as building by default. Enabling
462    these modules is still available via menuselect.
463
464 IAX2 Changes
465 ------------
466  * authdebug is now disabled by default. To enable this functionaility again
467    set authdebug = yes in iax.conf.
468
469 RTP Changes
470 -----------
471  * The rtp.conf setting "strictrtp" is now enabled by default. In previous
472    releases it was disabled.
473
474 PBX Core
475 --------
476  * The PBX core previously made a call with a non-existing extension test for
477    extension s@default and jump there if the extension existed.
478    This was a bad default behaviour and violated the principle of least surprise.
479    It has therefore been changed in this release. It may affect some
480    applications and configurations that rely on this behaviour. Most channel
481    drivers have avoided this for many releases by testing whether the extension
482    called exists before starting the PBX and generating a local error.
483    This behaviour still exists and works as before.
484
485    Extension "s" is used when no extension is given in a channel driver,
486    like immediate answer in DAHDI or calling to a domain with no user part
487    in a SIP uri.
488
489 ------------------------------------------------------------------------------
490 --- Functionality changes from Asterisk 1.6.2 to Asterisk 1.8 ----------------
491 ------------------------------------------------------------------------------
492
493 SIP Changes
494 -----------
495  * Due to potential username discovery vulnerabilities, the 'nat' setting in sip.conf
496    now defaults to force_rport. It is very important that phones requiring nat=no be
497    specifically set as such instead of relying on the default setting. If at all
498    possible, all devices should have nat settings configured in the general section as
499    opposed to configuring nat per-device.
500  * Added preferred_codec_only option in sip.conf. This feature limits the joint
501    codecs sent in response to an INVITE to the single most preferred codec.
502  * Added SIP_CODEC_OUTBOUND dialplan variable which can be used to set the codec
503    to be used for the outgoing call. It must be one of the codecs configured
504    for the device.
505  * Added tlsprivatekey option to sip.conf.  This allows a separate .pem file
506    to be used for holding a private key.  If tlsprivatekey is not specified,
507    tlscertfile is searched for both public and private key.
508  * Added tlsclientmethod option to sip.conf.  This allows the protocol for
509    outbound client connections to be specified.
510  * The sendrpid parameter has been expanded to include the options
511    'rpid' and 'pai'. Setting sendrpid to 'rpid' will cause Remote-Party-ID
512    header to be sent (equivalent to setting sendrpid=yes) and setting
513    sendrpid to 'pai' will cause P-Asserted-Identity header to be sent.
514  * The 'ignoresdpversion' behavior has been made automatic when the SDP received
515    is in response to a T.38 re-INVITE that Asterisk initiated. In this situation,
516    since the call will fail if Asterisk does not process the incoming SDP, Asterisk
517    will accept the SDP even if the SDP version number is not properly incremented,
518    but will generate a warning in the log indicating that the SIP peer that sent
519    the SDP should have the 'ignoresdpversion' option set.
520  * The 'nat' option has now been been changed to have yes, no, force_rport, and
521    comedia as valid values. Setting it to yes forces RFC 3581 behavior and enables
522    symmetric RTP support. Setting it to no only enables RFC 3581 behavior if the
523    remote side requests it and disables symmetric RTP support. Setting it to
524    force_rport forces RFC 3581 behavior and disables symmetric RTP support.
525    Setting it to comedia enables RFC 3581 behavior if the remote side requests it
526    and enables symmetric RTP support.
527  * Slave SIP channels now set HASH(SIP_CAUSE,<slave-channel-name>) on each
528    response.  This permits the master channel to know how each channel dialled
529    in a multi-channel setup resolved in an individual way. This carries a
530    performance penalty and can be disabled in sip.conf using the
531    'storesipcause' option.
532  * Added 'externtcpport' and 'externtlsport' options to allow custom port
533    configuration for the externip and externhost options when tcp or tls is used.
534  * Added support for message body (stored in content variable) to SIP NOTIFY message
535    accessible via AMI and CLI.
536  * Added 'media_address' configuration option which can be used to explicitly specify
537    the IP address to use in the SDP for media (audio, video, and text) streams.
538  * Added 'unsolicited_mailbox' configuration option which specifies the virtual mailbox
539    that the new/old count should be stored on if an unsolicited MWI NOTIFY message is
540    received.
541  * Added 'use_q850_reason' configuration option for generating and parsing
542    if available  Reason: Q.850;cause=<cause code> header. It is implemented
543    in some gateways for better passing PRI/SS7 cause codes via SIP.
544  * When dialing SIP peers, a new component may be added to the end of the dialstring
545    to indicate that a specific remote IP address or host should be used when dialing
546    the particular peer. The dialstring format is SIP/peer/exten/host_or_IP.
547  * SRTP SDES support for encrypting calls to/from Asterisk over SIP. The
548    ability to selectively force bridged channels to also be encrypted is also
549    implemented. Branching in the dialplan can be done based on whether or not
550    a channel has secure media and/or signaling.
551  * Added directmediapermit/directmediadeny to limit which peers can send direct media
552    to each other
553  * Added the 'snom_aoc_enabled' option to turn on support for sending Advice of
554    Charge messages to snom phones.
555  * Added support for G.719 media streams.
556  * Added support for 16khz signed linear media streams.
557  * SIP is now able to bind to and communicate with IPv6 addresses. In addition,
558    RTP has been outfitted with the same abilities.
559  * Added support for setting the Max-Forwards: header in SIP requests. Setting is
560    available in device configurations as well as in the dial plan.
561  * Addition of the 'subscribe_network_change' option for turning on and off
562    res_stun_monitor module support in chan_sip.
563  * Addition of the 'auth_options_requests' option for turning on and off
564    authentication for OPTIONS requests in chan_sip.
565
566 Configuration files
567 -------------------
568  * Add #tryinclude statement for config files.  This provides the same
569    functionality as the #include statement however an asterisk module will
570    still load if the filename does not exist.  Using the #include statement
571    Asterisk will not allow the module to load.
572
573 IAX2 Changes
574 -----------
575  * Added rtsavesysname option into iax.conf to allow the systname to be saved
576    on realtime updates.
577  * Added the ability for chan_iax2 to inform the dialplan whether or not
578    encryption is being used. This interoperates with the SIP SRTP implementation
579    so that a secure SIP call can be bridged to a secure IAX call when the
580    dialplan requires bridged channels to be "secure".
581  * Addition of the 'subscribe_network_change' option for turning on and off
582    res_stun_monitor module support in chan_iax.
583
584
585 MGCP Changes
586 ------------
587  * Added ability to preset channel variables on indicated lines with the setvar
588    configuration option.  Also, clearvars=all resets the list of variables back
589    to none.
590  * PacketCable NCS 1.0 support has been added for Docsis/Eurodocsis Networks.
591    See configs/res_pktccops.conf for more information.
592
593 XMPP Google Talk/Jingle changes
594 -------------------------------
595   * Added the externip option to gtalk.conf.
596   * Added the stunaddr option to gtalk.conf which allows for the automatic
597     retrieval of the external ip from a stun server.
598
599 Applications
600 ------------
601  * Added 'p' option to PickupChan() to allow for picking up channel by the first
602    match to a partial channel name.
603  * Added .m3u support for Mp3Player application.
604  * Added progress option to the app_dial D() option.  When progress DTMF is
605    present, those values are sent immediately upon receiving a PROGRESS message
606    regardless if the call has been answered or not.
607  * Added functionality to the app_dial F() option to continue with execution
608    at the current location when no parameters are provided.
609  * Added the 'a' option to app_dial to answer the calling channel before any
610    announcements or macros are executed.
611  * Modified app_dial to set answertime when the called channel answers even if
612    the called channel hangs up during playback of an announcement.
613  * Modified app_dial 'r' option to support an additional parameter to play an
614    indication tone from indications.conf
615  * Added c() option to app_chanspy. This option allows custom DTMF to be set
616    to cycle through the next available channel.  By default this is still '*'.
617  * Added x() option to app_chanspy.  This option allows DTMF to be set to
618    exit the application.
619  * The Voicemail application has been improved to automatically ignore messages
620    that only contain silence.
621  * If you set maxmsg to 0 in voicemail.conf, Voicemail will consider the
622    associated mailbox(es) to be greetings-only.
623  * The ChanSpy application now has the 'S' option, which makes the application
624    automatically exit once it hits a point where no more channels are available
625    to spy on.
626  * The ChanSpy application also now has the 'E' option, which spies on a single
627    channel and exits when that channel hangs up.
628  * The MeetMe application now turns on the DENOISE() function by default, for
629    each participant.  In our tests, this has significantly decreased background
630    noise (especially noisy data centers).
631  * Voicemail now permits storage of secrets in a separate file, located in the
632    spool directory of each individual user.  The control for this is located in
633    the "passwordlocation" option in voicemail.conf.  Please see the sample
634    configuration for more information.
635  * The ChanIsAvail application now exposes the returned cause code using a separate
636    variable, AVAILCAUSECODE, instead of overwriting the device state in AVAILSTATUS.
637  * Added 'd' option to app_followme.  This option disables the "Please hold"
638    announcement.
639  * Added 'y' option to app_record. This option enables a mode where any DTMF digit
640    received will terminate recording.
641  * Voicemail now supports per mailbox settings for folders when using IMAP storage.
642    Previously the folder could only be set per context, but has now been extended 
643    using the imapfolder option.
644  * Voicemail now supports per mailbox settings for nextaftercmd and minsecs.
645  * Voicemail now allows the pager date format to be specified separately from the
646    email date format.
647  * New applications JabberJoin, JabberLeave, and JabberSendGroup have been added
648    to allow joining, leaving, and sending text to group chats.
649  * MeetMe has a new option 'G' to play an announcement before joining a conference.
650  * Page has a new option 'A(x)' which will playback an announcement simultaneously
651    to all paged phones (and optionally excluding the caller's one using the new
652    option 'n') before the call is bridged.
653  * The 'f' option to Dial has been augmented to take an optional argument. If no
654    argument is provided, the 'f' option works as it always has. If an argument is
655    provided, then the connected party information of all outgoing channels created
656    during the Dial will be set to the argument passed to the 'f' option.
657  * Dial now inherits the GOSUB_RETVAL from the peer, when the U() option runs a
658    Gosub on the peer.
659  * The OSP lookup application adds in/outbound network ID, optional security,
660    number portability, QoS reporting, destination IP port, custom info and service
661    type features.
662  * Added new application VMSayName that will play the recorded name of the voicemail
663    user if it exists, otherwise will play the mailbox number.
664  * Added custom device states to ConfBridge bridges.  Use 'confbridge:<name>' to
665    retrieve state for a particular bridge, where <name> is the conference name
666  * app_directory now allows exiting at any time using the operator or pound key.
667  * Voicemail now supports setting a locale per-mailbox.
668  * Two new applications are provided for declining counting phrases in multiple
669    languages.  See the application notes for SayCountedNoun and SayCountedAdj for
670    more information.
671  * Voicemail now runs the externnotify script when pollmailboxes is activated and
672    notices a change.
673  * Voicemail now includes rdnis within msgXXXX.txt file.
674  * Added 'D' command to ExternalIVR full details in doc/externalivr.txt
675  * ParkedCall and Park can now specify the parking lot to use.
676
677 Dialplan Functions
678 ------------------
679  * SRVQUERY and SRVRESULT functions added. This can be used to query and iterate
680    over SRV records associated with a specific service. From the CLI, type
681    'core show function SRVQUERY' and 'core show function SRVRESULT' for more
682    details on how these may be used.
683  * PITCH_SHIFT dialplan function added. This function can be used to modify the
684    pitch of a channel's tx and rx audio streams.
685  * Added new dialplan functions CONNECTEDLINE and REDIRECTING which permits
686    setting various connected line and redirecting party information.
687  * CALLERID and CONNECTEDLINE dialplan functions have been extended to
688    support ISDN subaddressing.
689  * The CHANNEL() function now supports the "name" and "checkhangup" options.
690  * For DAHDI channels, the CHANNEL() dialplan function now allows
691    the dialplan to request changes in the configuration of the active
692    echo canceller on the channel (if any), for the current call only.
693    The syntax is:
694
695    exten => s,n,Set(CHANNEL(echocan_mode)=off)
696
697    The possible values are:
698
699      on - normal mode (the echo canceller is actually reinitialized)
700      off - disabled
701      fax - FAX/data mode (NLP disabled if possible, otherwise completely
702            disabled)
703      voice - voice mode (returns from FAX mode, reverting the changes that
704              were made when FAX mode was requested)
705  * Added new dialplan function MASTER_CHANNEL(), which permits retrieving
706    and setting variables on the channel which created the current channel.
707    Administrators should take care to avoid naming conflicts, when multiple
708    channels are dialled at once, especially when used with the Local channel
709    construct (which all could set variables on the master channel).  Usage
710    of the HASH() dialplan function, with the key set to the name of the slave
711    channel, is one approach that will avoid conflicts.
712  * Added new dialplan function MUTEAUDIO() for muting inbound and/or outbound
713    audio in a channel.
714  * func_odbc now allows multiple row results to be retrieved without using
715    mode=multirow.  If rowlimit is set, then additional rows may be retrieved
716    from the same query by using the name of the function which retrieved the
717    first row as an argument to ODBC_FETCH().
718  * Added JABBER_RECEIVE, which permits receiving XMPP messages from the
719    dialplan. This function returns the content of the received message.
720  * Added REPLACE, which searches a given variable name for a set of characters,
721    then either replaces them with a single character or deletes them.
722  * Added PASSTHRU, which literally passes the same argument back as its return
723    value.  The intent is to be able to use a literal string argument to
724    functions that currently require a variable name as an argument.
725  * HASH-associated variables now can be inherited across channel creation, by
726    prefixing the name of the hash at assignment with the appropriate number of
727    underscores, just like variables.
728  * GROUP_MATCH_COUNT has been improved to allow regex matching on category
729  * CHANNEL(secure_bridge_signaling) and CHANNEL(secure_bridge_media) to set/get
730    whether or not channels that are bridged to the current channel will be
731    required to have secure signaling and/or media.
732  * CHANNEL(secure_signaling) and CHANNEL(secure_media) to get whether or not
733    the current channel has secure signaling and/or media.
734  * For DAHDI/ISDN channels, the CHANNEL() dialplan function now supports the
735    "no_media_path" option.
736    Returns "0" if there is a B channel associated with the call.
737    Returns "1" if no B channel is associated with the call.  The call is either
738    on hold or is a call waiting call.
739  * Added option to dialplan function CDR(), the 'f' option
740    allows for high resolution times for billsec and duration fields.
741  * FILE() now supports line-mode and writing.
742  * Added FIELDNUM(), which returns the 1-based offset of a field in a list.
743  * FRAME_TRACE(), for tracking internal ast_frames on a channel.
744
745 Dialplan Variables
746 ------------------
747  * Added DYNAMIC_FEATURENAME which holds the last triggered dynamic feature.
748  * Added DYNAMIC_PEERNAME which holds the unique channel name on the other side
749    and is set when a dynamic feature is triggered.
750  * Added PARKINGLOT which can be used with parkeddynamic feature.conf option
751    to dynamically create a new parking lot matching the value this varible is
752    set to.
753  * Added PARKINGDYNAMIC which represents the template parkinglot defined in
754    features.conf that should be the base for dynamic parkinglots.
755  * Added PARKINGDYNCONTEXT which tells what context a newly created dynamic
756    parkinglot should have.
757  * Added PARKINGDYNEXTEN which tells what parking exten a newly created dynamic
758    parkinglot should have.
759  * Added PARKINGDYNPOS which holds what parking positions a dynamic parkinglot
760    should have.
761
762 Queue changes
763 -------------
764  * Added "ready" option to QUEUE_MEMBER counting to count free agents whose wrap-up
765    timeout has expired.
766  * Added 'R' option to app_queue.  This option stops moh and indicates ringing
767    to the caller when an Agent's phone is ringing.  This can be used to indicate
768    to the caller that their call is about to be picked up, which is nice when
769    one has been on hold for an extened period of time.
770  * A new config option, penaltymemberslimit, has been added to queues.conf.
771    When set this option will disregard penalty settings when a queue has too
772    few members.
773  * A new option, 'I' has been added to both app_queue and app_dial.
774    By setting this option, Asterisk will not update the caller with
775    connected line changes or redirecting party changes when they occur.
776  * A 'relative-periodic-announce' option has been added to queues.conf.  When
777    enabled, this option will cause periodic announce times to be calculated
778    from the end of announcements rather than from the beginning.
779  * The autopause option in queues.conf can be passed a new value, "all." The
780    result is that if a member becomes auto-paused, he will be paused in all
781    queues for which he is a member, not just the queue that failed to reach
782    the member.
783  * Added dialplan function QUEUE_EXISTS to check if a queue exists
784  * The queue logger now allows events to optionally propagate to a file,
785    even when realtime logging is turned on.  Additionally, realtime logging
786    supports sending the event arguments to 5 individual fields, although it
787    will fallback to the previous data definition, if the new table layout is
788    not found.
789
790 mISDN channel driver (chan_misdn) changes
791 ----------------------------------------
792  * Added display_connected parameter to misdn.conf to put a display string
793    in the CONNECT message containing the connected name and/or number if
794    the presentation setting permits it.
795  * Added display_setup parameter to misdn.conf to put a display string
796    in the SETUP message containing the caller name and/or number if the
797    presentation setting permits it.
798  * Made misdn.conf parameters localdialplan and cpndialplan take a -1 to
799    indicate the dialplan settings are to be obtained from the asterisk
800    channel.
801  * Made misdn.conf parameter callerid accept the "name" <number> format
802    used by the rest of the system.
803  * Made use the nationalprefix and internationalprefix misdn.conf
804    parameters to prefix any received number from the ISDN link if that
805    number has the corresponding Type-Of-Number.  NOTE:  This includes
806    comparing the incoming call's dialed number against the MSN list.
807  * Added the following new parameters: unknownprefix, netspecificprefix,
808    subscriberprefix, and abbreviatedprefix in misdn.conf to prefix any
809    received number from the ISDN link if that number has the corresponding
810    Type-Of-Number.
811  * Added new dialplan application misdn_command which permits controlling
812    the CCBS/CCNR functionality.
813  * Added new dialplan function mISDN_CC which permits retrieval of various
814    values from an active call completion record.
815  * For PTP, you should manually send the COLR of the redirected-to party
816    for an incomming redirected call if the incoming call could experience
817    further redirects.  Just set the REDIRECTING(to-num,i) = ${EXTEN} and
818    set the REDIRECTING(to-pres) to the COLR.  A call has been redirected
819    if the REDIRECTING(from-num) is not empty.
820  * For outgoing PTP redirected calls, you now need to use the inhibit(i)
821    option on all of the REDIRECTING statements before dialing the
822    redirected-to party.  You still have to set the REDIRECTING(to-xxx,i)
823    and the REDIRECTING(from-xxx,i) values.  The PTP call will update the
824    redirecting-to presentation (COLR) when it becomes available.
825  * Added outgoing_colp parameter to misdn.conf to filter outgoing COLP
826    information.
827
828 thirdparty mISDN enhancements
829 -----------------------------
830 mISDN has been modified by Digium, Inc. to greatly expand facility message
831 support to allow:
832   * Enhanced COLP support for call diversion and transfer.
833   * CCBS/CCNR support.
834
835 The latest modified mISDN v1.1.x based version is available at:
836 http://svn.digium.com/svn/thirdparty/mISDN/trunk
837 http://svn.digium.com/svn/thirdparty/mISDNuser/trunk
838
839 Tagged versions of the modified mISDN code are available under:
840 http://svn.digium.com/svn/thirdparty/mISDN/tags
841 http://svn.digium.com/svn/thirdparty/mISDNuser/tags
842
843 libpri channel driver (chan_dahdi) DAHDI changes
844 -------------------------------------------
845  * The channel variable PRIREDIRECTREASON is now just a status variable
846    and it is also deprecated.  Use the REDIRECTING(reason) dialplan function
847    to read and alter the reason.
848  * For Q.SIG and ETSI PRI/BRI-PTP, you should manually send the COLR of the
849    redirected-to party for an incomming redirected call if the incoming call
850    could experience further redirects.  Just set the
851    REDIRECTING(to-num,i) = CALLERID(dnid) and set the REDIRECTING(to-pres)
852    to the COLR.  A call has been redirected if the REDIRECTING(count) is not
853    zero.
854  * For outgoing Q.SIG and ETSI PRI/BRI-PTP redirected calls, you need to
855    use the inhibit(i) option on all of the REDIRECTING statements before
856    dialing the redirected-to party.  You still have to set the
857    REDIRECTING(to-xxx,i) and the REDIRECTING(from-xxx,i) values.  The call
858    will update the redirecting-to presentation (COLR) when it becomes available.
859  * Added the ability to ignore calls that are not in a Multiple Subscriber
860    Number (MSN) list for PTMP CPE interfaces.
861  * Added dynamic range compression support for dahdi channels.  It is
862    configured via the rxdrc and txdrc parameters in chan_dahdi.conf.
863  * Added support for ISDN calling and called subaddress with partial support
864    for connected line subaddress.
865  * Added support for BRI PTMP NT mode. (Requires latest LibPRI.)
866  * Added handling of received HOLD/RETRIEVE messages and the optional ability
867    to transfer a held call on disconnect similar to an analog phone.
868  * Added CallRerouting/CallDeflection support for Q.SIG, ETSI PTP, ETSI PTMP.
869    Will reroute/deflect an outgoing call when receive the message.
870    Can use the DAHDISendCallreroutingFacility to send the message for the
871    supported switches.
872  * Added standard location to add options to chan_dahdi dialing:
873    Dial(DAHDI/g1[/extension[/options]])
874    Current options:
875    K(<keypad_digits>)
876    R Reverse charging indication
877  * Added Reverse Charging Indication (Collect calls) send/receive option.
878    Send reverse charging in SETUP message with the chan_dahdi R dialing option.
879    Dial(DAHDI/g1/extension/R)
880    Access received reverse charge in SETUP message by: ${CHANNEL(reversecharge)}
881    (requires latest LibPRI)
882  * Added ability to send/receive keypad digits in the SETUP message.
883    Send keypad digits in SETUP message with the chan_dahdi K(<keypad_digits>)
884    dialing option.  Dial(DAHDI/g1/[extension]/K(<keypad_digits>))
885    Access any received keypad digits in SETUP message by: ${CHANNEL(keypad_digits)}
886    (requires latest LibPRI)
887  * Added ability to send and receive ETSI Explicit Call Transfer (ECT) messages
888    to eliminate tromboned calls.  A tromboned call goes out an interface and comes
889    back into the same interface.  Tromboned calls happen because of call routing,
890    call deflection, call forwarding, and call transfer.
891  * Added the ability to send and receive ETSI Advice-Of-Charge messages. 
892  * Added the ability to support call waiting calls.  (The SETUP has no B channel
893    assigned.)
894  * Added Malicious Call ID (MCID) event to the AMI call event class.
895  * Added Message Waiting Indication (MWI) support for ISDN PTMP endpoints (phones).
896
897 Asterisk Manager Interface
898 --------------------------
899  * The Hangup action now accepts a Cause header which may be used to
900    set the channel's hangup cause.
901  * sslprivatekey option added to manager.conf and http.conf.  Adds the ability
902    to specify a separate .pem file to hold a private key.  By default sslcert
903    is used to hold both the public and private key.
904  * Options in manager.conf and http.conf with the 'ssl' prefix have been replaced
905    for options containing the 'tls' prefix.  For example, 'sslenable' is now
906    'tlsenable'.  This has been done in effort to keep ssl and tls options consistent
907    across all .conf files. All affected sample.conf files have been modified to
908    reflect this change.  Previous options such as 'sslenable' still work,
909    but options with the 'tls' prefix are preferred.
910  * Added a MuteAudio AMI action for muting inbound and/or outbound audio
911    in a channel. (res_mutestream.so)
912  * The configuration file manager.conf now supports a channelvars option, which
913    specifies a list of channel variables to include in each channel-oriented
914    event.
915  * The redirect command now has new parameters ExtraContext, ExtraExtension, 
916    and ExtraPriority to allow redirecting the second channel to a different
917    location than the first.
918  * Added new event "JabberStatus" in the Jabber module to monitor buddies
919    status.
920  * Added a "MixMonitorMute" AMI action for muting inbound and/or outbound audio
921    in a MixMonitor recording.
922  * The 'iax2 show peers' output is now similar to the expected output of
923    'sip show peers'.
924  * Added Advice-Of-Charge events (AOC-S, AOC-D, and AOC-E) in the new
925    aoc event class.
926  * Added Advice-Of-Charge manager action, AOCMessage, for generating AOC-D and
927    AOC-E messages on a channel.
928  * A DBGetComplete event now follows a DBGetResponse, to make the DBGet action
929    conform more closely to similar events.
930  * Added a new eventfilter option per user to allow whitelisting and blacklisting
931    of events.
932  * Added optional parkinglot variable for park command.
933  * Added ConnectedLineNum and ConnectedLineName headers to AMI events/responses
934    if CallerIDNum and CallerIDName headers are also present.
935
936 Channel Event Logging
937 ---------------------
938  * A new interface, CEL, is introduced here. CEL logs single events, much like
939    the AMI, but it differs from the AMI in that it logs to db backends much
940    like CDR does; is based on the event subsystem introduced by Russell, and
941    can share in all its benefits; allows multiple backends to operate like CDR;
942    is specialized to event data that would be of concern to billing sytems,
943    like CDR. Backends for logging and accounting calls have been produced,
944    but a new CDR backend is still in development.
945
946 CDR
947 ---
948  * 'linkedid' and 'peeraccount' are new CDR fields available to CDR aficionados.
949    linkedid is based on uniqueID, but spreads to other channels as transfers, dials,
950    etc are performed. Thus the pieces of CDR can be grouped into multilegged sets.
951  * Multiple files and formats can now be specified in cdr_custom.conf.
952  * cdr_syslog has been added which allows CDRs to be written directly to syslog.
953    See configs/cdr_syslog.conf.sample for more information.
954  * A 'sequence' field has been added to CDRs which can be combined with
955    linkedid or uniqueid to uniquely identify a CDR.
956  * Handling of billsec and duration field has changed. If your table definition
957    specifies those fields as float,double or similar they will now be logged with
958    microsecond accuracy instead of a whole integer.
959
960 Calendaring for Asterisk
961 ------------------------
962  * A new set of modules were added supporing calendar integration with Asterisk.
963    Dialplan functions for reading from and writing to calendars are included,
964    as well as the ability to execute dialplan logic upon calendar event notifications.
965    iCalendar, CalDAV, and Exchange Server calendars (via res_calendar_exchange for
966    Exchange Server 2003 with no write or attendee support, and res_calendar_ews for
967    Exchange Server 2007+ with full write and attendee support) are supported (Exchange
968    2003 support does not support forms-based authentication).
969
970 Call Completion Supplementary Services for Asterisk
971 ---------------------------------------------------
972  * Call completion support has been added for SIP, DAHDI/ISDN, and DAHDI/analog.
973    DAHDI/ISDN supports call completion for the following switch types:
974    EuroIsdn(ETSI) for PTP and PTMP modes, and Qsig.
975    See doc/CCSS_architecture.pdf and doc/tex/ccss.tex(asterisk.pdf) for details.
976
977 Multicast RTP Support
978 ---------------------
979  * A new RTP engine and channel driver have been added which supports Multicast RTP.
980    The channel driver can be used with the Page application to perform multicast RTP
981    paging. The dial string format is: MulticastRTP/<type>/<destination>/<control address>
982    Type can be either basic or linksys.
983    Destination is the IP address and port for the RTP packets.
984    Control address is specific to the linksys type and is used for sending the control
985    packets unique to them.
986
987 Security Events Framework
988 -------------------------
989  * Asterisk has a new C API for reporting security events.  The module res_security_log
990    sends these events to the "security" logger level.  Currently, AMI is the only
991    Asterisk component that reports security events.  However, SIP support will be
992    coming soon.  For more information on the security events framework, see the
993    "Security Events" chapter of the included documentation - doc/tex/asterisk.pdf.
994
995 Fax
996 ---
997  * A technology independent fax frontend (res_fax) has been added to Asterisk.
998  * A spandsp based fax backend (res_fax_spandsp) has been added.
999  * The app_fax module has been deprecated in favor of the res_fax module and
1000    the new res_fax_spandsp backend.
1001  * The SendFAX and ReceiveFAX applications now send their log messages to a
1002    'fax' logger level, instead of to the generic logger levels. To see these
1003    messages, the system's logger.conf file will need to direct the 'fax' logger
1004    level to one or more destinations; the logger.conf.sample file includes an
1005    example of how to do this. Note that if the 'fax' logger level is *not*
1006    directed to at least one destination, log messages generated by these
1007    applications will be lost, and that if the 'fax' logger level is directed to
1008    the console, the 'core set verbose' and 'core set debug' CLI commands will
1009    have no effect on whether the messages appear on the console or not.
1010
1011 Miscellaneous
1012 -------------
1013  * The transmit_silence_during_record option in asterisk.conf.sample has been removed.
1014    Now, in order to enable transmitting silence during record the transmit_silence
1015    option should be used.  transmit_silence_during_record remains a valid option, but
1016    defaults to the behavior of the transmit_silence option.
1017  * Addition of the Unit Test Framework API for managing registration and execution
1018    of unit tests with the purpose of verifying the operation of C functions.
1019  * SendText is now implemented in chan_gtalk and chan_jingle. It will simply send
1020    XMPP text messages to the remote JID.
1021  * Modules.conf has a new option - "require" - that marks a module as critical for 
1022    the execution of Asterisk.
1023    If one of the required modules fail to load, Asterisk will exit with a return
1024    code set to 2.
1025  * An 'X' option has been added to the asterisk application which enables #exec support.
1026    This allows #exec to be used in asterisk.conf.
1027  * jabber.conf supports a new option auth_policy that toggles auto user registration.
1028  * A new lockconfdir option has been added to asterisk.conf to protect the
1029    configuration directory (/etc/asterisk by default) during reloads.
1030  * The parkeddynamic option has been added to features.conf to enable the creation
1031    of dynamic parkinglots.
1032  * chan_dahdi now supports reporting alarms over AMI either by channel or span via
1033    the reportalarms config option.
1034  * chan_dahdi supports dialing configuring and dialing by device file name.
1035    DAHDI/span-name!local!1 will use /dev/dahdi/span-name/local/1 . Likewise
1036    it may appear in chan_dahdi.conf as 'channel => span-name!local!1'.
1037  * A new options for chan_dahdi.conf: 'ignore_failed_channels'. Boolean.
1038    False by default. If set, chan_dahdi will ignore failed 'channel' entries.
1039    Handy for the above name-based syntax as it does not depend on
1040    initialization order.
1041  * The Realtime dialplan switch now caches entries for 1 second.  This provides a
1042    significant increase in performance (about 3X) for installations using this switchtype.
1043  * Distributed devicestate now supports the use of the XMPP protocol, in addition to
1044    AIS.  For more information, please see doc/distributed_devstate-XMPP.txt
1045  * The addition of G.719 pass-through support.
1046  * Added support for 16khz Speex audio.  This can be enabled by using 'allow=speex16'
1047    during device configuration.
1048  * The UNISTIM channel driver (chan_unistim) has been updated to support devices that
1049    have less than 3 lines on the LCD.
1050  * Realtime now supports database failover.  See the sample extconfig.conf for details.
1051  * The addition of improved translation path building for wideband codecs.  Sample
1052    rate changes during translation are now avoided unless absolutely necessary.
1053  * The addition of the res_stun_monitor module for monitoring and reacting to network
1054    changes while behind a NAT.
1055
1056 CLI Changes
1057 -----------
1058  * The 'core set debug' and 'core set verbose' commands, in previous versions, could
1059    optionally accept a filename, to apply the setting only to the code generated from
1060    that source file when Asterisk was built. However, there are some modules in Asterisk
1061    that are composed of multiple source files, so this did not result in the behavior
1062    that users expected. In this version, 'core set debug' and 'core set verbose'
1063    can optionally accept *module* names instead (with or without the .so extension),
1064    which applies the setting to the entire module specified, regardless of which source
1065    files it was built from.
1066  * New 'manager show settings' command showing the current settings loaded from
1067    manager.conf. 
1068  * Added 'all' keyword to the CLI command "channel request hangup" so that you can send
1069    the channel hangup request to all channels.
1070  * Added a "core reload" CLI command that executes a global reload of Asterisk.
1071
1072 ------------------------------------------------------------------------------
1073 --- Functionality changes from Asterisk 1.6.1 to Asterisk 1.6.2  -------------
1074 ------------------------------------------------------------------------------
1075
1076 SIP Changes
1077 -----------
1078  * Added support for SUBSCRIBE/NOTIFY with dialog-info based call pickups.
1079    Snom phones use this for call pickup of extensions that the phone is
1080    subscribed to.
1081  * Added support for setting the domain in the URI for caller of an
1082    outbound call by using the SIPFROMDOMAIN channel variable.
1083  * Added a new configuration option "remotesecret" for authentication to
1084    remote services. For backwards compatibility, "secret" still has the
1085    same function as before, but now you can configure both a remote secret and a
1086    local secret for mutual authentication.
1087  * If the channel variable  ATTENDED_TRANSFER_COMPLETE_SOUND is set, 
1088    the sound will be played to the target of an attended transfer
1089  * Added two new configuration options, "qualifygap" and "qualifypeers", which allow
1090    finer control over how many peers Asterisk will qualify and the gap between them
1091    when all peers need to be qualified at the same time.
1092  * Added a new 'ignoresdpversion' option to sip.conf.  When this is enabled
1093    (either globally or for a specific peer), chan_sip will treat any SDP data
1094    it receives as new data and update the media stream accordingly.  By
1095    default, Asterisk will only modify the media stream if the SDP session
1096    version received is different from the current SDP session version.  This
1097    option is required to interoperate with devices that have non-standard SDP
1098    session version implementations (observed with Microsoft OCS).  This option
1099    is disabled by default.
1100  * The parsing of register => lines in sip.conf has been modified to allow a port
1101    to be present in the "user" portion. Please see the sip.conf.sample file for more
1102    information
1103  * Added support for subscribing to MWI on a remote server and making the status available
1104    as a mailbox. Please see the sip.conf.sample file for more information.
1105  * Added a function to remove SIP headers added in the dialplan before the
1106    first INVITE is generated - SIPRemoveHeader()
1107  * Channel variables set with setvar= in a device configuration is now 
1108    set both for inbound and outbound calls.
1109  * Added support for ITU G.722.1 and G.722.1C (Siren7 and Siren14) media streams.
1110
1111 IAX2 changes
1112 ------------
1113   * Added immediate option to iax.conf
1114   * Added forceencryption option to iax.conf
1115   * Added Encryption and Trunk status to manager command "iaxpeers"
1116
1117 Skinny Changes
1118 --------------
1119  * The configuration file now holds separate sections for devices and lines.
1120    Please have a look at configs/skinny.conf.sample and change your skinny.conf
1121    accordingly.
1122
1123 DAHDI Changes
1124 -------------
1125  * chan_dahdi now supports MFC/R2 signaling when Asterisk is compiled with
1126    support for LibOpenR2.  http://www.libopenr2.org/
1127  * The UK option waitfordialtone has been added for use with BT analog
1128    lines.
1129  * Added a 'faxbuffers' configuration option to chan_dahdi.conf.  This option
1130    is used in conjunction with the 'faxdetect' configuration option.  When
1131    'faxbuffers' is used and fax tones are detected, the channel will dynamically
1132    switch to the configured faxbuffers policy.  For example, to use 6 buffers
1133    and a 'full' buffer policy for a fax transmission, add:
1134      faxbuffers=>6,full
1135    The faxbuffers configuration will be in affect until the call is torn down.
1136  * Added service message support for 4ESS/5ESS switches.
1137
1138 Dialplan Functions
1139 ------------------
1140  * For DAHDI channels, the CHANNEL() dialplan function now
1141    supports changing the channel's buffer policy (for the current
1142    call only), using this syntax:
1143
1144    exten => s,n,Set(CHANNEL(buffers)=6,full)
1145
1146    This would change the channel to the 'full' buffer policy and
1147    6 (six) buffers. Possible options for this setting are the same
1148    as those in chan_dahdi.conf.
1149  * Added a new dialplan function, CURLOPT, which permits setting various
1150    options that may be useful with the CURL dialplan function, such as
1151    cookies, proxies, connection timeouts, passwords, etc.
1152  * Permit the syntax and synopsis fields of the corresponding dialplan
1153    functions to be individually set from func_odbc.conf.
1154  * Added debugging CLI functions to func_odbc, 'odbc read' and 'odbc write'.
1155  * func_odbc now may specify an insert query to execute, when the write query
1156    affects 0 rows (usually indicating that no such row exists).
1157  * Added a new dialplan function, LISTFILTER, which permits removing elements
1158    from a set list, by name.  Uses the same general syntax as the existing CUT
1159    and FIELDQTY dialplan functions, which also manage lists.
1160  * Added REALTIME_FIELD and REALTIME_HASH, which should aid users in better
1161    obtaining realtime data from the dialplan.
1162  * Added LOCAL_PEEK, which allows access to variables in any stack frame within
1163    a subroutine when using the GoSub() and Return() applications.
1164  * Added AUDIOHOOK_INHERIT. For information on its use, please see the output
1165    of "core show function AUDIOHOOK_INHERIT" from the CLI
1166  * Added AES_ENCRYPT. For information on its use, please see the output
1167    of "core show function AES_ENCRYPT" from the CLI
1168  * Added AES_DECRYPT. For information on its use, please see the output
1169    of "core show function AES_DECRYPT" from the CLI
1170  * func_odbc now supports database transactions across multiple queries.
1171
1172 Applications
1173 ------------
1174  * Scheduled meetme conferences may now have their end times extended by
1175    using MeetMeAdmin.
1176  * app_authenticate now gives the ability to select a prompt other than
1177    the default.
1178  * app_directory now pays attention to the searchcontexts setting in
1179    voicemail.conf and will look through all contexts, if no context is
1180    specified in the initial argument.
1181  * A new application, Originate, has been introduced, that allows asynchronous
1182    call origination from the dialplan.
1183  * Voicemail now permits setting the emailsubject and emailbody per mailbox,
1184    in addition to the setting in the "general" context.
1185  * Added ConfBridge dialplan application which does conference bridges without
1186    DAHDI. For information on its use, please see the output of
1187    "core show application ConfBridge" from the CLI.
1188
1189 Miscellaneous
1190 -------------
1191  * The Asterisk CLI has a new command, "channel redirect", which is similar in
1192    operation to the AMI Redirect action.
1193  * extensions.conf now allows you to use keyword "same" to define an extension
1194    without actually specifying an extension.  It uses exactly the same pattern
1195    as previously used on the last "exten" line.  For example:
1196      exten => 123,1,NoOp(something)
1197      same  =>     n,SomethingElse()
1198  * musiconhold.conf classes of type 'files' can now use relative directory paths,
1199    which are interpreted as relative to the astvarlibdir setting in asterisk.conf.
1200  * All deprecated CLI commands are removed from the sourcecode. They are now handled
1201    by the new clialiases module. See cli_aliases.conf.sample file.
1202  * Times within timespecs are now accurate down to the minute.  This is a change
1203    from historical Asterisk, which only provided timespecs rounded to the nearest
1204    even (read: evenly divisible by 2) minute mark.
1205  * The realtime switch now supports an option flag, 'p', which disables searches for
1206    pattern matches.
1207  * In addition to a time range and date range, timespecs now accept a 5th optional
1208    argument, timezone.  This allows you to perform time checks on alternate
1209    timezones, especially if those daylight savings time ranges vary from your
1210    machine's native timezone.  See GotoIfTime, ExecIfTime, IFTIME(), and timed
1211    includes.
1212  * The contrib/scripts/ directory now has a script called sip_nat_settings that will
1213    give you the correct output for an asterisk box behind nat. It will give you the
1214    externhost and localnet settings.
1215  * The Asterisk core now supports ITU G.722.1 and G.722.1C media streams, and
1216    can connect calls in passthrough mode, as well as record and play back files.
1217  * Successful and unsuccessful call pickup can now be alerted through sounds, by
1218    using pickupsound and pickupfailsound in features.conf.
1219  * ASTVARRUNDIR is now set to $(localstatedir)/run/asterisk by default.
1220    This means the asterisk pid file will now be in /var/run/asterisk/asterisk.pid on LINUX
1221    instead of the /var/run/asterisk.pid where it used to be. This will make
1222    installs as non-root easier to manage.
1223
1224 CDR
1225 ---
1226
1227 * The cdr.conf file must exist and be correctly programmed in order for CDR records to
1228   be written; they will no longer be explicitly written.
1229
1230 Asterisk Manager Interface
1231 --------------------------
1232  * When using the AMI over HTTP, you can now include a 'SuppressEvents' header (with
1233    a non-empty value) in your request. If you do this, any pending AMI events will
1234    *not* be included in the response to your request as they would normally, but
1235    will be left in the event queue for the next request you make to retrieve. For
1236    some applications, this will allow you to guarantee that you will only see
1237    events in responses to 'WaitEvent' actions, and can better know when to expect them.
1238    To know whether the Asterisk server supports this header or not, your client can
1239    inspect the first response back from the server to see if it includes this header:
1240
1241    Pragma: SuppressEvents
1242
1243    If this is included, the server supports event suppression.
1244
1245  * Added 4 new Actions to list skinny device(s) and line(s)
1246    SKINNYdevices
1247    SKINNYshowdevice
1248    SKINNYlines
1249    SKINNYshowline
1250
1251 LDAP Schema File Additions
1252 --------------------------
1253  * Added AsteriskDialplan, AsteriskAccount and AsteriskMailbox  objectClasses
1254    to allow standalone dialplan, account and mailbox entries (STRUCTURAL)
1255  * Added new Fields:
1256    - AstAccountLanguage, AstAccountTransport, AstAccountPromiscRedir,
1257    - AstAccountAccountCode, AstAccountSetVar, AstAccountAllowOverlap,
1258    - AstAccountVideoSupport, AstAccountIgnoreSDPVersion
1259  * Removed redundant IPaddr (there's already IPAddress)
1260    - Gives more configuration Flags for SIP-Users available (tested)
1261    - Allows to create Asterisk Attributes in defined Asterisk ObjectClasses
1262      without extensibleObject (which really should be the last resort); gives
1263      also additional possibilities for LDAP-filter 
1264
1265 ------------------------------------------------------------------------------
1266 --- Functionality changes from Asterisk 1.6.0 to Asterisk 1.6.1  -------------
1267 ------------------------------------------------------------------------------
1268
1269 Device State Handling
1270 ---------------------
1271  * The event infrastructure in Asterisk got another big update to help support
1272     distributed events.  It currently supports distributed device state and
1273     distributed Voicemail MWI (Message Waiting Indication).  A new module has
1274     been merged, res_ais, which facilitates communicating events between servers.
1275     It uses the SAForum AIS (Service Availability Forum Application Interface
1276     Specification) CLM (Cluster Management) and EVT (Event) services to maintain
1277     a cluster of Asterisk servers, and to share events between them.  For more
1278     information on setting this up, see doc/distributed_devstate.txt.
1279
1280 Dialplan Functions
1281 ------------------
1282  * Added a new dialplan function, AST_CONFIG(), which allows you to access
1283    variables from an Asterisk configuration file.
1284  * The JACK_HOOK function now has a c() option to supply a custom client name.
1285  * Added two new dialplan functions from libspeex for audio gain control and 
1286    denoise, AGC() and DENOISE(). Both functions can be applied to the tx and 
1287    rx directions of a channel from the dialplan.
1288  * The SMDI_MSG_RETRIEVE function now has the ability to search for SMDI messages
1289    based on other parameters.  The default is still to search based on the
1290    forwarding station ID.  However, there are new options that allow you to search
1291    based on the message desk terminal ID, or the message desk number.
1292  * TIMEOUT() has been modified to be accurate down to the millisecond.
1293  * ENUM*() functions now include the following new options:
1294      - 'u' returns the full URI and does not strip off the URI-scheme.
1295      - 's' triggers ISN specific rewriting
1296      - 'i' looks for branches into an Infrastructure ENUM tree
1297      - 'd' for a direct DNS lookup without any flipping of digits.
1298  * TXCIDNAME() has a new zone-suffix parameter (which defaults to 'e164.arpa')
1299  * CHANNEL() now has options for the maximum, minimum, and standard or normal
1300    deviation of jitter, rtt, and loss for a call using chan_sip.
1301
1302 DAHDI channel driver (chan_dahdi) Changes
1303 ----------------------------------------
1304  * Channels can now be configured using named sections in chan_dahdi.conf, just
1305    like other channel drivers, including the use of templates.
1306  * The default for pridialplan has changed from 'national' to 'unknown'.
1307
1308 PBX Changes
1309 -----------
1310  * It is now possible to specify a pattern match as a hint. Once a phone subscribes
1311    to something that matches the pattern a hint will be created using the contents
1312    and variables evaluated.
1313  * Dialplan matching has been extended to allow an extension to return to the
1314    PBX core to wait for more digits.  This is done by using the new dialplan
1315    application called "Incomplete".  This will permit a whole new level of
1316    extension control, by giving the administrator more control over early
1317    matches employing one of the short-circuit pattern match operators.  Note
1318    that custom applications can trigger this same behavior by returning the
1319    special value AST_PBX_INCOMPLETE.
1320
1321 Application Changes
1322 -------------------
1323  * Directory now permits both first and last names to be matched at the same
1324    time.  In addition, the number of digits to enter of the name can be set in
1325    the arguments to Directory; previously, you could enter only 3, regardless
1326    of how many names are in your company.  For large companies, this should be
1327    quite helpful.
1328  * Voicemail now permits a mailbox setting to wrap around from first to last
1329    messages, if the "messagewrap" option is set to a true value.
1330  * Voicemail now permits an external script to be run, for password validation.
1331    The script should output "VALID" or "INVALID" on stdout, depending upon the
1332    wish to validate or invalidate the password given.  Arguments are:
1333    "mailbox" "context" "oldpass" "newpass".  See the sample voicemail.conf for
1334    more details
1335  * Dial has a new option: F(context^extension^pri), which permits a callee to
1336    continue in the dialplan, at the specified label, if the caller hangs up.
1337  * ChanSpy and ExtenSpy have a new option, 's' which suppresses speaking the
1338    technology name (e.g. SIP, IAX, etc) of the channel being spied on.
1339  * The Jack application now has a c() option to supply a custom client name.
1340  * Chanspy has a new option, 'B', which can be used to "barge" on a call. This is
1341    like the pre-existing whisper mode, except that the spy can also talk to the
1342    participant on the bridged channel as well.
1343  * Chanspy has a new option, 'n', which will allow for the spied-on party's name
1344    to be spoken instead of the channel name or number. For more information on the
1345    use of this option, issue the command "core show application ChanSpy" from the 
1346    Asterisk CLI.
1347  * Chanspy has a new option, 'd', which allows the spy to use DTMF to swap between
1348    spy modes. Use of this feature overrides the typical use of numeric DTMF. In other
1349    words, if using the 'd' option, it is not possible to enter a number to append to
1350    the first argument to Chanspy(). Pressing 4 will change to spy mode, pressing 5 will
1351    change to whisper mode, and pressing 6 will change to barge mode.
1352  * ExternalIVR now takes several options that affect the way it performs, as
1353    well as having several new commands.  Please see doc/externalivr.txt for the
1354    complete documentation.
1355  * Added ability to communicate over a TCP socket instead of forking a child process for the 
1356    ExternalIVR application.
1357  * ChanIsAvail has a new option, 'a', which will return all available channels instead
1358    of just the first one if you give the function more then one channel to check.
1359  * PrivacyManager now takes an option where you can specify a context where the 
1360    given number will be matched. This way you have more control over who is allowed
1361    and it stops the people who blindly enter 10 digits.
1362  * ForkCDR has new options: 'a' updates the answer time on the new CDR; 'A' locks
1363    answer times, disposition, on orig CDR against updates; 'D' Copies the disposition
1364    from the orig CDR to the new CDR after reset; 'e' sets the 'end' time on the
1365    original CDR; 'R' prevents the new CDR from being reset; 's(var=val)' adds/changes
1366    the 'var' variable on the original CDR; 'T' forces ast_cdr_end(), ast_cdr_answer(),
1367    obey the LOCKED flag on cdr's in the chain, and also the ast_cdr_setvar() func.
1368  * The Dial() application no longer copies the language used by the caller to the callee's
1369    channel. If you desire for the caller's channel's language to be used for file playback
1370    to the callee, then the file specified may be prepended with "${CHANNEL(language)}/" .
1371  * SendImage() no longer hangs up the channel on error; instead, it sets the
1372    status variable SENDIMAGESTATUS to one of 'SUCCESS', 'FAILURE', or
1373    'UNSUPPORTED'.  This change makes SendImage() more consistent with other
1374    applications.
1375  * Park has a new option, 's', which silences the announcement of the parking space number.
1376  * A non-numeric, zero, or negative timeout specified to Dial() will now be interpreted as
1377    invalid input and will be assumed to mean that no timeout is desired.
1378
1379 SIP Changes
1380 -----------
1381  * Added DNS manager support to registrations for peers referencing peer entries.
1382    DNS manager runs in the background which allows DNS lookups to be run asynchronously 
1383    as well as periodically updating the IP address. These properties allow for
1384    better performance as well as recovery in the event of an IP change.
1385  * Performance improvements via using hash tables (astobj2) and doubly-linked lists to improve 
1386    load/reload of large numbers of peers/users by ~40x (for large lists of peers).
1387    These changes also provide performance improvements for call setup and tear down.
1388  * Added ability to specify registration expiry time on a per registration basis in
1389    the register line.
1390  * Added support for T140 RED - redundancy in T.140 to prevent text loss due to
1391    lost packets.
1392  * Added t38pt_usertpsource option. See sip.conf.sample for details.
1393  * Added SIPnotify AMI command, for sending arbitrary SIP notify commands.
1394  * 'sip show peers' and 'sip show users' display their entries sorted in
1395     alphabetical order, as opposed to the order they were in, in the config 
1396     file or database. 
1397  * Videosupport now supports an additional option, "always", which always sets
1398     up video RTP ports, even on clients that don't support it.  This helps with
1399     callfiles and certain transfers to ensure that if two video phones are
1400     connected, they will always share video feeds.
1401
1402 IAX Changes
1403 -----------
1404  * Existing DNS manager lookups extended to check for SRV records.
1405  * IAX2 encryption support has been improved to support periodic key rotation
1406    within a call for enhanced security.  The option "keyrotate" has been
1407    provided to disable this functionality to preserve backwards compatibility
1408    with older versions of IAX2 that do not support key rotation.
1409
1410 CLI Changes
1411 -----------
1412   * New CLI command, "data get <path> [<search> [<filter>]]" which retrieves the
1413      data tree based on the given <path>.
1414   * New CLI command "data show providers" that will display all the registered
1415      callbacks.
1416   * New CLI command, "config reload <file.conf>" which reloads any module that
1417      references that particular configuration file.  Also added "config list"
1418      which shows which configuration files are in use.
1419   * New CLI commands, "pri show version" and "ss7 show version" that will
1420      display which version of libpri and libss7 are being used, respectively.
1421      A new API call was added so trunk will now have to be compiled against
1422      a versions of libpri and libss7 that have them or it will not know that
1423      these libraries exist.
1424   * The commands "core show globals", "core set global" and "core set chanvar" has
1425      been deprecated in favor of the more semanticly correct "dialplan show globals",
1426      "dialplan set chanvar" and "dialplan set global".
1427   * New CLI command "dialplan show chanvar" to list all variables associated
1428     with a given channel.
1429
1430 DNS manager changes
1431 -------------------
1432   * Addresses managed by DNS manager now can check to see if there is a DNS
1433     SRV record for a given domain and will use that hostname/port if present.
1434
1435 AMI - The manager (TCP/TLS/HTTP)
1436 --------------------------------
1437   * The Status command now takes an optional list of variables to display
1438     along with channel status.
1439   * The QueueEntry event now also includes the channel's uniqueid
1440
1441 ODBC Changes
1442 ------------
1443   * res_odbc no longer has a limit of 1023 total possible unshared connections,
1444     as some people were running into this limit.  This limit has been increased
1445     to 4.2 billion.
1446
1447 Queue changes
1448 -------------
1449   * The TRANSFER queue log entry now includes the the caller's original
1450     position in the transferred-from queue.
1451   * A new configuration option, "timeoutpriority" has been added. Please see the section labeled
1452     "QUEUE TIMING OPTIONS" in configs/queues.conf.sample for a detailed explanation of the option
1453     as well as an explanation about timeout options in general
1454   * Added a new option - C - for forcing the "answered elsewhere" flag on
1455     cancellation of calls in to members of the queue. This is to avoid the
1456     call to a member of a queue having the call listed as a "missed call".
1457
1458 Realtime changes
1459 ----------------
1460   * Several (ODBC, Postgres, MySQL, SQLite) realtime drivers have been given
1461     adaptive capabilities.  What this means in practical terms is that if your
1462     realtime table lacks critical fields, Asterisk will now emit warnings to
1463     that effect.  Also, some of the realtime drivers have the ability (if
1464     configured) to automatically add those columns to the table with the
1465     correct type and length.
1466
1467 Miscellaneous
1468 -------------
1469   * The channel variable ATTENDED_TRANSFER_COMPLETE_SOUND can now be set using
1470     the 'setvar' option to cause a given audio file to be played upon completion
1471     of an attended transfer.  Currently it works for DAHDI, IAX2, SIP, and
1472     Skinny channels only.
1473   * You can now compile Asterisk against the Hoard Memory Allocator, see doc/hoard.txt
1474     for more information.
1475   * Config file variables may now be appended to, by using the '+=' append
1476     operator.  This is most helpful when working with long SQL queries in
1477     func_odbc.conf, as the queries no longer need to be specified on a single
1478     line.
1479   * CDR config file, cdr.conf, has an added option, "initiatedseconds", 
1480     which will add a second to the billsec when the ending
1481     time is set, if the number in the microseconds field of the end time is 
1482     greater than the number of microseconds in the answer time. This allows
1483     users to count the 'initiated' seconds in their billing records. 
1484
1485 ------------------------------------------------------------------------------
1486 --- Functionality changes from Asterisk 1.4.X to Asterisk 1.6.0  -------------
1487 ------------------------------------------------------------------------------
1488
1489 AMI - The manager (TCP/TLS/HTTP)
1490 --------------------------------
1491   * Manager has undergone a lot of changes, all of them documented
1492     in doc/manager_1_1.txt
1493   * Manager version has changed to 1.1
1494   * Added a new action 'CoreShowChannels' to list currently defined channels
1495      and some information about them. 
1496   * Added a new action 'SIPshowregistry' to list SIP registrations.
1497   * Added TLS support for the manager interface and HTTP server
1498   * Added the URI redirect option for the built-in HTTP server
1499   * The output of CallerID in Manager events is now more consistent.
1500      CallerIDNum is used for number and CallerIDName for name.
1501   * Enable https support for builtin web server.
1502      See configs/http.conf.sample for details.
1503   * Added a new action, GetConfigJSON, which can return the contents of an
1504      Asterisk configuration file in JSON format.  This is intended to help
1505      improve the performance of AJAX applications using the manager interface
1506      over HTTP.
1507   * SIP and IAX manager events now use "ChannelType" in all cases where we 
1508      indicate channel driver. Previously, we used a mixture of "Channel"
1509      and "ChannelDriver" headers.
1510   * Added a "Bridge" action which allows you to bridge any two channels that
1511      are currently active on the system.
1512   * Added a "ListAllVoicemailUsers" action that allows you to get a list of all
1513      the voicemail users setup.
1514   * Added 'DBDel' and 'DBDelTree' manager commands.
1515   * cdr_manager now reports events via the "cdr" level, separating it from
1516      the very verbose "call" level.
1517   * Manager users are now stored in memory. If you change the manager account
1518     list (delete or add accounts) you need to reload manager.
1519   * Added Masquerade manager event for when a masquerade happens between
1520      two channels.
1521   * Added "manager reload" command for the CLI
1522   * Lots of commands that only provided information are now allowed under the
1523      Reporting privilege, instead of only under Call or System.
1524   * The IAX* commands now require either System or Reporting privilege, to
1525      mirror the privileges of the SIP* commands.
1526   * Added ability to retrieve list of categories in a config file.
1527   * Added ability to retrieve the content of a particular category.
1528   * Added ability to empty a context.
1529   * Created new action to create a new file.
1530   * Updated delete action to allow deletion by line number with respect to category.
1531   * Added new action insert to add new variable to category at specified line.
1532   * Updated action newcat to allow new category to be inserted in file above another
1533     existing category.
1534   * Added new event "JitterBufStats" in the IAX2 channel
1535   * Originate now requires the Originate privilege and, if you want to call out
1536     to a subshell, it requires the System privilege, as well.  This was done to
1537     enhance manager security.
1538   * Originate now accepts codec settings with "Codecs: alaw, ulaw, h264" 
1539   * New command: Atxfer. See doc/manager_1_1.txt for more details or 
1540     manager show command Atxfer from the CLI
1541   * New command: IAXregistry. See doc/manager_1_1.txt for more details or
1542     manager show command IAXregistry from the CLI
1543
1544 Dialplan functions
1545 ------------------
1546   * Added the DEVICE_STATE() dialplan function which allows retrieving any device
1547      state in the dialplan, as well as creating custom device states that are
1548      controllable from the dialplan.
1549   * Extend CALLERID() function with "pres" and "ton" parameters to
1550      fetch string representation of calling number presentation indicator
1551      and numeric representation of type of calling number value.
1552   * MailboxExists converted to dialplan function
1553   * A new option to Dial() for telling IP phones not to count the call
1554      as "missed" when dial times out and cancels.
1555   * Added LOCK(), TRYLOCK(), and UNLOCK(), which provide a single level dialplan
1556      mutex.  No deadlocks are possible, as LOCK() only allows a single lock to be
1557      held for any given channel.  Also, locks are automatically freed when a
1558      channel is hung up.
1559   * Added HINT() dialplan function that allows retrieving hint information.
1560      Hints are mappings between extensions and devices for the sake of 
1561      determining the state of an extension.  This function can retrieve the list
1562      of devices or the name associated with a hint.
1563   * Added EXTENSION_STATE() dialplan function which allows retrieving the state
1564     of any extension.
1565   * Added SYSINFO() dialplan function which allows retrieval of system information
1566   * Added a new dialplan function, DIALPLAN_EXISTS(), which allows you to check for
1567      the existence of a dialplan target.
1568   * Added two new dialplan functions, TOUPPER and TOLOWER, which convert a string to
1569      upper and lower case, respectively.
1570   * When bridging, Asterisk sets the BRIDGEPVTCALLID to the channel drivers unique
1571      ID for the call (not the Asterisk call ID or unique ID), provided that the
1572      channel driver supports this. For SIP, you get the SIP call-ID for the
1573      bridged channel which you can store in the CDR with a custom field.
1574
1575 CLI Changes
1576 -----------
1577   * Added CLI permissions, config file: cli_permissions.conf
1578      default is to allow all commands for every local user/group.
1579      Also this new feature added three new CLI commands:
1580       - cli check permissions {<username>|@<groupname>|<username>@<groupname>} [<command>]
1581       - cli reload permissions
1582       - cli show permissions
1583   * New CLI command "core show hint" (usage: core show hint <exten>)
1584   * New CLI command "core show settings"
1585   * Added 'core show channels count' CLI command.
1586   * Added the ability to set the core debug and verbose values on a per-file basis.
1587   * Added 'queue pause member' and 'queue unpause member' CLI commands
1588   * Ability to set process limits ("ulimit") without restarting Asterisk
1589   * Enhanced "agi debug" to print the channel name as a prefix to the debug
1590      output to make debugging on busy systems much easier.
1591   * New CLI commands "dialplan set extenpatternmatching true/false"
1592   * New CLI command: "core set chanvar" to set a channel variable from the CLI.
1593   * Added an easy way to execute Asterisk CLI commands at startup.  Any commands
1594     listed in the startup_commands section of cli.conf will get executed.
1595   * Added a CLI command, "devstate change", which allows you to set custom device
1596      states from the func_devstate module that provides the DEVICE_STATE() function
1597      and handling of the "Custom:" devices.
1598   * New CLI command: "sip show sched" which shows all ast_sched entries for sip,
1599     sorted into the different possible callbacks, with the number of entries
1600     currently scheduled for each. Gives you a feel for how busy the sip channel
1601     driver is.
1602   * Added 'skinny show lines verbose' CLI command. This will show the subs for every channel.
1603   * Cleanup another bunch of CLI commands. Now all modules follow the same schema.
1604     (Done by lmadsen, junky and mvanbaak during the devcon 2008)
1605
1606 SIP changes
1607 -----------
1608  * Added a new 'faxdetect=yes|no' configuration option to sip.conf.  When this
1609     option is enabled, Asterisk will watch for a CNG tone in the incoming audio
1610     for a received call.  If it is detected, the channel will jump to the 
1611     'fax' extension in the dialplan.
1612   * The default SIP useragent= identifier now includes the Asterisk version
1613   * A new option, match_auth_username in sip.conf changes the matching of incoming requests.
1614      If set, and the incoming request carries authentication info,
1615      the username to match in the users list is taken from the Digest header
1616      rather than from the From: field. This feature is considered experimental.
1617   * The "musiconhold" and "musicclass" settings in sip.conf are now removed,
1618      since they where replaced by "mohsuggest" and "mohinterpret" in version 1.4
1619   * The "localmask" setting was removed in version 1.2 and the reminder about it
1620      being removed is now also removed.
1621   * A new option "busylevel" for setting a level of calls where asterisk reports
1622      a device as busy, to separate it from call-limit. This value is also added
1623      to the SIP_PEER dialplan function.
1624   * A new realtime family called "sipregs" is now supported to store SIP registration
1625      data. If this family is defined, "sippeers" will be used for configuration and
1626      "sipregs" for registrations. If it's not defined, "sippeers" will be used for
1627      registration data, as before.
1628   * The SIPPEER function have new options for port address, call and pickup groups
1629   * Added support for T.140 realtime text in SIP/RTP
1630   * The "checkmwi" option has been removed from sip.conf, as it is no longer
1631      required due to the restructuring of how MWI is handled.  See the descriptions 
1632      in this file of the "pollmailboxes" and "pollfreq" options to voicemail.conf 
1633      for more information.
1634   * Added rtpdest option to CHANNEL() dialplan function.
1635   * Added SIPREFERRINGCONTEXT and SIPREFERREDBYHDR variables which are set when a transfer takes place.
1636   * SIP now adds a header to the CANCEL if the call was answered by another phone
1637      in the same dial command, or if the new c option in dial() is used.
1638   * The new default is that 100 Trying is not sent on REGISTER attempts as the RFC specifically
1639      states it is not needed. For phones, however, that do require it the "registertrying" option
1640      has been added so it can be enabled. 
1641   * A new option called "callcounter" (global/peer/user level) enables call counters needed
1642      for better status reports needed for queues and SIP subscriptions. (Call-Limit was previously
1643      used to enable this functionality).
1644   * New settings for timer T1 and timer B on a global level or per device. This makes it 
1645      possible to force timeout faster on non-responsive SIP servers. These settings are
1646      considered advanced, so don't use them unless you have a problem.
1647   * Added a dial string option to be able to set the To: header in an INVITE to any
1648      SIP uri.
1649   * Added a new global and per-peer option, qualifyfreq, which allows you to configure
1650      the qualify frequency.
1651   * Added SIP Session Timers support (RFC 4028).  This prevents stuck SIP sessions that
1652      were not properly torn down due to network or endpoint failures during an established
1653      SIP session.
1654   * Added experimental TCP and TLS support for SIP.  See doc/siptls.txt and 
1655      configs/sip.conf.sample for more information on how it is used.
1656   * Added a new configuration option "authfailureevents" that enables manager events when
1657     a peer can't authenticate properly. 
1658   * Added DNS manager support to registrations for peers not referencing a peer entry.
1659
1660 IAX2 changes
1661 ------------
1662   * Added the trunkmaxsize configuration option to chan_iax2.
1663   * Added the srvlookup option to iax.conf
1664   * Added support for OSP.  The token is set and retrieved through the CHANNEL()
1665      dialplan function.
1666
1667 XMPP Google Talk/Jingle changes
1668 -------------------------------
1669   * Added the bindaddr option to gtalk.conf.
1670
1671 Skinny changes
1672 -------------
1673   * Added skinny show device, skinny show line, and skinny show settings CLI commands.
1674   * Proper codec support in chan_skinny.
1675   * Added settings for IP and Ethernet QoS requests
1676
1677 MGCP changes
1678 ------------
1679   * Added separate settings for media QoS in mgcp.conf
1680
1681 Console Channel Driver changes
1682 ------------------------------
1683   * Added experimental support for video send & receive to chan_oss.
1684     This requires SDL and ffmpeg/avcodec, plus Video4Linux or X11 to act as
1685     a video source.
1686
1687 Phone channel changes (chan_phone)
1688 ----------------------------------
1689   * Added G729 passthrough support to chan_phone for Sigma Designs boards.
1690
1691 H.323 channel Changes
1692 ---------------------
1693   * H323 remote hold notification support added (by NOTIFY message
1694      and/or H.450 supplementary service)
1695
1696 Local channel changes
1697 ---------------------
1698   * The device state functionality in the Local channel driver has been updated
1699      to indicate INUSE or NOT_INUSE when a Local channel is being used as opposed
1700      to just UNKNOWN if the extension exists.
1701   * Added jitterbuffer support for chan_local.  This allows you to use the
1702      generic jitterbuffer on incoming calls going to Asterisk applications.
1703      For example, this would allow you to use a jitterbuffer for an incoming
1704      SIP call to Voicemail by putting a Local channel in the middle.  This
1705      feature is enabled by using the 'j' option in the Dial string to the Local
1706      channel in conjunction with the existing 'n' option for local channels.
1707   * A 'b' option has been added which causes chan_local to return the actual channel
1708      that is behind it when queried. This is useful for transfer scenarios as the
1709      actual channel will be transferred, not the Local channel.
1710
1711 Agent channel changes
1712 ----------------------
1713   * The ackcall and endcall options are now supplemented with options acceptdtmf
1714     and enddtmf. These allow for the DTMF keypress to be configurable. The options
1715     default to their old hard-coded values ('#' and '*' respectively) so this should
1716     not break any existing agent installations.
1717
1718 DAHDI channel driver (chan_dahdi) Changes
1719 ----------------------------------------
1720   * SS7 support (via libss7 library)
1721   * In India, some carriers transmit CID via dtmf. Some code has been added
1722      that will handle some situations. The cidstart=polarity_IN choice has been added for
1723      those carriers that transmit CID via dtmf after a polarity change.
1724   * CID matching information is now shown when doing 'dialplan show'.
1725   * Added dahdi show version CLI command.
1726   * Added setvar support to chan_dahdi.conf channel entries.
1727   * Added two new options: mwimonitor and mwimonitornotify.  These options allow
1728      you to enable MWI monitoring on FXO lines.  When the MWI state changes,
1729      the script specified in the mwimonitornotify option is executed.  An internal
1730      event indicating the new state of the mailbox is also generated, so that
1731      the normal MWI facilities in Asterisk work as usual.
1732   * Added signalling type 'auto', which attempts to use the same signalling type
1733      for a channel as configured in DAHDI. This is primarily designed for analog
1734      ports, but will also work for digital ports that are configured for FXS or FXO
1735      signalling types. This mode is also the default now, so if your chan_dahdi.conf
1736      does not specify signalling for a channel (which is unlikely as the sample
1737      configuration file has always recommended specifying it for every channel) then
1738      the 'auto' mode will be used for that channel if possible.
1739   * Added a 'dahdi set dnd' command to allow CLI control of the Do-Not-Disturb
1740      state for a channel; also ensured that the DNDState Manager event is
1741      emitted no matter how the DND state is set or cleared.
1742
1743 New Channel Drivers
1744 -------------------
1745   * Added a new channel driver, chan_unistim.  See doc/unistim.txt and
1746      configs/unistim.conf.sample for details.  This new channel driver allows
1747      you to use Nortel i2002, i2004, and i2050 phones with Asterisk.
1748   * Added a new channel driver, chan_console, which uses portaudio as a cross
1749      platform audio interface.  It was written as a channel driver that would
1750      work with Mac CoreAudio, but portaudio supports a number of other audio
1751      interfaces, as well. Note that this channel driver requires v19 or higher
1752      of portaudio; older versions have a different API.
1753  
1754 DUNDi changes
1755 -------------
1756   * Added the ability to specify arguments to the Dial application when using
1757      the DUNDi switch in the dialplan.
1758   * Added the ability to set weights for responses dynamically.  This can be
1759      done using a global variable or a dialplan function.  Using the SHELL()
1760      function would allow you to have an external script set the weight for
1761      each response.
1762   * Added two new dialplan functions, DUNDIQUERY and DUNDIRESULT.  These
1763      functions will allow you to initiate a DUNDi query from the dialplan,
1764      find out how many results there are, and access each one.
1765   * Added the ability to specifiy a port for a dundi peer.
1766
1767 ENUM changes
1768 ------------
1769   * Added two new dialplan functions, ENUMQUERY and ENUMRESULT.  These
1770      functions will allow you to initiate an ENUM lookup from the dialplan,
1771      and Asterisk will cache the results.  ENUMRESULT can be used to access
1772      the results without doing multiple DNS queries.
1773
1774 Voicemail Changes
1775 -----------------
1776   * Added the ability to customize which sound files are used for some of the
1777      prompts within the Voicemail application by changing them in voicemail.conf
1778   * Added the ability for the "voicemail show users" CLI command to show users
1779      configured by the dynamic realtime configuration method.
1780   * MWI (Message Waiting Indication) handling has been significantly
1781      restructured internally to Asterisk.  It is now totally event based
1782      instead of polling based.  The voicemail application will notify other
1783      modules that have subscribed to MWI events when something in the mailbox
1784      changes.
1785     This also means that if any other entity outside of Asterisk is changing
1786      the contents of mailboxes, then the voicemail application still needs to
1787      poll for changes.  Examples of situations that would require this option
1788      are web interfaces to voicemail or an email client in the case of using
1789      IMAP storage.  So, two new options have been added to voicemail.conf
1790      to account for this: "pollmailboxes" and "pollfreq".  See the sample
1791      configuration file for details.
1792   * Added "tw" language support
1793   * Added support for storage of greetings using an IMAP server
1794   * Added ability to customize forward, reverse, stop, and pause keys for message playback
1795   * SMDI is now enabled in voicemail using the smdienable option.
1796   * A "lockmode" option has been added to asterisk.conf to configure the file
1797      locking method used for voicemail, and potentially other things in the
1798      future.  The default is the old behavior, lockfile.  However, there is a
1799      new method, "flock", that uses a different method for situations where the
1800      lockfile will not work, such as on SMB/CIFS mounts.
1801   * Added the ability to backup deleted messages, to ease recovery in the case
1802      that a user accidentally deletes a message, and discovers that they need it.
1803   * Reworked the SMDI interface in Asterisk.  The new way to access SMDI information
1804      is through the new functions, SMDI_MSG_RETRIEVE() and SMDI_MSG().  The file
1805      smdi.conf can now be configured with options to map SMDI station IDs to Asterisk
1806      voicemail boxes.  The SMDI interface can also poll for MWI changes when some
1807      outside entity is modifying the state of the mailbox (such as IMAP storage or
1808      a web interface of some kind).
1809   * Added the support for marking messages as "urgent." There are two methods to accomplish
1810      this. One is to pass the 'U' option to VoiceMail(). Another way to mark a message as urgent
1811      is to specify "review=yes" in voicemail.conf. Doing this will cause allow the user to mark
1812      the message as urgent after he has recorded a voicemail by following the voice instructions.
1813     When listening to voicemails using VoiceMailMain urgent messages will be presented before other
1814      messages
1815
1816 Queue changes
1817 -------------
1818   * Added the general option 'shared_lastcall' so that member's wrapuptime may be
1819      used across multiple queues.
1820   * Added QUEUE_VARIABLES function to set queue variables added setqueuevar and 
1821      setqueueentryvar options for each queue, see queues.conf.sample for details.
1822   * Added keepstats option to queues.conf which will keep queue
1823      statistics during a reload.
1824   * setinterfacevar option in queues.conf also now sets a variable
1825      called MEMBERNAME which contains the member's name.
1826   * Added 'Strategy' field to manager event QueueParams which represents
1827      the queue strategy in use. 
1828   * Added option to run macro when a queue member is connected to a caller, 
1829      see queues.conf.sample for details.
1830   * app_queue now has a 'loose' option which is almost exactly like 'strict' except it
1831      does not count paused queue members as unavailable.
1832   * Added min-announce-frequency option to queues.conf which allows you to control the
1833      minimum amount of time between queue announcements for use when the caller's queue
1834      position changes frequently.
1835   * Added additional information to EXITWITHTIMEOUT and EXITWITHKEY events in the
1836      queue log.
1837   * Added ability for non-realtime queues to have realtime members
1838   * Added the "linear" strategy to queues.
1839   * Added the "wrandom" strategy to queues.
1840   * Added new channel variable QUEUE_MIN_PENALTY
1841   * QUEUE_MAX_PENALTY and QUEUE_MIN_PENALTY may be adjusted in mid-call by defining
1842      rules in queuerules.conf. See configs/queuerules.conf.sample for details
1843   * Added a new parameter for member definition, called state_interface. This may be
1844     used so that a member may be called via one interface but have a different interface's
1845     device state reported.
1846   * Added new CLI and Manager commands relating to reloading queues. From the CLI, see
1847     "queue reload", "queue reset stats". Also see "manager show command QueueReload" and
1848     "manager show command QueueReset."
1849   * New configuration option: randomperiodicannounce. If a list of periodic announcements is
1850     specified by the periodic-announce option, then one will be chosen randomly when it is time
1851     to play a periodic announcment
1852   * New configuration options: announce-position now takes two more values in addition to "yes" and
1853     "no." Two new options, "limit" and "more," are allowed. These are tied to another option,
1854     announce-position-limit. By setting announce-position to "limit" callers will only have their
1855     position announced if their position is less than what is specified by announce-position-limit.
1856     If announce-position is set to "more" then callers beyond the position specified by announce-position-limit
1857     will be told that their are more than announce-position-limit callers waiting.
1858   * Two new queue log events have been added. An ADDMEMBER event will be logged
1859     when a realtime queue member is added and a REMOVEMEMBER event will be logged
1860     when a realtime queue member is removed. Since there is no calling channel associated
1861     with these events, the string "REALTIME" is placed where the channel's unique id
1862     is typically placed.
1863   * The configuration method for the "joinempty" and "leavewhenempty" options has
1864     changed to a comma-separated list of methods of determining member availability
1865     instead of vague terms such as "yes," "loose," "no," and "strict." These old four
1866     values are still accepted for backwards-compatibility, though.
1867   * The average talktime is now calculated on queues. This information is reported via the
1868     CLI commands "queue show" and "queues show"; through the AMI events AgentComplete, QueueSummary,
1869     and QueueParams; and through the channelvariable QUEUETALKTIME if setinterfacevar=yes is set for
1870     the queue.
1871
1872 MeetMe Changes
1873 --------------
1874   * The 'o' option to provide an optimization has been removed and its functionality 
1875      has been enabled by default.
1876   * When a conference is created, the UNIQUEID of the channel that caused it to be
1877      created is stored.  Then, every channel that joins the conference will have the
1878      MEETMEUNIQUEID channel variable set with this ID.  This can be used to relate
1879      callers that come and go from long standing conferences.
1880   * Added a new application, MeetMeChannelAdmin, which is similar to MeetMeAdmin,
1881      except it does operations on a channel by name, instead of number in a conference.
1882      This is a very useful feature in combination with the 'X' option to ChanSpy.
1883   * Added 'C' option to Meetme which causes a caller to continue in the dialplan
1884      when kicked out.
1885   * Added new RealTime functionality to provide support for scheduled conferencing.
1886      This includes optional messages to the caller if they attempt to join before
1887      the schedule start time, or to allow the caller to join the conference early.
1888      Also included is optional support for limiting the number of callers per
1889      RealTime conference.
1890   * Added the S() and L() options to the MeetMe application.  These are pretty
1891      much identical to the S() and L() options to Dial().  They let you set
1892      timeouts for the conference, as well as have warning sounds played to
1893      let the caller know how much time is left, and when it is running out.
1894   * Added the ability to do "meetme concise" with the "meetme" CLI command.
1895      This extends the concise capabilities of this CLI command to include
1896      listing all conferences, instead of an addition to the other sub commands
1897      for the "meetme" command.
1898   * Added the ability to specify the music on hold class used to play into the
1899      conference when there is only one member and the M option is used.
1900   * Added MEETME_INFO dialplan function which provides a way to query
1901      various properties of a Meetme conference.
1902   * Added new admin features: *81: Roll call, *82: eject all, *83: mute all, 
1903      and *84: record in-conf
1904
1905 Other Dialplan Application Changes
1906 ----------------------------------
1907   * Argument support for Gosub application
1908   * From the to-do lists: straighten out the app timeout args:
1909      Wait() app now really does 0.3 seconds- was truncating arg to an int.
1910      WaitExten() same as Wait().
1911      Congestion() - Now takes floating pt. argument.
1912      Busy() - now takes floating pt. argument.
1913      Read() - timeout now can be floating pt.
1914      WaitForRing() now takes floating pt timeout arg.
1915      SpeechBackground() -- clarified in the docstrings that the timeout is an integer seconds.
1916   * Added 's' option to Page application.
1917   * Added an optional timeout argument to the Page application.
1918   * Added 'E', 'V', and 'P' commands to ExternalIVR.
1919   * Added 'o' and 'X' options to Chanspy.
1920   * Added a new dialplan application, Bridge, which allows you to bridge the
1921      calling channel to any other active channel on the system.
1922   * Added the ability to specify a music on hold class to play instead of ringing
1923      for the SLATrunk application.
1924   * The Read application no longer exits the dialplan on error.  Instead, it sets
1925      READSTATUS to ERROR, which you can catch and handle separately.
1926   * Added 'm' option to Directory, which lists out names, 8 at a time, instead
1927      of asking for verification of each name, one at a time.
1928   * Privacy() no longer uses privacy.conf, as all options are specifyable as
1929      direct options to the app.
1930   * AMD() has a new "maximum word length" option. "show application AMD" from the CLI
1931      for more details
1932   * GotoIfTime() now may branch based on a "false" condition, like other Goto-related applications
1933   * The ChannelRedirect application no longer exits the dialplan if the given channel
1934      does not exist. It will now set the CHANNELREDIRECT_STATUS variable to SUCCESS upon success
1935      or NOCHANNEL if the given channel was not found.
1936   * The silencethreshold setting that was previously configurable in multiple
1937      applications is now settable globally via dsp.conf.
1938
1939 Music On Hold Changes
1940 ---------------------
1941   * A new option, "digit", has been added for music on hold classes in 
1942      musiconhold.conf.  If this is set for a music on hold class, a caller
1943      listening to music on hold can press this digit to switch to listening
1944      to this music on hold class.
1945   * Support for realtime music on hold has been added.
1946   * In conjunction with the realtime music on hold, a general section has
1947      been added to musiconhold.conf, its sole variable is cachertclasses. If this
1948      is set, then music on hold classes found in realtime will be cached in memory.
1949
1950 AEL Changes
1951 -----------
1952   * AEL upgraded to use the Gosub with Arguments instead
1953      of Macro application, to hopefully reduce the problems
1954      seen with the artificially low stack ceiling that 
1955      Macro bumps into. Macros can only call other Macros
1956      to a depth of 7. Tests run using gosub, show depths
1957      limited only by virtual memory. A small test demonstrated
1958      recursive call depths of 100,000 without problems.
1959      -- in addition to this, all apps that allowed a macro
1960      to be called, as in Dial, queues, etc, are now allowing
1961      a gosub call in similar fashion.
1962   * AEL now generates LOCAL(argname) declarations when it
1963      Set()'s the each arg name to the value of ${ARG1}, ${ARG2),
1964      etc. That makes the arguments local in scope. The user
1965      can define their own local variables in macros, now,
1966      by saying "local myvar=someval;"  or using Set() in this
1967      fashion:  Set(LOCAL(myvar)=someval);  ("local" is now
1968      an AEL keyword).
1969   * utils/conf2ael introduced. Will convert an extensions.conf
1970      file into extensions.ael. Very crude and unfinished, but 
1971      will be improved as time goes by. Should be useful for a
1972      first pass at conversion.
1973   * aelparse will now read extensions.conf to see if a referenced
1974      macro or context is there before issueing a warning.
1975   * AEL parser sets a local channel variable ~~EXTEN~~, to 
1976     preserve the value of ${EXTEN} thru switch statements.
1977   * New operator in $[...] expressions: the ~~ operator serves
1978     as a concatenation operator. AT THE MOMENT, it is really only
1979     necessary and useful in AEL, especially in if() expressions.
1980     Operation: ${a} ~~ ${b|  with force both a and b to strings, strip 
1981     any enclosing double-quotes, and evaluate to the value of a
1982     concatenated with the value of b.  For example if a is set to
1983     "xyz"  and b has the value "abc", then ${a} ~~ ${b| would
1984     evaluate to xyzabc .
1985
1986
1987 Call Features (res_features) Changes
1988 ------------------------------------
1989   * Added the parkedcalltransfers option to features.conf
1990   * Added parkedcallparking option to control one touch parking w/ parking
1991     pickup
1992   * Added parkedcallhangup option to control disconnect feature w/ parking
1993     pickup
1994   * Added parkedcallrecording option to control one-touch record w/ parking
1995     pickup
1996   * Added parkedcallparking, parkedcallhangup, parkedcallrecording, and
1997     parkedcalltransfers option support for multiple parking lots.
1998   * Added BRIDGE_FEATURES variable to set available features for a channel
1999   * The built-in method for doing attended transfers has been updated to
2000      include some new options that allow you to have the transferee sent
2001      back to the person that did the transfer if the transfer is not successful.
2002      See the options "atxferdropcall", "atxferloopdelay", and "atxfercallbackretries"
2003      in features.conf.sample.
2004   * Added support for configuring named groups of custom call features in
2005      features.conf.  This means that features can be written a single time, and
2006      then mapped into groups of features for different key mappings or easier
2007      access control.
2008   * Updated the ParkedCall application to allow you to not specify a parking
2009      extension.  If you don't specify a parking space to pick up, it will grab
2010      the first one available.
2011   * Added cli command 'features reload' to reload call features from features.conf
2012   * Moved into core asterisk binary.
2013   * Changed the default setting for featuredigittimeout to 2000 ms from 500 ms.
2014   * Added the ability for custom parking lots to be configured with their own
2015     parking extension with the parkext option.
2016
2017 Language Support Changes
2018 ------------------------
2019   * Brazilian Portuguese (pt-BR) in VM, and say.c was added
2020   * Added support for the Hungarian language for saying numbers, dates, and times.
2021
2022 AGI Changes
2023 -----------
2024   * Added SPEECH commands for speech recognition. A complete listing can be found
2025     using agi show.
2026   * If app_stack is loaded, GOSUB is a native AGI command that may be used to
2027     invoke subroutines in the dialplan.  Note that calling EXEC with Gosub
2028     does not behave as expected; the native command needs to be used, instead.
2029   * Added the ability to perform SRV lookups on fast AGI calls. To use this
2030     feature, simply use hagi: instead of agi: as the protocol portion
2031     of the URI parameter to the AGI function call in your dial plan. Also note
2032     that specifying a port number in the AGI URI will disable SRV lookups,
2033     even if you use the hagi: protocol.
2034   * No longer support MSG_OOB flag on HANGUP.
2035
2036 Logger changes
2037 --------------
2038   * Added rotatestrategy option to logger.conf, along with two new options:
2039      "timestamp" which will use the time to name the logger files instead of
2040      sequence number; and "rotate", which rotates the names of the log files,
2041      similar to the way syslog rotates files.
2042   * Added exec_after_rotate option to logger.conf, which allows a system
2043      command to be run after rotation.  This is primarily useful with
2044      rotatestrategy=rotate, to allow a limit on the number of log files kept
2045      and to ensure that the oldest log file gets deleted.
2046   * Added realtime support for the queue log
2047
2048 Call Detail Records 
2049 -------------------
2050   * The cdr_manager module has a [mappings] feature, like cdr_custom,
2051     to add fields to the manager event from the CDR variables.
2052   * Added cdr_adaptive_odbc, a new module that adapts to the structure of your
2053      backend database CDR table.  Specifically, additional, non-standard
2054      columns are supported, merely by setting the corresponding CDR variable in
2055      your dialplan.  In addition, you may alias any column to another name (for
2056      example, if you want the 'src' CDR variable to be column 'ANI' in the DB,
2057      simply "alias src => ANI" in the configuration file).  Records may be
2058      posted to more than one backend, simply by specifying multiple categories
2059      in the configuration file.  And finally, you may filter which CDRs get
2060      posted to each backend, by specifying a filter (which the record must
2061      match) for the particular category.  Filters are additive (meaning all
2062      rules must match to post that CDR).
2063   * The Postgres CDR module now supports some features of the cdr_adaptive_odbc
2064      module.  Specifically, you may add additional columns into the table and
2065      they will be set, if you set the corresponding CDR variable name.  Also,
2066      if you omit columns in your database table, they will be silently skipped
2067      (but a record will still be inserted, based on what columns remain).  Note
2068      that the other two features from cdr_adaptive_odbc (alias and filter) are
2069      not currently supported.
2070   * The ResetCDR application now has an 'e' option that re-enables a CDR if it
2071      has been disabled using the NoCDR application.
2072
2073 Miscellaneous New Modules
2074 -------------------------
2075   * Added a new CDR module, cdr_sqlite3_custom.
2076   * Added a new realtime configuration module, res_config_sqlite
2077   * Added a new codec translation module, codec_resample, which re-samples
2078      signed linear audio between 8 kHz and 16 kHz to help support wideband
2079      codecs.
2080   * Added a new module, res_phoneprov, which allows auto-provisioning of phones
2081      based on configuration templates that use Asterisk dialplan function and
2082      variable substitution.  It should be possible to create phone profiles and
2083      templates that work for the majority of phones provisioned over http. It
2084      is currently only intended to provision a single user account per phone.
2085      An example profile and set of templates for Polycom phones is provided.
2086      NOTE: Polycom firmware is not included, but should be placed in
2087      AST_DATA_DIR/phoneprov/configs to match up with the included templates.
2088   * Added a new module, app_jack, which provides interfaces to JACK, the Jack
2089      Audio Connection Kit (http://www.jackaudio.org/).  Two interfaces are
2090      provided; there is a JACK() application, and a JACK_HOOK() function.  Both
2091      interfaces create an input and output JACK port.  The application makes
2092      these ports the endpoint of the call.  The audio coming from the channel
2093      goes out the output port and whatever comes back in on the input port is
2094      what gets sent to the channel.  The JACK_HOOK() function turns on a JACK
2095      audiohook on the channel.  This lets you run the audio coming from a
2096      channel through JACK, and whatever comes back in is what gets forwarded
2097      on as the channel's audio.  This is very useful for building custom
2098      vocoders or doing recording or analysis of the channel's audio in another
2099      application.
2100   * Added a new module, res_config_curl, which permits using a HTTP POST url
2101      to retrieve, create, update, and delete realtime information from a remote
2102      web server.  Note that this module requires func_curl.so to be loaded for
2103      backend functionality.
2104   * Added a new module, res_config_ldap, which permits the use of an LDAP
2105      server for realtime data access.
2106   * Added support for writing and running your dialplan in lua using the pbx_lua
2107      module.  See configs/extensions.lua.sample for examples of how to do this.
2108
2109 Miscellaneous 
2110 -------------
2111   * Ability to use libcap to set high ToS bits when non-root
2112      on Linux. If configure is unable to find libcap then you
2113      can use --with-cap to specify the path.
2114   * Added maxfiles option to options section of asterisk.conf which allows you to specify
2115      what Asterisk should set as the maximum number of open files when it loads.
2116   * Added the jittertargetextra configuration option.
2117   * Added support for setting the CoS for VLAN traffic (802.1p).  See the sample
2118      configuration files for the IP channel drivers.  The new option is "cos".
2119      This information is also documented in doc/qos.tex, or the IP Quality of Service
2120      section of asterisk.pdf.
2121   * When originating a call using AMI or pbx_spool that fails the reason for failure
2122      will now be available in the failed extension using the REASON dialplan variable.
2123   * Added support for reading the TOUCH_MONITOR_PREFIX channel variable.
2124      It allows you to configure a prefix for auto-monitor recordings.
2125   * A new extension pattern matching algorithm, based on a trie, is introduced
2126      here, that could noticeably speed up mid-sized to large dialplans.
2127      It is NOT used by default, as duplicating the behaviour of the old pattern
2128      matcher is still under development. A config file option, in extensions.conf,
2129      in the [general] section, called "extenpatternmatchingnew", is by default
2130      set to false; setting that to true will force the use of the new algorithm.
2131      Also, the cli commands "dialplan set extenpatternmatchingnew true/false" can
2132      be used to switch the algorithms at run time.
2133   * A new option when starting a remote asterisk (rasterisk, asterisk -r) for
2134      specifying which socket to use to connect to the running Asterisk daemon
2135      (-s)
2136   * Performance enhancements to the sched facility, which is used in
2137     the channel drivers, etc. Added hashtabs and doubly-linked lists
2138     to speed up deletion; start at the beginning or end of list to
2139     speed up insertion.
2140   * Added Doubly-linked lists after the fashion of linkedlists.h. They are in
2141     dlinkedlists.h. Doubly-linked lists feature fast deletion times.
2142     Added regression tests to the tests/ dir, also.
2143   * Added a refcount trace feature to astobj2 for those trying to balance
2144     object creation, deletion; work, play; space and time. See the
2145     notes in astobj2.h. Also, see utils/refcounter as well, as a
2146     quick way to find unbalanced refcounts in what could be a sea
2147     of objects that were balanced.
2148   * Added logging to 'make update' command.  See update.log
2149   * Added strictrtp option to rtp.conf. If enabled this will drop RTP packets that
2150      do not come from the remote party.
2151   * Added the 'n' option to the SpeechBackground application to tell it to not
2152      answer the channel if it has not already been answered.
2153   * Added a compiler flag, CHANNEL_TRACE, which permits channel tracing to be
2154      turned on, via the CHANNEL(trace) dialplan function.  Could be useful for
2155      dialplan debugging.
2156   * iLBC source code no longer included (see UPGRADE.txt for details)
2157   * If compiled with DETECT_DEADLOCKS enabled and if you have glibc, then if 
2158      deadlock is detected, a backtrace of the stack which led to the lock calls
2159      will be output to the CLI.
2160   * If compiled with DEBUG_THREADS enabled and if you have glibc, then issuing
2161      the "core show locks" CLI command will give lock information output as well
2162      as a backtrace of the stack which led to the lock calls.
2163   * users.conf now sports an optional alternateexts property, which permits
2164     allocation of additional extensions which will reach the specified user.
2165   * A new option for the configure script, --enable-internal-poll, has been added
2166     for use with systems which may have a buggy implementation of the poll system
2167     call. If you notice odd behavior such as the CLI being unresponsive on remote
2168     consoles, you may want to try using this option. This option is enabled by default
2169     on Darwin systems since it is known that the Darwin poll() implementation has
2170     odd issues.
2171
2172 Timer Changes
2173 --------------------
2174 * In addition to timing from DAHDI, there is a new timing module called
2175   res_timing_timerfd. In order to use this, you must be running Linux with
2176   a kernel version 2.6.25 or newer as well as glibc 2.8 or newer. The configure
2177   script will be able to tell if you have the requirements. From menuselect, select
2178   res_timing_timerfd from the Resource Modules menu.