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