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