(closes issue #7852)
[asterisk/asterisk.git] / CHANGES
1 -------------------------------------------------------------------------------
2 --- Functionality changes since Asterisk 1.4-beta was branched ----------------
3 -------------------------------------------------------------------------------
4
5 AMI - The manager (TCP/TLS/HTTP)
6 --------------------------------
7   * Added TLS support for the manager interface and HTTP server
8   * Added the URI redirect option for the built-in HTTP server
9   * The output of CallerID in Manager events is now more consistent.
10      CallerIDNum is used for number and CallerIDName for name.
11   * enable https support for builtin web server.
12      See configs/http.conf.sample for details.
13   * Added a new action, GetConfigJSON, which can return the contents of an
14      Asterisk configuration file in JSON format.  This is intended to help
15      improve the performance of AJAX applications using the manager interface
16      over HTTP.
17   * SIP and IAX manager events now use "ChannelType" in all cases where we 
18      indicate channel driver. Previously, we used a mixture of "Channel"
19      and "ChannelDriver" headers.
20   * Added a "Bridge" action which allows you to bridge any two channels that
21      are currently active on the system.
22   * Added a "ListAllVoicemailUsers" action that allows you to get a list of all
23      the voicemail users setup.
24   * Added 'DBDel' and 'DBDelTree' manager commands.
25
26 Dialplan functions
27 ------------------
28   * Added the DEVSTATE() dialplan function which allows retrieving any device
29     state in the dialplan, as well as creating custom device states that are
30     controllable from the dialplan.
31   * Extend CALLERID() function with "pres" and "ton" parameters to
32      fetch string representation of calling number presentation indicator
33      and numeric representation of type of calling number value.
34   * MailboxExists converted to dialplan function
35   * A new option to Dial() for telling IP phones not to count the call
36     as "missed" when dial times out and cancels.
37   * Added LOCK(), TRYLOCK(), and UNLOCK(), which provide a single level dialplan
38     mutex.  No deadlocks are possible, as LOCK() only allows a single lock to be
39     held for any given channel.  Also, locks are automatically freed when a
40     channel is hung up.
41
42 CLI Changes
43 -----------
44   * New CLI command "core show settings"
45   * Added 'core show channels count' CLI command.
46   * Added the ability to set the core debug and verbose values on a per-file basis.
47
48 SIP changes
49 -----------
50   * Improved NAT and STUN support.
51      chan_sip now can use port numbers in bindaddr, externip and externhost
52      options, as well as contact a STUN server to detect its external address
53      for the SIP socket. See sip.conf.sample, 'NAT' section.
54   * The default SIP useragent= identifier now includes the Asterisk version
55   * A new option, match_auth_username in sip.conf changes the matching of incoming requests.
56      If set, and the incoming request carries authentication info,
57      the username to match in the users list is taken from the Digest header
58      rather than from the From: field. This feature is considered experimental.
59   * The "musiconhold" and "musicclass" settings in sip.conf are now removed,
60      since they where replaced by "mohsuggest" and "mohinterpret" in version 1.4
61   * The "localmask" setting was removed in version 1.2 and the reminder about it
62      being removed is now also removed.
63   * A new option "busy-level" for setting a level of calls where asterisk reports
64      a device as busy, to separate it from call-limit
65   * A new realtime family called "sipregs" is now supported to store SIP registration
66      data. If this family is defined, "sippeers" will be used for configuration and
67      "sipregs" for registrations. If it's not defined, "sippeers" will be used for
68      registration data, as before.
69   * The SIPPEER function have new options for port address, call and pickup groups
70   * Added support for T.140 realtime text in SIP/RTP
71   * The "checkmwi" option has been removed from sip.conf, as it is no longer
72      required due to the restructuring of how MWI is handled.  See the descriptions 
73      in this file of the "pollmailboxes" and "pollfreq" options to voicemail.conf 
74      for more information.
75   * Added rtpdest option to CHANNEL() dialplan function.
76   * Added SIPREFERRINGCONTEXT and SIPREFERREDBYHDR variables which are set when a transfer takes place.
77   * SIP now adds a header to the CANCEL if the call was answered by another phone
78     in the same dial command, or if the new c option in dial() is used.
79
80 IAX2 changes
81 ------------
82   * Added the trunkmaxsize configuration option to chan_iax2.
83   * Added the srvlookup option to iax.conf
84   * Added support for OSP.  The token is set and retrieved through the CHANNEL()
85      dialplan function.
86
87 DUNDi changes
88 -------------
89   * Added the ability to specify arguments to the Dial application when using
90      the DUNDi switch in the dialplan.
91   * Added the ability to set weights for responses dynamically.  This can be
92      done using a global variable or a dialplan function.  Using the SHELL()
93      function would allow you to have an external script set the weight for
94      each response.
95   * Added two new dialplan functions, DUNDIQUERY and DUNDIRESULT.  These
96      functions will allow you to initiate a DUNDi query from the dialplan,
97      find out how many results there are, and access each one.
98
99 ENUM changes
100 ------------
101   * Added two new dialplan functions, ENUMQUERY and ENUMRESULT.  These
102      functions will allow you to initiate an ENUM lookup from the dialplan,
103      and Asterisk will cache the results.  ENUMRESULT can be used to access
104      the results without doing multiple DNS queries.
105
106 Voicemail Changes
107 -----------------
108   * Added the ability to customize which sound files are used for some of the
109      prompts within the Voicemail application by changing them in voicemail.conf
110   * Added the ability for the "voicemail show users" CLI command to show users
111      configured by the dynamic realtime configuration method.
112   * MWI (Message Waiting Indication) handling has been significantly
113      restructured internally to Asterisk.  It is now totally event based
114      instead of polling based.  The voicemail application will notify other
115      modules that have subscribed to MWI events when something in the mailbox
116      changes.
117     This also means that if any other entity outside of Asterisk is changing
118      the contents of mailboxes, then the voicemail application still needs to
119      poll for changes.  Examples of situations that would require this option
120      are web interfaces to voicemail or an email client in the case of using
121      IMAP storage.  So, two new options have been added to voicemail.conf
122      to account for this: "pollmailboxes" and "pollfreq".  See the sample
123      configuration file for details.
124   * Added "tw" language support
125   * Added support for storage of greetings using an IMAP server
126   * Added ability to customize forward, reverse, stop, and pause keys for message playback
127   * SMDI is now enabled in voicemail using the smdienable option.
128   * A "lockmode" option has been added to asterisk.conf to configure the file
129      locking method used for voicemail, and potentially other things in the
130          future.  The default is the old behavior, lockfile.  However, there is a
131          new method, "flock", that uses a different method for situations where the
132          lockfile will not work, such as on SMB/CIFS mounts.
133
134 Queue changes
135 -------------
136   * Added QUEUE_VARIABLES function to set queue variables added setqueuevar and 
137      setqueueentryvar options for each queue, see queues.conf.sample for details.
138   * Added keepstats option to queues.conf which will keep queue
139      statistics during a reload.
140   * setinterfacevar option in queues.conf also now sets a variable
141      called MEMBERNAME which contains the member's name.
142   * Added 'Strategy' field to manager event QueueParams which represents
143      the queue strategy in use. 
144   * Added option to run macro when a queue member is connected to a caller, 
145      see queues.conf.sample for details.
146   * app_queue now has a 'loose' option which is almost exactly like 'strict' except it
147      does not count paused queue members as unavailable.
148   * Added min-announce-frequency option to queues.conf which allows you to control the
149      minimum amount of time between queue announcements for use when the caller's queue
150      position changes frequently.
151   * Added additional information to EXITWITHTIMEOUT and EXITWITHKEY events in the
152      queue log.
153   * Added ability for non-realtime queues to have realtime members
154
155 MeetMe Changes
156 --------------
157   * The 'o' option to provide an optimization has been removed and its functionality 
158      has been enabled by default.
159   * When a conference is created, the UNIQUEID of the channel that caused it to be
160      created is stored.  Then, every channel that joins the conference will have the
161      MEETMEUNIQUEID channel variable set with this ID.  This can be used to relate
162      callers that come and go from long standing conferences.
163   * Added a new application, MeetMeChannelAdmin, which is similar to MeetMeAdmin,
164      except it does operations on a channel by name, instead of number in a conference.
165      This is a very useful feature in combination with the 'X' option to ChanSpy.
166   * Added 'C' option to Meetme which causes a caller to continue in the dialplan
167      when kicked out.
168
169 Music On Hold Changes
170 ---------------------
171   * A new option, "digit", has been added for music on hold classes in 
172      musiconhold.conf.  If this is set for a music on hold class, a caller
173      listening to music on hold can press this digit to switch to listening
174      to this music on hold class.
175
176 AEL Changes
177 -----------
178   * AEL upgraded to use the Gosub with Arguments instead
179      of Macro application, to hopefully reduce the problems
180      seen with the artificially low stack ceiling that 
181      Macro bumps into. Macros can only call other Macros
182      to a depth of 7. Tests run using gosub, show depths
183      limited only by virtual memory. A small test demonstrated
184      recursive call depths of 100,000 without problems.
185      -- in addition to this, all apps that allowed a macro
186      to be called, as in Dial, queues, etc, are now allowing
187      a gosub call in similar fashion.
188   * AEL now generates LOCAL(argname) declarations when it
189      Set()'s the each arg name to the value of ${ARG1}, ${ARG2),
190      etc. That makes the arguments local in scope. The user
191      can define their own local variables in macros, now,
192      by saying "local myvar=someval;"  or using Set() in this
193      fashion:  Set(LOCAL(myvar)=someval);  ("local" is now
194      an AEL keyword).
195   * utils/conf2ael introduced. Will convert an extensions.conf
196     file into extensions.ael. Very crude and unfinished, but 
197     will be improved as time goes by. Should be useful for a
198     first pass at conversion.
199   * aelparse will now read extensions.conf to see if a referenced
200     macro or context is there before issueing a warning.
201
202 Zaptel channel driver (chan_zap) Changes
203 ----------------------------------------
204   * SS7 support in chan_zap (via libss7 library)
205   * In India, some carriers transmit CID via dtmf. Some code has been added
206     that will handle some situations. The cidstart=polarity_IN choice has been added for
207     those carriers that transmit CID via dtmf after a polarity change.
208   * CID matching information is now shown when doing 'dialplan show'.
209   * Added zap show version CLI command to chan_zap.
210
211 H.323 Changes
212 -------------
213   * H323 remote hold notification support added (by NOTIFY message
214      and/or H.450 supplementary service)
215
216 Call Features (res_features) Changes
217 ------------------------------------
218   * Added the parkedcalltransfers option to features.conf
219   * The built-in method for doing attended transfers has been updated to
220      include some new options that allow you to have the transferee sent
221      back to the person that did the transfer if the transfer is not successful.
222      See the options "atxferdropcall", "atxferloopdelay", and "atxfercallbackretries"
223      in features.conf.sample.
224   * Added support for configuring named groups of custom call features in
225      features.conf.  This means that features can be written a single time, and
226      then mapped into groups of features for different key mappings or easier
227      access control.
228
229 Language Support Changes
230 ------------------------
231   * Brazilian Portuguese (pt-BR) in VM, and say.c was added
232   * Added support for the Hungarian language for saying numbers, dates, and times.
233
234 Miscellaneous 
235 -------------
236   * Added the bindaddr option to gtalk.conf.
237   * Argument support for Gosub application
238   * Ability to set process limits without restarting Asterisk
239   * Proper codec support in chan_skinny.
240   * Ability to use libcap to set high ToS bits when non-root
241      on Linux. If configure is unable to find libcap then you
242      can use --with-cap to specify the path.
243   * Added rotatetimestamp option to logger.conf which will use
244      the time to name the logger files instead of sequence number.
245   * Added Masquerade manager event for when a masquerade happens between
246      two channels.
247   * From the to-do lists: straighten out the app timeout args:
248      Wait() app now really does 0.3 seconds- was truncating arg to an int.
249      WaitExten() same as Wait().
250      Congestion() - Now takes floating pt. argument.
251      Busy() - now takes floating pt. argument.
252      Read() - timeout now can be floating pt.
253      WaitForRing() now takes floating pt timeout arg.
254      SpeechBackground() -- clarified in the docstrings that the timeout is an integer seconds.
255   * Added maxfiles option to options section of asterisk.conf which allows you to specify
256      what Asterisk should set as the maximum number of open files when it loads.
257   * Added the jittertargetextra configuration option.
258   * Added G729 passthrough support to chan_phone for Sigma Designs boards.
259   * Added 's' option to Page application.
260   * Added 'E' and 'V' commands to ExternalIVR.
261   * Added 'o' and 'X' options to Chanspy.
262   * Added a new CDR module, cdr_sqlite3_custom.
263   * The cdr_manager module has a [mappings] feature, like cdr_custom,
264     to add fields to the manager event from the CDR variables.
265   * Added a new realtime configuration module, res_config_sqlite
266   * Added a new dialplan application, Bridge, which allows you to bridge the
267      calling channel to any other active channel on the system.
268   * Added support for setting the CoS for VLAN traffic (802.1p).  See the sample
269      configuration files for the IP channel drivers.  The new option is "cos".
270      This information is also documented in doc/qos.tex, or the IP Quality of Service
271      section of asterisk.pdf.
272   * The device state functionality in the Local channel driver has been updated
273      to indicate INUSE or NOT_INUSE when a Local channel is being used as opposed
274      to just UNKNOWN if the extension exists.