1 ------------------------------------------------------------------------------
2 --- Functionality changes from Asterisk 1.6.0 to Asterisk 1.6.1 -------------
3 ------------------------------------------------------------------------------
7 * Added a new dialplan function, AST_CONFIG(), which allows you to access
8 variables from an Asterisk configuration file.
9 * The JACK_HOOK function now has a c() option to supply a custom client name.
10 * Added two new dialplan functions from libspeex for audio gain control and
11 denoise, AGC() and DENOISE(). Both functions can be applied to the tx and
12 rx directions of a channel from the dialplan.
13 * The SMDI_MSG_RETRIEVE function now has the ability to search for SMDI messages
14 based on other parameters. The default is still to search based on the
15 forwarding station ID. However, there are new options that allow you to search
16 based on the message desk terminal ID, or the message desk number.
18 Zaptel channel driver (chan_zap) Changes
19 ----------------------------------------
20 * Channels can now be configured using named sections in zapata.conf, just
21 like other channel drivers, including the use of templates.
25 * It is now possible to specify a pattern match as a hint. Once a phone subscribes
26 to something that matches the pattern a hint will be created using the contents
27 and variables evaluated.
28 * Dialplan matching has been extended to allow an extension to return to the
29 PBX core to wait for more digits. This is done by using the new dialplan
30 application called "Incomplete". This will permit a whole new level of
31 extension control, by giving the administrator more control over early
32 matches employing one of the short-circuit pattern match operators. Note
33 that custom applications can trigger this same behavior by returning the
34 special value AST_PBX_INCOMPLETE.
38 * Directory now permits both first and last names to be matched at the same
39 time. In addition, the number of digits to enter of the name can be set in
40 the arguments to Directory; previously, you could enter only 3, regardless
41 of how many names are in your company. For large companies, this should be
43 * Voicemail now permits a mailbox setting to wrap around from first to last
44 messages, if the "messagewrap" option is set to a true value.
45 * Voicemail now permits an external script to be run, for password validation.
46 The script should output "VALID" or "INVALID" on stdout, depending upon the
47 wish to validate or invalidate the password given. Arguments are:
48 "mailbox" "context" "oldpass" "newpass". See the sample voicemail.conf for
50 * Dial has a new option: F(context^extension^pri), which permits a callee to
51 continue in the dialplan, at the specified label, if the caller hangs up.
52 * ChanSpy and ExtenSpy have a new option, 's' which suppresses speaking the
53 technology name (e.g. SIP, IAX, etc) of the channel being spied on.
54 * The Jack application now has a c() option to supply a custom client name.
55 * Chanspy has a new option, 'B', which can be used to "barge" on a call. This is
56 like the pre-existing whisper mode, except that the spy can also talk to the
57 participant on the bridged channel as well.
58 * Chanspy has a new option, 'n', which will allow for the spied-on party's name
59 to be spoken instead of the channel name or number. For more information on the
60 use of this option, issue the command "core show application ChanSpy" from the
65 * The ATTENDED_TRANSFER_COMPLETE_SOUND can now be set using setvar to cause a given
66 audio file to be played upon completion of an attended transfer.
67 * Added DNS manager support to registrations for peers referencing peer entries.
68 DNS manager runs in the background which allows DNS lookups to be run asynchronously
69 as well as periodically updating the IP address. These properties allow for
70 better performance as well as recovery in the event of an IP change.
71 * Performance improvements via using hash tables (astobj2) and doubly-linked lists to improve
72 load/reload of large numbers of peers/users by ~40x (for large lists of peers.
73 Initially, we saw 4x improvement in call setup/destruction, but at the time
74 of merging, this gain has disappeared; further research will be done to try
75 and restore this performance improvement. Astobj2 refcounting is now used
76 for users, peers, and dialogs. Users are encouraged to assist in regression
77 testing and problem reporting!
78 * Added ability to specify registration expiry time on a per registration basis in
83 * Existing DNS manager lookups extended to check for SRV records.
87 * New CLI command, "config reload <file.conf>" which reloads any module that
88 references that particular configuration file. Also added "config list"
89 which shows which configuration files are in use.
90 * New CLI commands, "pri show version" and "ss7 show version" that will
91 display which version of libpri and libss7 are being used, respectively.
92 A new API call was added so trunk will now have to be compiled against
93 a versions of libpri and libss7 that have them or it will not know that
94 these libraries exist.
98 * Addresses managed by DNS manager now can check to see if there is a DNS
99 SRV record for a given domain and will use that hostname/port if present.
101 Dialplan function changes
102 -------------------------
103 * TIMEOUT() has been modified to be accurate down to the millisecond.
105 AMI - The manager (TCP/TLS/HTTP)
106 --------------------------------
107 * The Status command now takes an optional list of variables to display
108 along with channel status.
110 ------------------------------------------------------------------------------
111 --- Functionality changes from Asterisk 1.4.X to Asterisk 1.6.0 -------------
112 ------------------------------------------------------------------------------
114 AMI - The manager (TCP/TLS/HTTP)
115 --------------------------------
116 * Manager has undergone a lot of changes, all of them documented
117 in doc/manager_1_1.txt
118 * Manager version has changed to 1.1
119 * Added a new action 'CoreShowChannels' to list currently defined channels
120 and some information about them.
121 * Added a new action 'SIPshowregistry' to list SIP registrations.
122 * Added TLS support for the manager interface and HTTP server
123 * Added the URI redirect option for the built-in HTTP server
124 * The output of CallerID in Manager events is now more consistent.
125 CallerIDNum is used for number and CallerIDName for name.
126 * Enable https support for builtin web server.
127 See configs/http.conf.sample for details.
128 * Added a new action, GetConfigJSON, which can return the contents of an
129 Asterisk configuration file in JSON format. This is intended to help
130 improve the performance of AJAX applications using the manager interface
132 * SIP and IAX manager events now use "ChannelType" in all cases where we
133 indicate channel driver. Previously, we used a mixture of "Channel"
134 and "ChannelDriver" headers.
135 * Added a "Bridge" action which allows you to bridge any two channels that
136 are currently active on the system.
137 * Added a "ListAllVoicemailUsers" action that allows you to get a list of all
138 the voicemail users setup.
139 * Added 'DBDel' and 'DBDelTree' manager commands.
140 * cdr_manager now reports events via the "cdr" level, separating it from
141 the very verbose "call" level.
142 * Manager users are now stored in memory. If you change the manager account
143 list (delete or add accounts) you need to reload manager.
144 * Added Masquerade manager event for when a masquerade happens between
146 * Added "manager reload" command for the CLI
147 * Lots of commands that only provided information are now allowed under the
148 Reporting privilege, instead of only under Call or System.
149 * The IAX* commands now require either System or Reporting privilege, to
150 mirror the privileges of the SIP* commands.
151 * Added ability to retrieve list of categories in a config file.
152 * Added ability to retrieve the content of a particular category.
153 * Added ability to empty a context.
154 * Created new action to create a new file.
155 * Updated delete action to allow deletion by line number with respect to category.
156 * Added new action insert to add new variable to category at specified line.
157 * Updated action newcat to allow new category to be inserted in file above another
159 * Added new event "JitterBufStats" in the IAX2 channel
160 * Originate now requires the Originate privilege and, if you want to call out
161 to a subshell, it requires the System privilege, as well. This was done to
162 enhance manager security.
163 * New command: Atxfer. See doc/manager_1_1.txt for more details or
164 manager show command Atxfer from the CLI
168 * Added the DEVICE_STATE() dialplan function which allows retrieving any device
169 state in the dialplan, as well as creating custom device states that are
170 controllable from the dialplan.
171 * Extend CALLERID() function with "pres" and "ton" parameters to
172 fetch string representation of calling number presentation indicator
173 and numeric representation of type of calling number value.
174 * MailboxExists converted to dialplan function
175 * A new option to Dial() for telling IP phones not to count the call
176 as "missed" when dial times out and cancels.
177 * Added LOCK(), TRYLOCK(), and UNLOCK(), which provide a single level dialplan
178 mutex. No deadlocks are possible, as LOCK() only allows a single lock to be
179 held for any given channel. Also, locks are automatically freed when a
181 * Added HINT() dialplan function that allows retrieving hint information.
182 Hints are mappings between extensions and devices for the sake of
183 determining the state of an extension. This function can retrieve the list
184 of devices or the name associated with a hint.
185 * Added EXTENSION_STATE() dialplan function which allows retrieving the state
187 * Added SYSINFO() dialplan function which allows retrieval of system information
188 * Added a new dialplan function, DIALPLAN_EXISTS(), which allows you to check for
189 the existence of a dialplan target.
190 * Added two new dialplan functions, TOUPPER and TOLOWER, which convert a string to
191 upper and lower case, respectively.
192 * When bridging, Asterisk sets the BRIDGEPVTCALLID to the channel drivers unique
193 ID for the call (not the Asterisk call ID or unique ID), provided that the
194 channel driver supports this. For SIP, you get the SIP call-ID for the
195 bridged channel which you can store in the CDR with a custom field.
199 * New CLI command "core show hint" (usage: core show hint <exten>)
200 * New CLI command "core show settings"
201 * Added 'core show channels count' CLI command.
202 * Added the ability to set the core debug and verbose values on a per-file basis.
203 * Added 'queue pause member' and 'queue unpause member' CLI commands
204 * Ability to set process limits ("ulimit") without restarting Asterisk
205 * Enhanced "agi debug" to print the channel name as a prefix to the debug
206 output to make debugging on busy systems much easier.
207 * New CLI commands "dialplan set extenpatternmatching true/false"
208 * New CLI command: "core set chanvar" to set a channel variable from the CLI.
209 * Added an easy way to execute Asterisk CLI commands at startup. Any commands
210 listed in the startup_commands section of cli.conf will get executed.
211 * Added a CLI command, "devstate change", which allows you to set custom device
212 states from the func_devstate module that provides the DEVICE_STATE() function
213 and handling of the "Custom:" devices.
214 * New CLI command: "sip show sched" which shows all ast_sched entries for sip,
215 sorted into the different possible callbacks, with the number of entries
216 currently scheduled for each. Gives you a feel for how busy the sip channel
221 * Improved NAT and STUN support.
222 chan_sip now can use port numbers in bindaddr, externip and externhost
223 options, as well as contact a STUN server to detect its external address
224 for the SIP socket. See sip.conf.sample, 'NAT' section.
225 * The default SIP useragent= identifier now includes the Asterisk version
226 * A new option, match_auth_username in sip.conf changes the matching of incoming requests.
227 If set, and the incoming request carries authentication info,
228 the username to match in the users list is taken from the Digest header
229 rather than from the From: field. This feature is considered experimental.
230 * The "musiconhold" and "musicclass" settings in sip.conf are now removed,
231 since they where replaced by "mohsuggest" and "mohinterpret" in version 1.4
232 * The "localmask" setting was removed in version 1.2 and the reminder about it
233 being removed is now also removed.
234 * A new option "busylevel" for setting a level of calls where asterisk reports
235 a device as busy, to separate it from call-limit. This value is also added
236 to the SIP_PEER dialplan function.
237 * A new realtime family called "sipregs" is now supported to store SIP registration
238 data. If this family is defined, "sippeers" will be used for configuration and
239 "sipregs" for registrations. If it's not defined, "sippeers" will be used for
240 registration data, as before.
241 * The SIPPEER function have new options for port address, call and pickup groups
242 * Added support for T.140 realtime text in SIP/RTP
243 * The "checkmwi" option has been removed from sip.conf, as it is no longer
244 required due to the restructuring of how MWI is handled. See the descriptions
245 in this file of the "pollmailboxes" and "pollfreq" options to voicemail.conf
246 for more information.
247 * Added rtpdest option to CHANNEL() dialplan function.
248 * Added SIPREFERRINGCONTEXT and SIPREFERREDBYHDR variables which are set when a transfer takes place.
249 * SIP now adds a header to the CANCEL if the call was answered by another phone
250 in the same dial command, or if the new c option in dial() is used.
251 * The new default is that 100 Trying is not sent on REGISTER attempts as the RFC specifically
252 states it is not needed. For phones, however, that do require it the "registertrying" option
253 has been added so it can be enabled.
254 * A new option called "callcounter" (global/peer/user level) enables call counters needed
255 for better status reports needed for queues and SIP subscriptions. (Call-Limit was previously
256 used to enable this functionality).
257 * New settings for timer T1 and timer B on a global level or per device. This makes it
258 possible to force timeout faster on non-responsive SIP servers. These settings are
259 considered advanced, so don't use them unless you have a problem.
260 * Added a dial string option to be able to set the To: header in an INVITE to any
262 * Added a new global and per-peer option, qualifyfreq, which allows you to configure
263 the qualify frequency.
264 * Added SIP Session Timers support (RFC 4028). This prevents stuck SIP sessions that
265 were not properly torn down due to network or endpoint failures during an established
267 * Added experimental TCP and TLS support for SIP. See doc/siptls.txt and
268 configs/sip.conf.sample for more information on how it is used.
269 * Added a new configuration option "authfailureevents" that enables manager events when
270 a peer can't authenticate properly.
271 * Added DNS manager support to registrations for peers not referencing a peer entry.
275 * Added the trunkmaxsize configuration option to chan_iax2.
276 * Added the srvlookup option to iax.conf
277 * Added support for OSP. The token is set and retrieved through the CHANNEL()
280 XMPP Google Talk/Jingle changes
281 -------------------------------
282 * Added the bindaddr option to gtalk.conf.
286 * Added skinny show device, skinny show line, and skinny show settings CLI commands.
287 * Proper codec support in chan_skinny.
288 * Added settings for IP and Ethernet QoS requests
292 * Added separate settings for media QoS in mgcp.conf
294 Console Channel Driver changes
295 ------------------------------
296 * Added experimental support for video send & receive to chan_oss.
297 This requires SDL and ffmpeg/avcodec, plus Video4Linux or X11 to act as
300 Phone channel changes (chan_phone)
301 ----------------------------------
302 * Added G729 passthrough support to chan_phone for Sigma Designs boards.
304 H.323 channel Changes
305 ---------------------
306 * H323 remote hold notification support added (by NOTIFY message
307 and/or H.450 supplementary service)
309 Local channel changes
310 ---------------------
311 * The device state functionality in the Local channel driver has been updated
312 to indicate INUSE or NOT_INUSE when a Local channel is being used as opposed
313 to just UNKNOWN if the extension exists.
314 * Added jitterbuffer support for chan_local. This allows you to use the
315 generic jitterbuffer on incoming calls going to Asterisk applications.
316 For example, this would allow you to use a jitterbuffer for an incoming
317 SIP call to Voicemail by putting a Local channel in the middle. This
318 feature is enabled by using the 'j' option in the Dial string to the Local
319 channel in conjunction with the existing 'n' option for local channels.
320 * A 'b' option has been added which causes chan_local to return the actual channel
321 that is behind it when queried. This is useful for transfer scenarios as the
322 actual channel will be transferred, not the Local channel.
324 Zaptel channel driver (chan_zap) Changes
325 ----------------------------------------
326 * SS7 support in chan_zap (via libss7 library)
327 * In India, some carriers transmit CID via dtmf. Some code has been added
328 that will handle some situations. The cidstart=polarity_IN choice has been added for
329 those carriers that transmit CID via dtmf after a polarity change.
330 * CID matching information is now shown when doing 'dialplan show'.
331 * Added zap show version CLI command to chan_zap.
332 * Added setvar support to zapata.conf channel entries.
333 * Added two new options: mwimonitor and mwimonitornotify. These options allow
334 you to enable MWI monitoring on FXO lines. When the MWI state changes,
335 the script specified in the mwimonitornotify option is executed. An internal
336 event indicating the new state of the mailbox is also generated, so that
337 the normal MWI facilities in Asterisk work as usual.
338 * Added signalling type 'auto', which attempts to use the same signalling type
339 for a channel as configured in Zaptel. This is primarily designed for analog
340 ports, but will also work for digital ports that are configured for FXS or FXO
341 signalling types. This mode is also the default now, so if your zapata.conf
342 does not specify signalling for a channel (which is unlikely as the sample
343 configuration file has always recommended specifying it for every channel) then
344 the 'auto' mode will be used for that channel if possible.
345 * Added a 'zap set dnd' command to allow CLI control of the Do-Not-Disturb
346 state for a channel; also ensured that the DNDState Manager event is
347 emitted no matter how the DND state is set or cleared.
351 * Added a new channel driver, chan_unistim. See doc/unistim.txt and
352 configs/unistim.conf.sample for details. This new channel driver allows
353 you to use Nortel i2002, i2004, and i2050 phones with Asterisk.
354 * Added a new channel driver, chan_console, which uses portaudio as a cross
355 platform audio interface. It was written as a channel driver that would
356 work with Mac CoreAudio, but portaudio supports a number of other audio
357 interfaces, as well. Note that this channel driver requires v19 or higher
358 of portaudio; older versions have a different API.
362 * Added the ability to specify arguments to the Dial application when using
363 the DUNDi switch in the dialplan.
364 * Added the ability to set weights for responses dynamically. This can be
365 done using a global variable or a dialplan function. Using the SHELL()
366 function would allow you to have an external script set the weight for
368 * Added two new dialplan functions, DUNDIQUERY and DUNDIRESULT. These
369 functions will allow you to initiate a DUNDi query from the dialplan,
370 find out how many results there are, and access each one.
374 * Added two new dialplan functions, ENUMQUERY and ENUMRESULT. These
375 functions will allow you to initiate an ENUM lookup from the dialplan,
376 and Asterisk will cache the results. ENUMRESULT can be used to access
377 the results without doing multiple DNS queries.
381 * Added the ability to customize which sound files are used for some of the
382 prompts within the Voicemail application by changing them in voicemail.conf
383 * Added the ability for the "voicemail show users" CLI command to show users
384 configured by the dynamic realtime configuration method.
385 * MWI (Message Waiting Indication) handling has been significantly
386 restructured internally to Asterisk. It is now totally event based
387 instead of polling based. The voicemail application will notify other
388 modules that have subscribed to MWI events when something in the mailbox
390 This also means that if any other entity outside of Asterisk is changing
391 the contents of mailboxes, then the voicemail application still needs to
392 poll for changes. Examples of situations that would require this option
393 are web interfaces to voicemail or an email client in the case of using
394 IMAP storage. So, two new options have been added to voicemail.conf
395 to account for this: "pollmailboxes" and "pollfreq". See the sample
396 configuration file for details.
397 * Added "tw" language support
398 * Added support for storage of greetings using an IMAP server
399 * Added ability to customize forward, reverse, stop, and pause keys for message playback
400 * SMDI is now enabled in voicemail using the smdienable option.
401 * A "lockmode" option has been added to asterisk.conf to configure the file
402 locking method used for voicemail, and potentially other things in the
403 future. The default is the old behavior, lockfile. However, there is a
404 new method, "flock", that uses a different method for situations where the
405 lockfile will not work, such as on SMB/CIFS mounts.
406 * Added the ability to backup deleted messages, to ease recovery in the case
407 that a user accidentally deletes a message, and discovers that they need it.
408 * Reworked the SMDI interface in Asterisk. The new way to access SMDI information
409 is through the new functions, SMDI_MSG_RETRIEVE() and SMDI_MSG(). The file
410 smdi.conf can now be configured with options to map SMDI station IDs to Asterisk
411 voicemail boxes. The SMDI interface can also poll for MWI changes when some
412 outside entity is modifying the state of the mailbox (such as IMAP storage or
413 a web interface of some kind).
417 * Added the general option 'shared_lastcall' so that member's wrapuptime may be
418 used across multiple queues.
419 * Added QUEUE_VARIABLES function to set queue variables added setqueuevar and
420 setqueueentryvar options for each queue, see queues.conf.sample for details.
421 * Added keepstats option to queues.conf which will keep queue
422 statistics during a reload.
423 * setinterfacevar option in queues.conf also now sets a variable
424 called MEMBERNAME which contains the member's name.
425 * Added 'Strategy' field to manager event QueueParams which represents
426 the queue strategy in use.
427 * Added option to run macro when a queue member is connected to a caller,
428 see queues.conf.sample for details.
429 * app_queue now has a 'loose' option which is almost exactly like 'strict' except it
430 does not count paused queue members as unavailable.
431 * Added min-announce-frequency option to queues.conf which allows you to control the
432 minimum amount of time between queue announcements for use when the caller's queue
433 position changes frequently.
434 * Added additional information to EXITWITHTIMEOUT and EXITWITHKEY events in the
436 * Added ability for non-realtime queues to have realtime members
437 * Added the "linear" strategy to queues.
438 * Added the "wrandom" strategy to queues.
439 * Added new channel variable QUEUE_MIN_PENALTY
440 * QUEUE_MAX_PENALTY and QUEUE_MIN_PENALTY may be adjusted in mid-call by defining
441 rules in queuerules.conf. See configs/queuerules.conf.sample for details
442 * Added a new parameter for member definition, called state_interface. This may be
443 used so that a member may be called via one interface but have a different interface's
444 device state reported.
445 * New configuration option: randomperiodicannounce. If a list of periodic announcements is
446 specified by the periodic-announce option, then one will be chosen randomly when it is time
447 to play a periodic announcment
448 * New configuration options: announce-position now takes two more values in addition to "yes" and
449 "no." Two new options, "limit" and "more," are allowed. These are tied to another option,
450 announce-position-limit. By setting announce-position to "limit" callers will only have their
451 position announced if their position is less than what is specified by announce-position-limit.
452 If announce-position is set to "more" then callers beyond the position specified by announce-position-limit
453 will be told that their are more than announce-position-limit callers waiting.
457 * The 'o' option to provide an optimization has been removed and its functionality
458 has been enabled by default.
459 * When a conference is created, the UNIQUEID of the channel that caused it to be
460 created is stored. Then, every channel that joins the conference will have the
461 MEETMEUNIQUEID channel variable set with this ID. This can be used to relate
462 callers that come and go from long standing conferences.
463 * Added a new application, MeetMeChannelAdmin, which is similar to MeetMeAdmin,
464 except it does operations on a channel by name, instead of number in a conference.
465 This is a very useful feature in combination with the 'X' option to ChanSpy.
466 * Added 'C' option to Meetme which causes a caller to continue in the dialplan
468 * Added new RealTime functionality to provide support for scheduled conferencing.
469 This includes optional messages to the caller if they attempt to join before
470 the schedule start time, or to allow the caller to join the conference early.
471 Also included is optional support for limiting the number of callers per
473 * Added the S() and L() options to the MeetMe application. These are pretty
474 much identical to the S() and L() options to Dial(). They let you set
475 timeouts for the conference, as well as have warning sounds played to
476 let the caller know how much time is left, and when it is running out.
477 * Added the ability to do "meetme concise" with the "meetme" CLI command.
478 This extends the concise capabilities of this CLI command to include
479 listing all conferences, instead of an addition to the other sub commands
480 for the "meetme" command.
481 * Added the ability to specify the music on hold class used to play into the
482 conference when there is only one member and the M option is used.
483 * Added MEETME_INFO dialplan function which provides a way to query
484 various properties of a Meetme conference.
486 Other Dialplan Application Changes
487 ----------------------------------
488 * Argument support for Gosub application
489 * From the to-do lists: straighten out the app timeout args:
490 Wait() app now really does 0.3 seconds- was truncating arg to an int.
491 WaitExten() same as Wait().
492 Congestion() - Now takes floating pt. argument.
493 Busy() - now takes floating pt. argument.
494 Read() - timeout now can be floating pt.
495 WaitForRing() now takes floating pt timeout arg.
496 SpeechBackground() -- clarified in the docstrings that the timeout is an integer seconds.
497 * Added 's' option to Page application.
498 * Added 'E' and 'V' commands to ExternalIVR.
499 * Added 'o' and 'X' options to Chanspy.
500 * Added a new dialplan application, Bridge, which allows you to bridge the
501 calling channel to any other active channel on the system.
502 * Added the ability to specify a music on hold class to play instead of ringing
503 for the SLATrunk application.
504 * The Read application no longer exits the dialplan on error. Instead, it sets
505 READSTATUS to ERROR, which you can catch and handle separately.
506 * Added 'm' option to Directory, which lists out names, 8 at a time, instead
507 of asking for verification of each name, one at a time.
508 * Privacy() no longer uses privacy.conf, as all options are specifyable as
509 direct options to the app.
510 * AMD() has a new "maximum word length" option. "show application AMD" from the CLI
512 * GotoIfTime() now may branch based on a "false" condition, like other Goto-related applications
513 * The ChannelRedirect application no longer exits the dialplan if the given channel
514 does not exist. It will now set the CHANNELREDIRECT_STATUS variable to SUCCESS upon success
515 or NOCHANNEL if the given channel was not found.
516 * The silencethreshold setting that was previously configurable in multiple
517 applications is now settable globally via dsp.conf.
518 * Added ability to communicate over a TCP socket instead of forking a child process for the
519 ExternalIVR application.
521 Music On Hold Changes
522 ---------------------
523 * A new option, "digit", has been added for music on hold classes in
524 musiconhold.conf. If this is set for a music on hold class, a caller
525 listening to music on hold can press this digit to switch to listening
526 to this music on hold class.
527 * Support for realtime music on hold has been added.
528 * In conjunction with the realtime music on hold, a general section has
529 been added to musiconhold.conf, its sole variable is cachertclasses. If this
530 is set, then music on hold classes found in realtime will be cached in memory.
534 * AEL upgraded to use the Gosub with Arguments instead
535 of Macro application, to hopefully reduce the problems
536 seen with the artificially low stack ceiling that
537 Macro bumps into. Macros can only call other Macros
538 to a depth of 7. Tests run using gosub, show depths
539 limited only by virtual memory. A small test demonstrated
540 recursive call depths of 100,000 without problems.
541 -- in addition to this, all apps that allowed a macro
542 to be called, as in Dial, queues, etc, are now allowing
543 a gosub call in similar fashion.
544 * AEL now generates LOCAL(argname) declarations when it
545 Set()'s the each arg name to the value of ${ARG1}, ${ARG2),
546 etc. That makes the arguments local in scope. The user
547 can define their own local variables in macros, now,
548 by saying "local myvar=someval;" or using Set() in this
549 fashion: Set(LOCAL(myvar)=someval); ("local" is now
551 * utils/conf2ael introduced. Will convert an extensions.conf
552 file into extensions.ael. Very crude and unfinished, but
553 will be improved as time goes by. Should be useful for a
554 first pass at conversion.
555 * aelparse will now read extensions.conf to see if a referenced
556 macro or context is there before issueing a warning.
557 * AEL parser sets a local channel variable ~~EXTEN~~, to
558 preserve the value of ${EXTEN} thru switch statements.
559 * New operator in $[...] expressions: the ~~ operator serves
560 as a concatenation operator. AT THE MOMENT, it is really only
561 necessary and useful in AEL, especially in if() expressions.
562 Operation: ${a} ~~ ${b| with force both a and b to strings, strip
563 any enclosing double-quotes, and evaluate to the value of a
564 concatenated with the value of b. For example if a is set to
565 "xyz" and b has the value "abc", then ${a} ~~ ${b| would
569 Call Features (res_features) Changes
570 ------------------------------------
571 * Added the parkedcalltransfers option to features.conf
572 * The built-in method for doing attended transfers has been updated to
573 include some new options that allow you to have the transferee sent
574 back to the person that did the transfer if the transfer is not successful.
575 See the options "atxferdropcall", "atxferloopdelay", and "atxfercallbackretries"
576 in features.conf.sample.
577 * Added support for configuring named groups of custom call features in
578 features.conf. This means that features can be written a single time, and
579 then mapped into groups of features for different key mappings or easier
581 * Updated the ParkedCall application to allow you to not specify a parking
582 extension. If you don't specify a parking space to pick up, it will grab
583 the first one available.
584 * Added cli command 'features reload' to reload call features from features.conf
585 * Moved into core asterisk binary.
587 Language Support Changes
588 ------------------------
589 * Brazilian Portuguese (pt-BR) in VM, and say.c was added
590 * Added support for the Hungarian language for saying numbers, dates, and times.
594 * Added SPEECH commands for speech recognition. A complete listing can be found
599 * Added rotatestrategy option to logger.conf, along with two new options:
600 "timestamp" which will use the time to name the logger files instead of
601 sequence number; and "rotate", which rotates the names of the logfiles,
602 similar to the way syslog rotates files.
603 * Added exec_after_rotate option to logger.conf, which allows a system
604 command to be run after rotation. This is primarily useful with
605 rotatestrategry=rotate, to allow a limit on the number of logfiles kept
606 and to ensure that the oldest log file gets deleted.
607 * Added realtime support for the queue log
611 * The cdr_manager module has a [mappings] feature, like cdr_custom,
612 to add fields to the manager event from the CDR variables.
613 * Added cdr_adaptive_odbc, a new module that adapts to the structure of your
614 backend database CDR table. Specifically, additional, non-standard
615 columns are supported, merely by setting the corresponding CDR variable in
616 your dialplan. In addition, you may alias any column to another name (for
617 example, if you want the 'src' CDR variable to be column 'ANI' in the DB,
618 simply "alias src => ANI" in the configuration file). Records may be
619 posted to more than one backend, simply by specifying multiple categories
620 in the configuration file. And finally, you may filter which CDRs get
621 posted to each backend, by specifying a filter (which the record must
622 match) for the particular category. Filters are additive (meaning all
623 rules must match to post that CDR).
624 * The Postgres CDR module now supports some features of the cdr_adaptive_odbc
625 module. Specifically, you may add additional columns into the table and
626 they will be set, if you set the corresponding CDR variable name. Also,
627 if you omit columns in your database table, they will be silently skipped
628 (but a record will still be inserted, based on what columns remain). Note
629 that the other two features from cdr_adaptive_odbc (alias and filter) are
630 not currently supported.
631 * The ResetCDR application now has an 'e' option that re-enables a CDR if it
632 has been disabled using the NoCDR application.
634 Miscellaneous New Modules
635 -------------------------
636 * Added a new CDR module, cdr_sqlite3_custom.
637 * Added a new realtime configuration module, res_config_sqlite
638 * Added a new codec translation module, codec_resample, which re-samples
639 signed linear audio between 8 kHz and 16 kHz to help support wideband
641 * Added a new module, res_phoneprov, which allows auto-provisioning of phones
642 based on configuration templates that use Asterisk dialplan function and
643 variable substitution. It should be possible to create phone profiles and
644 templates that work for the majority of phones provisioned over http. It
645 is currently only intended to provision a single user account per phone.
646 An example profile and set of templates for Polycom phones is provided.
647 NOTE: Polycom firmware is not included, but should be placed in
648 AST_DATA_DIR/phoneprov/configs to match up with the included templates.
649 * Added a new module, app_jack, which provides interfaces to JACK, the Jack
650 Audio Connection Kit (http://www.jackaudio.org/). Two interfaces are
651 provided; there is a JACK() application, and a JACK_HOOK() function. Both
652 interfaces create an input and output JACK port. The application makes
653 these ports the endpoint of the call. The audio coming from the channel
654 goes out the output port and whatever comes back in on the input port is
655 what gets sent to the channel. The JACK_HOOK() function turns on a JACK
656 audiohook on the channel. This lets you run the audio coming from a
657 channel through JACK, and whatever comes back in is what gets forwarded
658 on as the channel's audio. This is very useful for building custom
659 vocoders or doing recording or analysis of the channel's audio in another
661 * Added a new module, res_config_curl, which permits using a HTTP POST url
662 to retrieve, create, update, and delete realtime information from a remote
663 web server. Note that this module requires func_curl.so to be loaded for
664 backend functionality.
665 * Added a new module, res_config_ldap, which permits the use of an LDAP
666 server for realtime data access.
667 * Added support for writing and running your dialplan in lua using the pbx_lua
668 module. See configs/extensions.lua.sample for examples of how to do this.
672 * Ability to use libcap to set high ToS bits when non-root
673 on Linux. If configure is unable to find libcap then you
674 can use --with-cap to specify the path.
675 * Added maxfiles option to options section of asterisk.conf which allows you to specify
676 what Asterisk should set as the maximum number of open files when it loads.
677 * Added the jittertargetextra configuration option.
678 * Added support for setting the CoS for VLAN traffic (802.1p). See the sample
679 configuration files for the IP channel drivers. The new option is "cos".
680 This information is also documented in doc/qos.tex, or the IP Quality of Service
681 section of asterisk.pdf.
682 * When originating a call using AMI or pbx_spool that fails the reason for failure
683 will now be available in the failed extension using the REASON dialplan variable.
684 * Added support for reading the TOUCH_MONITOR_PREFIX channel variable.
685 It allows you to configure a prefix for auto-monitor recordings.
686 * A new extension pattern matching algorithm, based on a trie, is introduced
687 here, that could noticeably speed up mid-sized to large dialplans.
688 It is NOT used by default, as duplicating the behaviour of the old pattern
689 matcher is still under development. A config file option, in extensions.conf,
690 in the [general] section, called "extenpatternmatchingnew", is by default
691 set to false; setting that to true will force the use of the new algorithm.
692 Also, the cli commands "dialplan set extenpatternmatchingnew true/false" can
693 be used to switch the algorithms at run time.
694 * A new option when starting a remote asterisk (rasterisk, asterisk -r) for
695 specifying which socket to use to connect to the running Asterisk daemon
697 * Performance enhancements to the sched facility, which is used in
698 the channel drivers, etc. Added hashtabs and doubly-linked lists
699 to speed up deletion; start at the beginning or end of list to
701 * Added Doubly-linked lists after the fashion of linkedlists.h. They are in
702 dlinkedlists.h. Doubly-linked lists feature fast deletion times.
703 Added regression tests to the tests/ dir, also.
704 * Added a refcount trace feature to astobj2 for those trying to balance
705 object creation, deletion; work, play; space and time. See the
706 notes in astobj2.h. Also, see utils/refcounter as well, as a
707 quick way to find unbalanced refcounts in what could be a sea
708 of objects that were balanced.
709 * Added logging to 'make update' command. See update.log
710 * Added strictrtp option to rtp.conf. If enabled this will drop RTP packets that
711 do not come from the remote party.
712 * Added the 'n' option to the SpeechBackground application to tell it to not
713 answer the channel if it has not already been answered.
714 * Added a compiler flag, CHANNEL_TRACE, which permits channel tracing to be
715 turned on, via the CHANNEL(trace) dialplan function. Could be useful for
717 * iLBC source code no longer included (see UPGRADE.txt for details)