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