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