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