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