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