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