81ed1bc72c437989ed2f2e991b1dc93bb87018b2
[asterisk/asterisk.git] / CHANGES
1 ==============================================================================
2 ===
3 === This file documents the new and/or enhanced functionality added in
4 === the Asterisk versions listed below. This file does NOT include
5 === changes in behavior that would not be backwards compatible with
6 === previous versions; for that information see the UPGRADE.txt file
7 === and the other UPGRADE files for older releases.
8 ===
9 ==============================================================================
10
11 ------------------------------------------------------------------------------
12 --- Functionality changes from Asterisk 12 to Asterisk 13 --------------------
13 ------------------------------------------------------------------------------
14
15 Applications
16 --------------------------
17  * Record application now has an option 'o' which allows 0 to act as an exit
18    key setting the RECORD_STATUS variable to 'OPERATOR' instead of 'DTMF'
19
20 ChanSpy
21 --------------------------
22  * ChanSpy now accepts a channel uniqueid or a fully specified channel name
23    as the chanprefix parameter if the 'u' option is specified.
24
25 ConfBridge
26 --------------------------
27  * CONFBRIDGE dialplan function is now capable of creating/modifying dynamic
28    conference user menus.
29
30  * CONFBRIDGE dialplan function is now capable of removing dynamic conference
31    menus, bridge settings, and user settings that have been applied by the
32    CONFBRIDGE dialplan function.
33
34  * The ConfBridge dialplan application now sets a channel variable,
35    CONFBRIGE_RESULT, upon exiting. This variable can be used to determine
36    how a channel exited the conference.
37
38  * Added conference user option 'announce_join_leave_review'. This option
39    implies 'announce_join_leave' with the added effect that the user will
40    be asked if they want to confirm or re-record the recording of their
41    name when entering the conference
42
43 Directory
44 --------------------------
45  * At exit, the Directory application now sets a channel variable
46    DIRECTORY_RESULT to one of the following based on the reason for exiting:
47      OPERATOR    user requested operator by pressing '0' for operator
48      ASSISTANT   user requested assistant by pressing '*' for assistant
49      TIMEOUT     user pressed nothing and Directory stopped waiting
50      HANGUP      user's channel hung up
51      SELECTED    user selected a user from the directory and is routed
52      USEREXIT    user pressed '#' from the selection prompt to exit
53      FAILED      directory failed in a way that wasn't accounted for. Dang.
54
55 MusicOnHold
56 --------------------------
57  * MusicOnHold streams (all modes other than "files") now support wide band
58    audio too.
59
60 Page
61 --------------------------
62  * Added options 'b' and 'B' to apply predial handlers for outgoing calls
63    and for the channel executing Page respectively.
64
65 PickupChan
66 --------------------------
67  * PickupChan now accepts channel uniqueids of channels to pickup.
68
69 Say
70 --------------------------
71  * If a channel variable SAY_DTMF_INTERRUPT is present on a channel and set
72    to 'true' (case insensitive), then any Say application (SayNumber,
73    SayDigits, SayAlpha, SayAlphaCase, SayUnixTime, and SayCounted) will
74    anticipate DTMF. If DTMF is received, these applications will behave like
75    the background application and jump to the received extension once a match
76    is established or after a short period of inactivity.
77
78 MixMonitor
79 -------------------------
80  * A new function, MIXMONITOR, has been added to allow access to individual
81    instances of MixMonitor on a channel.
82
83 Debugging
84 -------------------------
85  * Core Show Locks output now includes Thread/LWP ID if the platform
86    supports this feature.
87  * New "logger add channel" and "logger remove channel" CLI commands have
88    been added to allow creation and deletion of dynamic logger channels
89    without configuration changes. These dynamic logger channels will only
90    exist until the next restart of asterisk.
91
92 ------------------------------------------------------------------------------
93 --- Functionality changes from Asterisk 12.1.0 to Asterisk 12.2.0 ------------
94 ------------------------------------------------------------------------------
95
96 ARI
97 ------------------
98  * The live recording object on recording events now contains a target_uri
99    field which contains the URI of what is being recorded.
100
101 Core
102 ------------------
103  * Exposed sorcery-based configuration files like pjsip.conf to dialplans via
104    the new AST_SORCERY diaplan function.
105
106
107 ------------------------------------------------------------------------------
108 --- Functionality changes from Asterisk 12.0.0 to Asterisk 12.1.0 ------------
109 ------------------------------------------------------------------------------
110
111 AMI
112 ------------------
113  * Added a new module that provides AMI control over MWI within Asterisk,
114    res_mwi_external_ami. Note that this module depends on res_mwi_external;
115    for more information on enabling this module, see res_mwi_external.
116    This module provides the MWIGet/MWIUpdate/MWIDelete actions, as well as
117    the MWIGet/MWIGetComplete events.
118
119  * The DialStatus field in the DialEnd event can now contain additional
120    statuses that convey how the dial operation terminated. This includes
121    ABORT, CONTINUE, and GOTO.
122
123  * AMI will now emit security events. A new class authorization has been
124    added in manager.conf for the security events, 'security'. The new events
125    are:
126     - FailedACL - raised when a request violates an ACL check
127     - InvalidAccountID - raised when a request fails an authentication
128       check due to an invalid account ID
129     - SessionLimit - raised when a request fails due to exceeding the
130       number of allowed concurrent sessions for a service
131     - MemoryLimit - raised when a request fails due to an internal memory
132       allocation failure
133     - LoadAverageLimit - raised when a request fails because a configured
134       load average limit has been reached
135     - RequestNotAllowed - raised when a request is not allowed by
136       the service
137     - AuthMethodNotAllowed - raised when a request used an authentication
138       method not allowed by the service
139     - RequestBadFormat - raised when a request is received with bad formatting
140     - SuccessfulAuth - raised when a request successfully authenticates
141     - UnexpectedAddress - raised when a request has a different source address
142       then what is expected for a session already in progress with a service
143     - ChallengeResponseFailed - raised when a request's attempt to authenticate
144       has been challenged, and the request failed the authentication challenge
145     - InvalidPassword - raised when a request provides an invalid password
146       during an authentication attempt
147     - ChallengeSent - raised when an Asterisk service send an authentication
148       challenge to a request
149     - InvalidTransport - raised when a request attempts to use a transport not
150       allowed by the Asterisk service
151
152  * Bridge related events now have two additional fields: BridgeName and
153    BridgeCreator. BridgeName is a descriptive name for the bridge;
154    BridgeCreator is the name of the entity that created the bridge. This
155    affects the following events: ConfbridgeStart, ConfbridgeEnd,
156    ConfbridgeJoin, ConfbridgeLeave, ConfbridgeRecord, ConfbridgeStopRecord,
157    ConfbridgeMute, ConfbridgeUnmute, ConfbridgeTalking, BlindTransfer,
158    AttendedTransfer, BridgeCreate, BridgeDestroy, BridgeEnter, BridgeLeave
159
160 ARI
161 ------------------
162  * The Bridge data model now contains the additional fields 'name' and
163    'creator'. The 'name' field conveys a descriptive name for the bridge;
164    the 'creator' field conveys the name of the entity that created the bridge.
165    This affects all responses to HTTP requests that return a Bridge data model
166    as well as all event derived data models that contain a Bridge data model.
167    The POST /bridges operation may now optionally specify a name to give to
168    the bridge being created.
169
170  * Added a new ARI resource 'mailboxes' which allows the creation and
171    modification of mailboxes managed by external MWI. Modules res_mwi_external
172    and res_stasis_mailbox must be enabled to use this resource. For more
173    information on external MWI control, see res_mwi_external.
174
175  * Added new events for externally initiated transfers. The event
176    BridgeBlindTransfer is now raised when a channel initiates a blind transfer
177    of a bridge in the ARI controlled application to the dialplan; the
178    BridgeAttendedTransfer event is raised when a channel initiates an
179    attended transfer of a bridge in the ARI controlled application to the
180    dialplan.
181
182  * Channel variables may now be specified as a body parameter to the
183    POST /channels operation. The 'variables' key in the JSON is interpreted
184    as a sequence of key/value pairs that will be added to the created channel
185    as channel variables. Other parameters in the JSON body are treated as
186    query parameters of the same name.
187
188 HTTP
189 ------------------
190  * Asterisk's HTTP server now supports chunked Transfer-Encoding. This will be
191    automatically handled by the HTTP server if a request is received with a
192    Transfer-Encoding type of "chunked".
193
194 res_pjsip
195 ------------------
196  * Path support has been added with the 'support_path' option in registration
197    and aor sections.
198
199  * A 'debug' option has been added to the globals section that will allow
200    sip messages to be logged.
201
202  * A 'set_var' option has been added to endpoints that will automatically
203    set the desired variable(s) on a channel created for that endpoint.
204
205  * Several new tables and columns have been added to the realtime schema for
206    the res_pjsip related modules. See the UPGRADE.txt notes for updating
207    the database schema.
208
209 res_mwi_external
210 ------------------
211  * A new module, res_mwi_external, has been added to Asterisk. This module
212    acts as a base framework that other modules can build on top of to allow
213    an external system to control MWI within Asterisk. For implementations
214    that make use of res_mwi_external, see res_mwi_external_ami and
215    res_ari_mailboxes. Note that res_mwi_external canflicts with other modules
216    that may produce MWI themselves, such as app_voicemail. res_mwi_external
217    and other modules that depend on it cannot be built or loaded with
218    app_voicemail present.
219
220
221 ------------------------------------------------------------------------------
222 --- Functionality changes from Asterisk 11 to Asterisk 12 --------------------
223 ------------------------------------------------------------------------------
224
225 Overview
226 ------------------
227
228 Asterisk 12 is a standard release of the Asterisk project. As such, the
229 focus of development for this release was on core architectural changes and
230 major new features. This includes:
231  * A more flexible bridging core based on the Bridging API
232  * A new internal message bus, Stasis
233  * Major standardization and consistency improvements to AMI
234  * Addition of the Asterisk RESTful Interface (ARI)
235  * A new SIP channel driver, chan_pjsip
236 In addition, as the vast majority of bridging in Asterisk was migrated to the
237 Bridging API used by ConfBridge, major changes were made to most of the
238 interfaces in Asterisk. This includes not only AMI, but also CDRs and CEL.
239
240 Specifications have been written for the affected interfaces. These
241 specifications are available on the Asterisk wiki:
242  * AMI - https://wiki.asterisk.org/wiki/x/dAFRAQ
243  * CEL - https://wiki.asterisk.org/wiki/x/4ICLAQ
244  * CDRs - https://wiki.asterisk.org/wiki/x/pwpRAQ
245
246 It is *highly* recommended that anyone migrating to Asterisk 12 read the
247 information regarding its release both in this file and in the accompanying
248 UPGRADE.txt file. More detailed information on the major changes can be found
249 on the Asterisk wiki at https://wiki.asterisk.org/wiki/x/0YCLAQ.
250
251
252 Build System
253 ------------------
254  * Added build option DISABLE_INLINE. This option can be used to work around a
255    bug in gcc. For more information, see
256    http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47816
257
258  * Removed the CHANNEL_TRACE development mode build option. Certain aspects of
259    the CHANNEL_TRACE build option were incompatible with the new bridging
260    architecture.
261
262  * Asterisk now optionally uses libxslt to improve XML documentation generation
263    and maintainability. If libxslt is not available on the system, some XML
264    documentation will be incomplete.
265
266  * Asterisk now depends on libjansson. If a package of libjansson is not
267    available on your distro, please see http://www.digip.org/jansson/.
268
269  * Asterisk now depends on libuuid and, optionally, uriparser. It is
270    recommended that you install uriparser, even if it is optional.
271
272  * The new SIP stack and channel driver uses a particular version of PJSIP.
273    Please see https://wiki.asterisk.org/wiki/x/J4GLAQ for more information on
274    configuring and installing PJSIP for usage with Asterisk.
275
276  * Optional API was re-implemented to be more portable, and no longer requires
277    weak reference support from the compiler. The build option OPTIONAL_API may
278    be disabled to disable Optional API support.
279
280 Applications
281 ------------------
282
283 AgentLogin
284 ------------------
285  * Along with AgentRequest, this application has been modified to be a
286    replacement for chan_agent. The act of a channel calling the AgentLogin
287    application places the channel into a pool of agents that can be
288    requested by the AgentRequest application. Note that this application, as
289    well as all other agent related functionality, is now provided by the
290    app_agent_pool module. See chan_agent and AgentRequest for more information.
291
292  * This application no longer performs agent authentication. If authentication
293    is desired, the dialplan needs to perform this function using the
294    Authenticate or VMAuthenticate application or through an AGI script before
295    running AgentLogin.
296
297  * If this application is called and the agent is already logged in, the
298    dialplan will continue exection with the AGENT_STATUS channel variable set
299    to ALREADY_LOGGED_IN.
300
301  * The agents.conf schema has changed. Rather than specifying agents on a
302    single line in comma delineated fashion, each agent is defined in a separate
303    context. This allows agents to use the power of context templates in their
304    definition.
305
306  * A number of parameters from agents.conf have been removed. This includes
307    maxloginretries, autologoffunavail, updatecdr, goodbye, group, recordformat,
308    urlprefix, and savecallsin. These options were obsoleted by the move from
309    a channel driver model to the bridging/application model provided by
310    app_agent_pool.
311
312 AgentRequest
313 ------------------
314  * A new application, this will request a logged in agent from the pool and
315    bridge the requested channel with the channel calling this application.
316    Logged in agents are those channels that called the AgentLogin application.
317    If an agent cannot be requested from the pool, the AGENT_STATUS dialplan
318    application will be set with an appropriate error value.
319
320 AgentMonitorOutgoing
321 ------------------
322  * This application has been removed. It was a holdover from when
323    AgentCallbackLogin was removed.
324
325 AlarmReceiver
326 ------------------
327  * Added support for additional Ademco DTMF signalling formats, including
328    Express 4+1, Express 4+2, High Speed and Super Fast.
329
330  * Added channel variable ALARMRECEIVER_CALL_LIMIT. This sets the maximum
331    call time, in milliseconds, to run the application.
332
333  * Added channel variable ALARMRECEIVER_RETRIES_LIMIT. This sets the
334    maximum number of times to retry the call.
335
336  * Added a new configuration option answait. If set, the AlarmReceiver
337    application will wait the number of milliseconds specified by answait
338    after the channel has answered. Valid values range between 500
339    milliseconds and 10000 milliseconds.
340
341  * Added configuration option no_group_meta. If enabled, grouping of metadata
342    information in the AlarmReceiver log file will be skipped.
343
344 Answer
345 ------------------
346  * It is now no longer possible to bypass updating the CDR on the channel
347    when answering. CDRs reflect the state of the channel and will always
348    reflect the time they were Answered.
349
350 BridgeWait
351 ------------------
352  * A new application in Asterisk, this will place the calling channel
353    into a holding bridge, optionally entertaining them with some form of
354    media. Channels participating in a holding bridge do not interact with
355    other channels in the same holding bridge. Optionally, however, a channel
356    may join as an announcer. Any media passed from an announcer channel is
357    played to all channels in the holding bridge. Channels leave a holding
358    bridge either when an optional timer expires, or via the ChannelRedirect
359    application or AMI Redirect action.
360
361 ConfBridge
362 ------------------
363  * All participants in a bridge can now be kicked out of a conference room
364    by specifying the channel parameter as 'all' in the ConfBridge kick CLI
365    command, i.e., 'confbridge kick <conference> all'
366
367  * CLI output for the 'confbridge list' command has been improved. When
368    displaying information about a particular bridge, flags will now be shown
369    for the participating users indicating properties of that user.
370
371  * The ConfbridgeList event now contains the following fields: WaitMarked,
372    EndMarked, and Waiting. This displays additional properties about the
373    user's profile, as well as whether or not the user is waiting for a
374    Marked user to enter the conference.
375
376  * Added a new option for conference recording, record_file_append. If enabled,
377    when the recording is stopped and then re-started, the existing recording
378    will be used and appended to.
379
380  * ConfBridge now has the ability to set the language of announcements to the
381    conference.  The language can be set on a bridge profile in confbridge.conf
382    or by the dialplan function CONFBRIDGE(bridge,language)=en.
383
384 ControlPlayback
385 ------------------
386  * The channel variable CPLAYBACKSTATUS may now return the value
387    'REMOTESTOPPED'. This occurs when playback is stopped by a remote interface,
388    such as AMI. See the AMI action ControlPlayback for more information.
389
390 Directory
391 ------------------
392  * Added the 'a' option, which allows the caller to enter in an additional
393    alias for the user in the directory. This option must be used in conjunction
394    with the 'f', 'l', or 'b' options. Note that the alias for a user can be
395    specified in voicemail.conf.
396
397 DumpChan
398 ------------------
399  * The output of DumpChan no longer includes the DirectBridge or IndirectBridge
400    fields. Instead, if a channel is in a bridge, it includes a BridgeID field
401    containing the unique ID of the bridge that the channel happens to be in.
402
403 ForkCDR
404 ------------------
405  * ForkCDR no longer automatically resets the forked CDR. See the 'r' option
406    for more information.
407
408  * Variables are no longer purged from the original CDR. See the 'v' option for
409    more information.
410
411  * The 'A' option has been removed. The Answer time on a CDR is never updated
412    once set.
413
414  * The 'd' option has been removed. The disposition on a CDR is a function of
415    the state of the channel and cannot be altered.
416
417  * The 'D' option has been removed. Who the Party B is on a CDR is a function
418    of the state of the respective channels involved in the CDR and cannot be
419    altered.
420
421  * The 'r' option has been changed. Previously, ForkCDR always reset the CDR
422    such that the start time and, if applicable, the answer time was updated.
423    Now, by default, ForkCDR simply forks the CDR, maintaining any times. The
424    'r' option now triggers the Reset, setting the start time (and answer time
425    if applicable) to the current time. Note that the 'a' option still sets
426    the answer time to the current time if the channel was already answered.
427
428  * The 's' option has been removed. A variable can be set on the original CDR
429    if desired using the CDR function, and removed from a forked CDR using the
430    same function.
431
432  * The 'T' option has been removed. The concept of DONT_TOUCH and LOCKED no
433    longer applies in the CDR engine.
434
435  * The 'v' option now prevents the copy of the variables from the original CDR
436    to the forked CDR. Previously the variables were always copied but were
437    removed from the original. This was changed as removing variables from a CDR
438    can have unintended side effects - this option allows the user to prevent
439    propagation of variables from the original to the forked without modifying
440    the original.
441
442 MeetMe
443 -------------------
444  * Added the 'n' option to MeetMe to prevent application of the DENOISE
445    function to a channel joining a conference. Some channel drivers that vary
446    the number of audio samples in a voice frame will experience significant
447    quality problems if a denoiser is attached to the channel; this option gives
448    them the ability to remove the denoiser without having to unload func_speex.
449
450 MixMonitor
451 ------------------
452  * The 'b' option now includes conferences as well as sounds played to the
453    participants.
454
455  * The AUDIOHOOK_INHERIT function is no longer needed to keep a MixMonitor
456    running during a transfer. If a MixMonitor is started on a channel,
457    the MixMonitor will continue to record the audio passing through the
458    channel even in the presence of transfers.
459
460 NoCDR
461 ------------------
462  * The NoCDR application is deprecated. Please use the CDR_PROP function to
463    disable CDRs.
464
465  * While the NoCDR application will prevent CDRs for a channel from being
466    propagated to registered CDR backends, it will not prevent that data from
467    being collected. Hence, a subsequent call to ResetCDR or the CDR_PROP
468    function that enables CDRs on a channel will restore those records that have
469    not yet been finalized.
470
471 ParkAndAnnounce
472 -------------------
473  * The app_parkandannounce module has been removed. The application
474    ParkAndAnnounce is now provided by the res_parking module. See the
475    res_parking changes for more information.
476
477 Queue
478 -------------------
479  * Added queue available hint. The hint can be added to the dialplan using the
480    following syntax: exten,hint,Queue:{queue_name}_avail
481    For example, if the name of the queue is 'markq':
482         exten => 8501,hint,Queue:markq_avail
483    This will report 'InUse' if there are no logged in agents or no free agents.
484    It will report 'Idle' when an agent is free.
485
486  * Queues now support a hint for member paused state. The hint uses the form
487    'Queue:{queue_name}_pause_{member_name}', where {queue_name} and {member_name}
488    are the name of the queue and the name of the member to subscribe to,
489    respectively. For example: exten => 8501,hint,Queue:sales_pause_mark.
490    Members will show as In Use when paused.
491
492  * The configuration options eventwhencalled and eventmemberstatus have been
493    removed.  As a result, the AMI events QueueMemberStatus, AgentCalled,
494    AgentConnect, AgentComplete, AgentDump, and AgentRingNoAnswer will always be
495    sent.  The "Variable" fields will also no longer exist on the Agent* events.
496    These events can be filtered out from a connected AMI client using the
497    eventfilter setting in manager.conf.
498
499  * The queue log now differentiates between blind and attended transfers. A
500    blind transfer will result in a BLINDTRANSFER message with the destination
501    context and extension. An attended transfer will result in an
502    ATTENDEDTRANSFER message. This message will indicate the method by which
503    the attended transfer was completed: "BRIDGE" for a bridge merge, "APP"
504    for running an application on a bridge or channel, or "LINK" for linking
505    two bridges together with local channels. The queue log will also now detect
506    externally initiated blind and attended transfers and record the transfer
507    status accordingly.
508
509  * When performing queue pause/unpause on an interface without specifying an
510    individual queue, the PAUSEALL/UNPAUSEALL event will only be logged if at
511    least one member of any queue exists for that interface.
512
513  * Added the 'queue_log_realtime_use_gmt' option to have timestamps in GMT
514    for realtime queue log entries.
515
516 ResetCDR
517 ------------------
518  * The 'e' option has been deprecated. Use the CDR_PROP function to re-enable
519    CDRs when they were previously disabled on a channel.
520
521  * The 'w' and 'a' options have been removed. Dispatching CDRs to registered
522    backends occurs on an as-needed basis in order to preserve linkedid
523    propagation and other needed behavior.
524
525 SayAlphaCase
526 ------------------
527  * A new application, this is similar to SayAlpha except that it supports
528    case sensitive playback of the specified characters. For example,
529    SayAlphaCase(u,aBc) will result in 'a uppercase b c'.
530
531 SetAMAFlags
532 ------------------
533  * This application is deprecated in favor of CHANNEL(amaflags).
534
535 SendDTMF
536 ------------------
537  * The SendDTMF application will now accept 'W' as valid input. This will cause
538    the application to delay one second while streaming DTMF.
539
540 Stasis
541 ------------------
542  * A new application in Asterisk 12, this hands control of the channel calling
543    the application over to an external system. Currently, external systems
544    manipulate channels in Stasis through the Asterisk RESTful Interface (ARI).
545
546 UserEvent
547 ------------------
548  * UserEvent will now handle duplicate keys by overwriting the previous value
549    assigned to the key.
550
551  * In addition to AMI, UserEvent invocations will now be distributed to any
552    interested Stasis applications.
553
554 VoiceMail
555 ------------------
556  * Mailboxes defined by app_voicemail MUST be referenced by the rest of the
557    system as mailbox@context.  The rest of the system cannot add @default
558    to mailbox identifiers for app_voicemail that do not specify a context
559    any longer.  It is a mailbox identifier format that should only be
560    interpreted by app_voicemail.
561
562  * The voicemail.conf configuration file now has an 'alias' configuration
563    parameter for use with the Directory application. The voicemail realtime
564    database table schema has also been updated with an 'alias' column.
565
566
567 Codecs
568 ------------------
569  * Pass through support has been added for both VP8 and Opus.
570
571  * Added format attribute negotiation for the Opus codec. Format attribute
572    negotiation is provided by the res_format_attr_opus module.
573
574
575 Core
576 ------------------
577  * Masquerades as an operation inside Asterisk have been effectively hidden
578    by the migration to the Bridging API. As such, many 'quirks' of Asterisk
579    no longer occur. This includes renaming of channels, "<ZOMBIE>" channels,
580    dropping of frame/audio hooks, and other internal implementation details
581    that users had to deal with. This fundamental change has large implications
582    throughout the changes documented for this version. For more information
583    about the new core architecture of Asterisk, please see the Asterisk wiki.
584
585  * Multiple parties in a bridge may now be transferred. If a participant in a
586    multi-party bridge initiates a blind transfer, a Local channel will be used
587    to execute the dialplan location that the transferer sent the parties to. If
588    a participant in a multi-party bridge initiates an attended transfer,
589    several options are possible. If the attended transfer results in a transfer
590    to an application, a Local channel is used. If the attended transfer results
591    in a transfer to another channel, the resulting channels will be merged into
592    a single bridge.
593
594  * The channel variable ATTENDED_TRANSFER_COMPLETE_SOUND is no longer channel
595    driver specific.  If the channel variable is set on the transferrer channel,
596    the sound will be played to the target of an attended transfer.
597
598  * The channel variable BRIDGEPEER becomes a comma separated list of peers in
599    a multi-party bridge.  The BRIDGEPEER value can have a maximum of 10 peers
600    listed.  Any more peers in the bridge will not be included in the list.
601    BRIDGEPEER is not valid in holding bridges like parking since those channels
602    do not talk to each other even though they are in a bridge.
603
604  * The channel variable BRIDGEPVTCALLID is only valid for two party bridges
605    and will contain a value if the BRIDGEPEER's channel driver supports it.
606
607  * A channel variable ATTENDEDTRANSFER is now set which indicates which channel
608    was responsible for an attended transfer in a similar fashion to
609    BLINDTRANSFER.
610
611  * Modules using the Configuration Framework or Sorcery must have XML
612    configuration documentation. This configuration documentation is included
613    with the rest of Asterisk's XML documentation, and is accessible via CLI
614    commands. See the CLI changes for more information.
615
616 AMI (Asterisk Manager Interface)
617 ------------------
618  * Major changes were made to both the syntax as well as the semantics of the
619    AMI protocol. In particular, AMI events have been substantially improved
620    in this version of Asterisk. For more information, please see the AMI
621    specification at https://wiki.asterisk.org/wiki/x/dAFRAQ
622
623  * AMI events that reference a particular channel or bridge will now always
624    contain a standard set of fields. When multiple channels or bridges are
625    referenced in an event, fields for at least some subset of the channels
626    and bridges in the event will be prefixed with a descriptive name to avoid
627    name collisions. See the AMI event documentation on the Asterisk wiki for
628    more information.
629
630  * The CLI command 'manager show commands' no longer truncates command names
631    longer than 15 characters and no longer shows authorization requirement
632    for commands. 'manager show command' now displays the privileges needed
633    for using a given manager command instead.
634
635  * The SIPshowpeer action will now include a 'SubscribeContext' field for a
636    peer in its response if the peer has a subscribe context set.
637
638  * The SIPqualifypeer action now acknowledges the request once it has
639    established that the request is against a known peer. It also issues a new
640    event, 'SIPQualifyPeerDone', once the qualify action has been completed.
641
642  * The PlayDTMF action now supports an optional 'Duration' parameter.  This
643    specifies the duration of the digit to be played, in milliseconds.
644
645  * Added VoicemailRefresh action to allow an external entity to trigger mailbox
646    updates when changes occur instead of requiring the use of pollmailboxes.
647
648  * Added a new action 'ControlPlayback'. The ControlPlayback action allows an
649    AMI client to manipulate audio currently being played back on a channel. The
650    supported operations depend on the application being used to send audio to
651    the channel. When the audio playback was initiated using the ControlPlayback
652    application or CONTROL STREAM FILE AGI command, the audio can be paused,
653    stopped, restarted, reversed, or skipped forward. When initiated by other
654    mechanisms (such as the Playback application), the audio can be stopped,
655    reversed, or skipped forward.
656
657  * Channel related events now contain a snapshot of channel state, adding new
658    fields to many of these events.
659
660  * The AMI event 'Newexten' field 'Extension' is deprecated, and may be removed
661    in a future release. Please use the common 'Exten' field instead.
662
663  * The AMI event 'UserEvent' from app_userevent now contains the channel state
664    fields. The channel state fields will come before the body fields.
665
666  * The AMI events 'ParkedCall', 'ParkedCallTimeOut', 'ParkedCallGiveUp', and
667    'UnParkedCall' have changed significantly in the new res_parking module.
668
669    The 'Channel' and 'From' headers are gone. For the channel that was parked
670    or is coming out of parking, a 'Parkee' channel snapshot is issued and it
671    has a number of fields associated with it. The old 'Channel' header relayed
672    the same data as the new 'ParkeeChannel' header.
673
674    The 'From' field was ambiguous and changed meaning depending on the event.
675    for most of these, it was the name of the channel that parked the call
676    (the 'Parker'). There is no longer a header that provides this channel name,
677    however the 'ParkerDialString' will contain a dialstring to redial the
678    device that parked the call.
679
680    On UnParkedCall events, the 'From' header would instead represent the
681    channel responsible for retrieving the parkee. It receives a channel
682    snapshot labeled 'Retriever'. The 'from' field is is replaced with
683    'RetrieverChannel'.
684
685    Lastly, the 'Exten' field has been replaced with 'ParkingSpace'.
686
687  * The AMI event 'Parkinglot' (response to 'Parkinglots' command) in a similar
688    fashion has changed the field names 'StartExten' and 'StopExten' to
689    'StartSpace' and 'StopSpace' respectively.
690
691  * The deprecated use of | (pipe) as a separator in the channelvars setting in
692    manager.conf has been removed.
693
694  * Channel Variables conveyed with a channel no longer contain the name of the
695    channel as part of the key field, i.e., ChanVariable(SIP/foo): bar=baz is now
696    ChanVariable: bar=baz. When multiple channels are present in a single AMI
697    event, the various ChanVariable fields will contain a suffix that specifies
698    which channel they correspond to.
699
700  * The NewPeerAccount AMI event is no longer raised. The NewAccountCode AMI
701    event always conveys the AMI event for a particular channel.
702
703  * All 'Reload' events have been consolidated into a single event type. This
704    event will always contain a Module field specifying the name of the module
705    and a Status field denoting the result of the reload. All modules now issue
706    this event when being reloaded.
707
708  * The 'ModuleLoadReport' event has been removed. Most AMI connections would
709    fail to receive this event due to being connected after modules have loaded.
710    AMI connections that want to know when Asterisk is ready should listen for
711    the 'FullyBooted' event.
712
713  * app_fax now sends the same send fax/receive fax events as res_fax. The
714    'FaxSent' event is now the 'SendFAX' event, and the 'FaxReceived' event is
715    now the 'ReceiveFAX' event.
716
717  * The 'MusicOnHold' event is now two events: 'MusicOnHoldStart' and
718    'MusicOnHoldStop'. The sub type field has been removed.
719
720  * The 'JabberEvent' event has been removed. It is not AMI's purpose to be a
721    carrier for another protocol.
722
723  * The Bridge Manager action's 'Playtone' header now accepts more fine-grained
724    options. 'Channel1' and 'Channel2' may be specified in order to play a tone
725    to the specific channel. 'Both' may be specified to play a tone to both
726    channels. The old 'yes' option is still accepted as a way of playing the
727    tone to Channel2 only.
728
729  * The AMI 'Status' response event to the AMI Status action replaces the
730    'BridgedChannel' and 'BridgedUniqueid' headers with the 'BridgeID' header to
731    indicate what bridge the channel is currently in.
732
733  * The AMI 'Hold' event has been moved out of individual channel drivers, into
734    core, and is now two events: 'Hold' and 'Unhold'.  The status field has been
735    removed.
736
737  * The AMI events in app_queue have been made more consistent with each other.
738    Events that reference channels (QueueCaller* and Agent*) will show
739    information about each channel.  The (infamous) 'Join' and 'Leave' AMI
740    events have been changed to 'QueueCallerJoin' and 'QueueCallerLeave'.
741
742  * The 'MCID' AMI event now publishes a channel snapshot when available and
743    its non-channel-snapshot parameters now use either the "MCallerID" or
744    'MConnectedID' prefixes with Subaddr*, Name*, and Num* suffixes instead
745    of 'CallerID' and 'ConnectedID' to avoid confusion with similarly named
746    parameters in the channel snapshot.
747
748  * The AMI events 'Agentlogin' and 'Agentlogoff' have been renamed
749    'AgentLogin' and 'AgentLogoff' respectively.
750
751  * The 'Channel' key used in the 'AlarmClear', 'Alarm', and 'DNDState' has been
752    renamed "DAHDIChannel" since it does not convey an Asterisk channel name.
753
754  * 'ChannelUpdate' events have been removed.
755
756  * All AMI events now contain a 'SystemName' field, if available.
757
758  * Local channel optimization is now conveyed in two events:
759    'LocalOptimizationBegin' and 'LocalOptimizationEnd'. The Begin event is sent
760    when the Local channel driver begins attempting to optimize itself out of
761    the media path; the End event is sent after the channel halves have
762    successfully optimized themselves out of the media path.
763
764  * Local channel information in events is now prefixed with 'LocalOne' and
765    'LocalTwo'. This replaces the suffix of '1' and '2' for the two halves of
766    the Local channel. This affects the 'LocalBridge', 'LocalOptimizationBegin',
767    and 'LocalOptimizationEnd' events.
768
769  * The option 'allowmultiplelogin' can now be set or overriden in a particular
770    account. When set in the general context, it will act as the default
771    setting for defined accounts.
772
773  * The 'BridgeAction' event was removed. It technically added no value, as the
774    Bridge Action already receives confirmation of the bridge through a
775    successful completion Event.
776
777  * The 'BridgeExec' events were removed. These events duplicated the events that
778    occur in the Briding API, and are conveyed now through BridgeCreate,
779    BridgeEnter, and BridgeLeave events.
780
781  * The 'RTCPSent'/'RTCPReceived' events have been significantly modified from
782    previous versions. They now report all SR/RR packets sent/received, and
783    have been restructured to better reflect the data sent in a SR/RR. In
784    particular, the event structure now supports multiple report blocks.
785
786  * Added 'BlindTransfer' and 'AttendedTransfer' events. These events are
787    raised when a blind transfer/attended transfer completes successfully.
788    They contain information about the transfer that just completed, including
789    the location of the transfered channel.
790
791  * Added a 'security' class to AMI which outputs the required fields for
792    security messages similar to the log messages from res_security_log
793
794  * The AMI event 'ExtensionStatus' now contains a 'StatusText' field
795    that describes the status value in a human readable string.
796
797 CDR (Call Detail Records)
798 ------------------
799  * Significant changes have been made to the behavior of CDRs. The CDR engine
800    was effectively rewritten and built on the Stasis message bus. For a full
801    definition of CDR behavior in Asterisk 12, please read the specification
802    on the Asterisk wiki (wiki.asterisk.org).
803
804  * CDRs will now be created between all participants in a bridge. For each
805    pair of channels in a bridge, a CDR is created to represent the path of
806    communication between those two endpoints. This lets an end user choose who
807    to bill for what during bridge operations with multiple parties.
808
809  * The duration, billsec, start, answer, and end times now reflect the times
810    associated with the current CDR for the channel, as opposed to a cumulative
811    measurement of all CDRs for that channel.
812
813  * When a CDR is dispatched, user defined CDR variables from both parties are
814    included in the resulting CDR. If both parties have the same variable, only
815    the Party A value is provided.
816
817  * Added a new option to cdr.conf, 'debug'. When enabled, significantly more
818    information regarding the CDR engine is logged as verbose messages. This
819    option should only be used if the behavior of the CDR engine needs to be
820    debugged.
821
822  * Added CLI command 'cdr set debug {on|off}'. This toggles the 'debug' setting
823    normally configured in cdr.conf.
824
825  * Added CLI command 'cdr show active {channel}'. When {channel} is not
826    specified, this command provides a summary of the channels with CDR
827    information and their statistics. When {channel} is specified, it shows
828    detailed information about all records associated with {channel}.
829
830 CEL (Channel Event Logging)
831 ------------------
832  * CEL has undergone significant rework in Asterisk 12, and is now built on the
833    Stasis message bus. Please see the specification for CEL on the Asterisk
834    wiki at https://wiki.asterisk.org/wiki/x/4ICLAQ for more detailed
835    information.
836
837  * The 'extra' field of all CEL events that use it now consists of a JSON blob
838    with key/value pairs which are defined in the Asterisk 12 CEL documentation.
839
840  * BLINDTRANSFER events now report the transferee bridge unique
841    identifier, extension, and context in a JSON blob as the extra string
842    instead of the transferee channel name as the peer.
843
844  * ATTENDEDTRANSFER events now report the peer as NULL and additional
845    information in the 'extra' string as a JSON blob. For transfers that occur
846    between two bridged channels, the 'extra' JSON blob contains the primary
847    bridge unique identifier, the secondary channel name, and the secondary
848    bridge unique identifier. For transfers that occur between a bridged channel
849    and a channel running an app, the 'extra' JSON blob contains the primary
850    bridge unique identifier, the secondary channel name, and the app name.
851
852  * LOCAL_OPTIMIZE events have been added to convey local channel
853    optimizations with the record occurring for the semi-one channel and
854    the semi-two channel name in the peer field.
855
856  * BRIDGE_START, BRIDGE_END, BRIDGE_UPDATE, 3WAY_START, 3WAY_END, CONF_ENTER,
857    CONF_EXIT, CONF_START, and CONF_END events have all been removed. These
858    events have been replaced by BRIDGE_ENTER/BRIDGE_EXIT. The BRIDGE_ENTER
859    and BRIDGE_EXIT events are raised when a channel enters/exits any bridge,
860    regardless of whether or not that bridge happens to contain multiple
861    parties.
862
863 CLI
864 -------------------
865  * When compiled with '--enable-dev-mode', the astobj2 library will now add
866    several CLI commands that allow for inspection of ao2 containers that
867    register themselves with astobj2. The CLI commands are 'astobj2 container
868    dump', 'astobj2 container stats', and 'astobj2 container check'.
869
870  * Added specific CLI commands for bridge inspection. This includes 'bridge
871    show all', which lists all bridges in the system, and 'bridge show {id}',
872    which provides specific information about a bridge.
873
874  * Added CLI command 'bridge destroy'. This will destroy the specified bridge,
875    ejecting the channels currently in the bridge. If the channels cannot
876    continue in the dialplan or application that put them in the bridge, they
877    will be hung up.
878
879  * Added command 'bridge kick'. This will eject a single channel from a bridge.
880
881  * Added commands to inspect and manipulate the registered bridge technologies.
882    This include 'bridge technology show', which lists the registered bridge
883    technologies, as well as 'bridge technology {suspend|unsuspend} {tech}',
884    which controls whether or not a registered bridge technology can be used
885    during smart bridge operations. If a technology is suspended, it will not
886    be used when a bridge technology is picked for channels; when unsuspended,
887    it can be used again.
888
889  * The command 'config show help {module} {type} {option}' will show
890    configuration documentation for modules with XML configuration
891    documentation. When {module}, {type}, and {option} are omitted, a listing
892    of all modules with registered documentation is displayed. When {module}
893    is specified, a listing of all configuration types for that module is
894    displayed, along with their synopsis. When {module} and {type} are
895    specified, a listing of all configuration options for that type are
896    displayed along with their synopsis. When {module}, {type}, and {option}
897    are specified, detailed information for that configuration option is
898    displayed.
899
900  * Added 'core show sounds' and 'core show sound' CLI commands. These display
901    a listing of all installed media sounds available on the system and
902    detailed information about a sound, respectively.
903
904  * 'xmldoc dump' has been added. This CLI command will dump the XML
905    documentation DOM as a string to the specified file. The Asterisk core
906    will populate certain XML elements pulled from the source files with
907    additional run-time information; this command lets a user produce the
908    XML documentation with all information.
909
910 Features
911 -------------------
912  * Parking has been pulled from core and placed into a separate module called
913    res_parking. See Parking changes below for more details. Configuration for
914    parking should now be performed in res_parking.conf. Configuration for
915    parking in features.conf is now unsupported.
916
917  * Core attended transfers now have several new options. While performing an
918    attended transfer, the transferer now has the following options:
919    - *1 - cancel the attended transfer (configurable via atxferabort)
920    - *2 - complete the attended transfer, dropping out of the call
921           (configurable via atxfercomplete)
922    - *3 - complete the attended transfer, but stay in the call. This will turn
923           the call into a multi-party bridge (configurable via atxferthreeway)
924    - *4 - swap to the other party. Once an attended transfer has begun, this
925           options may be used multiple times (configurable via atxferswap)
926
927  * For DTMF blind and attended transfers, the channel variable TRANSFER_CONTEXT
928    must be on the channel initiating the transfer to have any effect.
929
930  * The BRIDGE_FEATURES channel variable would previously only set features for
931    the calling party and would set this feature regardless of whether the
932    feature was in caps or in lowercase. Use of a caps feature for a letter
933    will now apply the feature to the calling party while use of a lowercase
934    letter will apply that feature to the called party.
935
936  * Add support for automixmon to the BRIDGE_FEATURES channel variable.
937
938  * The channel variable DYNAMIC_PEERNAME is redundant with BRIDGEPEER and is
939    removed.  The more useful DYNAMIC_WHO_ACTIVATED gives the channel name that
940    activated the dynamic feature.
941
942  * The channel variables DYNAMIC_FEATURENAME and DYNAMIC_WHO_ACTIVATED are set
943    only on the channel executing the dynamic feature.  Executing a dynamic
944    feature on the bridge peer in a multi-party bridge will execute it on all
945    peers of the activating channel.
946
947  * You can now have the settings for a channel updated using the FEATURE()
948    and FEATUREMAP() functions inherited to child channels by setting
949    FEATURE(inherit)=yes.
950
951  * automixmon now supports additional channel variables from automon including:
952    TOUCH_MIXMONITOR_PREFIX, TOUCH_MIXMONITOR_MESSAGE_START,
953    and TOUCH_MIXMONITOR_MESSAGE_STOP
954
955  * A new general features.conf option 'recordingfailsound' has been added which
956    allowssetting a failure sound for a user tries to invoke a recording feature
957    such as automon or automixmon and it fails.
958
959  * It is no longer necessary (or possible) to define the ATXFER_NULL_TECH in
960    features.c for atxferdropcall=no to work properly. This option now just
961    works.
962
963 Logging
964 -------------------
965  * Added log rotation strategy 'none'. If set, no log rotation strategy will
966    be used. Given that this can cause the Asterisk log files to grow quickly,
967    this option should only be used if an external mechanism for log management
968    is preferred.
969
970 Realtime
971 ------------------
972  * Dynamic realtime tables for SIP Users can now include a 'path' field. This
973    will store the path information for that peer when it registers. Realtime
974    tables can also use the 'supportpath' field to enable Path header support.
975
976  * LDAP realtime configurations for SIP Users now have the AstAccountPathSupport
977    objectIdentifier. This maps to the supportpath option in sip.conf.
978
979 Sorcery
980 ------------------
981  * Sorcery is a new data abstraction and object persistence API in Asterisk. It
982    provides modules a useful abstraction on top of the many storage mechanisms
983    in Asterisk, including the Asterisk Database, static configuration files,
984    static Realtime, and dynamic Realtime. It also provides a caching service.
985    Users can configure a hierarchy of data storage layers for specific modules
986    in sorcery.conf.
987
988  * All future modules which utilize Sorcery for object persistence must have a
989    column named "id" within their schema when using the Sorcery realtime module.
990    This column must be able to contain a string of up to 128 characters in length.
991
992 Security Events Framework
993 ------------------
994  * Security Event timestamps now use ISO 8601 formatted date/time instead of
995    the "seconds-microseconds" format that it was using previously.
996
997 Stasis Message Bus
998 ------------------
999  * The Stasis message bus is a publish/subscribe message bus internal to
1000    Asterisk. Many services in Asterisk are built on the Stasis message bus,
1001    including AMI, ARI, CDRs, and CEL. Parameters controlling the operation of
1002    Stasis can be configured in stasis.conf. Note that these parameters operate
1003    at a very low level in Asterisk, and generally will not require changes.
1004
1005 Channel Drivers
1006 ------------------
1007  * When a channel driver is configured to enable jiterbuffers, they are now
1008    applied unconditionally when a channel joins a bridge. If a jitterbuffer
1009    is already set for that channel when it enters, such as by the JITTERBUFFER
1010    function, then the existing jitterbuffer will be used and the one set by
1011    the channel driver will not be applied.
1012
1013 chan_agent
1014 ------------------
1015  * chan_agent has been removed and replaced with AgentLogin and AgentRequest
1016    dialplan applications provided by the app_agent_pool module. Agents are
1017    connected with callers using the new AgentRequest dialplan application.
1018    The Agents:<agent-id> device state is available to monitor the status of an
1019    agent. See agents.conf.sample for valid configuration options.
1020
1021  * The updatecdr option has been removed. Altering the names of channels on a
1022    CDR is not supported - the name of the channel is the name of the channel,
1023    and pretending otherwise helps no one. The AGENTUPDATECDR channel variable
1024    has also been removed, for the same reason.
1025
1026  * The endcall and enddtmf configuration options are removed.  Use the
1027    dialplan function CHANNEL(dtmf-features) to set DTMF features on the agent
1028    channel before calling AgentLogin.
1029
1030 chan_bridge
1031 ------------------
1032  * chan_bridge has been removed. Its functionality has been incorporated
1033    directly into the ConfBridge application itself.
1034
1035 chan_dahdi
1036 ------------------
1037  * Added the CLI command 'pri destroy span'. This will destroy the D-channel
1038    of the specified span and its B-channels. Note that this command should
1039    only be used if you understand the risks it entails.
1040
1041  * The CLI command 'dahdi destroy channel' is now 'dahdi destroy channels'.
1042    A range of channels can be specified to be destroyed. Note that this command
1043    should only be used if you understand the risks it entails.
1044
1045  * Added the CLI command 'dahdi create channels'. A range of channels can be
1046    specified to be created, or the keyword 'new' can be used to add channels
1047    not yet created.
1048
1049  * The script specified by the chan_dahdi.conf mwimonitornotify option now gets
1050    the exact configured mailbox name.  For app_voicemail mailboxes this is
1051    mailbox@context.
1052
1053  * Added mwi_vm_boxes that also must be configured for ISDN MWI to be enabled.
1054
1055 chan_iax2
1056 ------------------
1057  * IPv6 support has been added.  We are now able to bind to and
1058    communicate using IPv6 addresses.
1059
1060 chan_local
1061 ------------------
1062  * The /b option has been removed.
1063
1064  * chan_local moved into the system core and is no longer a loadable module.
1065
1066 chan_mobile
1067 ------------------
1068  * Added general support for busy detection.
1069
1070  * Added ECAM command support for Sony Ericsson phones.
1071
1072 chan_pjsip
1073 ------------------
1074  * A new SIP channel driver for Asterisk, chan_pjsip is built on the PJSIP
1075    SIP stack. A collection of resource modules provides the bulk of the SIP
1076    functionality. For more information on the new SIP channel driver, see
1077    https://wiki.asterisk.org/wiki/x/JYGLAQ
1078
1079 chan_sip
1080 ------------------
1081  * Added support for RFC 3327 "Path" headers. This can be enabled in sip.conf
1082    using the 'supportpath' setting, either on a global basis or on a peer basis.
1083    This setting enables Asterisk to route outgoing out-of-dialog requests via a
1084    set of proxies by using a pre-loaded route-set defined by the Path headers in
1085    the REGISTER request. See Realtime updates for more configuration information.
1086
1087  * The SIP_CODEC family of variables may now specify more than one codec. Each
1088    codec must be separated by a comma. The first codec specified is the
1089    preferred codec for the offer. This allows a dialplan writer to specify both
1090    audio and video codecs, e.g., Set(SIP_CODEC=ulaw,h264)
1091
1092  * The 'callevents' parameter has been removed. Hold AMI events are now raised
1093    in the core, and can be filtered out using the 'eventfilter' parameter
1094    in manager.conf.
1095
1096  * Added 'ignore_requested_pref'. When enabled, this will use the preferred
1097    codecs configured for a peer instead of the requested codec.
1098
1099  * The option "register_retry_403" has been added to chan_sip to work around
1100    servers that are known to erroneously send 403 in response to valid
1101    REGISTER requests and allows Asterisk to continue attepmting to connect.
1102
1103 chan_skinny
1104 ------------------
1105  * Added the 'immeddialkey' parameter. If set, when the user presses the
1106    configured key the already entered number will be immediately dialed. This
1107    is useful when the dialplan allows for variable length pattern matching.
1108    Valid options are '*' and '#'.
1109
1110  * Added the 'callfwdtimeout' parameter. This configures the amount of time (in
1111    milliseconds) before a call forward is considered to not be answered.
1112
1113  * The 'serviceurl' parameter allows Service URLs to be attached to line
1114    buttons.
1115
1116
1117 Functions
1118 ------------------
1119
1120 AGENT
1121 ------------------
1122  * The password option has been disabled, as the AgentLogin application no
1123    longer provides authentication.
1124
1125 AUDIOHOOK_INHERIT
1126 ------------------
1127  * Due to changes in the Asterisk core, this function is no longer needed to
1128    preserve a MixMonitor on a channel during transfer operations and dialplan
1129    execution. It is effectively obsolete.
1130
1131 CDR (function)
1132 ------------------
1133  * The 'amaflags' and 'accountcode' attributes for the CDR function are
1134    deprecated. Use the CHANNEL function instead to access these attributes.
1135
1136  * The 'l' option has been removed. When reading a CDR attribute, the most
1137    recent record is always used. When writing a CDR attribute, all non-finalized
1138    CDRs are updated.
1139
1140  * The 'r' option has been removed, for the same reason as the 'l' option.
1141
1142  * The 's' option has been removed, as LOCKED semantics no longer exist in the
1143    CDR engine.
1144
1145 CDR_PROP
1146 ------------------
1147  * A new function CDR_PROP has been added. This function lets you set properties
1148    on a channel's active CDRs. This function is write-only. Properties accept
1149    boolean values to set/clear them on the channel's CDRs. Valid properties
1150    include:
1151    - 'party_a' - make this channel the preferred Party A in any CDR between two
1152      channels. If two channels have this property set, the creation time of the
1153      channel is used to determine who is Party A. Note that dialed channels are
1154      never Party A in a CDR.
1155    - 'disable' - disable CDRs on this channel. This is analogous to the NoCDR
1156      application when set to True, and analogous to the 'e' option in ResetCDR
1157      when set to False.
1158
1159 CHANNEL
1160 ------------------
1161  * Added the argument 'dtmf_features'. This sets the DTMF features that will be
1162    enabled on a channel when it enters a bridge. Allowed values are 'T', 'K',
1163    'H', 'W', and 'X', and are analogous to the parameters passed to the Dial
1164    application.
1165
1166  * Added the argument 'after_bridge_goto'. This can be set to a parseable Goto
1167    string, i.e., [[context],extension],priority. If set on a channel, if a
1168    channel leaves a bridge but is not hung up it will resume dialplan execution
1169    at that location.
1170
1171 JITTERBUFFER
1172 ------------------
1173  * JITTERBUFFER now accepts an argument of 'disabled' which can be used
1174    to remove jitterbuffers previously set on a channel with JITTERBUFFER.
1175    The value of this setting is ignored when disabled is used for the argument.
1176
1177 PJSIP_DIAL_CONTACTS
1178 ------------------
1179  * A new function provided by chan_pjsip, this function can be used in
1180    conjunction with the Dial application to construct a dial string that will
1181    dial all contacts on an Address of Record associated with a chan_pjsip
1182    endpoint.
1183
1184 PJSIP_MEDIA_OFFER
1185 ------------------
1186  * Provided by chan_pjsip, this function sets the codecs to be offerred on the
1187    outbound channel prior to dialing.
1188
1189 REDIRECTING
1190 ------------------
1191  * Redirecting reasons can now be set to arbitrary strings. This means
1192    that the REDIRECTING dialplan function can be used to set the redirecting
1193    reason to any string. It also allows for custom strings to be read as the
1194    redirecting reason from SIP Diversion headers.
1195
1196 SPEECH_ENGINE
1197 ------------------
1198  * The SPEECH_ENGINE function now supports read operations. When read from, it
1199    will return the current value of the requested attribute.
1200
1201 VMCOUNT:
1202 ------------------
1203  * Mailboxes defined by app_voicemail MUST be referenced by the rest of the
1204    system as mailbox@context.  The rest of the system cannot add @default
1205    to mailbox identifiers for app_voicemail that do not specify a context
1206    any longer.  It is a mailbox identifier format that should only be
1207    interpreted by app_voicemail.
1208
1209
1210 Resources
1211 ------------------
1212
1213 res_agi (Asterisk Gateway Interface)
1214 ------------------
1215  * The manager event AGIExec has been split into AGIExecStart and AGIExecEnd.
1216
1217  * The manager event AsyncAGI has been split into AsyncAGIStart, AsyncAGIExec,
1218    and AsyncAGIEnd.
1219
1220  * The CONTROL STREAM FILE command now accepts an offsetms parameter. This
1221    will start the playback of the audio at the position specified. It will
1222    also return the final position of the file in 'endpos'.
1223
1224  * The CONTROL STREAM FILE command will now populate the CPLAYBACKSTATUS
1225    channel variable if the user stopped the file playback or if a remote
1226    entity stopped the playback. If neither stopped the playback, it will
1227    indicate the overall success/failure of the playback. If stopped early,
1228    the final offset of the file will be set in the CPLAYBACKOFFSET channel
1229    variable.
1230
1231  * The SAY ALPHA command now accepts an additional parameter to control
1232    whether it specifies the case of uppercase, lowercase, or all letters to
1233    provide functionality similar to SayAlphaCase.
1234
1235 res_ari (Asterisk RESTful Interface) (and others)
1236 ------------------
1237  * The Asterisk RESTful Interface (ARI) provides a mechanism to expose and
1238    control telephony primitives in Asterisk by remote client. This includes
1239    channels, bridges, endpoints, media, and other fundamental concepts. Users
1240    of ARI can develop their own communications applications, controlling
1241    multiple channels using an HTTP RESTful interface and receiving JSON events
1242    about the objects via a WebSocket connection. ARI can be configured in
1243    Asterisk via ari.conf. For more information on ARI, see
1244    https://wiki.asterisk.org/wiki/x/0YCLAQ
1245
1246 res_parking
1247 -------------------
1248  * Parking has been extracted from the Asterisk core as a loadable module,
1249    res_parking. Configuration for parking is now provided by res_parking.conf.
1250    Configuration through features.conf is no longer supported.
1251
1252  * res_parking uses the configuration framework. If an invalid configuration is
1253    supplied, res_parking will fail to load or fail to reload. Previously,
1254    invalid configurations would generally be accepted, with certain errors
1255    resulting in individually disabled parking lots.
1256
1257  * Parked calls are now placed in bridges. While this is largely an
1258    architectural change, it does have implications on how channels in a parking
1259    lot are viewed. For example, commands that display channels in bridges will
1260    now also display the channels in a parking lot.
1261
1262  * The order of arguments for the new parking applications have been modified.
1263    Timeout and return context/exten/priority are now implemented as options,
1264    while the name of the parking lot is now the first parameter. See the
1265    application documentation for Park, ParkedCall, and ParkAndAnnounce for more
1266    in-depth information as well as syntax.
1267
1268  * Extensions are by default no longer automatically created in the dialplan to
1269    park calls or pickup parked calls. Generation of dialplan extensions can be
1270    enabled using the 'parkext' configuration option.
1271
1272  * ADSI functionality for parking is no longer supported. The 'adsipark'
1273    configuration option has been removed as a result.
1274
1275  * The PARKINGSLOT channel variable has been deprecated in favor of
1276    PARKING_SPACE to match the naming scheme of the new system.
1277
1278  * PARKING_SPACE and PARKEDLOT channel variables will now be set for a parked
1279    channel even when the configuration option 'comebactoorigin' is enabled.
1280
1281  * A new CLI command 'parking show' has been added. This allows a user to
1282    inspect the parking lots that are currently in use.
1283    'parking show <parkinglot>' will also show the parked calls in a specific
1284    parking lot.
1285
1286  * The CLI command 'parkedcalls' is now deprecated in favor of
1287    'parking show <parkinglot>'.
1288
1289  * The AMI command 'ParkedCalls' will now accept a 'ParkingLot' argument which
1290    can be used to get a list of parked calls for a specific parking lot.
1291
1292  * The AMI command 'Park' field 'Channel2' has been deprecated and replaced
1293    with 'TimeoutChannel'. If both 'Channel2' and 'TimeoutChannel' are
1294    specified, 'TimeoutChannel' will be used. The field 'TimeoutChannel' is no
1295    longer a required argument.
1296
1297  * The ParkAndAnnounce application is now provided through res_parking instead
1298    of through the separate app_parkandannounce module.
1299
1300  * ParkAndAnnounce will no longer go to the next position in dialplan on timeout
1301    by default. Instead, it will follow the timeout rules of the parking lot. The
1302    old behavior can be reproduced by using the 'c' option.
1303
1304  * Dynamic parking lots will now fail to be created under the following
1305    conditions:
1306    - if the parking lot specified by PARKINGDYNAMIC does not exist
1307    - if they require exclusive park and parkedcall extensions which overlap
1308      with existing parking lots.
1309
1310  * Dynamic parking lots will be cleared on reload for dynamic parking lots that
1311    currently contain no calls. Dynamic parking lots containing parked calls
1312    will persist through the reloads without alteration.
1313
1314  * If 'parkext_exclusive' is set for a parking lot and that extension is
1315    already in use when that parking lot tries to register it, this is now
1316    considered a parking system configuration error. Configurations which do
1317    this will be rejected.
1318
1319  * Added channel variable PARKER_FLAT. This contains the name of the extension
1320    that would be used if 'comebacktoorigin' is enabled. This can be useful when
1321    comebacktoorigin is disabled, but the dialplan or an external control
1322    mechanism wants to use the extension in the park-dial context that was
1323    generated to re-dial the parker on timeout.
1324
1325 res_pjsip (and many others)
1326 ------------------
1327  * A large number of resource modules make up the SIP stack based on pjsip.
1328    The chan_pjsip channel driver users these resource modules to provide
1329    various SIP functionality in Asterisk. The majority of configuration for
1330    these modules is performed in pjsip.conf. Other modules may use their
1331    own configuration files.
1332
1333  * Added 'set_var' option for an endpoint. For each variable specified that
1334    variable gets set upon creation of a channel involving the endpoint.
1335
1336 res_rtp_asterisk
1337 ------------------
1338  * ICE/STUN/TURN support in res_rtp_asterisk has been made optional.  To enable
1339    them, an Asterisk-specific version of PJSIP needs to be installed.
1340    Tarballs are available from https://github.com/asterisk/pjproject/tags/.
1341
1342 res_statsd/res_chan_stats
1343 ------------------
1344  * A new resource module, res_statsd, has been added, which acts as a statsd
1345    client. This module allows Asterisk to publish statistics to a statsd
1346    server. In conjunction with res_chan_stats, it will publish statistics about
1347    channels to the statsd server. It can be configured via res_statsd.conf.
1348
1349 res_xmpp
1350 ------------------
1351  * Device state for XMPP buddies is now available using the following format:
1352    XMPP/<client name>/<buddy address>
1353    If any resource is available the device state is considered to be not in use.
1354    If no resources exist or all are unavailable the device state is considered
1355    to be unavailable.
1356
1357
1358 Scripts
1359 ------------------
1360
1361 Realtime/Database Scripts
1362 ------------------
1363  * Asterisk previously included example db schemas in the contrib/realtime/
1364    directory of the source tree.  This has been replaced by a set of database
1365    migrations using the Alembic framework.  This allows you to use alembic to
1366    initialize the database for you.  It will also serve as a database migration
1367    tool when upgrading Asterisk in the future.
1368
1369    See contrib/ast-db-manage/README.md for more details.
1370
1371 sip_to_res_pjsip.py
1372 -------------------
1373  * A new script has been added in the contrib/scripts/sip_to_res_pjsip folder.
1374    This python script will convert an existing sip.conf file to a
1375    pjsip.conf file, for use with the chan_pjsip channel driver. This script
1376    is meant to be an aid in converting an existing chan_sip configuration to
1377    a chan_pjsip configuration, but it is expected that configuration beyond
1378    what the script provides will be needed.
1379
1380
1381 ------------------------------------------------------------------------------
1382 --- Functionality changes from Asterisk 10 to Asterisk 11 --------------------
1383 ------------------------------------------------------------------------------
1384
1385 Build System
1386 -------------------
1387  * The Asterisk build system will now build and install a shared library
1388    (libasteriskssl.so) used to wrap various initialization and shutdown functions
1389    from the libssl and libcrypto libraries provided by OpenSSL. This is done so
1390    that Asterisk can ensure that these functions do *not* get called by any
1391    modules that are loaded into Asterisk, since they should only be called once
1392    in any single process. If desired, this feature can be disabled by supplying
1393    the "--disable-asteriskssl" option to the configure script.
1394
1395  * A new make target, 'full', has been added to the Makefile.  This performs
1396    the same compilation actions as make all, but will also scan the entirety of
1397    each source file for documentation.  This option is needed to generate AMI
1398    event documentation.  Note that your system must have Python in order for
1399    this make target to succeed.
1400
1401  * The optimization portion of the build system has been reworked to avoid
1402    broken builds on certain architectures.  All architecture-specific
1403    optimization has been removed in favor of using -march=native to allow gcc
1404    to detect the environment in which it is running when possible.  This can
1405    be toggled as BUILD_NATIVE under "Compiler Flags" in menuselect.
1406
1407  * BUILD_CFLAGS and BUILD_LDFLAGS can now be passed to menuselect, e.g.,
1408    make BUILD_CFLAGS="whatever" BUILD_LDFLAGS="whatever"
1409
1410  * Remove "asterisk/version.h" in favor of "asterisk/ast_version.h".  If you
1411    previously parsed the header file to obtain the version of Asterisk, you
1412    will now have to go through Asterisk to get the version information.
1413
1414
1415 Applications
1416 -------------------
1417
1418 Bridge
1419 -------------------
1420  * Added 'F()' option. Similar to the dial option, this can be supplied with
1421    arguments indicating where the callee should go after the caller is hung up,
1422    or without options specified, the priority after the Queue will be used.
1423
1424
1425 ConfBridge
1426 -------------------
1427  * Added menu action admin_toggle_mute_participants.  This will mute / unmute
1428    all non-admin participants on a conference.  The confbridge configuration
1429    file also allows for the default sounds played to all conference users when
1430    this occurs to be overriden using sound_participants_unmuted and
1431    sound_participants_muted.
1432
1433  * Added menu action participant_count.  This will playback the number of
1434    current participants in a conference.
1435
1436  * Added announcement configuration option to user profile. If set the sound
1437    file will be played to the user, and only the user, upon joining the
1438    conference bridge.
1439
1440  * Added record_file_append option that defaults to "yes", but if set to no
1441    will create a new file between each start/stop recording.
1442
1443
1444 Dial
1445 -------------------
1446  * Added 'b' and 'B' options to Dial that execute a Gosub on callee and caller
1447    channels respectively before the callee channels are called.
1448
1449
1450 ExternalIVR
1451 -------------------
1452  * Added support for IPv6.
1453
1454  * Add interrupt ('I') command to ExternalIVR.  Sending this command from an
1455    external process will cause the current playlist to be cleared, including
1456    stopping any audio file that is currently playing.  This is useful when you
1457    want to interrupt audio playback only when specific DTMF is entered by the
1458    caller.
1459
1460
1461 FollowMe
1462 -------------------
1463  * A new option, 'I' has been added to app_followme. By setting this option,
1464    Asterisk will not update the caller with connected line changes when they
1465    occur.  This is similar to app_dial and app_queue.
1466
1467  * The 'N' option is now ignored if the call is already answered.
1468
1469  * Added 'b' and 'B' options to FollowMe that execute a Gosub on callee
1470    and caller channels respectively before the callee channels are called.
1471
1472  * The winning FollowMe outgoing call is now put on hold if the caller put it on
1473    hold.
1474
1475
1476 MixMonitor
1477 ------------------
1478  * MixMonitor hooks now have IDs associated with them which can be used to
1479    assign a target to StopMixMonitor. Use of MixMonitor's i(variable) option
1480    will allow storage of the MixMontior ID in a channel variable. StopMixmonitor
1481    now accepts that ID as an argument.
1482
1483  * Added 'm' option, which stores a copy of the recording as a voicemail in the
1484    indicated mailboxes.
1485
1486
1487 MySQL
1488 -------------------
1489  * The connect action in app_mysql now allows you to specify a port number to
1490    connect to.  This is useful if you run a MySQL server on a non-standard
1491    port number.
1492
1493
1494 OSP Applications
1495 -------------------
1496  * Increased the default number of allowed destinations from 5 to 12.
1497
1498
1499 Page
1500 -------------------
1501  * The app_page application now no longer depends on DAHDI or app_meetme.  It
1502    has been re-architected to use app_confbridge internally.
1503
1504
1505 Queue
1506 -------------------
1507  * Added queue options autopausebusy and autopauseunavail for automatically
1508    pausing a queue member when their device reports busy or congestion.
1509
1510  * The 'ignorebusy' option for queue members has been deprecated in favor of
1511    the option 'ringinuse. Also a 'queue set ringinuse' CLI command has been
1512    added as well as an AMI action 'QueueMemberRingInUse' to set this variable on a
1513    per interface basis. Individual ringinuse values can now be set in
1514    queues.conf via an argument to member definitions. Lastly, the queue
1515    'ringinuse' setting now only determines defaults for the per member
1516    'ringinuse' setting and does not override per member settings like it does
1517    in earlier versions.
1518
1519  * Added 'F()' option. Similar to the dial option, this can be supplied with
1520    arguments indicating where the callee should go after the caller is hung up,
1521    or without options specified, the priority after the Queue will be used.
1522
1523  * Added new option log_member_name_as_agent, which will cause the membername to
1524    be logged in the agent field for ADDMEMBER and REMOVEMEMBER queue events if a
1525    state_interface has been set.
1526
1527  * Add queue monitoring hints.  exten => 8501,hint,Queue:markq.
1528
1529  * App_queue will now play periodic announcements for the caller that
1530    holds the first position in the queue while waiting for answer.
1531
1532 SayUnixTime
1533 ------------------
1534  * Added 'j' option to SayUnixTime. SayUnixTime no longer auto jumps to extension
1535    when receiving DTMF.  Use the 'j' option to enable extension jumping. Also
1536    changed arguments to SayUnixTime so that every option is truly optional even
1537    when using multiple options (so that j option could be used without having to
1538    manually specify timezone and format) There are other benefits, e.g., format
1539    can now be used without specifying time zone as well.
1540
1541
1542 Voicemail
1543 ------------------
1544  * Addition of the VM_INFO function - see Function changes.
1545
1546  * The imapserver, imapport, and imapflags configuration options can now be
1547    overriden on a user by user basis.
1548
1549  * When voicemail plays a message's envelope with saycid set to yes, when
1550    reaching the caller id field it will play a recording of a file with the same
1551    base name as the sender's callerid if there is a similarly named file in
1552    <astspooldir>/recordings/callerids/
1553
1554  * Voicemails now contains a unique message identifier "msg_id", which is stored
1555    in the message envelope with the sound files.  IMAP backends will now store
1556    the message identifiers with a header of "X-Asterisk-VM-Message-ID".  ODBC
1557    backends will store the message identifier in a "msg_id" column.  See
1558    UPGRADE.txt for more information.
1559
1560  * Added VoiceMailPlayMsg application.  This application will play a single
1561    voicemail message from a mailbox.  The result of the application, SUCCESS or
1562    FAILED, is stored in the channel variable VOICEMAIL_PLAYBACKSTATUS.
1563
1564
1565 Functions
1566 ------------------
1567  * Hangup handlers can be attached to channels using the CHANNEL() function.
1568    Hangup handlers will run when the channel is hung up similar to the h
1569    extension. The hangup_handler_push option will push a GoSub compatible
1570    location in the dialplan onto the channel's hangup handler stack.  The
1571    hangup_handler_pop option will remove the last added location, and optionally
1572    replace it with a new GoSub compatible location.  The hangup_handler_wipe
1573    option will remove all locations on the stack, and optionally add a new
1574    location.
1575
1576  * The expression parser now recognizes the ABS() absolute value function,
1577    which will convert negative floating point values to positive values.
1578
1579  * FAXOPT(faxdetect) will enable a generic fax detect framehook for dialplan
1580    control of faxdetect.
1581
1582  * Addition of the VM_INFO function that can be used to retrieve voicemail
1583    user information, such as the email address and full name.
1584    The MAILBOX_EXISTS dialplan function has been deprecated in favour of
1585    VM_INFO.
1586
1587  * The REDIRECTING function now supports the redirecting original party id
1588    and reason.
1589
1590  * Two new functions have been added: FEATURE() and FEATUREMAP().  FEATURE()
1591    lets you set some of the configuration options from the [general] section
1592    of features.conf on a per-channel basis.  FEATUREMAP() lets you customize
1593    the key sequence used to activate built-in features, such as blindxfer,
1594    and automon.  See the built-in documentation for details.
1595
1596  * MESSAGE(from) for incoming SIP messages now returns "display-name" <uri>
1597    instead of simply the uri.  This is the format that MessageSend() can use
1598    in the from parameter for outgoing SIP messages.
1599
1600  * Added the PRESENCE_STATE function.  This allows retrieving presence state
1601    information from any presence state provider.  It also allows setting
1602    presence state information from a CustomPresence presence state provider.
1603    See AMI/CLI changes for related commands.
1604
1605  * Added the AMI_CLIENT function to make manager account attributes available
1606    to the dialplan. It currently supports returning the current number of
1607    active sessions for a given account.
1608
1609  * Added support for private party ID information to CALLERID, CONNECTEDLINE,
1610    and the REDIRECTING functions.
1611
1612
1613 Channel Drivers
1614 ------------------
1615
1616 chan_local
1617 ------------------
1618  * Added a manager event "LocalBridge" for local channel call bridges between
1619    the two pseudo-channels created.
1620
1621
1622 chan_dahdi
1623 ------------------
1624  * Added dialtone_detect option for analog ports to disconnect incoming
1625    calls when dialtone is detected.
1626
1627  * Added option colp_send to send ISDN connected line information.  Allowed
1628    settings are block, to not send any connected line information; connect, to
1629    send connected line information on initial connect; and update, to send
1630    information on any update during a call.  Default is update.
1631
1632  * Add options namedcallgroup and namedpickupgroup to support installations
1633    where a higher number of groups (>64) is required.
1634
1635  * Added support to use private party ID information with PRI calls.
1636
1637
1638 chan_motif
1639 ------------------
1640  * A new channel driver named chan_motif has been added which provides support for
1641    Google Talk and Jingle in a single channel driver. This new channel driver includes
1642    support for both audio and video, RFC2833 DTMF, all codecs supported by Asterisk,
1643    hold, unhold, and ringing notification. It is also compliant with the current Jingle
1644    specification, current Google Jingle specification, and the original Google Talk
1645    protocol.
1646
1647
1648 chan_ooh323
1649 ------------------
1650  * Added NAT support for RTP.  Setting in config is 'nat', which can be set
1651    globally and overriden on a peer by peer basis.
1652
1653  * Direct media functionality has been added. Options in config are:
1654    directmedia (directrtp) and directrtpsetup (earlydirect)
1655
1656  * ChannelUpdate events now contain a CallRef header.
1657
1658
1659 chan_sip
1660 ------------------
1661  * Asterisk will no longer substitute CID number for CID name in the display
1662    name field if CID number exists without a CID name. This change improves
1663    compatibility with certain device features such as Avaya IP500's directory
1664    lookup service.
1665
1666  * A new setting for autocreatepeer (autocreatepeer=persistent) allows peers
1667    created using that setting to not be removed during SIP reload.
1668
1669  * Added settings recordonfeature and recordofffeature.  When receiving an INFO
1670    request with a "Record:" header, this will turn the requested feature on/off.
1671    Allowed values are 'automon', 'automixmon', and blank to disable.  Note that
1672    dynamic features must be enabled and configured properly on the requesting
1673    channel for this to function properly.
1674
1675  * Add support to realtime for the 'callbackextension' option.
1676
1677  * When multiple peers exist with the same address, but differing
1678    callbackextension options, incoming requests that are matched by address
1679    will be matched to the peer with the matching callbackextension if it is
1680    available.
1681
1682  * Two new NAT options, auto_force_rport and auto_comedia, have been added
1683    which set the force_rport and comedia options automatically if Asterisk
1684    detects that an incoming SIP request crossed a NAT after being sent by
1685    the remote endpoint.
1686
1687  * The default global nat setting in sip.conf has been changed from force_rport
1688    to auto_force_rport.
1689
1690  * NAT settings are now a combinable list of options. The equivalent of the
1691    deprecated nat=yes is nat=force_rport,comedia. nat=no behaves as before.
1692
1693  * Adds an option send_diversion which can be disabled to prevent
1694    diversion headers from automatically being added to INVITE requests.
1695
1696  * Add support for lightweight NAT keepalive. If enabled a blank packet will
1697    be sent to the remote host at a given interval to keep the NAT mapping open.
1698    This can be enabled using the keepalive configuration option.
1699
1700  * Add option 'tonezone' to specify country code for indications.  This option
1701    can be set both globally and overridden for specific peers.
1702
1703  * The SIP Security Events Framework now supports IPv6.
1704
1705  * Add a new setting for directmedia, 'outgoing', to alleviate INVITE glares
1706    between multiple user agents. When set, for directmedia reinvites,
1707    Asterisk will not send an immediate reinvite on an incoming call leg. This
1708    option is useful when peered with another SIP user agent that is known to
1709    send immediate direct media reinvites upon call establishment.
1710
1711  * Add support for WebSocket transport. This can be configured using 'ws' or 'wss'
1712    as the transport.
1713
1714  * Add options subminexpiry and submaxexpiry to set limits of subscription
1715    timer independently from registration timer settings. The setting of the
1716    registration timer limits still is done by options minexpiry, maxexpiry
1717    and defaultexpiry. For backwards compatibility the setting of minexpiry
1718    and maxexpiry also is used to configure the subscription timer limits if
1719    subminexpiry and submaxexpiry are not set in sip.conf.
1720
1721  * Set registration timer limits to default values when reloading sip
1722    configuration and values are not set by configuration.
1723
1724  * Add options namedcallgroup and namedpickupgroup to support installations
1725    where a higher number of groups (>64) is required.
1726
1727  * When a MESSAGE request is received, the address the request was received from
1728    is now saved in the SIP_RECVADDR variable.
1729
1730  * Add ANI2/OLI parsing for SIP.  The "From" header in INVITE requests is now
1731    parsed for the presence of "isup-oli", "ss7-oli", or "oli" tags.  If present,
1732    the ANI2/OLI information is set on the channel, which can be retrieved using
1733    the CALLERID function.
1734
1735  * Peers can now be configured to support negotiation of ICE candidates using
1736    the setting icesupport.  See res_rtp_asterisk changes for more information.
1737
1738  * Added support for format attribute negotiation.  See the Codecs changes for
1739    more information.
1740
1741  * Extra headers specified with SIPAddHeader are sent with the REFER message
1742    when using Transfer application. See refer_addheaders in sip.conf.sample.
1743
1744  * Added support to use private party ID information with calls.
1745
1746  * Adds an option discard_remote_hold_retrieval that when set stops telling
1747    the peer to start music on hold.
1748
1749
1750 chan_skinny
1751 ------------------
1752  * Added skinny version 17 protocol support.
1753
1754
1755 chan_unistim
1756 --------------------
1757  * Added ability to use multiple lines for a single phone.  This allows multiple
1758    calls to occur on a single phone, using callwaiting and switching between calls.
1759
1760  * Added option 'sharpdial' allowing end dialing by pressing # key
1761
1762  * Added option 'interdigit_timer' to control phone dial timeout
1763
1764  * Added options 'cwstyle', 'cwvolume' controlling callwaiting appearance
1765
1766  * Added global 'debug' option, that enables debug in channel driver
1767
1768  * Added ability to translate on-screen menu in multiple languages. Tested on
1769    Russian languages.  Supported encodings: ISO 8859-1, ISO 8859-2, ISO 8859-4,
1770    ISO 8859-5, ISO 2022-JP. Language controlled by 'language' and on-screen
1771    menu of phone
1772
1773  * In addition to English added French and Russian languages for on-screen menus
1774
1775  * Reworked dialing number input: added dialing by timeout, immediate dial on
1776    on dialplan compare, phone number length now not limited by screen size
1777
1778  * Added ability to pickup a call using features.conf defined value and
1779    on-screen key
1780
1781
1782 chan_mISDN:
1783 ------------------
1784  * Add options namedcallgroup and namedpickupgroup to support installations
1785    where a higher number of groups (>64) is required.
1786
1787  * Added support to use private party ID information with calls.
1788
1789
1790 Core
1791 ------------------
1792  * The minimum DTMF duration can now be configured in asterisk.conf
1793    as "mindtmfduration". The default value is (as before) set to 80 ms.
1794    (previously it was only available in source code)
1795
1796  * Named ACLs can now be specified in acl.conf and used in configurations that
1797    use ACLs. As a general rule, if some derivative of 'permit' or 'deny' is
1798    used to specify an ACL, a similar form of 'acl' will add a named ACL to the
1799    working ACL. In addition, some CLI commands have been added to provide
1800    show information and allow for module reloading - see CLI Changes.
1801
1802  * Rules in ACLs (specified using 'permit' and 'deny') can now contain multiple
1803    items (separated by commas), and items in the rule can be negated by prefixing
1804    them with '!'. This simplifies Asterisk Realtime configurations, since it is no
1805    longer necessray to control the order that the 'permit' and 'deny' columns are
1806    returned from queries.
1807
1808  * DUNDi now allows the built in variables ${NUMBER}, ${IPADDR} and ${SECRET} to
1809    be used within the dynamic weight attribute when specifying a mapping.
1810
1811  * CEL backends can now be configured to show "USER_DEFINED" in the EventName
1812    header, instead of putting the user defined event name there.  When enabled
1813    the UserDefType header is added for user defined events.  This feature is
1814    enabled with the setting show_user_defined.
1815
1816  * Macro has been deprecated in favor of GoSub.  For redirecting and connected
1817    line purposes use the following variables instead of their macro equivalents:
1818    REDIRECTING_SEND_SUB, REDIRECTING_SEND_SUB_ARGS, CONNECTED_LINE_SEND_SUB,
1819    CONNECTED_LINE_SEND_SUB_ARGS.  For CCSS, use cc_callback_sub instead of
1820    cc_callback_macro in channel configurations.
1821
1822  * Asterisk can now use a system-provided NetBSD editline library (libedit) if it
1823    is available.
1824
1825  * Call files now support the "early_media" option to connect with an outgoing
1826    extension when early media is received.
1827
1828  * Added support to use private party ID information with calls.
1829
1830
1831 AGI
1832 ------------------
1833  * A new channel variable, AGIEXITONHANGUP, has been added which allows
1834    Asterisk to behave like it did in Asterisk 1.4 and earlier where the
1835    AGI application would exit immediately after a channel hangup is detected.
1836
1837  * IPv6 addresses are now supported when using FastAGI (agi://).  Hostnames
1838    are resolved and each address is attempted in turn until one succeeds or
1839    all fail.
1840
1841
1842 AMI (Asterisk Manager Interface)
1843 ------------------
1844  * The originate action now has an option "EarlyMedia" that enables the
1845    call to bridge when we get early media in the call. Previously,
1846    early media was disregarded always when originating calls using AMI.
1847
1848  * Added setvar= option to manager accounts (much like sip.conf)
1849
1850  * Originate now generates an error response if the extension given is not found
1851    in the dialplan
1852
1853  * MixMonitor will now show IDs associated with the mixmonitor upon creating
1854    them if the i(variable) option is used. StopMixMonitor will accept
1855    MixMonitorID as an option to close specific MixMonitors.
1856
1857  * The SIPshowpeer manager action response field "SIP-Forcerport" has been
1858    updated to include information about peers configured with
1859    nat=auto_force_rport by returning "A" if auto_force_rport is set and nat is
1860    detected, and "a" if it is set and nat is not detected. "Y" and "N" are still
1861    returned if auto_force_rport is not enabled.
1862
1863  * Added SIPpeerstatus manager command which will generate PeerStatus events
1864    similar to the existing PeerStatus events found in chan_sip on demand.
1865
1866  * Hangup now can take a regular expression as the Channel option.  If you want
1867    to hangup multiple channels, use /regex/ as the Channel option.  Existing
1868    behavior to hanging up a single channel is unchanged, but if you pass a regex,
1869    the manager will send you a list of channels back that were hung up.
1870
1871  * Support for IPv6 addresses has been added.
1872
1873  * AMI Events can now be documented in the Asterisk source. Note that AMI event
1874    documentation is only generated when Asterisk is compiled using 'make full'.
1875    See the CLI section for commands to display AMI event information.
1876
1877  * The AMI Hangup event now includes the AccountCode header so you can easily
1878    correlate with AMI Newchannel events.
1879
1880  * The QueueMemberStatus, QueueMemberAdded, and QueueMember events now include
1881    the StateInterface of the queue member.
1882
1883  * Added AMI event SessionTimeout in the Call category that is issued when a
1884    call is terminated due to either RTP stream inactivity or SIP session timer
1885    expiration.
1886
1887  * CEL events can now contain a user defined header UserDefType.  See core
1888    changes for more information.
1889
1890  * OOH323 ChannelUpdate events now contain a CallRef header.
1891
1892  * Added PresenceState command.  This command will report the presence state for
1893    the given presence provider.
1894
1895  * Added Parkinglots command.  This will list all parking lots as a series of
1896    AMI Parkinglot events.
1897
1898  * Added MessageSend command.  This behaves in the same manner as the
1899    MessageSend application, and is a technolgoy agnostic mechanism to send out
1900    of call text messages.
1901
1902  * Added "message" class authorization.  This grants an account permission to
1903    send out of call messages.  Write-only.
1904
1905
1906 CLI
1907 -------------------
1908  * The "dialplan add include" command has been modified to create context a context
1909    if one does not already exist. For instance, "dialplan add include foo into bar"
1910    will create context "bar" if it does not already exist.
1911
1912  * A  "dialplan remove context" command has been added to remove a context from
1913    the dialplan
1914
1915  * The "mixmonitor list <channel>" command will now show MixMonitor ID, and the
1916    filenames of all running mixmonitors on a channel.
1917
1918  * The debug level of "pri set debug" is now a bitmask ranging from 0 to 15 if
1919    numeric instead of 0, 1, or 2.
1920
1921  * "stun show status" will show a table describing how the STUN client is
1922    behaving.
1923
1924  * "acl show [named acl]" will show information regarding a Named ACL.  The
1925    acl module can be reloaded with "reload acl".
1926
1927  * Added CLI command to display AMI event information - "manager show events",
1928    which shows a list of all known and documented AMI events, and "manager show
1929    event [event name]", which shows detail information about a specific AMI
1930    event.
1931
1932  * The result of the CLI command "queue show" now includes the state interface
1933    information of the queue member.
1934
1935  * The command "core set verbose" will now set a separate level of logging for
1936    each remote console without affecting any other console.
1937
1938  * Added command "cdr show pgsql status" to check connection status
1939
1940  * "sip show channel" will now display the complete route set.
1941
1942  * Added "presencestate list" command.  This command will list all custom
1943    presence states that have been set by using the PRESENCE_STATE dialplan
1944    function.
1945
1946  * Added "presencestate change <entity> <state>[,<subtype>[,message[,options]]]"
1947    command.  This changes a custom presence to a new state.
1948
1949
1950 Codecs
1951 -------------------
1952  * Codec lists may now be modified by the '!' character, to allow succinct
1953    specification of a list of codecs allowed and disallowed, without the
1954    requirement to use two different keywords.  For example, to specify all
1955    codecs except g729 and g723, one need only specify allow=all,!g729,!g723.
1956
1957  * Add support for parsing SDP attributes, generating SDP attributes, and
1958    passing it through. This support includes codecs such as H.263, H.264, SILK,
1959    and CELT. You are able to set up a call and have attribute information pass.
1960    This should help considerably with video calls.
1961
1962  * The iLBC codec can now use a system-provided iLBC library if one is installed,
1963    just like the GSM codec.
1964
1965 DUNDi changes
1966 -------------
1967  * Added CLI commands dundi show hints and dundi show cache which will list DUNDi
1968    'DONTASK' hints in the cache and list all DUNDi cache entires respectively.
1969
1970 Logging
1971 -------------------
1972  * Asterisk version and build information is now logged at the beginning of a
1973    log file.
1974
1975  * Threads belonging to a particular call are now linked with callids which get
1976    added to any log messages produced by those threads. Log messages can now be
1977    easily identified as involved with a certain call by looking at their call id.
1978    Call ids may also be attached to log messages for just about any case where
1979    it can be determined to be related to a particular call.
1980
1981  * Each logging destination and console now have an independent notion of the
1982    current verbosity level.  Logger.conf now allows an optional argument to
1983    the 'verbose' specifier, indicating the level of verbosity sent to that
1984    particular logging destination.  Additionally, remote consoles now each
1985    have their own verbosity level.  The command 'core set verbose' will now set
1986    a separate level for each remote console without affecting any other
1987    console.
1988
1989
1990 Music On Hold
1991 -------------------
1992  * Added 'announcement' option which will play at the start of MOH and between
1993    songs in modes of MOH that can detect transitions between songs (eg.
1994    files, mp3, etc).
1995
1996
1997 Parking
1998 -------------------
1999  * New per parking lot options: comebackcontext and comebackdialtime. See
2000    configs/features.conf.sample for more details.
2001
2002  * Channel variable PARKER is now set when comebacktoorigin is disabled in
2003    a parking lot.
2004
2005  * Channel variable PARKEDCALL is now set with the name of the parking lot
2006    when a timeout occurs.
2007
2008
2009 CDRs
2010 -------------------
2011
2012 CDR Postgresql Driver
2013 -------------------
2014  * Added command "cdr show pgsql status" to check connection status
2015
2016
2017 CDR Adaptive ODBC Driver
2018 -------------------
2019  * Added schema option for databases that support specifying a schema.
2020
2021
2022 Resource Modules
2023 -------------------
2024
2025 Calendars
2026 -------------------
2027  * A CALENDAR_SUCCESS=1/0 channel variable is now set to show whether or not
2028    CALENDAR_WRITE has completed successfully.
2029
2030
2031 res_rtp_asterisk
2032 -------------------
2033  * A new option, 'probation' has been added to rtp.conf
2034    RTP in strictrtp mode can now require more than 1 packet to exit learning
2035    mode with a new source (and by default requires 4). The probation option
2036    allows the user to change the required number of packets in sequence to any
2037    desired value. Use a value of 1 to essentially restore the old behavior.
2038    Also, with strictrtp on, Asterisk will now drop all packets until learning
2039    mode has successfully exited. These changes are based on how pjmedia handles
2040    media sources and source changes.
2041
2042  * Add support for ICE/STUN/TURN in res_rtp_asterisk.  This option can be
2043    enabled or disabled using the icesupport setting.  A variety of other
2044    settings have been introduced to configure STUN/TURN connections.
2045
2046
2047 res_corosync
2048 -------------------
2049  * A new module, res_corosync, has been introduced.  This module uses the
2050    Corosync cluster enginer (http://www.corosync.org) to allow a local cluster
2051    of Asterisk servers to both Message Waiting Indication (MWI) and/or
2052    Device State (presence) information.  This module is very similar to, and
2053    is a replacement for the res_ais module that was in previous releases of
2054    Asterisk.
2055
2056
2057 res_xmpp
2058 -------------------
2059  * This module adds a cleaned up, drop-in replacement for res_jabber called
2060    res_xmpp. This provides the same externally facing functionality but is
2061    implemented differently internally.  res_jabber has been deprecated in favor
2062    of res_xmpp; please see the UPGRADE.txt file for more information.
2063
2064
2065 Scripts
2066 -------------------
2067  * The safe_asterisk script has been updated to allow several of its parameters
2068    to be set from environment variables.  This also enables a custom run
2069    directory of Asterisk to be specified, instead of defaulting to /tmp.
2070
2071  * The live_ast script will now look for the LIVE_AST_BASE_DIR variable and use
2072    its value to determine the directory to assume is the top-level directory of
2073    the source tree.  If the variable is not set, it defaults to the current
2074    behavior and uses the current working directory.
2075
2076 ------------------------------------------------------------------------------
2077 --- Functionality changes from Asterisk 1.8 to Asterisk 10 -------------------
2078 ------------------------------------------------------------------------------
2079
2080 Text Messaging
2081 --------------
2082  * Asterisk now has protocol independent support for processing text messages
2083    outside of a call.  Messages are routed through the Asterisk dialplan.
2084    SIP MESSAGE and XMPP are currently supported.  There are options in
2085    jabber.conf and sip.conf to allow enabling these features.
2086      -> jabber.conf: see the "sendtodialplan" and "context" options.
2087      -> sip.conf: see the "accept_outofcall_message", "auth_message_requests"
2088         and "outofcall_message_context" options.
2089    The MESSAGE() dialplan function and MessageSend() application have been
2090    added to go along with this functionality.  More detailed usage information
2091    can be found on the Asterisk wiki (http://wiki.asterisk.org/).
2092  * If real-time text support (T.140) is negotiated, it will be preferred for
2093    sending text via the SendText application. For example, via SIP, messages
2094    that were once sent via the SIP MESSAGE request would be sent via RTP if
2095    T.140 text is negotiated for a call.
2096
2097 Parking
2098 -------
2099  * parkedmusicclass can now be set for non-default parking lots.
2100
2101 Asterisk Manager Interface
2102 --------------------------
2103  * PeerStatus now includes Address and Port.
2104  * Added Hold events for when the remote party puts the call on and off hold
2105    for chan_dahdi ISDN channels.
2106  * Added new action MeetmeListRooms to list active conferences (shows same
2107    data as "meetme list" at the CLI).
2108  * DAHDIShowChannels, SIPshowpeer, SIPpeers, and IAXpeers now contains a
2109    Description field that is set by 'description' in the channel configuration
2110    file.
2111  * Added Uniqueid header to UserEvent.
2112  * Added new action FilterAdd to control event filters for the current session.
2113    This requires the system permission and uses the same filter syntax as
2114    filters that can be defined in manager.conf
2115  * The Unlink event is now a Bridge event with Bridgestatus: Unlink. Previous
2116    versions had some instances of the event converted, but others were left
2117    as-is. All Unlink events should now be converted to Bridge events. The AMI
2118    protocol version number was incremented to 1.2 as a result of this change.
2119
2120 Asterisk HTTP Server
2121 --------------------------
2122  * The HTTP Server can bind to IPv6 addresses.
2123
2124 chan_dahdi
2125 --------------------------
2126  * Busy tone patterns featuring 2 silence and 2 tone lengths can now be used
2127    with busydetect.  usage example: busypattern=200,200,200,600
2128
2129 CLI Changes
2130 --------------------------
2131  * New 'gtalk show settings' command showing the current settings loaded from
2132    gtalk.conf.
2133  * The 'logger reload' command now supports an optional argument, specifying an
2134    alternate configuration file to use.
2135  * 'dialplan add extension' command will now automatically create a context if
2136    the specified context does not exist with a message indicated it did so.
2137  * 'sip show peers', 'iax show peers', and 'dahdi show peers' now contains a
2138    Description field which can be populated with 'description' in the channel
2139    configuration files (sip.conf, iax2.conf, and chan_dahdi.conf).
2140
2141 CDR
2142 --------------------------
2143  * The filter option in cdr_adaptive_odbc now supports negating the argument,
2144    thus allowing records which do NOT match the specified filter.
2145  * Added ability to log CONGESTION calls to CDR
2146
2147 CODECS
2148 --------------------------
2149  * Ability to define custom SILK formats in codecs.conf.
2150  * Addition of speex32 audio format with translation.
2151  * CELT codec pass-through support and ability to define
2152    custom CELT formats in codecs.conf.
2153  * Ability to read raw signed linear files with sample rates
2154    ranging from 8khz - 192khz.  The new file extensions introduced
2155    are .sln12, .sln24, .sln32, .sln44, .sln48, .sln96, .sln192.
2156  * Due to protocol limitations, channel drivers other than SIP (eg. IAX2, MGCP,
2157    Skinny, H.323, etc) can still only support the following codecs:
2158    Audio: ulaw, alaw, slin, slin16, g719, g722, g723, g726, g726aal2, g729, gsm,
2159           siren7, siren14, speex, speex16, ilbc, lpc10, adpcm
2160    Video: h261, h263, h263p, h264, mpeg4
2161    Image: jpeg, png
2162    Text:  red, t140
2163
2164 ConfBridge
2165 --------------------------
2166  * New highly optimized and customizable ConfBridge application capable of
2167    mixing audio at sample rates ranging from 8khz-96khz.
2168  * CONFBRIDGE dialplan function capable of creating dynamic ConfBridge user
2169    and bridge profiles on a channel.
2170  * CONFBRIDGE_INFO dialplan function capable of retrieving information
2171    about a conference such as locked status and number of parties, admins,
2172    and marked users.
2173  * Addition of video_mode option in confbridge.conf for adding video support
2174    into a bridge profile.
2175  * Addition of the follow_talker video_mode in confbridge.conf.  This video
2176    mode dynamically switches the video feed to always display the loudest talker
2177    supplying video in the conference.
2178
2179 Dialplan Variables
2180 ------------------
2181  * Added ASTETCDIR, ASTMODDIR, ASTVARLIBDIR, ASTDBDIR, ASTKEYDIR, ASTDATADIR,
2182    ASTAGIDIR, ASTSPOOLDIR, ASTRUNDIR, ASTLOGDIR which hold the equivalent
2183    variables from asterisk.conf.
2184
2185 Dialplan Functions
2186 ------------------
2187  * Addition of the JITTERBUFFER dialplan function. This function allows
2188    for jitterbuffering to occur on the read side of a channel.  By using
2189    this function conference applications such as ConfBridge and MeetMe can
2190    have the rx streams jitterbuffered before conference mixing occurs.
2191  * Added DB_KEYS, which lists the next set of keys in the Asterisk database
2192    hierarchy.
2193  * Added STRREPLACE function.  This function let's the user search a variable
2194    for a given string to replace with another string as many times as the
2195    user specifies or just throughout the whole string.
2196  * Added option to CHANNEL(pickupgroup) allow reading and setting the pickupgroup of channel.
2197  * Mark VALID_EXTEN() deprecated in favor of DIALPLAN_EXISTS()
2198  * Added extensions to chan_ooh323 in function CHANNEL()
2199
2200 libpri channel driver (chan_dahdi) DAHDI changes
2201 --------------------------
2202  * Added moh_signaling option to specify what to do when the channel's bridged
2203    peer puts the ISDN channel on hold.
2204  * Added display_send and display_receive options to control how the display ie
2205    is handled.  To send display text from the dialplan use the SendText()
2206    application when the option is enabled.
2207  * Added mcid_send option to allow sending a MCID request on a span.
2208
2209 Calendaring
2210 --------------------------
2211  * Added setvar option to calendar.conf to allow setting channel variables on
2212    notification channels.
2213  * Added "calendar show types" CLI command to list registered calendar
2214    connectors.
2215
2216 MixMonitor
2217 --------------------------
2218  * Added two new options, r and t with file name arguments to record
2219    single direction (unmixed) audio recording separate from the bidirectional
2220    (mixed) recording.  The mixed file name argument is optional now as long
2221    as at least one recording option is used.
2222
2223 FollowMe
2224 --------------------------
2225  * Added a new option, l, which will disable local call optimization for
2226    channels involved with the FollowMe thread.  Use this option to improve
2227    compatability for a FollowMe call with certain dialplan apps, options, and
2228    functions.
2229
2230 Meetme
2231 --------------------------
2232  * Added option "k" that will automatically close the conference when there's
2233    only one person left when a user exits the conference.
2234
2235 CEL
2236 --------------------------
2237  * cel_pgsql now supports the 'extra' column for data added using the
2238    CELGenUserEvent() application.
2239
2240 pbx_lua
2241 --------------------------
2242  * Support for defining hints has been added to pbx_lua.  See the 'hints' table
2243    in the sample extensions.lua file for syntax details.
2244  * Applications that perform jumps in the dialplan such as Goto will now
2245    execute properly.  When pbx_lua detects that the context, extension, or
2246    priority we are executing on has changed it will immediately return control
2247    to the asterisk PBX engine.  Currently the engine cannot detect a Goto to
2248    the priority after the currently executing priority.
2249  * An autoservice is now started by default for pbx_lua channels.  It can be
2250    stopped and restarted using the autoservice_stop() and autoservice_start()
2251    functions.
2252
2253 res_fax
2254 --------------------------
2255  * The ReceiveFAXStatus and SendFAXStatus manager events have been consolidated
2256    into a FAXStatus event with an 'Operation' header that will be either
2257    'send', 'receive', and 'gateway'.
2258  * T.38 gateway functionality has been added to res_fax (and res_fax_spandsp).
2259    Set FAXOPT(gateway)=yes to enable this functionality on a channel. This
2260    feature will handle converting a fax call between an audio T.30 fax terminal
2261    and an IFP T.38 fax terminal.
2262
2263 SIP Changes
2264 -----------
2265  * Add T38 support for REJECTED state where T.38 Negotiation is explicitly rejected.
2266  * Add option encryption_taglen to set auth taglen only 32 and 80 are supported currently.
2267  * SIP now generates security events using the Security Events Framework for REGISTER and INVITE.
2268
2269 Queue changes
2270 -------------
2271  * Added general option negative_penalty_invalid default off. when set
2272    members are seen as invalid/logged out when there penalty is negative.
2273    for realtime members when set remove from queue will set penalty to -1.
2274  * Added queue option autopausedelay when autopause is enabled it will be
2275    delayed for this number of seconds since last successful call if there
2276    was no prior call the agent will be autopaused immediately.
2277  * Added member option ignorebusy this when set and ringinuse is not
2278    will allow per member control of multiple calls as ringinuse does for
2279    the Queue.
2280
2281 Applications
2282 ------------
2283  * Added 'v' option to MeetMe to play voicemail greetings when a user joins/leaves
2284    a MeetMe conference
2285  * Added 'k' option to MeetMe to automatically kill the conference when there's only
2286    one participant left (much like a normal call bridge)
2287  * Added extra argument to Originate to set timeout.
2288
2289 Asterisk Database
2290 -----------------
2291  * The internal Asterisk database has been switched from Berkeley DB 1.86 to
2292    SQLite 3. An existing Berkeley astdb file can be converted with the astdb2sqlite3
2293    utility in the UTILS section of menuselect. If an existing astdb is found and no
2294    astdb.sqlite3 exists, astdb2sqlite3 will be compiled automatically. Asterisk will
2295    convert an existing astdb to the SQLite3 version automatically at runtime.
2296
2297 Asterisk Modules
2298 ----------------
2299  * Modules marked as deprecated are no longer marked as building by default. Enabling
2300    these modules is still available via menuselect.
2301
2302 IAX2 Changes
2303 ------------
2304  * authdebug is now disabled by default. To enable this functionaility again
2305    set authdebug = yes in iax.conf.
2306
2307 RTP Changes
2308 -----------
2309  * The rtp.conf setting "strictrtp" is now enabled by default. In previous
2310    releases it was disabled.
2311
2312 PBX Core
2313 --------
2314  * The PBX core previously made a call with a non-existing extension test for
2315    extension s@default and jump there if the extension existed.
2316    This was a bad default behaviour and violated the principle of least surprise.
2317    It has therefore been changed in this release. It may affect some
2318    applications and configurations that rely on this behaviour. Most channel
2319    drivers have avoided this for many releases by testing whether the extension
2320    called exists before starting the PBX and generating a local error.
2321    This behaviour still exists and works as before.
2322
2323    Extension "s" is used when no extension is given in a channel driver,
2324    like immediate answer in DAHDI or calling to a domain with no user part
2325    in a SIP uri.
2326
2327 ------------------------------------------------------------------------------
2328 --- Functionality changes from Asterisk 1.6.2 to Asterisk 1.8 ----------------
2329 ------------------------------------------------------------------------------
2330
2331 SIP Changes
2332 -----------
2333  * Due to potential username discovery vulnerabilities, the 'nat' setting in sip.conf
2334    now defaults to force_rport. It is very important that phones requiring nat=no be
2335    specifically set as such instead of relying on the default setting. If at all
2336    possible, all devices should have nat settings configured in the general section as
2337    opposed to configuring nat per-device.
2338  * Added preferred_codec_only option in sip.conf. This feature limits the joint
2339    codecs sent in response to an INVITE to the single most preferred codec.
2340  * Added SIP_CODEC_OUTBOUND dialplan variable which can be used to set the codec
2341    to be used for the outgoing call. It must be one of the codecs configured
2342    for the device.
2343  * Added tlsprivatekey option to sip.conf.  This allows a separate .pem file
2344    to be used for holding a private key.  If tlsprivatekey is not specified,
2345    tlscertfile is searched for both public and private key.
2346  * Added tlsclientmethod option to sip.conf.  This allows the protocol for
2347    outbound client connections to be specified.
2348  * The sendrpid parameter has been expanded to include the options
2349    'rpid' and 'pai'. Setting sendrpid to 'rpid' will cause Remote-Party-ID
2350    header to be sent (equivalent to setting sendrpid=yes) and setting
2351    sendrpid to 'pai' will cause P-Asserted-Identity header to be sent.
2352  * The 'ignoresdpversion' behavior has been made automatic when the SDP received
2353    is in response to a T.38 re-INVITE that Asterisk initiated. In this situation,
2354    since the call will fail if Asterisk does not process the incoming SDP, Asterisk
2355    will accept the SDP even if the SDP version number is not properly incremented,
2356    but will generate a warning in the log indicating that the SIP peer that sent
2357    the SDP should have the 'ignoresdpversion' option set.
2358  * The 'nat' option has now been been changed to have yes, no, force_rport, and
2359    comedia as valid values. Setting it to yes forces RFC 3581 behavior and enables
2360    symmetric RTP support. Setting it to no only enables RFC 3581 behavior if the
2361    remote side requests it and disables symmetric RTP support. Setting it to
2362    force_rport forces RFC 3581 behavior and disables symmetric RTP support.
2363    Setting it to comedia enables RFC 3581 behavior if the remote side requests it
2364    and enables symmetric RTP support.
2365  * Slave SIP channels now set HASH(SIP_CAUSE,<slave-channel-name>) on each
2366    response.  This permits the master channel to know how each channel dialled
2367    in a multi-channel setup resolved in an individual way. This carries a
2368    performance penalty and can be disabled in sip.conf using the
2369    'storesipcause' option.
2370  * Added 'externtcpport' and 'externtlsport' options to allow custom port
2371    configuration for the externip and externhost options when tcp or tls is used.
2372  * Added support for message body (stored in content variable) to SIP NOTIFY message
2373    accessible via AMI and CLI.
2374  * Added 'media_address' configuration option which can be used to explicitly specify
2375    the IP address to use in the SDP for media (audio, video, and text) streams.
2376  * Added 'unsolicited_mailbox' configuration option which specifies the virtual mailbox
2377    that the new/old count should be stored on if an unsolicited MWI NOTIFY message is
2378    received.
2379  * Added 'use_q850_reason' configuration option for generating and parsing
2380    if available  Reason: Q.850;cause=<cause code> header. It is implemented
2381    in some gateways for better passing PRI/SS7 cause codes via SIP.
2382  * When dialing SIP peers, a new component may be added to the end of the dialstring
2383    to indicate that a specific remote IP address or host should be used when dialing
2384    the particular peer. The dialstring format is SIP/peer/exten/host_or_IP.
2385  * SRTP SDES support for encrypting calls to/from Asterisk over SIP. The
2386    ability to selectively force bridged channels to also be encrypted is also
2387    implemented. Branching in the dialplan can be done based on whether or not
2388    a channel has secure media and/or signaling.
2389  * Added directmediapermit/directmediadeny to limit which peers can send direct media
2390    to each other
2391  * Added the 'snom_aoc_enabled' option to turn on support for sending Advice of
2392    Charge messages to snom phones.
2393  * Added support for G.719 media streams.
2394  * Added support for 16khz signed linear media streams.
2395  * SIP is now able to bind to and communicate with IPv6 addresses. In addition,
2396    RTP has been outfitted with the same abilities.
2397  * Added support for setting the Max-Forwards: header in SIP requests. Setting is
2398    available in device configurations as well as in the dial plan.
2399  * Addition of the 'subscribe_network_change' option for turning on and off
2400    res_stun_monitor module support in chan_sip.
2401  * Addition of the 'auth_options_requests' option for turning on and off
2402    authentication for OPTIONS requests in chan_sip.
2403
2404 Configuration files
2405 -------------------
2406  * Add #tryinclude statement for config files.  This provides the same
2407    functionality as the #include statement however an asterisk module will
2408    still load if the filename does not exist.  Using the #include statement
2409    Asterisk will not allow the module to load.
2410
2411 IAX2 Changes
2412 -----------
2413  * Added rtsavesysname option into iax.conf to allow the systname to be saved
2414    on realtime updates.
2415  * Added the ability for chan_iax2 to inform the dialplan whether or not
2416    encryption is being used. This interoperates with the SIP SRTP implementation
2417    so that a secure SIP call can be bridged to a secure IAX call when the
2418    dialplan requires bridged channels to be "secure".
2419  * Addition of the 'subscribe_network_change' option for turning on and off
2420    res_stun_monitor module support in chan_iax.
2421
2422
2423 MGCP Changes
2424 ------------
2425  * Added ability to preset channel variables on indicated lines with the setvar
2426    configuration option.  Also, clearvars=all resets the list of variables back
2427    to none.
2428  * PacketCable NCS 1.0 support has been added for Docsis/Eurodocsis Networks.
2429    See configs/res_pktccops.conf for more information.
2430
2431 XMPP Google Talk/Jingle changes
2432 -------------------------------
2433   * Added the externip option to gtalk.conf.
2434   * Added the stunaddr option to gtalk.conf which allows for the automatic
2435     retrieval of the external ip from a stun server.
2436
2437 Applications
2438 ------------
2439  * Added 'p' option to PickupChan() to allow for picking up channel by the first
2440    match to a partial channel name.
2441  * Added .m3u support for Mp3Player application.
2442  * Added progress option to the app_dial D() option.  When progress DTMF is
2443    present, those values are sent immediately upon receiving a PROGRESS message
2444    regardless if the call has been answered or not.
2445  * Added functionality to the app_dial F() option to continue with execution
2446    at the current location when no parameters are provided.
2447  * Added the 'a' option to app_dial to answer the calling channel before any
2448    announcements or macros are executed.
2449  * Modified app_dial to set answertime when the called channel answers even if
2450    the called channel hangs up during playback of an announcement.
2451  * Modified app_dial 'r' option to support an additional parameter to play an
2452    indication tone from indications.conf
2453  * Added c() option to app_chanspy. This option allows custom DTMF to be set
2454    to cycle through the next available channel.  By default this is still '*'.
2455  * Added x() option to app_chanspy.  This option allows DTMF to be set to
2456    exit the application.
2457  * The Voicemail application has been improved to automatically ignore messages
2458    that only contain silence.
2459  * If you set maxmsg to 0 in voicemail.conf, Voicemail will consider the
2460    associated mailbox(es) to be greetings-only.
2461  * The ChanSpy application now has the 'S' option, which makes the application
2462    automatically exit once it hits a point where no more channels are available
2463    to spy on.
2464  * The ChanSpy application also now has the 'E' option, which spies on a single
2465    channel and exits when that channel hangs up.
2466  * The MeetMe application now turns on the DENOISE() function by default, for
2467    each participant.  In our tests, this has significantly decreased background
2468    noise (especially noisy data centers).
2469  * Voicemail now permits storage of secrets in a separate file, located in the
2470    spool directory of each individual user.  The control for this is located in
2471    the "passwordlocation" option in voicemail.conf.  Please see the sample
2472    configuration for more information.
2473  * The ChanIsAvail application now exposes the returned cause code using a separate
2474    variable, AVAILCAUSECODE, instead of overwriting the device state in AVAILSTATUS.
2475  * Added 'd' option to app_followme.  This option disables the "Please hold"
2476    announcement.
2477  * Added 'y' option to app_record. This option enables a mode where any DTMF digit
2478    received will terminate recording.
2479  * Voicemail now supports per mailbox settings for folders when using IMAP storage.
2480    Previously the folder could only be set per context, but has now been extended
2481    using the imapfolder option.
2482  * Voicemail now supports per mailbox settings for nextaftercmd and minsecs.
2483  * Voicemail now allows the pager date format to be specified separately from the
2484    email date format.
2485  * New applications JabberJoin, JabberLeave, and JabberSendGroup have been added
2486    to allow joining, leaving, and sending text to group chats.
2487  * MeetMe has a new option 'G' to play an announcement before joining a conference.
2488  * Page has a new option 'A(x)' which will playback an announcement simultaneously
2489    to all paged phones (and optionally excluding the caller's one using the new
2490    option 'n') before the call is bridged.
2491  * The 'f' option to Dial has been augmented to take an optional argument. If no
2492    argument is provided, the 'f' option works as it always has. If an argument is
2493    provided, then the connected party information of all outgoing channels created
2494    during the Dial will be set to the argument passed to the 'f' option.
2495  * Dial now inherits the GOSUB_RETVAL from the peer, when the U() option runs a
2496    Gosub on the peer.
2497  * The OSP lookup application adds in/outbound network ID, optional security,
2498    number portability, QoS reporting, destination IP port, custom info and service
2499    type features.
2500  * Added new application VMSayName that will play the recorded name of the voicemail
2501    user if it exists, otherwise will play the mailbox number.
2502  * Added custom device states to ConfBridge bridges.  Use 'confbridge:<name>' to
2503    retrieve state for a particular bridge, where <name> is the conference name
2504  * app_directory now allows exiting at any time using the operator or pound key.
2505  * Voicemail now supports setting a locale per-mailbox.
2506  * Two new applications are provided for declining counting phrases in multiple
2507    languages.  See the application notes for SayCountedNoun and SayCountedAdj for
2508    more information.
2509  * Voicemail now runs the externnotify script when pollmailboxes is activated and
2510    notices a change.
2511  * Voicemail now includes rdnis within msgXXXX.txt file.
2512  * ExternalIVR now supports IPv6 addresses.
2513  * Added 'D' command to ExternalIVR. Details are available on the Asterisk wiki
2514    at https://wiki.asterisk.org/wiki/x/oQBB
2515  * ParkedCall and Park can now specify the parking lot to use.
2516
2517 Dialplan Functions
2518 ------------------
2519  * SRVQUERY and SRVRESULT functions added. This can be used to query and iterate
2520    over SRV records associated with a specific service. From the CLI, type
2521    'core show function SRVQUERY' and 'core show function SRVRESULT' for more
2522    details on how these may be used.
2523  * PITCH_SHIFT dialplan function added. This function can be used to modify the
2524    pitch of a channel's tx and rx audio streams.
2525  * Added new dialplan functions CONNECTEDLINE and REDIRECTING which permits
2526    setting various connected line and redirecting party information.
2527  * CALLERID and CONNECTEDLINE dialplan functions have been extended to
2528    support ISDN subaddressing.
2529  * The CHANNEL() function now supports the "name" and "checkhangup" options.
2530  * For DAHDI channels, the CHANNEL() dialplan function now allows
2531    the dialplan to request changes in the configuration of the active
2532    echo canceller on the channel (if any), for the current call only.
2533    The syntax is:
2534
2535    exten => s,n,Set(CHANNEL(echocan_mode)=off)
2536
2537    The possible values are:
2538
2539      on - normal mode (the echo canceller is actually reinitialized)
2540      off - disabled
2541      fax - FAX/data mode (NLP disabled if possible, otherwise completely
2542            disabled)
2543      voice - voice mode (returns from FAX mode, reverting the changes that
2544              were made when FAX mode was requested)
2545  * Added new dialplan function MASTER_CHANNEL(), which permits retrieving
2546    and setting variables on the channel which created the current channel.
2547    Administrators should take care to avoid naming conflicts, when multiple
2548    channels are dialled at once, especially when used with the Local channel
2549    construct (which all could set variables on the master channel).  Usage
2550    of the HASH() dialplan function, with the key set to the name of the slave
2551    channel, is one approach that will avoid conflicts.
2552  * Added new dialplan function MUTEAUDIO() for muting inbound and/or outbound
2553    audio in a channel.
2554  * func_odbc now allows multiple row results to be retrieved without using
2555    mode=multirow.  If rowlimit is set, then additional rows may be retrieved
2556    from the same query by using the name of the function which retrieved the
2557    first row as an argument to ODBC_FETCH().
2558  * Added JABBER_RECEIVE, which permits receiving XMPP messages from the
2559    dialplan. This function returns the content of the received message.
2560  * Added REPLACE, which searches a given variable name for a set of characters,
2561    then either replaces them with a single character or deletes them.
2562  * Added PASSTHRU, which literally passes the same argument back as its return
2563    value.  The intent is to be able to use a literal string argument to
2564    functions that currently require a variable name as an argument.
2565  * HASH-associated variables now can be inherited across channel creation, by
2566    prefixing the name of the hash at assignment with the appropriate number of
2567    underscores, just like variables.
2568  * GROUP_MATCH_COUNT has been improved to allow regex matching on category
2569  * CHANNEL(secure_bridge_signaling) and CHANNEL(secure_bridge_media) to set/get
2570    whether or not channels that are bridged to the current channel will be
2571    required to have secure signaling and/or media.
2572  * CHANNEL(secure_signaling) and CHANNEL(secure_media) to get whether or not
2573    the current channel has secure signaling and/or media.
2574  * For DAHDI/ISDN channels, the CHANNEL() dialplan function now supports the
2575    "no_media_path" option.
2576    Returns "0" if there is a B channel associated with the call.
2577    Returns "1" if no B channel is associated with the call.  The call is either
2578    on hold or is a call waiting call.
2579  * Added option to dialplan function CDR(), the 'f' option
2580    allows for high resolution times for billsec and duration fields.
2581  * FILE() now supports line-mode and writing.
2582  * Added FIELDNUM(), which returns the 1-based offset of a field in a list.
2583  * FRAME_TRACE(), for tracking internal ast_frames on a channel.
2584
2585 Dialplan Variables
2586 ------------------
2587  * Added DYNAMIC_FEATURENAME which holds the last triggered dynamic feature.
2588  * Added DYNAMIC_PEERNAME which holds the unique channel name on the other side
2589    and is set when a dynamic feature is triggered.
2590  * Added PARKINGLOT which can be used with parkeddynamic feature.conf option
2591    to dynamically create a new parking lot matching the value this varible is
2592    set to.
2593  * Added PARKINGDYNAMIC which represents the template parkinglot defined in
2594    features.conf that should be the base for dynamic parkinglots.
2595  * Added PARKINGDYNCONTEXT which tells what context a newly created dynamic
2596    parkinglot should have.
2597  * Added PARKINGDYNEXTEN which tells what parking exten a newly created dynamic
2598    parkinglot should have.
2599  * Added PARKINGDYNPOS which holds what parking positions a dynamic parkinglot
2600    should have.
2601
2602 Queue changes
2603 -------------
2604  * Added "ready" option to QUEUE_MEMBER counting to count free agents whose wrap-up
2605    timeout has expired.
2606  * Added 'R' option to app_queue.  This option stops moh and indicates ringing
2607    to the caller when an Agent's phone is ringing.  This can be used to indicate
2608    to the caller that their call is about to be picked up, which is nice when
2609    one has been on hold for an extened period of time.
2610  * A new config option, penaltymemberslimit, has been added to queues.conf.
2611    When set this option will disregard penalty settings when a queue has too
2612    few members.
2613  * A new option, 'I' has been added to both app_queue and app_dial.
2614    By setting this option, Asterisk will not update the caller with
2615    connected line changes or redirecting party changes when they occur.
2616  * A 'relative-periodic-announce' option has been added to queues.conf.  When
2617    enabled, this option will cause periodic announce times to be calculated
2618    from the end of announcements rather than from the beginning.
2619  * The autopause option in queues.conf can be passed a new value, "all." The
2620    result is that if a member becomes auto-paused, he will be paused in all
2621    queues for which he is a member, not just the queue that failed to reach
2622    the member.
2623  * Added dialplan function QUEUE_EXISTS to check if a queue exists
2624  * The queue logger now allows events to optionally propagate to a file,
2625    even when realtime logging is turned on.  Additionally, realtime logging
2626    supports sending the event arguments to 5 individual fields, although it
2627    will fallback to the previous data definition, if the new table layout is
2628    not found.
2629
2630 mISDN channel driver (chan_misdn) changes
2631 ----------------------------------------
2632  * Added display_connected parameter to misdn.conf to put a display string
2633    in the CONNECT message containing the connected name and/or number if
2634    the presentation setting permits it.
2635  * Added display_setup parameter to misdn.conf to put a display string
2636    in the SETUP message containing the caller name and/or number if the
2637    presentation setting permits it.
2638  * Made misdn.conf parameters localdialplan and cpndialplan take a -1 to
2639    indicate the dialplan settings are to be obtained from the asterisk
2640    channel.
2641  * Made misdn.conf parameter callerid accept the "name" <number> format
2642    used by the rest of the system.
2643  * Made use the nationalprefix and internationalprefix misdn.conf
2644    parameters to prefix any received number from the ISDN link if that
2645    number has the corresponding Type-Of-Number.  NOTE:  This includes
2646    comparing the incoming call's dialed number against the MSN list.
2647  * Added the following new parameters: unknownprefix, netspecificprefix,
2648    subscriberprefix, and abbreviatedprefix in misdn.conf to prefix any
2649    received number from the ISDN link if that number has the corresponding
2650    Type-Of-Number.
2651  * Added new dialplan application misdn_command which permits controlling
2652    the CCBS/CCNR functionality.
2653  * Added new dialplan function mISDN_CC which permits retrieval of various
2654    values from an active call completion record.
2655  * For PTP, you should manually send the COLR of the redirected-to party
2656    for an incomming redirected call if the incoming call could experience
2657    further redirects.  Just set the REDIRECTING(to-num,i) = ${EXTEN} and
2658    set the REDIRECTING(to-pres) to the COLR.  A call has been redirected
2659    if the REDIRECTING(from-num) is not empty.
2660  * For outgoing PTP redirected calls, you now need to use the inhibit(i)
2661    option on all of the REDIRECTING statements before dialing the
2662    redirected-to party.  You still have to set the REDIRECTING(to-xxx,i)
2663    and the REDIRECTING(from-xxx,i) values.  The PTP call will update the
2664    redirecting-to presentation (COLR) when it becomes available.
2665  * Added outgoing_colp parameter to misdn.conf to filter outgoing COLP
2666    information.
2667
2668 thirdparty mISDN enhancements
2669 -----------------------------
2670 mISDN has been modified by Digium, Inc. to greatly expand facility message
2671 support to allow:
2672   * Enhanced COLP support for call diversion and transfer.
2673   * CCBS/CCNR support.
2674
2675 The latest modified mISDN v1.1.x based version is available at:
2676 http://svn.digium.com/svn/thirdparty/mISDN/trunk
2677 http://svn.digium.com/svn/thirdparty/mISDNuser/trunk
2678
2679 Tagged versions of the modified mISDN code are available under:
2680 http://svn.digium.com/svn/thirdparty/mISDN/tags
2681 http://svn.digium.com/svn/thirdparty/mISDNuser/tags
2682
2683 libpri channel driver (chan_dahdi) DAHDI changes
2684 -------------------------------------------
2685  * The channel variable PRIREDIRECTREASON is now just a status variable
2686    and it is also deprecated.  Use the REDIRECTING(reason) dialplan function
2687    to read and alter the reason.
2688  * For Q.SIG and ETSI PRI/BRI-PTP, you should manually send the COLR of the
2689    redirected-to party for an incomming redirected call if the incoming call
2690    could experience further redirects.  Just set the
2691    REDIRECTING(to-num,i) = CALLERID(dnid) and set the REDIRECTING(to-pres)
2692    to the COLR.  A call has been redirected if the REDIRECTING(count) is not
2693    zero.
2694  * For outgoing Q.SIG and ETSI PRI/BRI-PTP redirected calls, you need to
2695    use the inhibit(i) option on all of the REDIRECTING statements before
2696    dialing the redirected-to party.  You still have to set the
2697    REDIRECTING(to-xxx,i) and the REDIRECTING(from-xxx,i) values.  The call
2698    will update the redirecting-to presentation (COLR) when it becomes available.
2699  * Added the ability to ignore calls that are not in a Multiple Subscriber
2700    Number (MSN) list for PTMP CPE interfaces.
2701  * Added dynamic range compression support for dahdi channels.  It is
2702    configured via the rxdrc and txdrc parameters in chan_dahdi.conf.
2703  * Added support for ISDN calling and called subaddress with partial support
2704    for connected line subaddress.
2705  * Added support for BRI PTMP NT mode. (Requires latest LibPRI.)
2706  * Added handling of received HOLD/RETRIEVE messages and the optional ability
2707    to transfer a held call on disconnect similar to an analog phone.
2708  * Added CallRerouting/CallDeflection support for Q.SIG, ETSI PTP, ETSI PTMP.
2709    Will reroute/deflect an outgoing call when receive the message.
2710    Can use the DAHDISendCallreroutingFacility to send the message for the
2711    supported switches.
2712  * Added standard location to add options to chan_dahdi dialing:
2713    Dial(DAHDI/g1[/extension[/options]])
2714    Current options:
2715    K(<keypad_digits>)
2716    R Reverse charging indication
2717  * Added Reverse Charging Indication (Collect calls) send/receive option.
2718    Send reverse charging in SETUP message with the chan_dahdi R dialing option.
2719    Dial(DAHDI/g1/extension/R)
2720    Access received reverse charge in SETUP message by: ${CHANNEL(reversecharge)}
2721    (requires latest LibPRI)
2722  * Added ability to send/receive keypad digits in the SETUP message.
2723    Send keypad digits in SETUP message with the chan_dahdi K(<keypad_digits>)
2724    dialing option.  Dial(DAHDI/g1/[extension]/K(<keypad_digits>))
2725    Access any received keypad digits in SETUP message by: ${CHANNEL(keypad_digits)}
2726    (requires latest LibPRI)
2727  * Added ability to send and receive ETSI Explicit Call Transfer (ECT) messages
2728    to eliminate tromboned calls.  A tromboned call goes out an interface and comes
2729    back into the same interface.  Tromboned calls happen because of call routing,
2730    call deflection, call forwarding, and call transfer.
2731  * Added the ability to send and receive ETSI Advice-Of-Charge messages.
2732  * Added the ability to support call waiting calls.  (The SETUP has no B channel
2733    assigned.)
2734  * Added Malicious Call ID (MCID) event to the AMI call event class.
2735  * Added Message Waiting Indication (MWI) support for ISDN PTMP endpoints (phones).
2736
2737 Asterisk Manager Interface
2738 --------------------------
2739  * The Hangup action now accepts a Cause header which may be used to
2740    set the channel's hangup cause.
2741  * sslprivatekey option added to manager.conf and http.conf.  Adds the ability
2742    to specify a separate .pem file to hold a private key.  By default sslcert
2743    is used to hold both the public and private key.
2744  * Options in manager.conf and http.conf with the 'ssl' prefix have been replaced
2745    for options containing the 'tls' prefix.  For example, 'sslenable' is now
2746    'tlsenable'.  This has been done in effort to keep ssl and tls options consistent
2747    across all .conf files. All affected sample.conf files have been modified to
2748    reflect this change.  Previous options such as 'sslenable' still work,
2749    but options with the 'tls' prefix are preferred.
2750  * Added a MuteAudio AMI action for muting inbound and/or outbound audio
2751    in a channel. (res_mutestream.so)
2752  * The configuration file manager.conf now supports a channelvars option, which
2753    specifies a list of channel variables to include in each channel-oriented
2754    event.
2755  * The redirect command now has new parameters ExtraContext, ExtraExtension,
2756    and ExtraPriority to allow redirecting the second channel to a different
2757    location than the first.
2758  * Added new event "JabberStatus" in the Jabber module to monitor buddies
2759    status.
2760  * Added a "MixMonitorMute" AMI action for muting inbound and/or outbound audio
2761    in a MixMonitor recording.
2762  * The 'iax2 show peers' output is now similar to the expected output of
2763    'sip show peers'.
2764  * Added Advice-Of-Charge events (AOC-S, AOC-D, and AOC-E) in the new
2765    aoc event class.
2766  * Added Advice-Of-Charge manager action, AOCMessage, for generating AOC-D and
2767    AOC-E messages on a channel.
2768  * A DBGetComplete event now follows a DBGetResponse, to make the DBGet action
2769    conform more closely to similar events.
2770  * Added a new eventfilter option per user to allow whitelisting and blacklisting
2771    of events.
2772  * Added optional parkinglot variable for park command.
2773  * Added ConnectedLineNum and ConnectedLineName headers to AMI events/responses
2774    if CallerIDNum and CallerIDName headers are also present.
2775
2776 Channel Event Logging
2777 ---------------------
2778  * A new interface, CEL, is introduced here. CEL logs single events, much like
2779    the AMI, but it differs from the AMI in that it logs to db backends much
2780    like CDR does; is based on the event subsystem introduced by Russell, and
2781    can share in all its benefits; allows multiple backends to operate like CDR;
2782    is specialized to event data that would be of concern to billing sytems,
2783    like CDR. Backends for logging and accounting calls have been produced,
2784    but a new CDR backend is still in development.
2785
2786 CDR
2787 ---
2788  * 'linkedid' and 'peeraccount' are new CDR fields available to CDR aficionados.
2789    linkedid is based on uniqueID, but spreads to other channels as transfers, dials,
2790    etc are performed. Thus the pieces of CDR can be grouped into multilegged sets.
2791  * Multiple files and formats can now be specified in cdr_custom.conf.
2792  * cdr_syslog has been added which allows CDRs to be written directly to syslog.
2793    See configs/cdr_syslog.conf.sample for more information.
2794  * A 'sequence' field has been added to CDRs which can be combined with
2795    linkedid or uniqueid to uniquely identify a CDR.
2796  * Handling of billsec and duration field has changed. If your table definition
2797    specifies those fields as float,double or similar they will now be logged with
2798    microsecond accuracy instead of a whole integer.
2799
2800 Calendaring for Asterisk
2801 ------------------------
2802  * A new set of modules were added supporing calendar integration with Asterisk.
2803    Dialplan functions for reading from and writing to calendars are included,
2804    as well as the ability to execute dialplan logic upon calendar event notifications.
2805    iCalendar, CalDAV, and Exchange Server calendars (via res_calendar_exchange for
2806    Exchange Server 2003 with no write or attendee support, and res_calendar_ews for
2807    Exchange Server 2007+ with full write and attendee support) are supported (Exchange
2808    2003 support does not support forms-based authentication).
2809
2810 Call Completion Supplementary Services for Asterisk
2811 ---------------------------------------------------
2812  * Call completion support has been added for SIP, DAHDI/ISDN, and DAHDI/analog.
2813    DAHDI/ISDN supports call completion for the following switch types:
2814    EuroIsdn(ETSI) for PTP and PTMP modes, and Qsig.
2815    See https://wiki.asterisk.org/wiki/x/2ABQ for details.
2816
2817 Multicast RTP Support
2818 ---------------------
2819  * A new RTP engine and channel driver have been added which supports Multicast RTP.
2820    The channel driver can be used with the Page application to perform multicast RTP
2821    paging. The dial string format is: MulticastRTP/<type>/<destination>/<control address>
2822    Type can be either basic or linksys.
2823    Destination is the IP address and port for the RTP packets.
2824    Control address is specific to the linksys type and is used for sending the control
2825    packets unique to them.
2826
2827 Security Events Framework
2828 -------------------------
2829  * Asterisk has a new C API for reporting security events.  The module res_security_log
2830    sends these events to the "security" logger level.  Currently, AMI is the only
2831    Asterisk component that reports security events.  However, SIP support will be
2832    coming soon.  For more information on the security events framework, see the
2833    "Asterisk Security Framework" section of the Asterisk wiki at
2834    https://wiki.asterisk.org/wiki/x/wgBQ
2835  * SIP support was added in Asterisk 10
2836  * This API now supports IPv6 addresses
2837
2838 Fax
2839 ---
2840  * A technology independent fax frontend (res_fax) has been added to Asterisk.
2841  * A spandsp based fax backend (res_fax_spandsp) has been added.
2842  * The app_fax module has been deprecated in favor of the res_fax module and
2843    the new res_fax_spandsp backend.
2844  * The SendFAX and ReceiveFAX applications now send their log messages to a
2845    'fax' logger level, instead of to the generic logger levels. To see these
2846    messages, the system's logger.conf file will need to direct the 'fax' logger
2847    level to one or more destinations; the logger.conf.sample file includes an
2848    example of how to do this. Note that if the 'fax' logger level is *not*
2849    directed to at least one destination, log messages generated by these
2850    applications will be lost, and that if the 'fax' logger level is directed to
2851    the console, the 'core set verbose' and 'core set debug' CLI commands will
2852    have no effect on whether the messages appear on the console or not.
2853
2854 Miscellaneous
2855 -------------
2856  * The transmit_silence_during_record option in asterisk.conf.sample has been removed.
2857    Now, in order to enable transmitting silence during record the transmit_silence
2858    option should be used.  transmit_silence_during_record remains a valid option, but
2859    defaults to the behavior of the transmit_silence option.
2860  * Addition of the Unit Test Framework API for managing registration and execution
2861    of unit tests with the purpose of verifying the operation of C functions.
2862  * SendText is now implemented in chan_gtalk and chan_jingle. It will simply send
2863    XMPP text messages to the remote JID.
2864  * Modules.conf has a new option - "require" - that marks a module as critical for
2865    the execution of Asterisk.
2866    If one of the required modules fail to load, Asterisk will exit with a return
2867    code set to 2.
2868  * An 'X' option has been added to the asterisk application which enables #exec support.
2869    This allows #exec to be used in asterisk.conf.
2870  * jabber.conf supports a new option auth_policy that toggles auto user registration.
2871  * A new lockconfdir option has been added to asterisk.conf to protect the
2872    configuration directory (/etc/asterisk by default) during reloads.
2873  * The parkeddynamic option has been added to features.conf to enable the creation
2874    of dynamic parkinglots.
2875  * chan_dahdi now supports reporting alarms over AMI either by channel or span via
2876    the reportalarms config option.
2877  * chan_dahdi supports dialing configuring and dialing by device file name.
2878    DAHDI/span-name!local!1 will use /dev/dahdi/span-name/local/1 . Likewise
2879    it may appear in chan_dahdi.conf as 'channel => span-name!local!1'.
2880  * A new options for chan_dahdi.conf: 'ignore_failed_channels'. Boolean.
2881    False by default. If set, chan_dahdi will ignore failed 'channel' entries.
2882    Handy for the above name-based syntax as it does not depend on
2883    initialization order.
2884  * The Realtime dialplan switch now caches entries for 1 second.  This provides a
2885    significant increase in performance (about 3X) for installations using this switchtype.
2886  * Distributed devicestate now supports the use of the XMPP protocol, in addition to
2887    AIS.  For more information, please see the Distributed Device State section of the
2888    Asterisk wiki at https://wiki.asterisk.org/wiki/x/jw4iAQ
2889  * The addition of G.719 pass-through support.
2890  * Added support for 16khz Speex audio.  This can be enabled by using 'allow=speex16'
2891    during device configuration.
2892  * The UNISTIM channel driver (chan_unistim) has been updated to support devices that
2893    have less than 3 lines on the LCD.
2894  * Realtime now supports database failover.  See the sample extconfig.conf for details.
2895  * The addition of improved translation path building for wideband codecs.  Sample
2896    rate changes during translation are now avoided unless absolutely necessary.
2897  * The addition of the res_stun_monitor module for monitoring and reacting to network
2898    changes while behind a NAT.
2899  * DTMF: Normal and Reverse Twist acceptance values can be set in dsp.conf.
2900    DTMF Valid/Invalid number of hits/misses can be set in dsp.conf.
2901    These allow support for any Administration. Default is AT&T values.
2902
2903 CLI Changes
2904 -----------
2905  * The 'core set debug' and 'core set verbose' commands, in previous versions, could
2906    optionally accept a filename, to apply the setting only to the code generated from
2907    that source file when Asterisk was built. However, there are some modules in Asterisk
2908    that are composed of multiple source files, so this did not result in the behavior
2909    that users expected. In this version, 'core set debug' and 'core set verbose'
2910    can optionally accept *module* names instead (with or without the .so extension),
2911    which applies the setting to the entire module specified, regardless of which source
2912    files it was built from.
2913  * New 'manager show settings' command showing the current settings loaded from
2914    manager.conf.
2915  * Added 'all' keyword to the CLI command "channel request hangup" so that you can send
2916    the channel hangup request to all channels.
2917  * Added a "core reload" CLI command that executes a global reload of Asterisk.
2918
2919 ------------------------------------------------------------------------------
2920 --- Functionality changes from Asterisk 1.6.1 to Asterisk 1.6.2  -------------
2921 ------------------------------------------------------------------------------
2922
2923 SIP Changes
2924 -----------
2925  * Added support for SUBSCRIBE/NOTIFY with dialog-info based call pickups.
2926    Snom phones use this for call pickup of extensions that the phone is
2927    subscribed to.
2928  * Added support for setting the domain in the URI for caller of an
2929    outbound call by using the SIPFROMDOMAIN channel variable.
2930  * Added a new configuration option "remotesecret" for authentication to
2931    remote services. For backwards compatibility, "secret" still has the
2932    same function as before, but now you can configure both a remote secret and a
2933    local secret for mutual authentication.
2934  * If the channel variable  ATTENDED_TRANSFER_COMPLETE_SOUND is set,
2935    the sound will be played to the target of an attended transfer
2936  * Added two new configuration options, "qualifygap" and "qualifypeers", which allow
2937    finer control over how many peers Asterisk will qualify and the gap between them
2938    when all peers need to be qualified at the same time.
2939  * Added a new 'ignoresdpversion' option to sip.conf.  When this is enabled
2940    (either globally or for a specific peer), chan_sip will treat any SDP data
2941    it receives as new data and update the media stream accordingly.  By
2942    default, Asterisk will only modify the media stream if the SDP session
2943    version received is different from the current SDP session version.  This
2944    option is required to interoperate with devices that have non-standard SDP
2945    session version implementations (observed with Microsoft OCS).  This option
2946    is disabled by default.
2947  * The parsing of register => lines in sip.conf has been modified to allow a port
2948    to be present in the "user" portion. Please see the sip.conf.sample file for more
2949    information
2950  * Added support for subscribing to MWI on a remote server and making the status available
2951    as a mailbox. Please see the sip.conf.sample file for more information.
2952  * Added a function to remove SIP headers added in the dialplan before the
2953    first INVITE is generated - SIPRemoveHeader()
2954  * Channel variables set with setvar= in a device configuration is now
2955    set both for inbound and outbound calls.
2956  * Added support for ITU G.722.1 and G.722.1C (Siren7 and Siren14) media streams.
2957
2958 IAX2 changes
2959 ------------
2960   * Added immediate option to iax.conf
2961   * Added forceencryption option to iax.conf
2962   * Added Encryption and Trunk status to manager command "iaxpeers"
2963
2964 Skinny Changes
2965 --------------
2966  * The configuration file now holds separate sections for devices and lines.
2967    Please have a look at configs/skinny.conf.sample and change your skinny.conf
2968    accordingly.
2969
2970 DAHDI Changes
2971 -------------
2972  * chan_dahdi now supports MFC/R2 signaling when Asterisk is compiled with
2973    support for LibOpenR2.  http://www.libopenr2.org/
2974  * The UK option waitfordialtone has been added for use with BT analog
2975    lines.
2976  * Added a 'faxbuffers' configuration option to chan_dahdi.conf.  This option
2977    is used in conjunction with the 'faxdetect' configuration option.  When
2978    'faxbuffers' is used and fax tones are detected, the channel will dynamically
2979    switch to the configured faxbuffers policy.  For example, to use 6 buffers
2980    and a 'full' buffer policy for a fax transmission, add:
2981      faxbuffers=>6,full
2982    The faxbuffers configuration will be in affect until the call is torn down.
2983  * Added service message support for 4ESS/5ESS switches.
2984
2985 Dialplan Functions
2986 ------------------
2987  * For DAHDI channels, the CHANNEL() dialplan function now
2988    supports changing the channel's buffer policy (for the current
2989    call only), using this syntax:
2990
2991    exten => s,n,Set(CHANNEL(buffers)=6,full)
2992
2993    This would change the channel to the 'full' buffer policy and
2994    6 (six) buffers. Possible options for this setting are the same
2995    as those in chan_dahdi.conf.
2996  * Added a new dialplan function, CURLOPT, which permits setting various
2997    options that may be useful with the CURL dialplan function, such as
2998    cookies, proxies, connection timeouts, passwords, etc.
2999  * Permit the syntax and synopsis fields of the corresponding dialplan
3000    functions to be individually set from func_odbc.conf.
3001  * Added debugging CLI functions to func_odbc, 'odbc read' and 'odbc write'.
3002  * func_odbc now may specify an insert query to execute, when the write query
3003    affects 0 rows (usually indicating that no such row exists).
3004  * Added a new dialplan function, LISTFILTER, which permits removing elements
3005    from a set list, by name.  Uses the same general syntax as the existing CUT
3006    and FIELDQTY dialplan functions, which also manage lists.
3007  * Added REALTIME_FIELD and REALTIME_HASH, which should aid users in better
3008    obtaining realtime data from the dialplan.
3009  * Added LOCAL_PEEK, which allows access to variables in any stack frame within
3010    a subroutine when using the GoSub() and Return() applications.
3011  * Added AUDIOHOOK_INHERIT. For information on its use, please see the output
3012    of "core show function AUDIOHOOK_INHERIT" from the CLI
3013  * Added AES_ENCRYPT. For information on its use, please see the output
3014    of "core show function AES_ENCRYPT" from the CLI
3015  * Added AES_DECRYPT. For information on its use, please see the output
3016    of "core show function AES_DECRYPT" from the CLI
3017  * func_odbc now supports database transactions across multiple queries.
3018
3019 Applications
3020 ------------
3021  * Scheduled meetme conferences may now have their end times extended by
3022    using MeetMeAdmin.
3023  * app_authenticate now gives the ability to select a prompt other than
3024    the default.
3025  * app_directory now pays attention to the searchcontexts setting in
3026    voicemail.conf and will look through all contexts, if no context is
3027    specified in the initial argument.
3028  * A new application, Originate, has been introduced, that allows asynchronous
3029    call origination from the dialplan.
3030  * Voicemail now permits setting the emailsubject and emailbody per mailbox,
3031    in addition to the setting in the "general" context.
3032  * Added ConfBridge dialplan application which does conference bridges without
3033    DAHDI. For information on its use, please see the output of
3034    "core show application ConfBridge" from the CLI.
3035
3036 Miscellaneous
3037 -------------
3038  * The Asterisk CLI has a new command, "channel redirect", which is similar in
3039    operation to the AMI Redirect action.
3040  * extensions.conf now allows you to use keyword "same" to define an extension
3041    without actually specifying an extension.  It uses exactly the same pattern
3042    as previously used on the last "exten" line.  For example:
3043      exten => 123,1,NoOp(something)
3044      same  =>     n,SomethingElse()
3045  * musiconhold.conf classes of type 'files' can now use relative directory paths,
3046    which are interpreted as relative to the astvarlibdir setting in asterisk.conf.
3047  * All deprecated CLI commands are removed from the sourcecode. They are now handled
3048    by the new clialiases module. See cli_aliases.conf.sample file.
3049  * Times within timespecs are now accurate down to the minute.  This is a change
3050    from historical Asterisk, which only provided timespecs rounded to the nearest
3051    even (read: evenly divisible by 2) minute mark.
3052  * The realtime switch now supports an option flag, 'p', which disables searches for
3053    pattern matches.
3054  * In addition to a time range and date range, timespecs now accept a 5th optional
3055    argument, timezone.  This allows you to perform time checks on alternate
3056    timezones, especially if those daylight savings time ranges vary from your
3057    machine's native timezone.  See GotoIfTime, ExecIfTime, IFTIME(), and timed
3058    includes.
3059  * The contrib/scripts/ directory now has a script called sip_nat_settings that will
3060    give you the correct output for an asterisk box behind nat. It will give you the
3061    externhost and localnet settings.
3062  * The Asterisk core now supports ITU G.722.1 and G.722.1C media streams, and
3063    can connect calls in passthrough mode, as well as record and play back files.
3064  * Successful and unsuccessful call pickup can now be alerted through sounds, by
3065    using pickupsound and pickupfailsound in features.conf.
3066  * ASTVARRUNDIR is now set to $(localstatedir)/run/asterisk by default.
3067    This means the asterisk pid file will now be in /var/run/asterisk/asterisk.pid on LINUX
3068    instead of the /var/run/asterisk.pid where it used to be. This will make
3069    installs as non-root easier to manage.
3070
3071 CDR
3072 ---
3073
3074 * The cdr.conf file must exist and be correctly programmed in order for CDR records to
3075   be written; they will no longer be explicitly written.
3076
3077 Asterisk Manager Interface
3078 --------------------------
3079  * When using the AMI over HTTP, you can now include a 'SuppressEvents' header (with
3080    a non-empty value) in your request. If you do this, any pending AMI events will
3081    *not* be included in the response to your request as they would normally, but
3082    will be left in the event queue for the next request you make to retrieve. For
3083    some applications, this will allow you to guarantee that you will only see
3084    events in responses to 'WaitEvent' actions, and can better know when to expect them.
3085    To know whether the Asterisk server supports this header or not, your client can
3086    inspect the first response back from the server to see if it includes this header:
3087
3088    Pragma: SuppressEvents
3089
3090    If this is included, the server supports event suppression.
3091
3092  * Added 4 new Actions to list skinny device(s) and line(s)
3093    SKINNYdevices
3094    SKINNYshowdevice
3095    SKINNYlines
3096    SKINNYshowline
3097
3098 LDAP Schema File Additions
3099 --------------------------
3100  * Added AsteriskDialplan, AsteriskAccount and AsteriskMailbox  objectClasses
3101    to allow standalone dialplan, account and mailbox entries (STRUCTURAL)
3102  * Added new Fields:
3103    - AstAccountLanguage, AstAccountTransport, AstAccountPromiscRedir,
3104    - AstAccountAccountCode, AstAccountSetVar, AstAccountAllowOverlap,
3105    - AstAccountVideoSupport, AstAccountIgnoreSDPVersion
3106  * Removed redundant IPaddr (there's already IPAddress)
3107    - Gives more configuration Flags for SIP-Users available (tested)
3108    - Allows to create Asterisk Attributes in defined Asterisk ObjectClasses
3109      without extensibleObject (which really should be the last resort); gives
3110      also additional possibilities for LDAP-filter
3111
3112 ------------------------------------------------------------------------------
3113 --- Functionality changes from Asterisk 1.6.0 to Asterisk 1.6.1  -------------
3114 ------------------------------------------------------------------------------
3115
3116 Device State Handling
3117 ---------------------
3118  * The event infrastructure in Asterisk got another big update to help support
3119    distributed events.  It currently supports distributed device state and
3120    distributed Voicemail MWI (Message Waiting Indication).  A new module has
3121    been merged, res_ais, which facilitates communicating events between servers.
3122    It uses the SAForum AIS (Service Availability Forum Application Interface
3123    Specification) CLM (Cluster Management) and EVT (Event) services to maintain
3124    a cluster of Asterisk servers, and to share events between them.  For more
3125    information on setting this up, refer to the Distributed Device State section
3126    of the Asterisk wiki at https://wiki.asterisk.org/wiki/x/jw4iAQ
3127
3128 Dialplan Functions
3129 ------------------
3130  * Added a new dialplan function, AST_CONFIG(), which allows you to access
3131    variables from an Asterisk configuration file.
3132  * The JACK_HOOK function now has a c() option to supply a custom client name.
3133  * Added two new dialplan functions from libspeex for audio gain control and
3134    denoise, AGC() and DENOISE(). Both functions can be applied to the tx and
3135    rx directions of a channel from the dialplan.
3136  * The SMDI_MSG_RETRIEVE function now has the ability to search for SMDI messages
3137    based on other parameters.  The default is still to search based on the
3138    forwarding station ID.  However, there are new options that allow you to search
3139    based on the message desk terminal ID, or the message desk number.
3140  * TIMEOUT() has been modified to be accurate down to the millisecond.
3141  * ENUM*() functions now include the following new options:
3142      - 'u' returns the full URI and does not strip off the URI-scheme.
3143      - 's' triggers ISN specific rewriting
3144      - 'i' looks for branches into an Infrastructure ENUM tree
3145      - 'd' for a direct DNS lookup without any flipping of digits.
3146  * TXCIDNAME() has a new zone-suffix parameter (which defaults to 'e164.arpa')
3147  * CHANNEL() now has options for the maximum, minimum, and standard or normal
3148    deviation of jitter, rtt, and loss for a call using chan_sip.
3149
3150 DAHDI channel driver (chan_dahdi) Changes
3151 ----------------------------------------
3152  * Channels can now be configured using named sections in chan_dahdi.conf, just
3153    like other channel drivers, including the use of templates.
3154  * The default for pridialplan has changed from 'national' to 'unknown'.
3155
3156 PBX Changes
3157 -----------
3158  * It is now possible to specify a pattern match as a hint. Once a phone subscribes
3159    to something that matches the pattern a hint will be created using the contents
3160    and variables evaluated.
3161  * Dialplan matching has been extended to allow an extension to return to the
3162    PBX core to wait for more digits.  This is done by using the new dialplan
3163    application called "Incomplete".  This will permit a whole new level of
3164    extension control, by giving the administrator more control over early
3165    matches employing one of the short-circuit pattern match operators.  Note
3166    that custom applications can trigger this same behavior by returning the
3167    special value AST_PBX_INCOMPLETE.
3168
3169 Application Changes
3170 -------------------
3171  * Directory now permits both first and last names to be matched at the same
3172    time.  In addition, the number of digits to enter of the name can be set in
3173    the arguments to Directory; previously, you could enter only 3, regardless
3174    of how many names are in your company.  For large companies, this should be
3175    quite helpful.
3176  * Voicemail now permits a mailbox setting to wrap around from first to last
3177    messages, if the "messagewrap" option is set to a true value.
3178  * Voicemail now permits an external script to be run, for password validation.
3179    The script should output "VALID" or "INVALID" on stdout, depending upon the
3180    wish to validate or invalidate the password given.  Arguments are:
3181    "mailbox" "context" "oldpass" "newpass".  See the sample voicemail.conf for
3182    more details
3183  * Dial has a new option: F(context^extension^pri), which permits a callee to
3184    continue in the dialplan, at the specified label, if the caller hangs up.
3185  * ChanSpy and ExtenSpy have a new option, 's' which suppresses speaking the
3186    technology name (e.g. SIP, IAX, etc) of the channel being spied on.
3187  * The Jack application now has a c() option to supply a custom client name.
3188  * Chanspy has a new option, 'B', which can be used to "barge" on a call. This is
3189    like the pre-existing whisper mode, except that the spy can also talk to the
3190    participant on the bridged channel as well.
3191  * Chanspy has a new option, 'n', which will allow for the spied-on party's name
3192    to be spoken instead of the channel name or number. For more information on the
3193    use of this option, issue the command "core show application ChanSpy" from the
3194    Asterisk CLI.
3195  * Chanspy has a new option, 'd', which allows the spy to use DTMF to swap between
3196    spy modes. Use of this feature overrides the typical use of numeric DTMF. In other
3197    words, if using the 'd' option, it is not possible to enter a number to append to
3198    the first argument to Chanspy(). Pressing 4 will change to spy mode, pressing 5 will
3199    change to whisper mode, and pressing 6 will change to barge mode.
3200  * ExternalIVR now takes several options that affect the way it performs, as
3201    well as having several new commands.  Please see the External IVR page on the Asterisk
3202    wiki for complete documentation: https://wiki.asterisk.org/wiki/x/oQBB
3203  * Added ability to communicate over a TCP socket instead of forking a child process for the
3204    ExternalIVR application.
3205  * ChanIsAvail has a new option, 'a', which will return all available channels instead
3206    of just the first one if you give the function more then one channel to check.
3207  * PrivacyManager now takes an option where you can specify a context where the
3208    given number will be matched. This way you have more control over who is allowed
3209    and it stops the people who blindly enter 10 digits.
3210  * ForkCDR has new options: 'a' updates the answer time on the new CDR; 'A' locks
3211    answer times, disposition, on orig CDR against updates; 'D' Copies the disposition
3212    from the orig CDR to the new CDR after reset; 'e' sets the 'end' time on the
3213    original CDR; 'R' prevents the new CDR from being reset; 's(var=val)' adds/changes
3214    the 'var' variable on the original CDR; 'T' forces ast_cdr_end(), ast_cdr_answer(),
3215    obey the LOCKED flag on cdr's in the chain, and also the ast_cdr_setvar() func.
3216  * The Dial() application no longer copies the language used by the caller to the callee's
3217    channel. If you desire for the caller's channel's language to be used for file playback
3218    to the callee, then the file specified may be prepended with "${CHANNEL(language)}/" .
3219  * SendImage() no longer hangs up the channel on error; instead, it sets the
3220    status variable SENDIMAGESTATUS to one of 'SUCCESS', 'FAILURE', or
3221    'UNSUPPORTED'.  This change makes SendImage() more consistent with other
3222    applications.
3223  * Park has a new option, 's', which silences the announcement of the parking space number.
3224  * A non-numeric, zero, or negative timeout specified to Dial() will now be interpreted as
3225    invalid input and will be assumed to mean that no timeout is desired.
3226
3227 SIP Changes
3228 -----------
3229  * Added DNS manager support to registrations for peers referencing peer entries.
3230    DNS manager runs in the background which allows DNS lookups to be run asynchronously
3231    as well as periodically updating the IP address. These properties allow for
3232    better performance as well as recovery in the event of an IP change.
3233  * Performance improvements via using hash tables (astobj2) and doubly-linked lists to improve
3234    load/reload of large numbers of peers/users by ~40x (for large lists of peers).
3235    These changes also provide performance improvements for call setup and tear down.
3236  * Added ability to specify registration expiry time on a per registration basis in
3237    the register line.
3238  * Added support for T140 RED - redundancy in T.140 to prevent text loss due to
3239    lost packets.
3240  * Added t38pt_usertpsource option. See sip.conf.sample for details.
3241  * Added SIPnotify AMI command, for sending arbitrary SIP notify commands.
3242  * 'sip show peers' and 'sip show users' display their entries sorted in
3243     alphabetical order, as opposed to the order they were in, in the config
3244     file or database.
3245  * Videosupport now supports an additional option, "always", which always sets
3246     up video RTP ports, even on clients that don't support it.  This helps with
3247     callfiles and certain transfers to ensure that if two video phones are
3248     connected, they will always share video feeds.
3249
3250 IAX Changes
3251 -----------
3252  * Existing DNS manager lookups extended to check for SRV records.
3253  * IAX2 encryption support has been improved to support periodic key rotation
3254    within a call for enhanced security.  The option "keyrotate" has been
3255    provided to disable this functionality to preserve backwards compatibility
3256    with older versions of IAX2 that do not support key rotation.
3257
3258 CLI Changes
3259 -----------
3260   * New CLI command, "data get <path> [<search> [<filter>]]" which retrieves the
3261      data tree based on the given <path>.
3262   * New CLI command "data show providers" that will display all the registered
3263      callbacks.
3264   * New CLI command, "config reload <file.conf>" which reloads any module that
3265      references that particular configuration file.  Also added "config list"
3266      which shows which configuration files are in use.
3267   * New CLI commands, "pri show version" and "ss7 show version" that will
3268      display which version of libpri and libss7 are being used, respectively.
3269      A new API call was added so trunk will now have to be compiled against
3270      a versions of libpri and libss7 that have them or it will not know that
3271      these libraries exist.
3272   * The commands "core show globals", "core set global" and "core set chanvar" has
3273      been deprecated in favor of the more semanticly correct "dialplan show globals",
3274      "dialplan set chanvar" and "dialplan set global".
3275   * New CLI command "dialplan show chanvar" to list all variables associated
3276     with a given channel.
3277
3278 DNS manager changes
3279 -------------------
3280   * Addresses managed by DNS manager now can check to see if there is a DNS
3281     SRV record for a given domain and will use that hostname/port if present.
3282
3283 AMI - The manager (TCP/TLS/HTTP)
3284 --------------------------------
3285   * The Status command now takes an optional list of variables to display
3286     along with channel status.
3287   * The QueueEntry event now also includes the channel's uniqueid
3288
3289 ODBC Changes
3290 ------------
3291   * res_odbc no longer has a limit of 1023 total possible unshared connections,
3292     as some people were running into this limit.  This limit has been increased
3293     to 4.2 billion.
3294
3295 Queue changes
3296 -------------
3297   * The TRANSFER queue log entry now includes the the caller's original
3298     position in the transferred-from queue.
3299   * A new configuration option, "timeoutpriority" has been added. Please see the section labeled
3300     "QUEUE TIMING OPTIONS" in configs/queues.conf.sample for a detailed explanation of the option
3301     as well as an explanation about timeout options in general
3302   * Added a new option - C - for forcing the "answered elsewhere" flag on
3303     cancellation of calls in to members of the queue. This is to avoid the
3304     call to a member of a queue having the call listed as a "missed call".
3305
3306 Realtime changes
3307 ----------------
3308   * Several (ODBC, Postgres, MySQL, SQLite) realtime drivers have been given
3309     adaptive capabilities.  What this means in practical terms is that if your
3310     realtime table lacks critical fields, Asterisk will now emit warnings to
3311     that effect.  Also, some of the realtime drivers have the ability (if
3312     configured) to automatically add those columns to the table with the
3313     correct type and length.
3314
3315 Miscellaneous
3316 -------------
3317   * The channel variable ATTENDED_TRANSFER_COMPLETE_SOUND can now be set using
3318     the 'setvar' option to cause a given audio file to be played upon completion
3319     of an attended transfer.  Currently it works for DAHDI, IAX2, SIP, and
3320     Skinny channels only.
3321   * You can now compile Asterisk against the Hoard Memory Allocator, see the
3322     Hoard page on the Asterisk wiki for more information:
3323     https://wiki.asterisk.org/wiki/x/pQBB
3324   * Config file variables may now be appended to, by using the '+=' append
3325     operator.  This is most helpful when working with long SQL queries in
3326     func_odbc.conf, as the queries no longer need to be specified on a single
3327     line.
3328   * CDR config file, cdr.conf, has an added option, "initiatedseconds",
3329     which will add a second to the billsec when the ending
3330     time is set, if the number in the microseconds field of the end time is
3331     greater than the number of microseconds in the answer time. This allows
3332     users to count the 'initiated' seconds in their billing records.
3333
3334 ------------------------------------------------------------------------------
3335 --- Functionality changes from Asterisk 1.4.X to Asterisk 1.6.0  -------------
3336 ------------------------------------------------------------------------------
3337
3338 AMI - The manager (TCP/TLS/HTTP)
3339 --------------------------------
3340   * Manager has undergone a lot of changes, all of them documented
3341     on the Asterisk wiki at https://wiki.asterisk.org/wiki/x/tQBB
3342   * Manager version has changed to 1.1
3343   * Added a new action 'CoreShowChannels' to list currently defined channels
3344      and some information about them.
3345   * Added a new action 'SIPshowregistry' to list SIP registrations.
3346   * Added TLS support for the manager interface and HTTP server
3347   * Added the URI redirect option for the built-in HTTP server
3348   * The output of CallerID in Manager events is now more consistent.
3349      CallerIDNum is used for number and CallerIDName for name.
3350   * Enable https support for builtin web server.
3351      See configs/http.conf.sample for details.
3352   * Added a new action, GetConfigJSON, which can return the contents of an
3353      Asterisk configuration file in JSON format.  This is intended to help
3354      improve the performance of AJAX applications using the manager interface
3355      over HTTP.
3356   * SIP and IAX manager events now use "ChannelType" in all cases where we
3357      indicate channel driver. Previously, we used a mixture of "Channel"
3358      and "ChannelDriver" headers.
3359   * Added a "Bridge" action which allows you to bridge any two channels that
3360      are currently active on the system.
3361   * Added a "ListAllVoicemailUsers" action that allows you to get a list of all
3362      the voicemail users setup.
3363   * Added 'DBDel' and 'DBDelTree' manager commands.
3364   * cdr_manager now reports events via the "cdr" level, separating it from
3365      the very verbose "call" level.
3366   * Manager users are now stored in memory. If you change the manager account
3367     list (delete or add accounts) you need to reload manager.
3368   * Added Masquerade manager event for when a masquerade happens between
3369      two channels.
3370   * Added "manager reload" command for the CLI
3371   * Lots of commands that only provided information are now allowed under the
3372      Reporting privilege, instead of only under Call or System.
3373   * The IAX* commands now require either System or Reporting privilege, to
3374      mirror the privileges of the SIP* commands.
3375   * Added ability to retrieve list of categories in a config file.
3376   * Added ability to retrieve the content of a particular category.
3377   * Added ability to empty a context.
3378   * Created new action to create a new file.
3379   * Updated delete action to allow deletion by line number with respect to category.
3380   * Added new action insert to add new variable to category at specified line.
3381   * Updated action newcat to allow new category to be inserted in file above another
3382     existing category.
3383   * Added new event "JitterBufStats" in the IAX2 channel
3384   * Originate now requires the Originate privilege and, if you want to call out
3385     to a subshell, it requires the System privilege, as well.  This was done to
3386     enhance manager security.
3387   * Originate now accepts codec settings with "Codecs: alaw, ulaw, h264"
3388   * New command: Atxfer. See https://wiki.asterisk.org/wiki/x/uABB for more details
3389     or manager show command Atxfer from the CLI
3390   * New command: IAXregistry. See https://wiki.asterisk.org/wiki/x/uABB for more
3391     details or manager show command IAXregistry from the CLI
3392
3393 Dialplan functions
3394 ------------------
3395   * Added the DEVICE_STATE() dialplan function which allows retrieving any device
3396      state in the dialplan, as well as creating custom device states that are
3397      controllable from the dialplan.
3398   * Extend CALLERID() function with "pres" and "ton" parameters to
3399      fetch string representation of calling number presentation indicator
3400      and numeric representation of type of calling number value.
3401   * MailboxExists converted to dialplan function
3402   * A new option to Dial() for telling IP phones not to count the call
3403      as "missed" when dial times out and cancels.
3404   * Added LOCK(), TRYLOCK(), and UNLOCK(), which provide a single level dialplan
3405      mutex.  No deadlocks are possible, as LOCK() only allows a single lock to be
3406      held for any given channel.  Also, locks are automatically freed when a
3407      channel is hung up.
3408   * Added HINT() dialplan function that allows retrieving hint information.
3409      Hints are mappings between extensions and devices for the sake of
3410      determining the state of an extension.  This function can retrieve the list
3411      of devices or the name associated with a hint.
3412   * Added EXTENSION_STATE() dialplan function which allows retrieving the state
3413     of any extension.
3414   * Added SYSINFO() dialplan function which allows retrieval of system information
3415   * Added a new dialplan function, DIALPLAN_EXISTS(), which allows you to check for
3416      the existence of a dialplan target.
3417   * Added two new dialplan functions, TOUPPER and TOLOWER, which convert a string to
3418      upper and lower case, respectively.
3419   * When bridging, Asterisk sets the BRIDGEPVTCALLID to the channel drivers unique
3420      ID for the call (not the Asterisk call ID or unique ID), provided that the
3421      channel driver supports this. For SIP, you get the SIP call-ID for the
3422      bridged channel which you can store in the CDR with a custom field.
3423
3424 CLI Changes
3425 -----------
3426   * Added CLI permissions, config file: cli_permissions.conf
3427      default is to allow all commands for every local user/group.
3428      Also this new feature added three new CLI commands:
3429       - cli check permissions {<username>|@<groupname>|<username>@<groupname>} [<command>]
3430       - cli reload permissions
3431       - cli show permissions
3432   * New CLI command "core show hint" (usage: core show hint <exten>)
3433   * New CLI command "core show settings"
3434   * Added 'core show channels count' CLI command.
3435   * Added the ability to set the core debug and verbose values on a per-file basis.
3436   * Added 'queue pause member' and 'queue unpause member' CLI commands
3437   * Ability to set process limits ("ulimit") without restarting Asterisk
3438   * Enhanced "agi debug" to print the channel name as a prefix to the debug
3439      output to make debugging on busy systems much easier.
3440   * New CLI commands "dialplan set extenpatternmatching true/false"
3441   * New CLI command: "core set chanvar" to set a channel variable from the CLI.
3442   * Added an easy way to execute Asterisk CLI commands at startup.  Any commands
3443     listed in the startup_commands section of cli.conf will get executed.
3444   * Added a CLI command, "devstate change", which allows you to set custom device
3445      states from the func_devstate module that provides the DEVICE_STATE() function
3446      and handling of the "Custom:" devices.
3447   * New CLI command: "sip show sched" which shows all ast_sched entries for sip,
3448     sorted into the different possible callbacks, with the number of entries
3449     currently scheduled for each. Gives you a feel for how busy the sip channel
3450     driver is.
3451   * Added 'skinny show lines verbose' CLI command. This will show the subs for every channel.
3452   * Cleanup another bunch of CLI commands. Now all modules follow the same schema.
3453     (Done by lmadsen, junky and mvanbaak during the devcon 2008)
3454
3455 SIP changes
3456 -----------
3457  * Added a new 'faxdetect=yes|no' configuration option to sip.conf.  When this
3458     option is enabled, Asterisk will watch for a CNG tone in the incoming audio
3459     for a received call.  If it is detected, the channel will jump to the
3460     'fax' extension in the dialplan.
3461   * The default SIP useragent= identifier now includes the Asterisk version
3462   * A new option, match_auth_username in sip.conf changes the matching of incoming requests.
3463      If set, and the incoming request carries authentication info,
3464      the username to match in the users list is taken from the Digest header
3465      rather than from the From: field. This feature is considered experimental.
3466   * The "musiconhold" and "musicclass" settings in sip.conf are now removed,
3467      since they where replaced by "mohsuggest" and "mohinterpret" in version 1.4
3468   * The "localmask" setting was removed in version 1.2 and the reminder about it
3469      being removed is now also removed.
3470   * A new option "busylevel" for setting a level of calls where asterisk reports
3471      a device as busy, to separate it from call-limit. This value is also added
3472      to the SIP_PEER dialplan function.
3473   * A new realtime family called "sipregs" is now supported to store SIP registration
3474      data. If this family is defined, "sippeers" will be used for configuration and
3475      "sipregs" for registrations. If it's not defined, "sippeers" will be used for
3476      registration data, as before.
3477   * The SIPPEER function have new options for port address, call and pickup groups
3478   * Added support for T.140 realtime text in SIP/RTP
3479   * The "checkmwi" option has been removed from sip.conf, as it is no longer
3480      required due to the restructuring of how MWI is handled.  See the descriptions
3481      in this file of the "pollmailboxes" and "pollfreq" options to voicemail.conf
3482      for more information.
3483   * Added rtpdest option to CHANNEL() dialplan function.
3484   * Added SIPREFERRINGCONTEXT and SIPREFERREDBYHDR variables which are set when a transfer takes place.
3485   * SIP now adds a header to the CANCEL if the call was answered by another phone
3486      in the same dial command, or if the new c option in dial() is used.
3487   * The new default is that 100 Trying is not sent on REGISTER attempts as the RFC specifically
3488      states it is not needed. For phones, however, that do require it the "registertrying" option
3489      has been added so it can be enabled.
3490   * A new option called "callcounter" (global/peer/user level) enables call counters needed
3491      for better status reports needed for queues and SIP subscriptions. (Call-Limit was previously
3492      used to enable this functionality).
3493   * New settings for timer T1 and timer B on a global level or per device. This makes it
3494      possible to force timeout faster on non-responsive SIP servers. These settings are
3495      considered advanced, so don't use them unless you have a problem.
3496   * Added a dial string option to be able to set the To: header in an INVITE to any
3497      SIP uri.
3498   * Added a new global and per-peer option, qualifyfreq, which allows you to configure
3499      the qualify frequency.
3500   * Added SIP Session Timers support (RFC 4028).  This prevents stuck SIP sessions that
3501      were not properly torn down due to network or endpoint failures during an established
3502      SIP session.
3503   * Added experimental TCP and TLS support for SIP.  See https://wiki.asterisk.org/wiki/x/ygBB
3504      and configs/sip.conf.sample for more information on how it is used.
3505   * Added a new configuration option "authfailureevents" that enables manager events when
3506     a peer can't authenticate properly.
3507   * Added DNS manager support to registrations for peers not referencing a peer entry.
3508
3509 IAX2 changes
3510 ------------
3511   * Added the trunkmaxsize configuration option to chan_iax2.
3512   * Added the srvlookup option to iax.conf
3513   * Added support for OSP.  The token is set and retrieved through the CHANNEL()
3514      dialplan function.
3515
3516 XMPP Google Talk/Jingle changes
3517 -------------------------------
3518   * Added the bindaddr option to gtalk.conf.
3519
3520 Skinny changes
3521 -------------
3522   * Added skinny show device, skinny show line, and skinny show settings CLI commands.
3523   * Proper codec support in chan_skinny.
3524   * Added settings for IP and Ethernet QoS requests
3525
3526 MGCP changes
3527 ------------
3528   * Added separate settings for media QoS in mgcp.conf
3529
3530 Console Channel Driver changes
3531 ------------------------------
3532   * Added experimental support for video send & receive to chan_oss.
3533     This requires SDL and ffmpeg/avcodec, plus Video4Linux or X11 to act as
3534     a video source.
3535
3536 Phone channel changes (chan_phone)
3537 ----------------------------------
3538   * Added G729 passthrough support to chan_phone for Sigma Designs boards.
3539
3540 H.323 channel Changes
3541 ---------------------
3542   * H323 remote hold notification support added (by NOTIFY message
3543      and/or H.450 supplementary service)
3544
3545 Local channel changes
3546 ---------------------
3547   * The device state functionality in the Local channel driver has been updated
3548      to indicate INUSE or NOT_INUSE when a Local channel is being used as opposed
3549      to just UNKNOWN if the extension exists.
3550   * Added jitterbuffer support for chan_local.  This allows you to use the
3551      generic jitterbuffer on incoming calls going to Asterisk applications.
3552      For example, this would allow you to use a jitterbuffer for an incoming
3553      SIP call to Voicemail by putting a Local channel in the middle.  This
3554      feature is enabled by using the 'j' option in the Dial string to the Local
3555      channel in conjunction with the existing 'n' option for local channels.
3556   * A 'b' option has been added which causes chan_local to return the actual channel
3557      that is behind it when queried. This is useful for transfer scenarios as the
3558      actual channel will be transferred, not the Local channel.
3559
3560 Agent channel changes
3561 ----------------------
3562   * The ackcall and endcall options are now supplemented with options acceptdtmf
3563     and enddtmf. These allow for the DTMF keypress to be configurable. The options
3564     default to their old hard-coded values ('#' and '*' respectively) so this should
3565     not break any existing agent installations.
3566
3567 DAHDI channel driver (chan_dahdi) Changes
3568 ----------------------------------------
3569   * SS7 support (via libss7 library)
3570   * In India, some carriers transmit CID via dtmf. Some code has been added
3571      that will handle some situations. The cidstart=polarity_IN choice has been added for
3572      those carriers that transmit CID via dtmf after a polarity change.
3573   * CID matching information is now shown when doing 'dialplan show'.
3574   * Added dahdi show version CLI command.
3575   * Added setvar support to chan_dahdi.conf channel entries.
3576   * Added two new options: mwimonitor and mwimonitornotify.  These options allow
3577      you to enable MWI monitoring on FXO lines.  When the MWI state changes,
3578      the script specified in the mwimonitornotify option is executed.  An internal
3579      event indicating the new state of the mailbox is also generated, so that
3580      the normal MWI facilities in Asterisk work as usual.
3581   * Added signalling type 'auto', which attempts to use the same signalling type
3582      for a channel as configured in DAHDI. This is primarily designed for analog
3583      ports, but will also work for digital ports that are configured for FXS or FXO
3584      signalling types. This mode is also the default now, so if your chan_dahdi.conf
3585      does not specify signalling for a channel (which is unlikely as the sample
3586      configuration file has always recommended specifying it for every channel) then
3587      the 'auto' mode will be used for that channel if possible.
3588   * Added a 'dahdi set dnd' command to allow CLI control of the Do-Not-Disturb
3589      state for a channel; also ensured that the DNDState Manager event is
3590      emitted no matter how the DND state is set or cleared.
3591
3592 New Channel Drivers
3593 -------------------
3594   * Added a new channel driver, chan_unistim.  See the Asterisk wiki at
3595      https://wiki.asterisk.org/wiki/x/vgsiAQ and configs/unistim.conf.sample
3596      for details.  This new channel driver allows you to use Nortel i2002,
3597      i2004, and i2050 phones with Asterisk.
3598   * Added a new channel driver, chan_console, which uses portaudio as a cross
3599      platform audio interface.  It was written as a channel driver that would
3600      work with Mac CoreAudio, but portaudio supports a number of other audio
3601      interfaces, as well. Note that this channel driver requires v19 or higher
3602      of portaudio; older versions have a different API.
3603
3604 DUNDi changes
3605 -------------
3606   * Added the ability to specify arguments to the Dial application when using
3607      the DUNDi switch in the dialplan.
3608   * Added the ability to set weights for responses dynamically.  This can be
3609      done using a global variable or a dialplan function.  Using the SHELL()
3610      function would allow you to have an external script set the weight for
3611      each response.
3612   * Added two new dialplan functions, DUNDIQUERY and DUNDIRESULT.  These
3613      functions will allow you to initiate a DUNDi query from the dialplan,
3614      find out how many results there are, and access each one.
3615   * Added the ability to specifiy a port for a dundi peer.
3616
3617 ENUM changes
3618 ------------
3619   * Added two new dialplan functions, ENUMQUERY and ENUMRESULT.  These
3620      functions will allow you to initiate an ENUM lookup from the dialplan,
3621      and Asterisk will cache the results.  ENUMRESULT can be used to access
3622      the results without doing multiple DNS queries.
3623
3624 Voicemail Changes
3625 -----------------
3626   * Added the ability to customize which sound files are used for some of the
3627      prompts within the Voicemail application by changing them in voicemail.conf
3628   * Added the ability for the "voicemail show users" CLI command to show users
3629      configured by the dynamic realtime configuration method.
3630   * MWI (Message Waiting Indication) handling has been significantly
3631      restructured internally to Asterisk.  It is now totally event based
3632      instead of polling based.  The voicemail application will notify other
3633      modules that have subscribed to MWI events when something in the mailbox
3634      changes.
3635     This also means that if any other entity outside of Asterisk is changing
3636      the contents of mailboxes, then the voicemail application still needs to
3637      poll for changes.  Examples of situations that would require this option
3638      are web interfaces to voicemail or an email client in the case of using
3639      IMAP storage.  So, two new options have been added to voicemail.conf
3640      to account for this: "pollmailboxes" and "pollfreq".  See the sample
3641      configuration file for details.
3642   * Added "tw" language support
3643   * Added support for storage of greetings using an IMAP server
3644   * Added ability to customize forward, reverse, stop, and pause keys for message playback
3645   * SMDI is now enabled in voicemail using the smdienable option.
3646   * A "lockmode" option has been added to asterisk.conf to configure the file
3647      locking method used for voicemail, and potentially other things in the
3648      future.  The default is the old behavior, lockfile.  However, there is a
3649      new method, "flock", that uses a different method for situations where the
3650      lockfile will not work, such as on SMB/CIFS mounts.
3651   * Added the ability to backup deleted messages, to ease recovery in the case
3652      that a user accidentally deletes a message, and discovers that they need it.
3653   * Reworked the SMDI interface in Asterisk.  The new way to access SMDI information
3654      is through the new functions, SMDI_MSG_RETRIEVE() and SMDI_MSG().  The file
3655      smdi.conf can now be configured with options to map SMDI station IDs to Asterisk
3656      voicemail boxes.  The SMDI interface can also poll for MWI changes when some
3657      outside entity is modifying the state of the mailbox (such as IMAP storage or
3658      a web interface of some kind).
3659   * Added the support for marking messages as "urgent." There are two methods to accomplish
3660      this. One is to pass the 'U' option to VoiceMail(). Another way to mark a message as urgent
3661      is to specify "review=yes" in voicemail.conf. Doing this will cause allow the user to mark
3662      the message as urgent after he has recorded a voicemail by following the voice instructions.
3663     When listening to voicemails using VoiceMailMain urgent messages will be presented before other
3664      messages
3665
3666 Queue changes
3667 -------------
3668   * Added the general option 'shared_lastcall' so that member's wrapuptime may be
3669      used across multiple queues.
3670   * Added QUEUE_VARIABLES function to set queue variables added setqueuevar and
3671      setqueueentryvar options for each queue, see queues.conf.sample for details.
3672   * Added keepstats option to queues.conf which will keep queue
3673      statistics during a reload.
3674   * setinterfacevar option in queues.conf also now sets a variable
3675      called MEMBERNAME which contains the member's name.
3676   * Added 'Strategy' field to manager event QueueParams which represents
3677      the queue strategy in use.
3678   * Added option to run macro when a queue member is connected to a caller,
3679      see queues.conf.sample for details.
3680   * app_queue now has a 'loose' option which is almost exactly like 'strict' except it
3681      does not count paused queue members as unavailable.
3682   * Added min-announce-frequency option to queues.conf which allows you to control the
3683      minimum amount of time between queue announcements for use when the caller's queue
3684      position changes frequently.
3685   * Added additional information to EXITWITHTIMEOUT and EXITWITHKEY events in the
3686      queue log.
3687   * Added ability for non-realtime queues to have realtime members
3688   * Added the "linear" strategy to queues.
3689   * Added the "wrandom" strategy to queues.
3690   * Added new channel variable QUEUE_MIN_PENALTY
3691   * QUEUE_MAX_PENALTY and QUEUE_MIN_PENALTY may be adjusted in mid-call by defining
3692      rules in queuerules.conf. See configs/queuerules.conf.sample for details
3693   * Added a new parameter for member definition, called state_interface. This may be
3694     used so that a member may be called via one interface but have a different interface's
3695     device state reported.
3696   * Added new CLI and Manager commands relating to reloading queues. From the CLI, see
3697     "queue reload", "queue reset stats". Also see "manager show command QueueReload" and
3698     "manager show command QueueReset."
3699   * New configuration option: randomperiodicannounce. If a list of periodic announcements is
3700     specified by the periodic-announce option, then one will be chosen randomly when it is time
3701     to play a periodic announcment
3702   * New configuration options: announce-position now takes two more values in addition to "yes" and
3703     "no." Two new options, "limit" and "more," are allowed. These are tied to another option,
3704     announce-position-limit. By setting announce-position to "limit" callers will only have their
3705     position announced if their position is less than what is specified by announce-position-limit.
3706     If announce-position is set to "more" then callers beyond the position specified by announce-position-limit
3707     will be told that their are more than announce-position-limit callers waiting.
3708   * Two new queue log events have been added. An ADDMEMBER event will be logged
3709     when a realtime queue member is added and a REMOVEMEMBER event will be logged
3710     when a realtime queue member is removed. Since there is no calling channel associated
3711     with these events, the string "REALTIME" is placed where the channel's unique id
3712     is typically placed.
3713   * The configuration method for the "joinempty" and "leavewhenempty" options has
3714     changed to a comma-separated list of methods of determining member availability
3715     instead of vague terms such as "yes," "loose," "no," and "strict." These old four
3716     values are still accepted for backwards-compatibility, though.
3717   * The average talktime is now calculated on queues. This information is reported via the
3718     CLI commands "queue show" and "queues show"; through the AMI events AgentComplete, QueueSummary,
3719     and QueueParams; and through the channelvariable QUEUETALKTIME if setinterfacevar=yes is set for
3720     the queue.
3721
3722 MeetMe Changes
3723 --------------
3724   * The 'o' option to provide an optimization has been removed and its functionality
3725      has been enabled by default.
3726   * When a conference is created, the UNIQUEID of the channel that caused it to be
3727      created is stored.  Then, every channel that joins the conference will have the
3728      MEETMEUNIQUEID channel variable set with this ID.  This can be used to relate
3729      callers that come and go from long standing conferences.
3730   * Added a new application, MeetMeChannelAdmin, which is similar to MeetMeAdmin,
3731      except it does operations on a channel by name, instead of number in a conference.
3732      This is a very useful feature in combination with the 'X' option to ChanSpy.
3733   * Added 'C' option to Meetme which causes a caller to continue in the dialplan
3734      when kicked out.
3735   * Added new RealTime functionality to provide support for scheduled conferencing.
3736      This includes optional messages to the caller if they attempt to join before
3737      the schedule start time, or to allow the caller to join the conference early.
3738      Also included is optional support for limiting the number of callers per
3739      RealTime conference.
3740   * Added the S() and L() options to the MeetMe application.  These are pretty
3741      much identical to the S() and L() options to Dial().  They let you set
3742      timeouts for the conference, as well as have warning sounds played to
3743      let the caller know how much time is left, and when it is running out.
3744   * Added the ability to do "meetme concise" with the "meetme" CLI command.
3745      This extends the concise capabilities of this CLI command to include
3746      listing all conferences, instead of an addition to the other sub commands
3747      for the "meetme" command.
3748   * Added the ability to specify the music on hold class used to play into the
3749      conference when there is only one member and the M option is used.
3750   * Added MEETME_INFO dialplan function which provides a way to query
3751      various properties of a Meetme conference.
3752   * Added new admin features: *81: Roll call, *82: eject all, *83: mute all,
3753      and *84: record in-conf
3754
3755 Other Dialplan Application Changes
3756 ----------------------------------
3757   * Argument support for Gosub application
3758   * From the to-do lists: straighten out the app timeout args:
3759      Wait() app now really does 0.3 seconds- was truncating arg to an int.
3760      WaitExten() same as Wait().
3761      Congestion() - Now takes floating pt. argument.
3762      Busy() - now takes floating pt. argument.
3763      Read() - timeout now can be floating pt.
3764      WaitForRing() now takes floating pt timeout arg.
3765      SpeechBackground() -- clarified in the docstrings that the timeout is an integer seconds.
3766   * Added 's' option to Page application.
3767   * Added an optional timeout argument to the Page application.
3768   * Added 'E', 'V', and 'P' commands to ExternalIVR.
3769   * Added 'o' and 'X' options to Chanspy.
3770   * Added a new dialplan application, Bridge, which allows you to bridge the
3771      calling channel to any other active channel on the system.
3772   * Added the ability to specify a music on hold class to play instead of ringing
3773      for the SLATrunk application.
3774   * The Read application no longer exits the dialplan on error.  Instead, it sets
3775      READSTATUS to ERROR, which you can catch and handle separately.
3776   * Added 'm' option to Directory, which lists out names, 8 at a time, instead
3777      of asking for verification of each name, one at a time.
3778   * Privacy() no longer uses privacy.conf, as all options are specifyable as
3779      direct options to the app.
3780   * AMD() has a new "maximum word length" option. "show application AMD" from the CLI
3781      for more details
3782   * GotoIfTime() now may branch based on a "false" condition, like other Goto-related applications
3783   * The ChannelRedirect application no longer exits the dialplan if the given channel
3784      does not exist. It will now set the CHANNELREDIRECT_STATUS variable to SUCCESS upon success
3785      or NOCHANNEL if the given channel was not found.
3786   * The silencethreshold setting that was previously configurable in multiple
3787      applications is now settable globally via dsp.conf.
3788
3789 Music On Hold Changes
3790 ---------------------
3791   * A new option, "digit", has been added for music on hold classes in
3792      musiconhold.conf.  If this is set for a music on hold class, a caller
3793      listening to music on hold can press this digit to switch to listening
3794      to this music on hold class.
3795   * Support for realtime music on hold has been added.
3796   * In conjunction with the realtime music on hold, a general section has
3797      been added to musiconhold.conf, its sole variable is cachertclasses. If this
3798      is set, then music on hold classes found in realtime will be cached in memory.
3799
3800 AEL Changes
3801 -----------
3802   * AEL upgraded to use the Gosub with Arguments instead
3803      of Macro application, to hopefully reduce the problems
3804      seen with the artificially low stack ceiling that
3805      Macro bumps into. Macros can only call other Macros
3806      to a depth of 7. Tests run using gosub, show depths
3807      limited only by virtual memory. A small test demonstrated
3808      recursive call depths of 100,000 without problems.
3809      -- in addition to this, all apps that allowed a macro
3810      to be called, as in Dial, queues, etc, are now allowing
3811      a gosub call in similar fashion.
3812   * AEL now generates LOCAL(argname) declarations when it
3813      Set()'s the each arg name to the value of ${ARG1}, ${ARG2),
3814      etc. That makes the arguments local in scope. The user
3815      can define their own local variables in macros, now,
3816      by saying "local myvar=someval;"  or using Set() in this
3817      fashion:  Set(LOCAL(myvar)=someval);  ("local" is now
3818      an AEL keyword).
3819   * utils/conf2ael introduced. Will convert an extensions.conf
3820      file into extensions.ael. Very crude and unfinished, but
3821      will be improved as time goes by. Should be useful for a
3822      first pass at conversion.
3823   * aelparse will now read extensions.conf to see if a referenced
3824      macro or context is there before issueing a warning.
3825   * AEL parser sets a local channel variable ~~EXTEN~~, to
3826     preserve the value of ${EXTEN} thru switch statements.
3827   * New operator in $[...] expressions: the ~~ operator serves
3828     as a concatenation operator. AT THE MOMENT, it is really only
3829     necessary and useful in AEL, especially in if() expressions.
3830     Operation: ${a} ~~ ${b|  with force both a and b to strings, strip
3831     any enclosing double-quotes, and evaluate to the value of a
3832     concatenated with the value of b.  For example if a is set to
3833     "xyz"  and b has the value "abc", then ${a} ~~ ${b| would
3834     evaluate to xyzabc .
3835
3836
3837 Call Features (res_features) Changes
3838 ------------------------------------
3839   * Added the parkedcalltransfers option to features.conf
3840   * Added parkedcallparking option to control one touch parking w/ parking
3841     pickup
3842   * Added parkedcallhangup option to control disconnect feature w/ parking
3843     pickup
3844   * Added parkedcallrecording option to control one-touch record w/ parking
3845     pickup
3846   * Added parkedcallparking, parkedcallhangup, parkedcallrecording, and
3847     parkedcalltransfers option support for multiple parking lots.
3848   * Added BRIDGE_FEATURES variable to set available features for a channel
3849   * The built-in method for doing attended transfers has been updated to
3850      include some new options that allow you to have the transferee sent
3851      back to the person that did the transfer if the transfer is not successful.
3852      See the options "atxferdropcall", "atxferloopdelay", and "atxfercallbackretries"
3853      in features.conf.sample.
3854   * Added support for configuring named groups of custom call features in
3855      features.conf.  This means that features can be written a single time, and
3856      then mapped into groups of features for different key mappings or easier
3857      access control.
3858   * Updated the ParkedCall application to allow you to not specify a parking
3859      extension.  If you don't specify a parking space to pick up, it will grab
3860      the first one available.
3861   * Added cli command 'features reload' to reload call features from features.conf
3862   * Moved into core asterisk binary.
3863   * Changed the default setting for featuredigittimeout to 2000 ms from 500 ms.
3864   * Added the ability for custom parking lots to be configured with their own
3865     parking extension with the parkext option.
3866
3867 Language Support Changes
3868 ------------------------
3869   * Brazilian Portuguese (pt-BR) in VM, and say.c was added
3870   * Added support for the Hungarian language for saying numbers, dates, and times.
3871
3872 AGI Changes
3873 -----------
3874   * Added SPEECH commands for speech recognition. A complete listing can be found
3875     using agi show.
3876   * If app_stack is loaded, GOSUB is a native AGI command that may be used to
3877     invoke subroutines in the dialplan.  Note that calling EXEC with Gosub
3878     does not behave as expected; the native command needs to be used, instead.
3879   * Added the ability to perform SRV lookups on fast AGI calls. To use this
3880     feature, simply use hagi: instead of agi: as the protocol portion
3881     of the URI parameter to the AGI function call in your dial plan. Also note
3882     that specifying a port number in the AGI URI will disable SRV lookups,
3883     even if you use the hagi: protocol.
3884   * No longer support MSG_OOB flag on HANGUP.
3885
3886 Logger changes
3887 --------------
3888   * Added rotatestrategy option to logger.conf, along with two new options:
3889      "timestamp" which will use the time to name the logger files instead of
3890      sequence number; and "rotate", which rotates the names of the log files,
3891      similar to the way syslog rotates files.
3892   * Added exec_after_rotate option to logger.conf, which allows a system
3893      command to be run after rotation.  This is primarily useful with
3894      rotatestrategy=rotate, to allow a limit on the number of log files kept
3895      and to ensure that the oldest log file gets deleted.
3896   * Added realtime support for the queue log
3897
3898 Call Detail Records
3899 -------------------
3900   * The cdr_manager module has a [mappings] feature, like cdr_custom,
3901     to add fields to the manager event from the CDR variables.
3902   * Added cdr_adaptive_odbc, a new module that adapts to the structure of your
3903      backend database CDR table.  Specifically, additional, non-standard
3904      columns are supported, merely by setting the corresponding CDR variable in
3905      your dialplan.  In addition, you may alias any column to another name (for
3906      example, if you want the 'src' CDR variable to be column 'ANI' in the DB,
3907      simply "alias src => ANI" in the configuration file).  Records may be
3908      posted to more than one backend, simply by specifying multiple categories
3909      in the configuration file.  And finally, you may filter which CDRs get
3910      posted to each backend, by specifying a filter (which the record must
3911      match) for the particular category.  Filters are additive (meaning all
3912      rules must match to post that CDR).
3913   * The Postgres CDR module now supports some features of the cdr_adaptive_odbc
3914      module.  Specifically, you may add additional columns into the table and
3915      they will be set, if you set the corresponding CDR variable name.  Also,
3916      if you omit columns in your database table, they will be silently skipped
3917      (but a record will still be inserted, based on what columns remain).  Note
3918      that the other two features from cdr_adaptive_odbc (alias and filter) are
3919      not currently supported.
3920   * The ResetCDR application now has an 'e' option that re-enables a CDR if it
3921      has been disabled using the NoCDR application.
3922
3923 Miscellaneous New Modules
3924 -------------------------
3925   * Added a new CDR module, cdr_sqlite3_custom.
3926   * Added a new realtime configuration module, res_config_sqlite
3927   * Added a new codec translation module, codec_resample, which re-samples
3928      signed linear audio between 8 kHz and 16 kHz to help support wideband
3929      codecs.
3930   * Added a new module, res_phoneprov, which allows auto-provisioning of phones
3931      based on configuration templates that use Asterisk dialplan function and
3932      variable substitution.  It should be possible to create phone profiles and
3933      templates that work for the majority of phones provisioned over http. It
3934      is currently only intended to provision a single user account per phone.
3935      An example profile and set of templates for Polycom phones is provided.
3936      NOTE: Polycom firmware is not included, but should be placed in
3937      AST_DATA_DIR/phoneprov/configs to match up with the included templates.
3938   * Added a new module, app_jack, which provides interfaces to JACK, the Jack
3939      Audio Connection Kit (http://www.jackaudio.org/).  Two interfaces are
3940      provided; there is a JACK() application, and a JACK_HOOK() function.  Both
3941      interfaces create an input and output JACK port.  The application makes
3942      these ports the endpoint of the call.  The audio coming from the channel
3943      goes out the output port and whatever comes back in on the input port is
3944      what gets sent to the channel.  The JACK_HOOK() function turns on a JACK
3945      audiohook on the channel.  This lets you run the audio coming from a
3946      channel through JACK, and whatever comes back in is what gets forwarded
3947      on as the channel's audio.  This is very useful for building custom
3948      vocoders or doing recording or analysis of the channel's audio in another
3949      application.
3950   * Added a new module, res_config_curl, which permits using a HTTP POST url
3951      to retrieve, create, update, and delete realtime information from a remote
3952      web server.  Note that this module requires func_curl.so to be loaded for
3953      backend functionality.
3954   * Added a new module, res_config_ldap, which permits the use of an LDAP
3955      server for realtime data access.
3956   * Added support for writing and running your dialplan in lua using the pbx_lua
3957      module.  See configs/extensions.lua.sample for examples of how to do this.
3958
3959 Miscellaneous
3960 -------------
3961   * Ability to use libcap to set high ToS bits when non-root
3962      on Linux. If configure is unable to find libcap then you
3963      can use --with-cap to specify the path.
3964   * Added maxfiles option to options section of asterisk.conf which allows you to specify
3965      what Asterisk should set as the maximum number of open files when it loads.
3966   * Added the jittertargetextra configuration option.
3967   * Added support for setting the CoS for VLAN traffic (802.1p).  See the sample
3968      configuration files for the IP channel drivers.  The new option is "cos".
3969      This information is also documented on the Asterisk wiki at
3970      https://wiki.asterisk.org/wiki/x/EYBG
3971   * When originating a call using AMI or pbx_spool that fails the reason for failure
3972      will now be available in the failed extension using the REASON dialplan variable.
3973   * Added support for reading the TOUCH_MONITOR_PREFIX channel variable.
3974      It allows you to configure a prefix for auto-monitor recordings.
3975   * A new extension pattern matching algorithm, based on a trie, is introduced
3976      here, that could noticeably speed up mid-sized to large dialplans.
3977      It is NOT used by default, as duplicating the behaviour of the old pattern
3978      matcher is still under development. A config file option, in extensions.conf,
3979      in the [general] section, called "extenpatternmatchingnew", is by default
3980      set to false; setting that to true will force the use of the new algorithm.
3981      Also, the cli commands "dialplan set extenpatternmatchingnew true/false" can
3982      be used to switch the algorithms at run time.
3983   * A new option when starting a remote asterisk (rasterisk, asterisk -r) for
3984      specifying which socket to use to connect to the running Asterisk daemon
3985      (-s)
3986   * Performance enhancements to the sched facility, which is used in
3987     the channel drivers, etc. Added hashtabs and doubly-linked lists
3988     to speed up deletion; start at the beginning or end of list to
3989     speed up insertion.
3990   * Added Doubly-linked lists after the fashion of linkedlists.h. They are in
3991     dlinkedlists.h. Doubly-linked lists feature fast deletion times.
3992     Added regression tests to the tests/ dir, also.
3993   * Added a refcount trace feature to astobj2 for those trying to balance
3994     object creation, deletion; work, play; space and time. See the
3995     notes in astobj2.h. Also, see utils/refcounter as well, as a
3996     quick way to find unbalanced refcounts in what could be a sea
3997   &n