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 13 to Asterisk 14 --------------------
13 ------------------------------------------------------------------------------
20 * A new application in Asterisk, this will join the calling channel
21 to an existing bridge containing the named channel prefix.
25 * Added the ability to pass options to MixMonitor when recording is used with
26 ConfBridge. This includes the addition of the following configuration
27 parameters for the 'bridge' object:
28 - record_file_timestamp: whether or not to append the start time to the
30 - record_options: the options to pass to the MixMonitor application
31 - record_command: a command to execute when recording is finished
32 Note that these options may also be with the CONFBRIDGE function.
36 * Remote files can now be retrieved and played back. See the Playback
37 dialplan application for more details.
41 * Remote files can now be retrieved and played back via the Playback and other
42 media playback dialplan applications. This is done by directly providing
43 the URL to play to the dialplan application:
44 same => n,Playback(http://1.1.1.1/howler-monkeys-fl.wav)
45 Note that unlike 'normal' media files, the entire URI to the file must be
46 provided, including the file extension. Currently, on HTTP and HTTPS URI
47 schemes are supported.
51 * Added the 'n' option, which prevents the SMS from being written to the log
52 file. This is needed for those countries with privacy laws that require
53 providers to not log SMS content.
60 * Added a new configuration option, "newcdrcolumns", which enables use of the
61 post-1.8 CDR columns 'peeraccount', 'linkedid', and 'sequence'.
66 * Added a new configuration option, "newcdrcolumns", which enables use of the
67 post-1.8 CDR columns 'peeraccount', 'linkedid', and 'sequence'.
75 * The CALLERID(ani2) value for incoming calls is now populated in featdmf
76 signaling mode. The information was previously discarded.
77 * Added the force_restart_unavailable_chans compatibility option. When
78 enabled it causes Asterisk to restart the ISDN B channel if an outgoing
79 call receives cause 44 (Requested channel not available).
83 * The iax.conf forcejitterbuffer option has been removed. It is now always
84 forced if you set iax.conf jitterbuffer=yes. If you put a jitter buffer
85 on a channel it will be on the channel.
86 * A new configuration parameters, 'calltokenexpiration', has been added that
87 controls the duration before a call token expires. Default duration is 10
88 seconds. Setting this to a higher value may help in lagged networks or those
89 experiencing high packet loss.
93 * New 'rtpbindaddr' global setting. This allows a user to define which
94 ipaddress to bind the rtpengine to. For example, chan_sip might bind
95 to eth0 (10.0.0.2) but rtpengine to eth1 (192.168.1.10).
96 * DTLS related configuration options can now be set at a general level.
97 Enabling DTLS support, though, requires enabling it at the user
99 * Added the possibility to set the From: header through the the SIP dial
100 string (populating the fromuser/fromdomain fields), complementing the
101 [!dnid] option for the To: header that has existed since 1.6.0 (1d6b192).
102 NOTE: This is again separated by an exclamation mark, so the To: header may
103 not contain one of those.
107 * New 'user_eq_phone' endpoint setting. This adds a 'user=phone' parameter
108 to the request URI and From URI if the user is determined to be a phone number.
109 * New 'moh_passthrough' endpoint setting. This will pass hold and unhold requests
110 through using SIP re-invites with sendonly and sendrecv accordingly.
111 * Added the pjsip.conf system type disable_tcp_switch option. The option
112 allows the user to disable switching from UDP to TCP transports described
113 by RFC 3261 section 18.1.1.
114 * New 'line' and 'endpoint' options added on outbound registrations. This allows some
115 identifying information to be added to the Contact of the outbound registration.
116 If this information is present on messages received from the remote server
117 the message will automatically be associated with the configured endpoint on the
118 outbound registration.
122 * The core of Asterisk uses a message bus called "Stasis" to distribute
123 information to internal components. For performance reasons, the message
124 distribution was modified to make use of a thread pool instead of a
125 dedicated thread per consumer in certain cases. The initial settings for
126 the thread pool can now be configured in 'stasis.conf'.
128 * A new core DNS API has been implemented which provides a common interface
129 for DNS functionality. Modules that use this functionality will require that
130 a DNS resolver module is loaded and available.
132 * Modified processing of command-line options to first parse only what
133 is necessary to read asterisk.conf. Once asterisk.conf is fully loaded,
134 the remaining options are processed. The -X option now applies to
135 asterisk.conf only. To enable #exec for other config files you must
136 set execincludes=yes in asterisk.conf. Any other option set on the
137 command-line will now override the equivalent setting from asterisk.conf.
139 * The TLS core in Asterisk now supports X.509 certificate subject alternative
140 names. This way one X.509 certificate can be used for hosts that can be
141 reached under multiple DNS names or for multiple hosts.
143 * The Asterisk logging system now supports JSON structured logging. Log
144 channels specified in logger.conf or added dynamically via CLI commands now
145 support an optional specifier prior to their levels that determines their
146 formatting. To set a log channel to format its entries as JSON, a formatter
147 of '[json]' can be set, e.g.,
148 full => [json]debug,verbose,notice,warning,error
150 * The core now supports a 'media cache', which stores temporary media files
151 retrieved from external sources. CLI commands have been added to manipulate
152 and display the cached files, including:
153 - 'media cache show <all>' - show all cached media files, or details about
154 one particular cached media file
155 - 'media cache refresh <item>' - force a refresh of a particular media file
157 - 'media cache delete <item>' - remove an item from the cache
158 - 'media cache create <uri>' - retrieve a URI and store it in the cache
166 * Added CHANNEL(onhold) item that returns 1 (onhold) and 0 (not-onhold) for
167 the hold status of a channel.
171 * The CURL function now supports a write option, which will save the retrieved
172 file to a location on disk. As an example:
173 same => n,Set(CURL(https://1.1.1.1/foo.wav)=/tmp/foo.wav)
174 will save 'foo.wav' to /tmp.
178 * The transferdialattempts default value has been changed from 1 to 3. The
179 transferinvalidsound has been changed from "pbx-invalid" to "privacy-incorrect".
180 These were changed to make DTMF transfers be more user-friendly by default.
188 * A backend for the core media cache, this module retrieves media files from
189 a remote HTTP(S) server and stores them in the core media cache for later
194 * Added sort=randstart to the sort options. It sorts the files by name and
195 then chooses the first file to play at random.
196 * Added preferchannelclass=no option to prefer the application-passed class
197 over the channel-set musicclass. This allows separate hold-music from
198 application (e.g. Queue or Dial) specified music.
202 * Added a res_resolver_unbound module which uses the libunbound resolver library
203 to perform DNS resolution. This module requires the libunbound library to be
204 installed in order to be used.
208 * A new SIP resolver using the core DNS API has been implemented. This relies on
209 external SIP resolver support in PJSIP which is only available as of PJSIP
210 2.4. If this support is unavailable the existing built-in PJSIP SIP resolver
211 will be used instead. The new SIP resolver provides NAPTR support, improved
212 SRV support, and AAAA record support.
214 res_pjsip_outbound_registration
215 -------------------------------
216 * A new 'fatal_retry_interval' option has been added to outbound registration.
217 When set (default is zero), and upon receiving a failure response to an
218 outbound registration, registration is retried at the given interval up to
226 * Added a new option, 'usegmtime', which causes timestamps in CEL events
229 * Added support to set schema where located the table cel. This settings is
230 configurable for cel_pgsql via the 'schema' in configuration file
238 * Added the ability to set the character to quote identifiers. This
239 allows adding the character at the start and end of table and column
240 names. This setting is configurable for cdr_adaptive_odbc via the
241 quoted_identifiers in configuration file cdr_adaptive_odbc.conf.
245 * Added field ReasonPause on QueueMemberStatus if set when paused, the reason
246 the queue member was paused.
247 * Added field LastPause on QueueMemberStatus for time when started the last
248 pause for a queue member.
249 * Show the time when started the last pause for queue member on CLI for command
253 ------------------------------------------------------------------------------
254 --- Functionality changes from Asterisk 13.8.0 to Asterisk 13.9.0 ------------
255 ------------------------------------------------------------------------------
258 - The dynamic parking lot creation channel variables PARKINGDYNAMIC,
259 PARKINGDYNCONTEXT, PARKINGDYNEXTEN, and PARKINGDYNPOS are now looked
260 for in the parker's channel instead of the parked channel. This is only
261 of significance if the parker uses blind transfer or the DTMF one-step
262 parking feature. You need to use the double underscore '__' inheritance
263 for these variables. The indefinite inheritance is also recommended
264 for the PARKINGEXTEN variable.
268 * Added 'pjsip show channelstats' CLI command.
270 ------------------------------------------------------------------------------
271 --- Functionality changes from Asterisk 13.7.0 to Asterisk 13.8.0 ------------
272 ------------------------------------------------------------------------------
276 * Per RFC3325, the 'From' header is now anonymized on outgoing calls when
277 caller id presentation is prohibited.
279 res_pjsip_config_wizard
281 * A new command (pjsip export config_wizard primitives) has been added that
282 will export all the pjsip objects it created to the console or a file
283 suitable for reuse in a pjsip.conf file.
287 * To help insure that Asterisk is compiled and run with the same known
288 version of pjproject, a new option (--with-pjproject-bundled) has been
289 added to ./configure. When specified, the version of pjproject specified
290 in third-party/versions.mak will be downloaded and configured. When you
291 make Asterisk, the build process will also automatically build pjproject
292 and Asterisk will be statically linked to it. Once a particular version
293 of pjproject is configured and built, it won't be configured or built
294 again unless you run a 'make distclean'.
296 To facilitate testing, when 'make install' is run, the pjsua and pjsystest
297 utilities and the pjproject python bindings will be installed in
298 ASTDATADIR/third-party/pjproject.
300 The default behavior remains building with the shared pjproject
301 installation, if any.
305 * Added CONFBRIDGE_INFO(muted,) for querying the muted conference state.
307 * Added Muted header to AMI ConfbridgeListRooms action response list events
308 to indicate the muted conference state.
310 * Added Muted column to CLI "confbridge list" output to indicate the muted
311 conference state and made the locked column a yes/no value instead of a
312 locked/unlocked value.
316 * The REDIRECTING(reason) value is now treated consistently between
317 chan_sip and chan_pjsip.
319 Both channel drivers match incoming reason values with values documented
320 by REDIRECTING(reason) and values documented by RFC5806 regardless of
321 whether they are quoted or not. RFC5806 values are mapped to the
322 equivalent REDIRECTING(reason) documented value and is set in
323 REDIRECTING(reason). e.g., an incoming RFC5806 'unconditional' value or a
324 quoted string version ('"unconditional"') is converted to
325 REDIRECTING(reason)'s 'cfu' value. The user's dialplan only needs to deal
326 with 'cfu' instead of any of the aliases.
328 The incoming 480 response reason text supported by chan_sip checks for
329 known reason values and if not matched then puts quotes around the reason
330 string and assigns that to REDIRECTING(reason).
332 Both channel drivers send outgoing known REDIRECTING(reason) values as the
333 unquoted RFC5806 equivalent. User custom values are either sent as is or
334 with added quotes if SIP doesn't allow a character within the value as
335 part of a RFC3261 Section 25.1 token. Note that there are still
336 limitations on what characters can be put in a custom user value. e.g.,
337 embedding quotes in the middle of the reason string is just going to cause
340 * Setting a REDIRECTING(reason) value now recognizes RFC5806 aliases.
341 e.g., Setting REDIRECTING(reason) to 'unconditional' is converted to the
346 * This module is the successor of res_pjsip_log_forwarder. As well as
347 handling the log forwarding (which now displays as 'pjproject:0' instead
348 of 'pjsip:0'), it also adds a 'pjproject show buildopts' command to the CLI.
349 This displays the compiled-in options of the pjproject installation
350 Asterisk is currently running against.
352 * Another feature of this module is the ability to map pjproject log levels
353 to Asterisk log levels, or to suppress the pjproject log messages
354 altogether. Many of the messages emitted by pjproject itself are the result
355 of errors which Asterisk will ultimately handle so the messages can be
356 misleading or just noise. A new config file (pjproject.conf) has been added
357 to configure the mapping and a new CLI command (pjproject show log mappings)
358 has been added to display the mappings currently in use.
362 * Transports are now reloadable. In testing, no in-progress calls were
363 disrupted if the ip address or port weren't changed, but the possibility
364 still exists. To make sure there are no unintentional drops, a new option
365 'allow_reload', which defaults to 'no' has been added to transport. If
366 left at the default, changes to the particular transport will be ignored.
367 If set to 'yes', changes (if any) will be applied.
369 * Added new global option (regcontext) to pjsip. When set, Asterisk will
370 dynamically create and destroy a NoOp priority 1 extension
371 for a given endpoint who registers or unregisters with us.
375 * A new module, res_pjsip_history, has been added that provides SIP history
376 viewing/filtering from the CLI. The module is intended to be used on systems
377 with busy SIP traffic, where existing forms of viewing SIP messages - such
378 as the res_pjsip_logger - may be inadequate. The module provides two new
380 - 'pjsip set history {on|off|clear}' - this enables/disables SIP history
381 capturing, as well as clears an existing history capture. Note that SIP
382 packets captured are stored in memory until cleared. As a result, the
383 history capture should only be used for debugging/viewing purposes, and
384 should *NOT* be left permanently enabled on a system.
385 - 'pjsip show history' - displays the captured SIP history. When invoked
386 with no options, the entire captured history is displayed. Two options
388 -- 'entry <num>' - display a detailed view of a single SIP message in
390 -- 'where ...' - filter the history based on some expression. For more
391 information on filtering, view the current CLI help for the
392 'pjsip show history' command.
396 * app_voicemail and res_mwi_external can now be built together. The default
397 remains to build app_voicemail and not res_mwi_external but if they are
398 both built, the load order will cause res_mwi_external to load first and
399 app_voicemail will be skipped. Use 'preload=app_voicemail.so' in
400 modules.conf to force app_voicemail to be the voicemail provider.
404 * A new option (bind_rtp_to_media_address) has been added to endpoint which
405 will cause res_pjsip_sdp_rtp to actually bind the RTP instance to the
406 media_address as well as using it in the SDP. If set, RTP packets will now
407 originate from the media address instead of the operating system's "primary"
412 * A new configuration section - ice_host_candidates - has been added to
413 rtp.conf, allowing automatically discovered ICE host candidates to be
414 overriden. This allows an Asterisk server behind a 1:1 NAT to send its
415 external IP as a host candidate rather than relying on STUN to discover it.
417 ------------------------------------------------------------------------------
418 --- Functionality changes from Asterisk 13.6.0 to Asterisk 13.7.0 ------------
419 ------------------------------------------------------------------------------
423 * Added format attribute negotiation for the VP8 video codec. Format attribute
424 negotiation is provided by the res_format_attr_vp8 module.
428 * A new "timeout" user profile option has been added. This configures the number
429 of seconds that a participant may stay in the ConfBridge after joining. When
430 the time expires, the user is ejected from the conference and CONFBRIDGE_RESULT
431 is set to "TIMEOUT" on the channel.
435 * The websockets_enabled option has been added to the general section of
436 sip.conf. The option is enabled by default to match the previous behavior.
437 The option should be disabled when using res_pjsip_transport_websockets to
438 ensure chan_sip will not conflict with PJSIP websockets.
442 * The HOLD_INTERCEPT dialplan function now actually exists in the source tree.
443 While support for the events was added in Asterisk 13.4.0, the function
444 accidentally never made it in. That function is now present, and will cause
445 the 'hold' raised by a channel to be intercepted and converted into an
448 res_pjsip_outbound_registration
449 -------------------------------
450 * If res_statsd is loaded and a StatsD server is configured, basic statistics
451 regarding the state of outbound registrations will now be emitted. This
453 - A GAUGE statistic for the overall number of outbound registrations, i.e.:
454 PJSIP.registrations.count
455 - A GAUGE statistic for the overall number of outbound registrations in a
456 particular state, e.g.:
457 PJSIP.registrations.state.Registered
461 * The ability to use "like" has been added to the pjsip list and show
462 CLI commands. For instance: CLI> pjsip list endpoints like abc
464 * If res_statsd is loaded and a StatsD server is configured, basic statistics
465 regarding the state of PJSIP contacts will now be emitted. This includes:
466 - A GAUGE statistic for the overall number of contacts in a particular
468 PJSIP.contacts.states.Reachable
469 - A TIMER statistic for the RTT time for each qualified contact, e.g.:
470 PJSIP.contacts.alice@@127.0.0.1:5061.rtt
472 res_sorcery_memory_cache
473 ------------------------
474 * A new caching strategy, full_backend_cache, has been added which caches
475 all stored objects in the backend. When enabled all objects will be
476 expired or go stale according to the configuration. As well when enabled
477 all retrieval operations will be performed against the cache instead of
482 * CALLERID(pres) is now documented as a valid alternative to setting both
483 CALLERID(name-pres) and CALLERID(num-pres) at once. Some channel drivers,
484 like chan_sip, don't make a distinction between the two: they take the
485 least public value from name-pres and num-pres. By using CALLERID(pres)
486 for reading and writing, you touch the same combined value in the dialplan.
487 The same applies to CONNECTEDLINE(pres), REDIRECTING(orig-pres),
488 REDIRECTING(to-pres) and REDIRECTING(from-pres).
492 * A new module that emits StatsD statistics regarding Asterisk endpoints.
493 This includes a total count of the number of endpoints, the count of the
494 number of endpoints in the technology agnostic state of the endpoint -
495 online or offline - as well as the number of channels associated with each
496 endpoint. These are recorded as three different GAUGE statistics:
498 - endpoints.state.{unknown|offline|online}
499 - endpoints.{tech}.{resource}.channels
502 ------------------------------------------------------------------------------
503 --- Functionality changes from Asterisk 13.5.0 to Asterisk 13.6.0 ------------
504 ------------------------------------------------------------------------------
508 * The CHANNEL function, when used on a PJSIP channel, now exposes a 'call-id'
509 extraction option when using with the 'pjsip' signalling option. It will
510 return the SIP Call-ID associated with the INVITE request that established
515 * Two new endpoint related events are now available: PeerStatusChange and
516 ContactStatusChange. In particular, these events are useful when subscribing
517 to all event sources, as they provide additional endpoint related
518 information beyond the addition/removal of channels from an endpoint.
520 * Added the ability to subscribe to all ARI events in Asterisk, regardless
521 of whether the application 'controls' the resource. This is useful for
522 scenarios where an ARI application merely wants to observe the system,
523 as opposed to control it. There are two ways to accomplish this:
524 (1) Via the WebSocket connection URI. A new query paramter, 'subscribeAll',
525 has been added that, when present and True, will subscribe all
526 specified applications to all ARI event sources in Asterisk.
527 (2) Via the applications resource. An ARI client can, at any time, subscribe
528 to all resources in an event source merely by not providing an explicit
529 resource. For example, subscribing to an event source of 'channels:'
530 as opposed to 'channels:12345' will subscribe the application to all
533 ------------------------------------------------------------------------------
534 --- Functionality changes from Asterisk 13.4.0 to Asterisk 13.5.0 ------------
535 ------------------------------------------------------------------------------
539 * A new ContactStatus event has been added that reflects res_pjsip contact
540 lifecycle changes: Created, Removed, Reachable, Unreachable, Unknown.
542 * Added the Linkedid header to the common channel headers listed for each
543 channel in AMI events.
547 * A new feature has been added that enables the retrieval of modules and
548 module information through an HTTP request. Information on a single module
549 can be also be retrieved. Individual modules can be loaded to Asterisk, as
550 well as unloaded and reloaded.
552 * A new resource has been added to the 'asterisk' resource, 'config/dynamic'.
553 This resource allows for push configuration of sorcery derived objects
554 within Asterisk. The resource supports creation, retrieval, updating, and
555 deletion. Sorcery derived objects that are manipulated by this resource
556 must have a sorcery wizard that supports the desired operations.
558 * A new feature has been added that allows for the rotation of log channels
559 through HTTP requests.
564 * A new 'g726_non_standard' endpoint option has been added that, when set to
565 'yes' and g.726 audio is negotiated, forces the codec to be treated as if it
566 is AAL2 packed on the channel.
568 * A new 'rtp_keepalive' endpoint option has been added. This option specifies
569 an interval, in seconds, at which we will send RTP comfort noise packets to
570 the endpoint. This functions identically to chan_sip's "rtpkeepalive" option.
572 * New 'rtp_timeout' and 'rtp_timeout_hold' endpoint options have been added.
573 These options specify the amount of time, in seconds, that Asterisk will wait
574 before terminating the call due to lack of received RTP. These are identical
575 to chan_sip's rtptimeout and rtpholdtimeout options.
577 ------------------------------------------------------------------------------
578 --- Functionality changes from Asterisk 13.3.0 to Asterisk 13.4.0 ------------
579 ------------------------------------------------------------------------------
583 * New 'rpid_immediate' option to control if connected line update information
584 goes to the caller immediately or waits for another reason to send the
585 connected line information update. See the online option documentation for
586 more information. Defaults to 'no' as setting it to 'yes' can result in
587 many unnecessary messages being sent to the caller.
589 * The configuration setting 'progressinband' now defaults to 'no', which
590 matches the actual behavior of previous versions.
594 * A new CLI command has been added: "pjsip show settings", which shows
595 both the global and system configuration settings.
597 * A new aor option has been added: "qualify_timeout", which sets the timeout
598 in seconds for a qualify. The default is 3 seconds. This overrides the
599 hard coded 32 seconds in pjproject.
601 * Endpoint status will now change to "Unreachable" when all contacts are
602 unavailable. When any contact becomes available, the endpoint will status
603 will change back to "Reachable".
605 * A new global option has been added: "max_initial_qualify_time", which
606 sets the maximum amount of time from startup that qualifies should be
607 attempted on all contacts.
611 * Two new events, 'ChannelHold' and 'ChannelUnhold', have been added to the
612 events data model. These events are raised when a channel indicates a hold
613 or unhold, respectively.
617 * A new dialplan function, HOLD_INTERCEPT, has been added. This function, when
618 placed on a channel, intercepts hold/unhold indications signalled by the
619 channel and prevents them from moving on to other channels in a bridge with
620 the hold initiator. Instead, AMI or ARI events are raised indicating that
621 the channel wanted to place someone on hold. This allows external
622 applications to implement their own custom hold/unhold logic.
624 ------------------------------------------------------------------------------
625 --- Functionality changes from Asterisk 13.2.0 to Asterisk 13.3.0 ------------
626 ------------------------------------------------------------------------------
628 chan_pjsip/app_transfer
630 * The Transfer application, when used with chan_pjsip, now supports using
631 a PJSIP endpoint as the transfer destination. This is in addition to
632 explicitly specifying a SIP URI to transfer to.
636 * The ARI /channels resource now supports a new operation, 'redirect'. The
637 redirect operation will perform a technology and state specific redirection
638 on the channel to a specified endpoint or destination. In the case of SIP
639 technologies, this is either a 302 Redirect response to an on-going INVITE
640 dialog or a SIP REFER request.
644 * A new 'endpoint_identifier_order' option has been added that allows one to
645 set the order by which endpoint identifiers are processed and checked. This
646 option is specified under the 'global' type configuration section.
648 ------------------------------------------------------------------------------
649 --- Functionality changes from Asterisk 13.1.0 to Asterisk 13.2.0 ------------
650 ------------------------------------------------------------------------------
652 * New 'PJSIP_AOR' and 'PJSIP_CONTACT' dialplan functions have been added which
653 allow examining PJSIP AORs or contacts from the dialplan.
655 res_pjsip_outbound_registration
657 * The 'pjsip send unregister' command now stops further registrations.
659 * A new command 'pjsip send register' has been added which allows you to
660 start or restart periodic registration. It can be used after a
661 'send unregister' or after a 401 permanent error.
663 res_pjsip_config_wizard
665 * This is a new module that adds streamlined configuration capability for
666 chan_pjsip. It's targeted at users who have lots of basic configuration
667 scenarios like 'phone' or 'agent' or 'trunk'. Additional information
668 can be found in the sample configuration file at
669 config/samples/pjsip_wizard.conf.sample.
673 * The T.38 negotiation timeout was previously hard coded at 5000 milliseconds
674 and is now configurable via the 't38timeout' configuration option in
675 res_fax.conf and via the fax options dialplan function 'FAXOPT(t38timeout)'.
676 The default remains at 5000 milliseconds.
680 * The ca_list_path transport parameter has been added for TLS transports. This
681 option behaves similarly to the old sip.conf option "tlscapath". In order to
682 use this, you must be using PJProject version 2.4 or higher.
686 * The Originate operation now takes in an originator channel. The linked ID of
687 this originator channel is applied to the newly originated outgoing channel.
688 If using CEL this allows an association to be established between the two so
689 it can be recognized that the originator is dialing the originated channel.
691 * "language" (the default spoken language for the channel) is now included in
692 the standard channel state output for suitable events.
694 * The POST channels/{id} operation and the POST channels/{id}/continue operation
695 now have a new "label" parameter. This allows for origination or continuation
696 to a labeled priority in the dialplan instead of requiring a specific priority
697 number. The ARI version has been bumped to 1.7.0 as a result.
701 * "Language" (the default spoken language for the channel) is now included in
702 the standard channel state output for suitable events.
704 * AMI actions that return a list of events have been made to return consistent
705 headers for the action response event starting the list and the list complete
706 event. The AMI version has been bumped to 2.7.0 as a result.
708 ------------------------------------------------------------------------------
709 --- Functionality changes from Asterisk 13.0.0 to Asterisk 13.1.0 ------------
710 ------------------------------------------------------------------------------
714 * Event NewConnectedLine is emitted when the connected line information on
719 * Event ChannelConnectedLine is emitted when the connected line information
720 on a channel changes.
725 The features.conf general section has three new configurable options:
726 * transferdialattempts
728 * transferinvalidsound
729 For more information on what these options do, see the Asterisk wiki:
730 https://wiki.asterisk.org/wiki/x/W4fAAQ
737 * New 'media_encryption_optimistic' endpoint setting. This will use SRTP
738 when possible but does not consider lack of it a failure.
740 res_pjsip_endpoint_identifer_ip
742 * New CLI commands have been added: "pjsip show identif(y|ies)", which lists
743 all configured PJSIP identify objects
745 ------------------------------------------------------------------------------
746 --- Functionality changes from Asterisk 12 to Asterisk 13 --------------------
747 ------------------------------------------------------------------------------
752 Asterisk 13 is the next Long Term Support (LTS) release of Asterisk. As such,
753 the focus of development for this release of Asterisk was on improving the
754 usability and features developed in the previous Standard release, Asterisk 12.
755 Beyond a general refinement of end user features, development focussed heavily
756 on the Asterisk APIs - the Asterisk Manager Interface (AMI) and the Asterisk
757 REST Interface (ARI) - and the PJSIP stack in Asterisk. Some highlights of the
758 new features include:
760 * Asterisk security events are now provided via AMI, allowing end users to
761 monitor their Asterisk system in real time for security related issues.
762 * External control of Message Waiting Indicators (MWI) through both AMI and ARI.
763 * Reception/transmission of out of call text messages using any supported
764 channel driver/protocol stack through ARI.
765 * Resource List Server support in the PJSIP stack, providing subscriptions to
766 lists of resources and batched delivery of NOTIFY requests.
767 * Inter-Asterisk distributed device state and mailbox state using the PJSIP
770 It is important to note that Asterisk 13 is built on the architecture developed
771 during the previous Standard release, Asterisk 12. Users upgrading to
772 Asterisk 13 should read about the new features in Asterisk 12 later in this file
773 (see Functionality changes from Asterisk 11 to Asterisk 12), as well as the
774 UPGRADE-12.txt delivered with this release. In particular, users upgrading to
775 Asterisk 13 from a release prior to Asterisk 12 should read the specifications
776 on AMI, CDRs, and CEL on the Asterisk wiki:
777 * AMI - https://wiki.asterisk.org/wiki/x/dAFRAQ
778 * CEL - https://wiki.asterisk.org/wiki/x/4ICLAQ
779 * CDRs - https://wiki.asterisk.org/wiki/x/pwpRAQ
781 Many new featuers in Asterisk 13 were introduced in point releases of
782 Asterisk 12. Following this section - which documents the changes from all
783 versions of Asterisk 12 to Asterisk 13 - users should examine the new features
784 that were introduced in the point releases of Asterisk 12, as they are also
785 included in Asterisk 13.
787 Finally, all users upgrading to Asterisk 13 should read the UPGRADE.txt file
788 delivered with this release.
793 * Sample config files have been moved from configs/ to a sub-folder of that
796 * The menuselect utility has been pulled into the Asterisk repository. As a
797 result, the libxml2 development library is now a required dependency for
800 * A new Compiler Flag, REF_DEBUG, has been added. When enabled, reference
801 counted objects will emit additional debug information to the refs log file
802 located in the standard Asterisk log file directory. This log file is useful
803 in tracking down object leaks and other reference counting issues. Prior to
804 this version, this option was only available by modifying the source code
805 directly. This change also includes a new script, refcounter.py, in the
806 contrib folder that will process the refs log file. Note that this replaces
807 the refcounter utility that could be built from the utils directory.
815 * This module was deprecated and has been removed. Users of app_dahdibarge
816 should use ChanSpy instead.
820 * New options to play a beep when starting a recording and stopping a recording
821 have been added. The option "p" will play a beep to the channel that starts
822 the recording. The option "P" will play a beep to the channel that stops the
827 * Queue rules can now be stored in a database table, queue_rules. Unlike other
828 RealTime tables, the queue_rules table is only examined on module load or
829 module reload. A new general setting has been added to queuerules.conf,
830 'realtime_rules', which, when set to 'yes', will cause app_queue to look in
831 RealTime for additional queue rules to parse. Note that both the file and
832 the database can be used as a provide of queue rules when 'realtime_rules'
835 When app_queue is reloaded, all rules are re-parsed and loaded into memory.
836 There is no caching of RealTime queue rules.
840 * This module was deprecated and has been removed. Users of app_readfile
841 should use func_env's FILE function instead.
845 * The 'say' family of dialplan applications now support the Japanese
846 language. The 'language' parameter in say.conf now recognizes a setting of
847 'ja', which will enable Japanese language specific mechanisms for playing
848 back numbers, dates, and other items.
852 * This module was deprecated and has been removed. Users of app_saycountpl
853 should use the Say family of applications.
857 * The SetMusicOnHold dialplan application was deprecated and has been removed.
858 Users of the application should use the CHANNEL function's musicclass
863 * The WaitMusicOnHold dialplan application was deprecated and has been
864 removed. Users of the application should use MusicOnHold with a duration
869 * VoiceMail and VoiceMailMain now support the Japanese language. The
870 'language' parameter in voicemail.conf now recognizes a setting of 'ja',
871 which will enable prompts to be played back using a Japanese grammatical
872 structure. Additional prompts are necessary for this functionality,
874 - jb-arimasu: there is
875 - jb-arimasen: there is not
876 - jb-oshitekudasai: please press
882 * Add the ability to specify multiple email addresses in configuration,
891 * This module was deprecated and has been removed. Users of cdr_sqlite
892 should use cdr_sqlite3_custom.
896 * Added the ability to support PostgreSQL application_name on connections.
897 This allows PostgreSQL to display the configured name in the
898 pg_stat_activity view and CSV log entries. This setting is configurable
899 for cdr_pgsql via the appname configuration setting in cdr_pgsql.conf.
907 * Added the ability to support PostgreSQL application_name on connections.
908 This allows PostgreSQL to display the configured name in the
909 pg_stat_activity view and CSV log entries. This setting is configurable
910 for cel_pgsql via the appname configuration setting in cel_pgsql.conf.
918 * SS7 support now requires libss7 v2.0 or later.
920 * Added SS7 support for connected line and redirecting.
922 * Most SS7 CLI commands are reworked as well as new SS7 commands added.
925 * Added several SS7 config option parameters described in
926 chan_dahdi.conf.sample.
930 * This module was deprecated and has been removed. Users of chan_gtalk
931 should use chan_motif.
935 * This module was deprecated and has been removed. Users of chan_h323
936 should use chan_ooh323.
940 * This module was deprecated and has been removed. Users of chan_jingle
941 should use chan_motif.
945 * Added the CLI command 'pjsip list ciphers' so a user can know what
946 OpenSSL names are available on their system for the pjsip.conf cipher
951 * The SIPPEER dialplan function no longer supports using a colon as a
952 delimiter for parameters. The parameters for the function should be
953 delimited using a comma.
955 * The SIPCHANINFO dialplan function was deprecated and has been removed. Users
956 of the function should use the CHANNEL function instead.
964 * Added functional peeraccount support. Except for Queue, the
965 accountcode propagation is now consistently propagated to outgoing
966 channels before dialing. The channel accountcode can change from its
967 original non-empty value on channel creation for the following specific
968 reasons. One, dialplan sets it using CHANNEL(accountcode). Two, an
969 originate method that can specify an accountcode value. Three, the
970 calling channel propagates its peeraccount or accountcode to the
971 outgoing channel's accountcode before dialing. The change has two
972 visible effects. One, local channels now cross accountcode and
973 peeraccount across the special bridge between the ;1 and ;2 channels
974 just like channels between normal bridges. Two, the
975 CHANNEL(peeraccount) value can now be set before Dial and FollowMe to
976 set the accountcode on the outgoing channel(s).
978 For Queue, an outgoing channel's non-empty accountcode will not change
979 unless explicitly set by CHANNEL(accountcode). The change has three
980 visible effects. One, local channels now cross accountcode and
981 peeraccount across the special bridge between the ;1 and ;2 channels
982 just like channels between normal bridges. Two, the queue member will
983 get an accountcode if it doesn't have one and one is available from the
984 calling channel's peeraccount. Three, accountcode propagation includes
985 local channel members where the accountcodes are propagated early
986 enough to be available on the ;2 channel.
990 * New DeviceStateChanged and PresenceStateChanged AMI events have been added.
991 These events are emitted whenever a device state or presence state change
992 occurs. The events are controlled by res_manager_device_state.so and
993 res_manager_presence_state.so. If the high frequency of these events is
994 problematic for you, do not load these modules.
996 * Added DialplanExtensionAdd and DialplanExtensionRemove AMI commands. They
997 work in basically the same way as the 'dialplan add extension' and
998 'dialplan remove extension' CLI commands respectively.
1000 * New AMI action LoggerRotate reloads and rotates logger in the same manner
1001 as CLI command 'logger rotate'
1003 * New AMI Actions FAXSessions, FAXSession, and FAXStats replicate the
1004 functionality of CLI commands 'fax show sessions', 'fax show session',
1005 and fax show stats' respectively.
1007 * New AMI actions PRIDebugSet, PRIDebugFileSet, and PRIDebugFileUnset
1008 enable manager control over PRI debugging levels and file output.
1010 * AMI action PJSIPNotify may now send to a URI instead of only to a PJSIP
1011 endpoint as long as a default outbound endpoint is set. This also applies
1012 to the equivalent CLI command (pjsip send notify)
1014 * The AMI action PJSIPShowEndpoint now includes ContactStatusDetail sections
1015 that give information on Asterisk's attempts to qualify the endpoint.
1017 * The DialEnd event will now contain a Forward header if the dial is ending
1018 due to the call being forwarded. The contents of the Forward header is the
1019 extension in the number to which the call is being forwarded.
1023 * The "bridge_technology" extra field key has been added to BRIDGE_ENTER
1024 and BRIDGE_EXIT events.
1028 * Channel variables are now substituted in arguments passed to applications
1029 run by using dynamic features.
1033 * The TLS core in Asterisk now supports Perfect Forward Secrecy (PFS).
1034 Enabling PFS is attempted by default, and is dependent on the configuration
1035 of the module using TLS.
1036 - Ephemeral ECDH (ECDHE) is enabled by default. To disable it, do not
1037 specify a ECDHE cipher suite in sip.conf, for example:
1038 tlscipher=AES128-SHA:DES-CBC3-SHA
1039 - Ephemeral DH (DHE) is disabled by default. To enable it, add DH parameters
1040 into the private key file, e.g., sip.conf tlsprivatekey. For example, the
1041 default dh2048.pem - see
1042 http://www.opensource.apple.com/source/OpenSSL098/OpenSSL098-35.1/src/apps/dh2048.pem?txt
1043 - Because clients expect the server to prefer PFS, and because OpenSSL sorts
1044 its cipher suites by bit strength, see "openssl ciphers -v DEFAULT".
1045 Consider re-ordering your cipher suites in the respective configuration
1047 tlscipher=AES128+kEECDH:AES128+kEDH:3DES+kEDH:AES128-SHA:DES-CBC3-SHA:-ADH:-AECDH
1048 will use PFS when offered by the client. Clients which do not offer PFS
1049 fall-back to AES-128 (or even 3DES, as recommended by RFC 3261).
1057 * The JACK_HOOK function now supports audio with a sample rate higher than
1066 * Added the ability to support PostgreSQL application_name on connections.
1067 This allows PostgreSQL to display the configured name in the
1068 pg_stat_activity view and CSV log entries. This setting is configurable
1069 for res_config_pgsql via the dbappname configuration setting in
1072 res_pjsip_outbound_publish
1074 * A new module, res_pjsip_outbound_publish provides the mechanisms for sending
1075 PUBLISH requests for specific event packages to another SIP User Agent.
1079 * The publish/subscribe core module has been updated to support RFC 4662
1080 Resource Lists, allowing Asterisk to act as a Resource List Server (RLS).
1081 Resource lists are configured in pjsip.conf under a new object type,
1082 resource_list. Resource lists can contain either message-summary or presence
1083 events, and can be composed of specific resources that provide the event or
1084 other resource lists.
1086 * Inbound publication support is provided by a new object, inbound-publication.
1087 This configures res_pjsip_pubsub to accept PUBLISH requests from a particular
1088 resource. Which events are accepted is constructed dynamically; see
1089 res_pjsip_publish_asterisk for more information.
1091 res_pjsip_publish_asterisk
1093 * A new module, res_pjsip_publish_asterisk adds support for PUBLISH requests of
1094 Asterisk information to other Asterisk servers. This module is intended only
1095 for Asterisk to Asterisk exchanges of information. Currently, this includes
1096 both mailbox state and device state information.
1098 ------------------------------------------------------------------------------
1099 --- Functionality changes from Asterisk 12.4.0 to Asterisk 12.5.0 ------------
1100 ------------------------------------------------------------------------------
1104 * Stored recordings now support a new operation, copy. This will take an
1105 existing stored recording and copy it to a new location in the recordings
1108 * LiveRecording objects now have three additional fields that can be reported
1109 in a RecordingFinished ARI event:
1110 - total_duration: the duration of the recording
1111 - talking_duration: optional. The duration of talking detected in the
1112 recording. This is only available if max_silence_seconds was specified
1113 when the recording was started.
1114 - silence_duration: optional. The duration of silence detected in the
1115 recording. This is only available if max_silence_seconds was specified
1116 when the recording was started.
1117 Note that all duration values are reported in seconds.
1119 * Users of ARI can now send and receive out of call text messages. Messages
1120 can be sent directly to a particular endpoint, or can be sent to the
1121 endpoints resource directly and inferred from the URI scheme. Text
1122 messages are passed to ARI clients as TextMessageReceived events. ARI
1123 clients can choose to receive text messages by subscribing to the particular
1124 endpoint technology or endpoints that they are interested in.
1126 * The applications resource now supports subscriptions to all endpoints of
1127 a particular channel technology. For example, subscribing to an eventSource
1128 of 'endpoint:PJSIP' will subscribe to all PJSIP endpoints.
1132 * The endpoint configuration object now supports 'accountcode'. Any channel
1133 created for an endpoint with this setting will have its accountcode set
1134 to the specified value.
1138 * A new module, res_hep_rtcp, has been added that will forward RTCP call
1139 statistics to a HEP capture server. See res_hep for more information.
1143 * Function AUDIOHOOK_INHERIT has been deprecated. Audiohooks are now
1144 unconditionally inhereted through masquerades. As a side benefit, more
1145 than one audiohook of a given type may persist through a masquerade now.
1147 ------------------------------------------------------------------------------
1148 --- Functionality changes from Asterisk 12.3.0 to Asterisk 12.4.0 ------------
1149 ------------------------------------------------------------------------------
1153 * Returns new AGENT_STATUS value "NOT_CONNECTED" if the agent fails to
1154 connect with an incoming caller after being alerted to the presence
1155 of the incoming caller. The most likely reason this would happen is
1156 the agent did not acknowledge the call in time.
1160 * New events have been added for the TALK_DETECT function. When the function
1161 is used on a channel, ChannelTalkingStart/ChannelTalkingStop events will be
1162 emitted to connected AMI clients indicating the start/stop of talking on
1167 * New event models have been aded for the TALK_DETECT function. When the
1168 function is used on a channel, ChannelTalkingStarted/ChannelTalkingFinished
1169 events will be emitted to connected WebSockets subscribed to the channel,
1170 indicating the start/stop of talking on the channel.
1174 * A new function, TALK_DETECT, has been added. When set on a channel, this
1175 fucntion causes events indicating the starting/stoping of talking on said
1176 channel to be emitted to both AMI and ARI clients.
1178 ------------------------------------------------------------------------------
1179 --- Functionality changes from Asterisk 12.2.0 to Asterisk 12.3.0 ------------
1180 ------------------------------------------------------------------------------
1184 * A new Playback URI 'tone' has been added. Tones are specified either as
1185 an indication name (e.g. 'tone:busy') from indications.conf or as a tone
1186 pattern (e.g. 'tone:240/250,0/250'). Tones differ from normal playback
1187 URIs in that they must be stopped manually and will continue to occupy
1188 a channel's ARI control queue until they are stopped. They also can not
1189 be rewound or fastforwarded.
1191 * User events can now be generated from ARI. Events can be signalled with
1192 arbitrary json variables, and include one or more of channel, bridge, or
1193 endpoint snapshots. An application must be specified which will receive
1194 the event message (other applications can subscribe to it). The message
1195 will also be delivered via AMI provided a channel is attached. Dialplan
1196 generated user event messages are still transmitted via the channel, and
1197 will only be received by a stasis application they are attached to or if
1198 the channel is subscribed to.
1202 * SIP peers can now specify 'trust_id_outbound' which affects RPID/PAI
1203 fields for prohibited callingpres information. Values are legacy, no, and
1204 yes. By default, legacy is used.
1205 trust_id_outbound=legacy - behavior remains the same as 1.8.26.1. When
1206 dealing with prohibited callingpres and sendrpid=pai/rpid, RPID/PAI
1207 headers are appended to outbound SIP messages just as they are with
1208 allowed callingpres values, but data about the remote party's identity is
1210 When sendrpid=rpid, only the remote party's domain is anonymized.
1211 trust_id_outbound=no - when dealing with prohibited callingpres, RPID/PAI
1212 headers are not sent.
1213 trust_id_outbound=yes - RPID/PAI headers are applied with the full remote
1214 party information in tact even for prohibited callingpres information.
1215 In the case of PAI, a Privacy: id header will be appended for prohibited
1216 calling information to communicate that the private information should
1217 not be relayed to untrusted parties.
1221 * Manager action 'Park' now takes an additional argument 'AnnounceChannel'
1222 which can be used to announce the parked call's location to an arbitrary
1223 channel in a bridge. If 'Channel' and 'TimeoutChannel' are now the two
1224 parties in a one to one bridge, 'TimeoutChannel' is treated as having
1225 parked 'Channel' like with the Park Call DTMF feature and will receive
1226 announcements prior to being hung up.
1228 ------------------------------------------------------------------------------
1229 --- Functionality changes from Asterisk 12.1.0 to Asterisk 12.2.0 ------------
1230 ------------------------------------------------------------------------------
1234 * Record application now has an option 'o' which allows 0 to act as an exit
1235 key setting the RECORD_STATUS variable to 'OPERATOR' instead of 'DTMF'
1238 --------------------------
1239 * ChanSpy now accepts a channel uniqueid or a fully specified channel name
1240 as the chanprefix parameter if the 'u' option is specified.
1243 --------------------------
1244 * CONFBRIDGE dialplan function is now capable of creating/modifying dynamic
1245 conference user menus.
1247 * CONFBRIDGE dialplan function is now capable of removing dynamic conference
1248 menus, bridge settings, and user settings that have been applied by the
1249 CONFBRIDGE dialplan function.
1251 * The ConfBridge dialplan application now sets a channel variable,
1252 CONFBRIGE_RESULT, upon exiting. This variable can be used to determine
1253 how a channel exited the conference.
1255 * Added conference user option 'announce_join_leave_review'. This option
1256 implies 'announce_join_leave' with the added effect that the user will
1257 be asked if they want to confirm or re-record the recording of their
1258 name when entering the conference
1261 --------------------------
1262 * At exit, the Directory application now sets a channel variable
1263 DIRECTORY_RESULT to one of the following based on the reason for exiting:
1264 OPERATOR user requested operator by pressing '0' for operator
1265 ASSISTANT user requested assistant by pressing '*' for assistant
1266 TIMEOUT user pressed nothing and Directory stopped waiting
1267 HANGUP user's channel hung up
1268 SELECTED user selected a user from the directory and is routed
1269 USEREXIT user pressed '#' from the selection prompt to exit
1270 FAILED directory failed in a way that wasn't accounted for. Dang.
1274 * Monitor() - A new option, B(), has been added that will turn on a periodic
1275 beep while the call is being recorded.
1278 --------------------------
1279 * MusicOnHold streams (all modes other than "files") now support wide band
1283 --------------------------
1284 * Added options 'b' and 'B' to apply predial handlers for outgoing calls
1285 and for the channel executing Page respectively.
1288 --------------------------
1289 * PickupChan now accepts channel uniqueids of channels to pickup.
1292 --------------------------
1293 * If a channel variable SAY_DTMF_INTERRUPT is present on a channel and set
1294 to 'true' (case insensitive), then any Say application (SayNumber,
1295 SayDigits, SayAlpha, SayAlphaCase, SayUnixTime, and SayCounted) will
1296 anticipate DTMF. If DTMF is received, these applications will behave like
1297 the background application and jump to the received extension once a match
1298 is established or after a short period of inactivity.
1301 -------------------------
1302 * A new function, MIXMONITOR, has been added to allow access to individual
1303 instances of MixMonitor on a channel.
1305 * A new option, B(), has been added that will turn on a periodic beep while the
1306 call is being recorded.
1310 -------------------------
1313 -------------------------
1314 * TEL URI support for inbound INVITE requests has been added. chan_sip will
1315 now handle TEL schemes in the Request and From URIs. The phone-context in
1316 the Request URI will be stored in the SIPURIPHONECONTEXT channel variable on
1317 the inbound channel.
1321 * Exposed sorcery-based configuration files like pjsip.conf to dialplans via
1322 the new AST_SORCERY diaplan function.
1324 * Core Show Locks output now includes Thread/LWP ID if the platform
1325 supports this feature.
1327 * New "logger add channel" and "logger remove channel" CLI commands have
1328 been added to allow creation and deletion of dynamic logger channels
1329 without configuration changes. These dynamic logger channels will only
1330 exist until the next restart of asterisk.
1334 * The live recording object on recording events now contains a target_uri
1335 field which contains the URI of what is being recorded.
1337 * The bridge type used when creating a bridge is now a comma separated list of
1338 bridge properties. Valid options are: mixing, holding, dtmf_events, and
1341 * A channelId can now be provided when creating a channel, either in the
1342 uri (POST channels/my-channel-id) or as query parameter. A local channel
1343 will suffix the second channel id with ';2' unless provided as query
1344 parameter otherChannelId.
1346 * A bridgeId can now be provided when creating a bridge, either in the uri
1347 (POST bridges/my-bridge-id) or as a query parameter.
1349 * A playbackId can be provided when starting a playback, either in the uri
1350 (POST channels/my-channel-id/play/my-playback-id /
1351 POST bridges/my-bridge-id/play/my-playback-id) or as a query parameter.
1353 * A snoop channel can be started with a snoopId, in the uri or query.
1357 * Originate now takes optional parameters ChannelId and OtherChannelId,
1358 used to set the UniqueId on creation. The other id is assigned to the
1359 second channel when dialing LOCAL, or defaults to appending ;2 if only
1360 the single Id is given.
1362 * The Mixmonitor action now has a "Command" header that can be used to
1363 indicate a post-process command to run once recording finishes.
1367 * A new set of Alembic scripts has been added for CDR tables. This will create
1368 a 'cdr' table with the default schema that Asterisk expects.
1373 * A new function was added: PERIODIC_HOOK. This allows running a periodic
1374 dialplan hook on a channel. Any audio generated by this hook will be
1375 injected into the call.
1383 * A new module, res_hep, has been added, that acts as a generic packet
1384 capture agent for the Homer Encapsulation Protocol (HEP) version 3.
1385 It can be configured via hep.conf. Other modules can use res_hep to send
1386 message traffic to a HEP capture server.
1390 * A new module, res_hep_pjsip, has been added that will forward PJSIP
1391 message traffic to a HEP capture server. See res_hep for more
1396 * transport and endpoint ToS options (tos, tos_audio, and tos_video) may now
1397 be set as the named set of ToS values (cs0-cs7, af11-af43, ef).
1399 * Added the following new CLI commands:
1400 - "pjsip show contacts" - list all current PJSIP contacts.
1401 - "pjsip show contact" - show specific information about a current PJSIP
1403 - "pjsip show channel" - show detailed information about a PJSIP channel.
1405 res_pjsip_multihomed
1407 * A new module, res_pjsip_multihomed handles situations where the system
1408 Asterisk is running out has multiple interfaces. res_pjsip_multihomed
1409 determines which interface should be used during message sending.
1411 res_pjsip_pidf_digium_body_supplement
1413 * A new module, res_pjsip_pidf_digium_body_supplement provides NOTIFY
1414 request body formatting for presence support in Digium phones.
1416 res_pjsip_send_to_voicemail
1418 * A new module, res_pjsip_send_to_voicemail allows for REFER requests with
1419 particular headers to transfer a PJSIP channel directly to a particular
1420 extension that has VoiceMail. This is intended to be used with Digium
1421 phones that support this feature.
1423 res_pjsip_outbound_registration
1425 * A new CLI command has been added: "pjsip show registrations", which lists
1426 all configured PJSIP registrations
1429 ------------------------------------------------------------------------------
1430 --- Functionality changes from Asterisk 12.0.0 to Asterisk 12.1.0 ------------
1431 ------------------------------------------------------------------------------
1435 * Added a new module that provides AMI control over MWI within Asterisk,
1436 res_mwi_external_ami. Note that this module depends on res_mwi_external;
1437 for more information on enabling this module, see res_mwi_external.
1438 This module provides the MWIGet/MWIUpdate/MWIDelete actions, as well as
1439 the MWIGet/MWIGetComplete events.
1441 * The DialStatus field in the DialEnd event can now contain additional
1442 statuses that convey how the dial operation terminated. This includes
1443 ABORT, CONTINUE, and GOTO.
1445 * AMI will now emit security events. A new class authorization has been
1446 added in manager.conf for the security events, 'security'. The new events
1448 - FailedACL - raised when a request violates an ACL check
1449 - InvalidAccountID - raised when a request fails an authentication
1450 check due to an invalid account ID
1451 - SessionLimit - raised when a request fails due to exceeding the
1452 number of allowed concurrent sessions for a service
1453 - MemoryLimit - raised when a request fails due to an internal memory
1455 - LoadAverageLimit - raised when a request fails because a configured
1456 load average limit has been reached
1457 - RequestNotAllowed - raised when a request is not allowed by
1459 - AuthMethodNotAllowed - raised when a request used an authentication
1460 method not allowed by the service
1461 - RequestBadFormat - raised when a request is received with bad formatting
1462 - SuccessfulAuth - raised when a request successfully authenticates
1463 - UnexpectedAddress - raised when a request has a different source address
1464 then what is expected for a session already in progress with a service
1465 - ChallengeResponseFailed - raised when a request's attempt to authenticate
1466 has been challenged, and the request failed the authentication challenge
1467 - InvalidPassword - raised when a request provides an invalid password
1468 during an authentication attempt
1469 - ChallengeSent - raised when an Asterisk service send an authentication
1470 challenge to a request
1471 - InvalidTransport - raised when a request attempts to use a transport not
1472 allowed by the Asterisk service
1474 * Bridge related events now have two additional fields: BridgeName and
1475 BridgeCreator. BridgeName is a descriptive name for the bridge;
1476 BridgeCreator is the name of the entity that created the bridge. This
1477 affects the following events: ConfbridgeStart, ConfbridgeEnd,
1478 ConfbridgeJoin, ConfbridgeLeave, ConfbridgeRecord, ConfbridgeStopRecord,
1479 ConfbridgeMute, ConfbridgeUnmute, ConfbridgeTalking, BlindTransfer,
1480 AttendedTransfer, BridgeCreate, BridgeDestroy, BridgeEnter, BridgeLeave
1484 * The Bridge data model now contains the additional fields 'name' and
1485 'creator'. The 'name' field conveys a descriptive name for the bridge;
1486 the 'creator' field conveys the name of the entity that created the bridge.
1487 This affects all responses to HTTP requests that return a Bridge data model
1488 as well as all event derived data models that contain a Bridge data model.
1489 The POST /bridges operation may now optionally specify a name to give to
1490 the bridge being created.
1492 * Added a new ARI resource 'mailboxes' which allows the creation and
1493 modification of mailboxes managed by external MWI. Modules res_mwi_external
1494 and res_stasis_mailbox must be enabled to use this resource. For more
1495 information on external MWI control, see res_mwi_external.
1497 * Added new events for externally initiated transfers. The event
1498 BridgeBlindTransfer is now raised when a channel initiates a blind transfer
1499 of a bridge in the ARI controlled application to the dialplan; the
1500 BridgeAttendedTransfer event is raised when a channel initiates an
1501 attended transfer of a bridge in the ARI controlled application to the
1504 * Channel variables may now be specified as a body parameter to the
1505 POST /channels operation. The 'variables' key in the JSON is interpreted
1506 as a sequence of key/value pairs that will be added to the created channel
1507 as channel variables. Other parameters in the JSON body are treated as
1508 query parameters of the same name.
1512 * Asterisk's HTTP server now supports chunked Transfer-Encoding. This will be
1513 automatically handled by the HTTP server if a request is received with a
1514 Transfer-Encoding type of "chunked".
1518 * Path support has been added with the 'support_path' option in registration
1521 * A 'debug' option has been added to the globals section that will allow
1522 sip messages to be logged.
1524 * A 'set_var' option has been added to endpoints that will automatically
1525 set the desired variable(s) on a channel created for that endpoint.
1527 * Several new tables and columns have been added to the realtime schema for
1528 the res_pjsip related modules. See the UPGRADE.txt notes for updating
1529 the database schema.
1533 * A new module, res_mwi_external, has been added to Asterisk. This module
1534 acts as a base framework that other modules can build on top of to allow
1535 an external system to control MWI within Asterisk. For implementations
1536 that make use of res_mwi_external, see res_mwi_external_ami and
1537 res_ari_mailboxes. Note that res_mwi_external canflicts with other modules
1538 that may produce MWI themselves, such as app_voicemail. res_mwi_external
1539 and other modules that depend on it cannot be built or loaded with
1540 app_voicemail present.
1544 * DNS functionality will now automatically be enabled if the system configured
1545 nameservers can be retrieved. If the system configured nameservers can not be
1546 retrieved the functionality will resort to using system resolution. Functionalty
1547 such as SRV records and failover will not be available if system resolution
1550 ------------------------------------------------------------------------------
1551 --- Functionality changes from Asterisk 11 to Asterisk 12 --------------------
1552 ------------------------------------------------------------------------------
1557 Asterisk 12 is a standard release of the Asterisk project. As such, the
1558 focus of development for this release was on core architectural changes and
1559 major new features. This includes:
1560 * A more flexible bridging core based on the Bridging API
1561 * A new internal message bus, Stasis
1562 * Major standardization and consistency improvements to AMI
1563 * Addition of the Asterisk RESTful Interface (ARI)
1564 * A new SIP channel driver, chan_pjsip
1565 In addition, as the vast majority of bridging in Asterisk was migrated to the
1566 Bridging API used by ConfBridge, major changes were made to most of the
1567 interfaces in Asterisk. This includes not only AMI, but also CDRs and CEL.
1569 Specifications have been written for the affected interfaces. These
1570 specifications are available on the Asterisk wiki:
1571 * AMI - https://wiki.asterisk.org/wiki/x/dAFRAQ
1572 * CEL - https://wiki.asterisk.org/wiki/x/4ICLAQ
1573 * CDRs - https://wiki.asterisk.org/wiki/x/pwpRAQ
1575 It is *highly* recommended that anyone migrating to Asterisk 12 read the
1576 information regarding its release both in this file and in the accompanying
1577 UPGRADE.txt file. More detailed information on the major changes can be found
1578 on the Asterisk wiki at https://wiki.asterisk.org/wiki/x/0YCLAQ.
1583 * Added build option DISABLE_INLINE. This option can be used to work around a
1584 bug in gcc. For more information, see
1585 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47816
1587 * Removed the CHANNEL_TRACE development mode build option. Certain aspects of
1588 the CHANNEL_TRACE build option were incompatible with the new bridging
1591 * Asterisk now optionally uses libxslt to improve XML documentation generation
1592 and maintainability. If libxslt is not available on the system, some XML
1593 documentation will be incomplete.
1595 * Asterisk now depends on libjansson. If a package of libjansson is not
1596 available on your distro, please see http://www.digip.org/jansson/.
1598 * Asterisk now depends on libuuid and, optionally, uriparser. It is
1599 recommended that you install uriparser, even if it is optional.
1601 * The new SIP stack and channel driver uses a particular version of PJSIP.
1602 Please see https://wiki.asterisk.org/wiki/x/J4GLAQ for more information on
1603 configuring and installing PJSIP for usage with Asterisk.
1605 * Optional API was re-implemented to be more portable, and no longer requires
1606 weak reference support from the compiler. The build option OPTIONAL_API may
1607 be disabled to disable Optional API support.
1614 * Along with AgentRequest, this application has been modified to be a
1615 replacement for chan_agent. The act of a channel calling the AgentLogin
1616 application places the channel into a pool of agents that can be
1617 requested by the AgentRequest application. Note that this application, as
1618 well as all other agent related functionality, is now provided by the
1619 app_agent_pool module. See chan_agent and AgentRequest for more information.
1621 * This application no longer performs agent authentication. If authentication
1622 is desired, the dialplan needs to perform this function using the
1623 Authenticate or VMAuthenticate application or through an AGI script before
1626 * If this application is called and the agent is already logged in, the
1627 dialplan will continue exection with the AGENT_STATUS channel variable set
1628 to ALREADY_LOGGED_IN.
1630 * The agents.conf schema has changed. Rather than specifying agents on a
1631 single line in comma delineated fashion, each agent is defined in a separate
1632 context. This allows agents to use the power of context templates in their
1635 * A number of parameters from agents.conf have been removed. This includes
1636 maxloginretries, autologoffunavail, updatecdr, goodbye, group, recordformat,
1637 urlprefix, and savecallsin. These options were obsoleted by the move from
1638 a channel driver model to the bridging/application model provided by
1643 * A new application, this will request a logged in agent from the pool and
1644 bridge the requested channel with the channel calling this application.
1645 Logged in agents are those channels that called the AgentLogin application.
1646 If an agent cannot be requested from the pool, the AGENT_STATUS dialplan
1647 application will be set with an appropriate error value.
1649 AgentMonitorOutgoing
1651 * This application has been removed. It was a holdover from when
1652 AgentCallbackLogin was removed.
1656 * Added support for additional Ademco DTMF signalling formats, including
1657 Express 4+1, Express 4+2, High Speed and Super Fast.
1659 * Added channel variable ALARMRECEIVER_CALL_LIMIT. This sets the maximum
1660 call time, in milliseconds, to run the application.
1662 * Added channel variable ALARMRECEIVER_RETRIES_LIMIT. This sets the
1663 maximum number of times to retry the call.
1665 * Added a new configuration option answait. If set, the AlarmReceiver
1666 application will wait the number of milliseconds specified by answait
1667 after the channel has answered. Valid values range between 500
1668 milliseconds and 10000 milliseconds.
1670 * Added configuration option no_group_meta. If enabled, grouping of metadata
1671 information in the AlarmReceiver log file will be skipped.
1675 * It is now no longer possible to bypass updating the CDR on the channel
1676 when answering. CDRs reflect the state of the channel and will always
1677 reflect the time they were Answered.
1681 * A new application in Asterisk, this will place the calling channel
1682 into a holding bridge, optionally entertaining them with some form of
1683 media. Channels participating in a holding bridge do not interact with
1684 other channels in the same holding bridge. Optionally, however, a channel
1685 may join as an announcer. Any media passed from an announcer channel is
1686 played to all channels in the holding bridge. Channels leave a holding
1687 bridge either when an optional timer expires, or via the ChannelRedirect
1688 application or AMI Redirect action.
1692 * All participants in a bridge can now be kicked out of a conference room
1693 by specifying the channel parameter as 'all' in the ConfBridge kick CLI
1694 command, i.e., 'confbridge kick <conference> all'
1696 * CLI output for the 'confbridge list' command has been improved. When
1697 displaying information about a particular bridge, flags will now be shown
1698 for the participating users indicating properties of that user.
1700 * The ConfbridgeList event now contains the following fields: WaitMarked,
1701 EndMarked, and Waiting. This displays additional properties about the
1702 user's profile, as well as whether or not the user is waiting for a
1703 Marked user to enter the conference.
1705 * Added a new option for conference recording, record_file_append. If enabled,
1706 when the recording is stopped and then re-started, the existing recording
1707 will be used and appended to.
1709 * ConfBridge now has the ability to set the language of announcements to the
1710 conference. The language can be set on a bridge profile in confbridge.conf
1711 or by the dialplan function CONFBRIDGE(bridge,language)=en.
1715 * The channel variable CPLAYBACKSTATUS may now return the value
1716 'REMOTESTOPPED'. This occurs when playback is stopped by a remote interface,
1717 such as AMI. See the AMI action ControlPlayback for more information.
1721 * Added the 'a' option, which allows the caller to enter in an additional
1722 alias for the user in the directory. This option must be used in conjunction
1723 with the 'f', 'l', or 'b' options. Note that the alias for a user can be
1724 specified in voicemail.conf.
1728 * The output of DumpChan no longer includes the DirectBridge or IndirectBridge
1729 fields. Instead, if a channel is in a bridge, it includes a BridgeID field
1730 containing the unique ID of the bridge that the channel happens to be in.
1734 * ForkCDR no longer automatically resets the forked CDR. See the 'r' option
1735 for more information.
1737 * Variables are no longer purged from the original CDR. See the 'v' option for
1740 * The 'A' option has been removed. The Answer time on a CDR is never updated
1743 * The 'd' option has been removed. The disposition on a CDR is a function of
1744 the state of the channel and cannot be altered.
1746 * The 'D' option has been removed. Who the Party B is on a CDR is a function
1747 of the state of the respective channels involved in the CDR and cannot be
1750 * The 'r' option has been changed. Previously, ForkCDR always reset the CDR
1751 such that the start time and, if applicable, the answer time was updated.
1752 Now, by default, ForkCDR simply forks the CDR, maintaining any times. The
1753 'r' option now triggers the Reset, setting the start time (and answer time
1754 if applicable) to the current time. Note that the 'a' option still sets
1755 the answer time to the current time if the channel was already answered.
1757 * The 's' option has been removed. A variable can be set on the original CDR
1758 if desired using the CDR function, and removed from a forked CDR using the
1761 * The 'T' option has been removed. The concept of DONT_TOUCH and LOCKED no
1762 longer applies in the CDR engine.
1764 * The 'v' option now prevents the copy of the variables from the original CDR
1765 to the forked CDR. Previously the variables were always copied but were
1766 removed from the original. This was changed as removing variables from a CDR
1767 can have unintended side effects - this option allows the user to prevent
1768 propagation of variables from the original to the forked without modifying
1773 * Added the 'n' option to MeetMe to prevent application of the DENOISE
1774 function to a channel joining a conference. Some channel drivers that vary
1775 the number of audio samples in a voice frame will experience significant
1776 quality problems if a denoiser is attached to the channel; this option gives
1777 them the ability to remove the denoiser without having to unload func_speex.
1781 * The 'b' option now includes conferences as well as sounds played to the
1784 * The AUDIOHOOK_INHERIT function is no longer needed to keep a MixMonitor
1785 running during a transfer. If a MixMonitor is started on a channel,
1786 the MixMonitor will continue to record the audio passing through the
1787 channel even in the presence of transfers.
1791 * The NoCDR application is deprecated. Please use the CDR_PROP function to
1794 * While the NoCDR application will prevent CDRs for a channel from being
1795 propagated to registered CDR backends, it will not prevent that data from
1796 being collected. Hence, a subsequent call to ResetCDR or the CDR_PROP
1797 function that enables CDRs on a channel will restore those records that have
1798 not yet been finalized.
1802 * The app_parkandannounce module has been removed. The application
1803 ParkAndAnnounce is now provided by the res_parking module. See the
1804 res_parking changes for more information.
1808 * Added queue available hint. The hint can be added to the dialplan using the
1809 following syntax: exten,hint,Queue:{queue_name}_avail
1810 For example, if the name of the queue is 'markq':
1811 exten => 8501,hint,Queue:markq_avail
1812 This will report 'InUse' if there are no logged in agents or no free agents.
1813 It will report 'Idle' when an agent is free.
1815 * Queues now support a hint for member paused state. The hint uses the form
1816 'Queue:{queue_name}_pause_{member_name}', where {queue_name} and {member_name}
1817 are the name of the queue and the name of the member to subscribe to,
1818 respectively. For example: exten => 8501,hint,Queue:sales_pause_mark.
1819 Members will show as In Use when paused.
1821 * The configuration options eventwhencalled and eventmemberstatus have been
1822 removed. As a result, the AMI events QueueMemberStatus, AgentCalled,
1823 AgentConnect, AgentComplete, AgentDump, and AgentRingNoAnswer will always be
1824 sent. The "Variable" fields will also no longer exist on the Agent* events.
1825 These events can be filtered out from a connected AMI client using the
1826 eventfilter setting in manager.conf.
1828 * The queue log now differentiates between blind and attended transfers. A
1829 blind transfer will result in a BLINDTRANSFER message with the destination
1830 context and extension. An attended transfer will result in an
1831 ATTENDEDTRANSFER message. This message will indicate the method by which
1832 the attended transfer was completed: "BRIDGE" for a bridge merge, "APP"
1833 for running an application on a bridge or channel, or "LINK" for linking
1834 two bridges together with local channels. The queue log will also now detect
1835 externally initiated blind and attended transfers and record the transfer
1838 * When performing queue pause/unpause on an interface without specifying an
1839 individual queue, the PAUSEALL/UNPAUSEALL event will only be logged if at
1840 least one member of any queue exists for that interface.
1842 * Added the 'queue_log_realtime_use_gmt' option to have timestamps in GMT
1843 for realtime queue log entries.
1847 * The 'e' option has been deprecated. Use the CDR_PROP function to re-enable
1848 CDRs when they were previously disabled on a channel.
1850 * The 'w' and 'a' options have been removed. Dispatching CDRs to registered
1851 backends occurs on an as-needed basis in order to preserve linkedid
1852 propagation and other needed behavior.
1856 * A new application, this is similar to SayAlpha except that it supports
1857 case sensitive playback of the specified characters. For example,
1858 SayAlphaCase(u,aBc) will result in 'a uppercase b c'.
1862 * This application is deprecated in favor of CHANNEL(amaflags).
1866 * The SendDTMF application will now accept 'W' as valid input. This will cause
1867 the application to delay one second while streaming DTMF.
1871 * A new application in Asterisk 12, this hands control of the channel calling
1872 the application over to an external system. Currently, external systems
1873 manipulate channels in Stasis through the Asterisk RESTful Interface (ARI).
1877 * UserEvent will now handle duplicate keys by overwriting the previous value
1878 assigned to the key.
1880 * In addition to AMI, UserEvent invocations will now be distributed to any
1881 interested Stasis applications.
1885 * Mailboxes defined by app_voicemail MUST be referenced by the rest of the
1886 system as mailbox@context. The rest of the system cannot add @default
1887 to mailbox identifiers for app_voicemail that do not specify a context
1888 any longer. It is a mailbox identifier format that should only be
1889 interpreted by app_voicemail.
1891 * The voicemail.conf configuration file now has an 'alias' configuration
1892 parameter for use with the Directory application. The voicemail realtime
1893 database table schema has also been updated with an 'alias' column.
1898 * Pass through support has been added for both VP8 and Opus.
1900 * Added format attribute negotiation for the Opus codec. Format attribute
1901 negotiation is provided by the res_format_attr_opus module.
1906 * Masquerades as an operation inside Asterisk have been effectively hidden
1907 by the migration to the Bridging API. As such, many 'quirks' of Asterisk
1908 no longer occur. This includes renaming of channels, "<ZOMBIE>" channels,
1909 dropping of frame/audio hooks, and other internal implementation details
1910 that users had to deal with. This fundamental change has large implications
1911 throughout the changes documented for this version. For more information
1912 about the new core architecture of Asterisk, please see the Asterisk wiki.
1914 * Multiple parties in a bridge may now be transferred. If a participant in a
1915 multi-party bridge initiates a blind transfer, a Local channel will be used
1916 to execute the dialplan location that the transferer sent the parties to. If
1917 a participant in a multi-party bridge initiates an attended transfer,
1918 several options are possible. If the attended transfer results in a transfer
1919 to an application, a Local channel is used. If the attended transfer results
1920 in a transfer to another channel, the resulting channels will be merged into
1923 * The channel variable ATTENDED_TRANSFER_COMPLETE_SOUND is no longer channel
1924 driver specific. If the channel variable is set on the transferrer channel,
1925 the sound will be played to the target of an attended transfer.
1927 * The channel variable BRIDGEPEER becomes a comma separated list of peers in
1928 a multi-party bridge. The BRIDGEPEER value can have a maximum of 10 peers
1929 listed. Any more peers in the bridge will not be included in the list.
1930 BRIDGEPEER is not valid in holding bridges like parking since those channels
1931 do not talk to each other even though they are in a bridge.
1933 * The channel variable BRIDGEPVTCALLID is only valid for two party bridges
1934 and will contain a value if the BRIDGEPEER's channel driver supports it.
1936 * A channel variable ATTENDEDTRANSFER is now set which indicates which channel
1937 was responsible for an attended transfer in a similar fashion to
1940 * Modules using the Configuration Framework or Sorcery must have XML
1941 configuration documentation. This configuration documentation is included
1942 with the rest of Asterisk's XML documentation, and is accessible via CLI
1943 commands. See the CLI changes for more information.
1945 AMI (Asterisk Manager Interface)
1947 * Major changes were made to both the syntax as well as the semantics of the
1948 AMI protocol. In particular, AMI events have been substantially improved
1949 in this version of Asterisk. For more information, please see the AMI
1950 specification at https://wiki.asterisk.org/wiki/x/dAFRAQ
1952 * AMI events that reference a particular channel or bridge will now always
1953 contain a standard set of fields. When multiple channels or bridges are
1954 referenced in an event, fields for at least some subset of the channels
1955 and bridges in the event will be prefixed with a descriptive name to avoid
1956 name collisions. See the AMI event documentation on the Asterisk wiki for
1959 * The CLI command 'manager show commands' no longer truncates command names
1960 longer than 15 characters and no longer shows authorization requirement
1961 for commands. 'manager show command' now displays the privileges needed
1962 for using a given manager command instead.
1964 * The SIPshowpeer action will now include a 'SubscribeContext' field for a
1965 peer in its response if the peer has a subscribe context set.
1967 * The SIPqualifypeer action now acknowledges the request once it has
1968 established that the request is against a known peer. It also issues a new
1969 event, 'SIPQualifyPeerDone', once the qualify action has been completed.
1971 * The PlayDTMF action now supports an optional 'Duration' parameter. This
1972 specifies the duration of the digit to be played, in milliseconds.
1974 * Added VoicemailRefresh action to allow an external entity to trigger mailbox
1975 updates when changes occur instead of requiring the use of pollmailboxes.
1977 * Added a new action 'ControlPlayback'. The ControlPlayback action allows an
1978 AMI client to manipulate audio currently being played back on a channel. The
1979 supported operations depend on the application being used to send audio to
1980 the channel. When the audio playback was initiated using the ControlPlayback
1981 application or CONTROL STREAM FILE AGI command, the audio can be paused,
1982 stopped, restarted, reversed, or skipped forward. When initiated by other
1983 mechanisms (such as the Playback application), the audio can be stopped,
1984 reversed, or skipped forward.
1986 * Channel related events now contain a snapshot of channel state, adding new
1987 fields to many of these events.
1989 * The AMI event 'Newexten' field 'Extension' is deprecated, and may be removed
1990 in a future release. Please use the common 'Exten' field instead.
1992 * The AMI event 'UserEvent' from app_userevent now contains the channel state
1993 fields. The channel state fields will come before the body fields.
1995 * The AMI events 'ParkedCall', 'ParkedCallTimeOut', 'ParkedCallGiveUp', and
1996 'UnParkedCall' have changed significantly in the new res_parking module.
1998 The 'Channel' and 'From' headers are gone. For the channel that was parked
1999 or is coming out of parking, a 'Parkee' channel snapshot is issued and it
2000 has a number of fields associated with it. The old 'Channel' header relayed
2001 the same data as the new 'ParkeeChannel' header.
2003 The 'From' field was ambiguous and changed meaning depending on the event.
2004 for most of these, it was the name of the channel that parked the call
2005 (the 'Parker'). There is no longer a header that provides this channel name,
2006 however the 'ParkerDialString' will contain a dialstring to redial the
2007 device that parked the call.
2009 On UnParkedCall events, the 'From' header would instead represent the
2010 channel responsible for retrieving the parkee. It receives a channel
2011 snapshot labeled 'Retriever'. The 'from' field is is replaced with
2014 Lastly, the 'Exten' field has been replaced with 'ParkingSpace'.
2016 * The AMI event 'Parkinglot' (response to 'Parkinglots' command) in a similar
2017 fashion has changed the field names 'StartExten' and 'StopExten' to
2018 'StartSpace' and 'StopSpace' respectively.
2020 * The deprecated use of | (pipe) as a separator in the channelvars setting in
2021 manager.conf has been removed.
2023 * Channel Variables conveyed with a channel no longer contain the name of the
2024 channel as part of the key field, i.e., ChanVariable(SIP/foo): bar=baz is now
2025 ChanVariable: bar=baz. When multiple channels are present in a single AMI
2026 event, the various ChanVariable fields will contain a suffix that specifies
2027 which channel they correspond to.
2029 * The NewPeerAccount AMI event is no longer raised. The NewAccountCode AMI
2030 event always conveys the AMI event for a particular channel.
2032 * All 'Reload' events have been consolidated into a single event type. This
2033 event will always contain a Module field specifying the name of the module
2034 and a Status field denoting the result of the reload. All modules now issue
2035 this event when being reloaded.
2037 * The 'ModuleLoadReport' event has been removed. Most AMI connections would
2038 fail to receive this event due to being connected after modules have loaded.
2039 AMI connections that want to know when Asterisk is ready should listen for
2040 the 'FullyBooted' event.
2042 * app_fax now sends the same send fax/receive fax events as res_fax. The
2043 'FaxSent' event is now the 'SendFAX' event, and the 'FaxReceived' event is
2044 now the 'ReceiveFAX' event.
2046 * The 'MusicOnHold' event is now two events: 'MusicOnHoldStart' and
2047 'MusicOnHoldStop'. The sub type field has been removed.
2049 * The 'JabberEvent' event has been removed. It is not AMI's purpose to be a
2050 carrier for another protocol.
2052 * The Bridge Manager action's 'Playtone' header now accepts more fine-grained
2053 options. 'Channel1' and 'Channel2' may be specified in order to play a tone
2054 to the specific channel. 'Both' may be specified to play a tone to both
2055 channels. The old 'yes' option is still accepted as a way of playing the
2056 tone to Channel2 only.
2058 * The AMI 'Status' response event to the AMI Status action replaces the
2059 'BridgedChannel' and 'BridgedUniqueid' headers with the 'BridgeID' header to
2060 indicate what bridge the channel is currently in.
2062 * The AMI 'Hold' event has been moved out of individual channel drivers, into
2063 core, and is now two events: 'Hold' and 'Unhold'. The status field has been
2066 * The AMI events in app_queue have been made more consistent with each other.
2067 Events that reference channels (QueueCaller* and Agent*) will show
2068 information about each channel. The (infamous) 'Join' and 'Leave' AMI
2069 events have been changed to 'QueueCallerJoin' and 'QueueCallerLeave'.
2071 * The 'MCID' AMI event now publishes a channel snapshot when available and
2072 its non-channel-snapshot parameters now use either the "MCallerID" or
2073 'MConnectedID' prefixes with Subaddr*, Name*, and Num* suffixes instead
2074 of 'CallerID' and 'ConnectedID' to avoid confusion with similarly named
2075 parameters in the channel snapshot.
2077 * The AMI events 'Agentlogin' and 'Agentlogoff' have been renamed
2078 'AgentLogin' and 'AgentLogoff' respectively.
2080 * The 'Channel' key used in the 'AlarmClear', 'Alarm', and 'DNDState' has been
2081 renamed "DAHDIChannel" since it does not convey an Asterisk channel name.
2083 * 'ChannelUpdate' events have been removed.
2085 * All AMI events now contain a 'SystemName' field, if available.
2087 * Local channel optimization is now conveyed in two events:
2088 'LocalOptimizationBegin' and 'LocalOptimizationEnd'. The Begin event is sent
2089 when the Local channel driver begins attempting to optimize itself out of
2090 the media path; the End event is sent after the channel halves have
2091 successfully optimized themselves out of the media path.
2093 * Local channel information in events is now prefixed with 'LocalOne' and
2094 'LocalTwo'. This replaces the suffix of '1' and '2' for the two halves of
2095 the Local channel. This affects the 'LocalBridge', 'LocalOptimizationBegin',
2096 and 'LocalOptimizationEnd' events.
2098 * The option 'allowmultiplelogin' can now be set or overriden in a particular
2099 account. When set in the general context, it will act as the default
2100 setting for defined accounts.
2102 * The 'BridgeAction' event was removed. It technically added no value, as the
2103 Bridge Action already receives confirmation of the bridge through a
2104 successful completion Event.
2106 * The 'BridgeExec' events were removed. These events duplicated the events that
2107 occur in the Briding API, and are conveyed now through BridgeCreate,
2108 BridgeEnter, and BridgeLeave events.
2110 * The 'RTCPSent'/'RTCPReceived' events have been significantly modified from
2111 previous versions. They now report all SR/RR packets sent/received, and
2112 have been restructured to better reflect the data sent in a SR/RR. In
2113 particular, the event structure now supports multiple report blocks.
2115 * Added 'BlindTransfer' and 'AttendedTransfer' events. These events are
2116 raised when a blind transfer/attended transfer completes successfully.
2117 They contain information about the transfer that just completed, including
2118 the location of the transfered channel.
2120 * Added a 'security' class to AMI which outputs the required fields for
2121 security messages similar to the log messages from res_security_log
2123 * The AMI event 'ExtensionStatus' now contains a 'StatusText' field
2124 that describes the status value in a human readable string.
2126 CDR (Call Detail Records)
2128 * Significant changes have been made to the behavior of CDRs. The CDR engine
2129 was effectively rewritten and built on the Stasis message bus. For a full
2130 definition of CDR behavior in Asterisk 12, please read the specification
2131 on the Asterisk wiki (wiki.asterisk.org).
2133 * CDRs will now be created between all participants in a bridge. For each
2134 pair of channels in a bridge, a CDR is created to represent the path of
2135 communication between those two endpoints. This lets an end user choose who
2136 to bill for what during bridge operations with multiple parties.
2138 * The duration, billsec, start, answer, and end times now reflect the times
2139 associated with the current CDR for the channel, as opposed to a cumulative
2140 measurement of all CDRs for that channel.
2142 * When a CDR is dispatched, user defined CDR variables from both parties are
2143 included in the resulting CDR. If both parties have the same variable, only
2144 the Party A value is provided.
2146 * Added a new option to cdr.conf, 'debug'. When enabled, significantly more
2147 information regarding the CDR engine is logged as verbose messages. This
2148 option should only be used if the behavior of the CDR engine needs to be
2151 * Added CLI command 'cdr set debug {on|off}'. This toggles the 'debug' setting
2152 normally configured in cdr.conf.
2154 * Added CLI command 'cdr show active {channel}'. When {channel} is not
2155 specified, this command provides a summary of the channels with CDR
2156 information and their statistics. When {channel} is specified, it shows
2157 detailed information about all records associated with {channel}.
2159 CEL (Channel Event Logging)
2161 * CEL has undergone significant rework in Asterisk 12, and is now built on the
2162 Stasis message bus. Please see the specification for CEL on the Asterisk
2163 wiki at https://wiki.asterisk.org/wiki/x/4ICLAQ for more detailed
2166 * The 'extra' field of all CEL events that use it now consists of a JSON blob
2167 with key/value pairs which are defined in the Asterisk 12 CEL documentation.
2169 * BLINDTRANSFER events now report the transferee bridge unique
2170 identifier, extension, and context in a JSON blob as the extra string
2171 instead of the transferee channel name as the peer.
2173 * ATTENDEDTRANSFER events now report the peer as NULL and additional
2174 information in the 'extra' string as a JSON blob. For transfers that occur
2175 between two bridged channels, the 'extra' JSON blob contains the primary
2176 bridge unique identifier, the secondary channel name, and the secondary
2177 bridge unique identifier. For transfers that occur between a bridged channel
2178 and a channel running an app, the 'extra' JSON blob contains the primary
2179 bridge unique identifier, the secondary channel name, and the app name.
2181 * LOCAL_OPTIMIZE events have been added to convey local channel
2182 optimizations with the record occurring for the semi-one channel and
2183 the semi-two channel name in the peer field.
2185 * BRIDGE_START, BRIDGE_END, BRIDGE_UPDATE, 3WAY_START, 3WAY_END, CONF_ENTER,
2186 CONF_EXIT, CONF_START, and CONF_END events have all been removed. These
2187 events have been replaced by BRIDGE_ENTER/BRIDGE_EXIT. The BRIDGE_ENTER
2188 and BRIDGE_EXIT events are raised when a channel enters/exits any bridge,
2189 regardless of whether or not that bridge happens to contain multiple
2194 * When compiled with '--enable-dev-mode', the astobj2 library will now add
2195 several CLI commands that allow for inspection of ao2 containers that
2196 register themselves with astobj2. The CLI commands are 'astobj2 container
2197 dump', 'astobj2 container stats', and 'astobj2 container check'.
2199 * Added specific CLI commands for bridge inspection. This includes 'bridge
2200 show all', which lists all bridges in the system, and 'bridge show {id}',
2201 which provides specific information about a bridge.
2203 * Added CLI command 'bridge destroy'. This will destroy the specified bridge,
2204 ejecting the channels currently in the bridge. If the channels cannot
2205 continue in the dialplan or application that put them in the bridge, they
2208 * Added command 'bridge kick'. This will eject a single channel from a bridge.
2210 * Added commands to inspect and manipulate the registered bridge technologies.
2211 This include 'bridge technology show', which lists the registered bridge
2212 technologies, as well as 'bridge technology {suspend|unsuspend} {tech}',
2213 which controls whether or not a registered bridge technology can be used
2214 during smart bridge operations. If a technology is suspended, it will not
2215 be used when a bridge technology is picked for channels; when unsuspended,
2216 it can be used again.
2218 * The command 'config show help {module} {type} {option}' will show
2219 configuration documentation for modules with XML configuration
2220 documentation. When {module}, {type}, and {option} are omitted, a listing
2221 of all modules with registered documentation is displayed. When {module}
2222 is specified, a listing of all configuration types for that module is
2223 displayed, along with their synopsis. When {module} and {type} are
2224 specified, a listing of all configuration options for that type are
2225 displayed along with their synopsis. When {module}, {type}, and {option}
2226 are specified, detailed information for that configuration option is
2229 * Added 'core show sounds' and 'core show sound' CLI commands. These display
2230 a listing of all installed media sounds available on the system and
2231 detailed information about a sound, respectively.
2233 * 'xmldoc dump' has been added. This CLI command will dump the XML
2234 documentation DOM as a string to the specified file. The Asterisk core
2235 will populate certain XML elements pulled from the source files with
2236 additional run-time information; this command lets a user produce the
2237 XML documentation with all information.
2241 * Parking has been pulled from core and placed into a separate module called
2242 res_parking. See Parking changes below for more details. Configuration for
2243 parking should now be performed in res_parking.conf. Configuration for
2244 parking in features.conf is now unsupported.
2246 * Core attended transfers now have several new options. While performing an
2247 attended transfer, the transferer now has the following options:
2248 - *1 - cancel the attended transfer (configurable via atxferabort)
2249 - *2 - complete the attended transfer, dropping out of the call
2250 (configurable via atxfercomplete)
2251 - *3 - complete the attended transfer, but stay in the call. This will turn
2252 the call into a multi-party bridge (configurable via atxferthreeway)
2253 - *4 - swap to the other party. Once an attended transfer has begun, this
2254 options may be used multiple times (configurable via atxferswap)
2256 * For DTMF blind and attended transfers, the channel variable TRANSFER_CONTEXT
2257 must be on the channel initiating the transfer to have any effect.
2259 * The BRIDGE_FEATURES channel variable would previously only set features for
2260 the calling party and would set this feature regardless of whether the
2261 feature was in caps or in lowercase. Use of a caps feature for a letter
2262 will now apply the feature to the calling party while use of a lowercase
2263 letter will apply that feature to the called party.
2265 * Add support for automixmon to the BRIDGE_FEATURES channel variable.
2267 * The channel variable DYNAMIC_PEERNAME is redundant with BRIDGEPEER and is
2268 removed. The more useful DYNAMIC_WHO_ACTIVATED gives the channel name that
2269 activated the dynamic feature.
2271 * The channel variables DYNAMIC_FEATURENAME and DYNAMIC_WHO_ACTIVATED are set
2272 only on the channel executing the dynamic feature. Executing a dynamic
2273 feature on the bridge peer in a multi-party bridge will execute it on all
2274 peers of the activating channel.
2276 * You can now have the settings for a channel updated using the FEATURE()
2277 and FEATUREMAP() functions inherited to child channels by setting
2278 FEATURE(inherit)=yes.
2280 * automixmon now supports additional channel variables from automon including:
2281 TOUCH_MIXMONITOR_PREFIX, TOUCH_MIXMONITOR_MESSAGE_START,
2282 and TOUCH_MIXMONITOR_MESSAGE_STOP
2284 * A new general features.conf option 'recordingfailsound' has been added which
2285 allowssetting a failure sound for a user tries to invoke a recording feature
2286 such as automon or automixmon and it fails.
2288 * It is no longer necessary (or possible) to define the ATXFER_NULL_TECH in
2289 features.c for atxferdropcall=no to work properly. This option now just
2294 * Added log rotation strategy 'none'. If set, no log rotation strategy will
2295 be used. Given that this can cause the Asterisk log files to grow quickly,
2296 this option should only be used if an external mechanism for log management
2301 * Dynamic realtime tables for SIP Users can now include a 'path' field. This
2302 will store the path information for that peer when it registers. Realtime
2303 tables can also use the 'supportpath' field to enable Path header support.
2305 * LDAP realtime configurations for SIP Users now have the AstAccountPathSupport
2306 objectIdentifier. This maps to the supportpath option in sip.conf.
2310 * Sorcery is a new data abstraction and object persistence API in Asterisk. It
2311 provides modules a useful abstraction on top of the many storage mechanisms
2312 in Asterisk, including the Asterisk Database, static configuration files,
2313 static Realtime, and dynamic Realtime. It also provides a caching service.
2314 Users can configure a hierarchy of data storage layers for specific modules
2317 * All future modules which utilize Sorcery for object persistence must have a
2318 column named "id" within their schema when using the Sorcery realtime module.
2319 This column must be able to contain a string of up to 128 characters in length.
2321 Security Events Framework
2323 * Security Event timestamps now use ISO 8601 formatted date/time instead of
2324 the "seconds-microseconds" format that it was using previously.
2328 * The Stasis message bus is a publish/subscribe message bus internal to
2329 Asterisk. Many services in Asterisk are built on the Stasis message bus,
2330 including AMI, ARI, CDRs, and CEL. Parameters controlling the operation of
2331 Stasis can be configured in stasis.conf. Note that these parameters operate
2332 at a very low level in Asterisk, and generally will not require changes.
2336 * When a channel driver is configured to enable jiterbuffers, they are now
2337 applied unconditionally when a channel joins a bridge. If a jitterbuffer
2338 is already set for that channel when it enters, such as by the JITTERBUFFER
2339 function, then the existing jitterbuffer will be used and the one set by
2340 the channel driver will not be applied.
2344 * chan_agent has been removed and replaced with AgentLogin and AgentRequest
2345 dialplan applications provided by the app_agent_pool module. Agents are
2346 connected with callers using the new AgentRequest dialplan application.
2347 The Agents:<agent-id> device state is available to monitor the status of an
2348 agent. See agents.conf.sample for valid configuration options.
2350 * The updatecdr option has been removed. Altering the names of channels on a
2351 CDR is not supported - the name of the channel is the name of the channel,
2352 and pretending otherwise helps no one. The AGENTUPDATECDR channel variable
2353 has also been removed, for the same reason.
2355 * The endcall and enddtmf configuration options are removed. Use the
2356 dialplan function CHANNEL(dtmf-features) to set DTMF features on the agent
2357 channel before calling AgentLogin.
2361 * chan_bridge has been removed. Its functionality has been incorporated
2362 directly into the ConfBridge application itself.
2366 * Added the CLI command 'pri destroy span'. This will destroy the D-channel
2367 of the specified span and its B-channels. Note that this command should
2368 only be used if you understand the risks it entails.
2370 * The CLI command 'dahdi destroy channel' is now 'dahdi destroy channels'.
2371 A range of channels can be specified to be destroyed. Note that this command
2372 should only be used if you understand the risks it entails.
2374 * Added the CLI command 'dahdi create channels'. A range of channels can be
2375 specified to be created, or the keyword 'new' can be used to add channels
2378 * The script specified by the chan_dahdi.conf mwimonitornotify option now gets
2379 the exact configured mailbox name. For app_voicemail mailboxes this is
2382 * Added mwi_vm_boxes that also must be configured for ISDN MWI to be enabled.
2386 * IPv6 support has been added. We are now able to bind to and
2387 communicate using IPv6 addresses.
2391 * The /b option has been removed.
2393 * chan_local moved into the system core and is no longer a loadable module.
2397 * Added general support for busy detection.
2399 * Added ECAM command support for Sony Ericsson phones.
2403 * A new SIP channel driver for Asterisk, chan_pjsip is built on the PJSIP
2404 SIP stack. A collection of resource modules provides the bulk of the SIP
2405 functionality. For more information on the new SIP channel driver, see
2406 https://wiki.asterisk.org/wiki/x/JYGLAQ
2410 * Added support for RFC 3327 "Path" headers. This can be enabled in sip.conf
2411 using the 'supportpath' setting, either on a global basis or on a peer basis.
2412 This setting enables Asterisk to route outgoing out-of-dialog requests via a
2413 set of proxies by using a pre-loaded route-set defined by the Path headers in
2414 the REGISTER request. See Realtime updates for more configuration information.
2416 * The SIP_CODEC family of variables may now specify more than one codec. Each
2417 codec must be separated by a comma. The first codec specified is the
2418 preferred codec for the offer. This allows a dialplan writer to specify both
2419 audio and video codecs, e.g., Set(SIP_CODEC=ulaw,h264)
2421 * The 'callevents' parameter has been removed. Hold AMI events are now raised
2422 in the core, and can be filtered out using the 'eventfilter' parameter
2425 * Added 'ignore_requested_pref'. When enabled, this will use the preferred
2426 codecs configured for a peer instead of the requested codec.
2428 * The option "register_retry_403" has been added to chan_sip to work around
2429 servers that are known to erroneously send 403 in response to valid
2430 REGISTER requests and allows Asterisk to continue attepmting to connect.
2434 * Added the 'immeddialkey' parameter. If set, when the user presses the
2435 configured key the already entered number will be immediately dialed. This
2436 is useful when the dialplan allows for variable length pattern matching.
2437 Valid options are '*' and '#'.
2439 * Added the 'callfwdtimeout' parameter. This configures the amount of time (in
2440 milliseconds) before a call forward is considered to not be answered.
2442 * The 'serviceurl' parameter allows Service URLs to be attached to line
2451 * The password option has been disabled, as the AgentLogin application no
2452 longer provides authentication.
2456 * Due to changes in the Asterisk core, this function is no longer needed to
2457 preserve a MixMonitor on a channel during transfer operations and dialplan
2458 execution. It is effectively obsolete.
2462 * The 'amaflags' and 'accountcode' attributes for the CDR function are
2463 deprecated. Use the CHANNEL function instead to access these attributes.
2465 * The 'l' option has been removed. When reading a CDR attribute, the most
2466 recent record is always used. When writing a CDR attribute, all non-finalized
2469 * The 'r' option has been removed, for the same reason as the 'l' option.
2471 * The 's' option has been removed, as LOCKED semantics no longer exist in the
2476 * A new function CDR_PROP has been added. This function lets you set properties
2477 on a channel's active CDRs. This function is write-only. Properties accept
2478 boolean values to set/clear them on the channel's CDRs. Valid properties
2480 - 'party_a' - make this channel the preferred Party A in any CDR between two
2481 channels. If two channels have this property set, the creation time of the
2482 channel is used to determine who is Party A. Note that dialed channels are
2483 never Party A in a CDR.
2484 - 'disable' - disable CDRs on this channel. This is analogous to the NoCDR
2485 application when set to True, and analogous to the 'e' option in ResetCDR
2490 * Added the argument 'dtmf_features'. This sets the DTMF features that will be
2491 enabled on a channel when it enters a bridge. Allowed values are 'T', 'K',
2492 'H', 'W', and 'X', and are analogous to the parameters passed to the Dial
2495 * Added the argument 'after_bridge_goto'. This can be set to a parseable Goto
2496 string, i.e., [[context],extension],priority. If set on a channel, if a
2497 channel leaves a bridge but is not hung up it will resume dialplan execution
2502 * JITTERBUFFER now accepts an argument of 'disabled' which can be used
2503 to remove jitterbuffers previously set on a channel with JITTERBUFFER.
2504 The value of this setting is ignored when disabled is used for the argument.
2508 * A new function provided by chan_pjsip, this function can be used in
2509 conjunction with the Dial application to construct a dial string that will
2510 dial all contacts on an Address of Record associated with a chan_pjsip
2515 * Provided by chan_pjsip, this function sets the codecs to be offerred on the
2516 outbound channel prior to dialing.
2520 * Redirecting reasons can now be set to arbitrary strings. This means
2521 that the REDIRECTING dialplan function can be used to set the redirecting
2522 reason to any string. It also allows for custom strings to be read as the
2523 redirecting reason from SIP Diversion headers.
2527 * The SPEECH_ENGINE function now supports read operations. When read from, it
2528 will return the current value of the requested attribute.
2532 * Mailboxes defined by app_voicemail MUST be referenced by the rest of the
2533 system as mailbox@context. The rest of the system cannot add @default
2534 to mailbox identifiers for app_voicemail that do not specify a context
2535 any longer. It is a mailbox identifier format that should only be
2536 interpreted by app_voicemail.
2542 res_agi (Asterisk Gateway Interface)
2544 * The manager event AGIExec has been split into AGIExecStart and AGIExecEnd.
2546 * The manager event AsyncAGI has been split into AsyncAGIStart, AsyncAGIExec,
2549 * The CONTROL STREAM FILE command now accepts an offsetms parameter. This
2550 will start the playback of the audio at the position specified. It will
2551 also return the final position of the file in 'endpos'.
2553 * The CONTROL STREAM FILE command will now populate the CPLAYBACKSTATUS
2554 channel variable if the user stopped the file playback or if a remote
2555 entity stopped the playback. If neither stopped the playback, it will
2556 indicate the overall success/failure of the playback. If stopped early,
2557 the final offset of the file will be set in the CPLAYBACKOFFSET channel
2560 * The SAY ALPHA command now accepts an additional parameter to control
2561 whether it specifies the case of uppercase, lowercase, or all letters to
2562 provide functionality similar to SayAlphaCase.
2564 res_ari (Asterisk RESTful Interface) (and others)
2566 * The Asterisk RESTful Interface (ARI) provides a mechanism to expose and
2567 control telephony primitives in Asterisk by remote client. This includes
2568 channels, bridges, endpoints, media, and other fundamental concepts. Users
2569 of ARI can develop their own communications applications, controlling
2570 multiple channels using an HTTP RESTful interface and receiving JSON events
2571 about the objects via a WebSocket connection. ARI can be configured in
2572 Asterisk via ari.conf. For more information on ARI, see
2573 https://wiki.asterisk.org/wiki/x/0YCLAQ
2577 * Parking has been extracted from the Asterisk core as a loadable module,
2578 res_parking. Configuration for parking is now provided by res_parking.conf.
2579 Configuration through features.conf is no longer supported.
2581 * res_parking uses the configuration framework. If an invalid configuration is
2582 supplied, res_parking will fail to load or fail to reload. Previously,
2583 invalid configurations would generally be accepted, with certain errors
2584 resulting in individually disabled parking lots.
2586 * Parked calls are now placed in bridges. While this is largely an
2587 architectural change, it does have implications on how channels in a parking
2588 lot are viewed. For example, commands that display channels in bridges will
2589 now also display the channels in a parking lot.
2591 * The order of arguments for the new parking applications have been modified.
2592 Timeout and return context/exten/priority are now implemented as options,
2593 while the name of the parking lot is now the first parameter. See the
2594 application documentation for Park, ParkedCall, and ParkAndAnnounce for more
2595 in-depth information as well as syntax.
2597 * Extensions are by default no longer automatically created in the dialplan to
2598 park calls or pickup parked calls. Generation of dialplan extensions can be
2599 enabled using the 'parkext' configuration option.
2601 * ADSI functionality for parking is no longer supported. The 'adsipark'
2602 configuration option has been removed as a result.
2604 * The PARKINGSLOT channel variable has been deprecated in favor of
2605 PARKING_SPACE to match the naming scheme of the new system.
2607 * PARKING_SPACE and PARKEDLOT channel variables will now be set for a parked
2608 channel even when the configuration option 'comebactoorigin' is enabled.
2610 * A new CLI command 'parking show' has been added. This allows a user to
2611 inspect the parking lots that are currently in use.
2612 'parking show <parkinglot>' will also show the parked calls in a specific
2615 * The CLI command 'parkedcalls' is now deprecated in favor of
2616 'parking show <parkinglot>'.
2618 * The AMI command 'ParkedCalls' will now accept a 'ParkingLot' argument which
2619 can be used to get a list of parked calls for a specific parking lot.
2621 * The AMI command 'Park' field 'Channel2' has been deprecated and replaced
2622 with 'TimeoutChannel'. If both 'Channel2' and 'TimeoutChannel' are
2623 specified, 'TimeoutChannel' will be used. The field 'TimeoutChannel' is no
2624 longer a required argument.
2626 * The ParkAndAnnounce application is now provided through res_parking instead
2627 of through the separate app_parkandannounce module.
2629 * ParkAndAnnounce will no longer go to the next position in dialplan on timeout
2630 by default. Instead, it will follow the timeout rules of the parking lot. The
2631 old behavior can be reproduced by using the 'c' option.
2633 * Dynamic parking lots will now fail to be created under the following
2635 - if the parking lot specified by PARKINGDYNAMIC does not exist
2636 - if they require exclusive park and parkedcall extensions which overlap
2637 with existing parking lots.
2639 * Dynamic parking lots will be cleared on reload for dynamic parking lots that
2640 currently contain no calls. Dynamic parking lots containing parked calls
2641 will persist through the reloads without alteration.
2643 * If 'parkext_exclusive' is set for a parking lot and that extension is
2644 already in use when that parking lot tries to register it, this is now
2645 considered a parking system configuration error. Configurations which do
2646 this will be rejected.
2648 * Added channel variable PARKER_FLAT. This contains the name of the extension
2649 that would be used if 'comebacktoorigin' is enabled. This can be useful when
2650 comebacktoorigin is disabled, but the dialplan or an external control
2651 mechanism wants to use the extension in the park-dial context that was
2652 generated to re-dial the parker on timeout.
2654 res_pjsip (and many others)
2656 * A large number of resource modules make up the SIP stack based on pjsip.
2657 The chan_pjsip channel driver users these resource modules to provide
2658 various SIP functionality in Asterisk. The majority of configuration for
2659 these modules is performed in pjsip.conf. Other modules may use their
2660 own configuration files.
2662 * Added 'set_var' option for an endpoint. For each variable specified that
2663 variable gets set upon creation of a channel involving the endpoint.
2667 * ICE/STUN/TURN support in res_rtp_asterisk has been made optional. To enable
2668 them, an Asterisk-specific version of PJSIP needs to be installed.
2669 Tarballs are available from https://github.com/asterisk/pjproject/tags/.
2671 res_statsd/res_chan_stats
2673 * A new resource module, res_statsd, has been added, which acts as a statsd
2674 client. This module allows Asterisk to publish statistics to a statsd
2675 server. In conjunction with res_chan_stats, it will publish statistics about
2676 channels to the statsd server. It can be configured via res_statsd.conf.
2680 * Device state for XMPP buddies is now available using the following format:
2681 XMPP/<client name>/<buddy address>
2682 If any resource is available the device state is considered to be not in use.
2683 If no resources exist or all are unavailable the device state is considered
2690 Realtime/Database Scripts
2692 * Asterisk previously included example db schemas in the contrib/realtime/
2693 directory of the source tree. This has been replaced by a set of database
2694 migrations using the Alembic framework. This allows you to use alembic to
2695 initialize the database for you. It will also serve as a database migration
2696 tool when upgrading Asterisk in the future.
2698 See contrib/ast-db-manage/README.md for more details.
2702 * A new script has been added in the contrib/scripts/sip_to_res_pjsip folder.
2703 This python script will convert an existing sip.conf file to a
2704 pjsip.conf file, for use with the chan_pjsip channel driver. This script
2705 is meant to be an aid in converting an existing chan_sip configuration to
2706 a chan_pjsip configuration, but it is expected that configuration beyond
2707 what the script provides will be needed.
2709 ------------------------------------------------------------------------------
2710 --- Functionality changes from Asterisk 10 to Asterisk 11 --------------------
2711 ------------------------------------------------------------------------------
2715 * The Asterisk build system will now build and install a shared library
2716 (libasteriskssl.so) used to wrap various initialization and shutdown functions
2717 from the libssl and libcrypto libraries provided by OpenSSL. This is done so
2718 that Asterisk can ensure that these functions do *not* get called by any
2719 modules that are loaded into Asterisk, since they should only be called once
2720 in any single process. If desired, this feature can be disabled by supplying
2721 the "--disable-asteriskssl" option to the configure script.
2723 * A new make target, 'full', has been added to the Makefile. This performs
2724 the same compilation actions as make all, but will also scan the entirety of
2725 each source file for documentation. This option is needed to generate AMI
2726 event documentation. Note that your system must have Python in order for
2727 this make target to succeed.
2729 * The optimization portion of the build system has been reworked to avoid
2730 broken builds on certain architectures. All architecture-specific
2731 optimization has been removed in favor of using -march=native to allow gcc
2732 to detect the environment in which it is running when possible. This can
2733 be toggled as BUILD_NATIVE under "Compiler Flags" in menuselect.
2735 * BUILD_CFLAGS and BUILD_LDFLAGS can now be passed to menuselect, e.g.,
2736 make BUILD_CFLAGS="whatever" BUILD_LDFLAGS="whatever"
2738 * Remove "asterisk/version.h" in favor of "asterisk/ast_version.h". If you
2739 previously parsed the header file to obtain the version of Asterisk, you
2740 will now have to go through Asterisk to get the version information.
2748 * Added 'F()' option. Similar to the dial option, this can be supplied with
2749 arguments indicating where the callee should go after the caller is hung up,
2750 or without options specified, the priority after the Queue will be used.
2755 * Added menu action admin_toggle_mute_participants. This will mute / unmute
2756 all non-admin participants on a conference. The confbridge configuration
2757 file also allows for the default sounds played to all conference users when
2758 this occurs to be overriden using sound_participants_unmuted and
2759 sound_participants_muted.
2761 * Added menu action participant_count. This will playback the number of
2762 current participants in a conference.
2764 * Added announcement configuration option to user profile. If set the sound
2765 file will be played to the user, and only the user, upon joining the
2768 * Added record_file_append option that defaults to "yes", but if set to no
2769 will create a new file between each start/stop recording.
2774 * Added 'b' and 'B' options to Dial that execute a Gosub on callee and caller
2775 channels respectively before the callee channels are called.
2780 * Added support for IPv6.
2782 * Add interrupt ('I') command to ExternalIVR. Sending this command from an
2783 external process will cause the current playlist to be cleared, including
2784 stopping any audio file that is currently playing. This is useful when you
2785 want to interrupt audio playback only when specific DTMF is entered by the
2791 * A new option, 'I' has been added to app_followme. By setting this option,
2792 Asterisk will not update the caller with connected line changes when they
2793 occur. This is similar to app_dial and app_queue.
2795 * The 'N' option is now ignored if the call is already answered.
2797 * Added 'b' and 'B' options to FollowMe that execute a Gosub on callee
2798 and caller channels respectively before the callee channels are called.
2800 * The winning FollowMe outgoing call is now put on hold if the caller put it on
2806 * MixMonitor hooks now have IDs associated with them which can be used to
2807 assign a target to StopMixMonitor. Use of MixMonitor's i(variable) option
2808 will allow storage of the MixMontior ID in a channel variable. StopMixmonitor
2809 now accepts that ID as an argument.
2811 * Added 'm' option, which stores a copy of the recording as a voicemail in the
2812 indicated mailboxes.
2817 * The connect action in app_mysql now allows you to specify a port number to
2818 connect to. This is useful if you run a MySQL server on a non-standard
2824 * Increased the default number of allowed destinations from 5 to 12.
2829 * The app_page application now no longer depends on DAHDI or app_meetme. It
2830 has been re-architected to use app_confbridge internally.
2835 * Added queue options autopausebusy and autopauseunavail for automatically
2836 pausing a queue member when their device reports busy or congestion.
2838 * The 'ignorebusy' option for queue members has been deprecated in favor of
2839 the option 'ringinuse. Also a 'queue set ringinuse' CLI command has been
2840 added as well as an AMI action 'QueueMemberRingInUse' to set this variable on a
2841 per interface basis. Individual ringinuse values can now be set in
2842 queues.conf via an argument to member definitions. Lastly, the queue
2843 'ringinuse' setting now only determines defaults for the per member
2844 'ringinuse' setting and does not override per member settings like it does
2845 in earlier versions.
2847 * Added 'F()' option. Similar to the dial option, this can be supplied with
2848 arguments indicating where the callee should go after the caller is hung up,
2849 or without options specified, the priority after the Queue will be used.
2851 * Added new option log_member_name_as_agent, which will cause the membername to
2852 be logged in the agent field for ADDMEMBER and REMOVEMEMBER queue events if a
2853 state_interface has been set.
2855 * Add queue monitoring hints. exten => 8501,hint,Queue:markq.
2857 * App_queue will now play periodic announcements for the caller that
2858 holds the first position in the queue while waiting for answer.
2862 * Added 'j' option to SayUnixTime. SayUnixTime no longer auto jumps to extension
2863 when receiving DTMF. Use the 'j' option to enable extension jumping. Also
2864 changed arguments to SayUnixTime so that every option is truly optional even
2865 when using multiple options (so that j option could be used without having to
2866 manually specify timezone and format) There are other benefits, e.g., format
2867 can now be used without specifying time zone as well.
2872 * Addition of the VM_INFO function - see Function changes.
2874 * The imapserver, imapport, and imapflags configuration options can now be
2875 overriden on a user by user basis.
2877 * When voicemail plays a message's envelope with saycid set to yes, when
2878 reaching the caller id field it will play a recording of a file with the same
2879 base name as the sender's callerid if there is a similarly named file in
2880 <astspooldir>/recordings/callerids/
2882 * Voicemails now contains a unique message identifier "msg_id", which is stored
2883 in the message envelope with the sound files. IMAP backends will now store
2884 the message identifiers with a header of "X-Asterisk-VM-Message-ID". ODBC
2885 backends will store the message identifier in a "msg_id" column. See
2886 UPGRADE.txt for more information.
2888 * Added VoiceMailPlayMsg application. This application will play a single
2889 voicemail message from a mailbox. The result of the application, SUCCESS or
2890 FAILED, is stored in the channel variable VOICEMAIL_PLAYBACKSTATUS.
2895 * Hangup handlers can be attached to channels using the CHANNEL() function.
2896 Hangup handlers will run when the channel is hung up similar to the h
2897 extension. The hangup_handler_push option will push a GoSub compatible
2898 location in the dialplan onto the channel's hangup handler stack. The
2899 hangup_handler_pop option will remove the last added location, and optionally
2900 replace it with a new GoSub compatible location. The hangup_handler_wipe
2901 option will remove all locations on the stack, and optionally add a new
2904 * The expression parser now recognizes the ABS() absolute value function,
2905 which will convert negative floating point values to positive values.
2907 * FAXOPT(faxdetect) will enable a generic fax detect framehook for dialplan
2908 control of faxdetect.
2910 * Addition of the VM_INFO function that can be used to retrieve voicemail
2911 user information, such as the email address and full name.
2912 The MAILBOX_EXISTS dialplan function has been deprecated in favour of
2915 * The REDIRECTING function now supports the redirecting original party id
2918 * Two new functions have been added: FEATURE() and FEATUREMAP(). FEATURE()
2919 lets you set some of the configuration options from the [general] section
2920 of features.conf on a per-channel basis. FEATUREMAP() lets you customize
2921 the key sequence used to activate built-in features, such as blindxfer,
2922 and automon. See the built-in documentation for details.
2924 * MESSAGE(from) for incoming SIP messages now returns "display-name" <uri>
2925 instead of simply the uri. This is the format that MessageSend() can use
2926 in the from parameter for outgoing SIP messages.
2928 * Added the PRESENCE_STATE function. This allows retrieving presence state
2929 information from any presence state provider. It also allows setting
2930 presence state information from a CustomPresence presence state provider.
2931 See AMI/CLI changes for related commands.
2933 * Added the AMI_CLIENT function to make manager account attributes available
2934 to the dialplan. It currently supports returning the current number of
2935 active sessions for a given account.
2937 * Added support for private party ID information to CALLERID, CONNECTEDLINE,
2938 and the REDIRECTING functions.
2946 * Added a manager event "LocalBridge" for local channel call bridges between
2947 the two pseudo-channels created.
2952 * Added dialtone_detect option for analog ports to disconnect incoming
2953 calls when dialtone is detected.
2955 * Added option colp_send to send ISDN connected line information. Allowed
2956 settings are block, to not send any connected line information; connect, to
2957 send connected line information on initial connect; and update, to send
2958 information on any update during a call. Default is update.
2960 * Add options namedcallgroup and namedpickupgroup to support installations
2961 where a higher number of groups (>64) is required.
2963 * Added support to use private party ID information with PRI calls.
2968 * A new channel driver named chan_motif has been added which provides support for
2969 Google Talk and Jingle in a single channel driver. This new channel driver includes
2970 support for both audio and video, RFC2833 DTMF, all codecs supported by Asterisk,
2971 hold, unhold, and ringing notification. It is also compliant with the current Jingle
2972 specification, current Google Jingle specification, and the original Google Talk
2978 * Added NAT support for RTP. Setting in config is 'nat', which can be set
2979 globally and overriden on a peer by peer basis.
2981 * Direct media functionality has been added. Options in config are:
2982 directmedia (directrtp) and directrtpsetup (earlydirect)
2984 * ChannelUpdate events now contain a CallRef header.
2989 * Asterisk will no longer substitute CID number for CID name in the display
2990 name field if CID number exists without a CID name. This change improves
2991 compatibility with certain device features such as Avaya IP500's directory
2994 * A new setting for autocreatepeer (autocreatepeer=persistent) allows peers
2995 created using that setting to not be removed during SIP reload.
2997 * Added settings recordonfeature and recordofffeature. When receiving an INFO
2998 request with a "Record:" header, this will turn the requested feature on/off.
2999 Allowed values are 'automon', 'automixmon', and blank to disable. Note that
3000 dynamic features must be enabled and configured properly on the requesting
3001 channel for this to function properly.
3003 * Add support to realtime for the 'callbackextension' option.
3005 * When multiple peers exist with the same address, but differing
3006 callbackextension options, incoming requests that are matched by address
3007 will be matched to the peer with the matching callbackextension if it is
3010 * Two new NAT options, auto_force_rport and auto_comedia, have been added
3011 which set the force_rport and comedia options automatically if Asterisk
3012 detects that an incoming SIP request crossed a NAT after being sent by
3013 the remote endpoint.
3015 * The default global nat setting in sip.conf has been changed from force_rport
3016 to auto_force_rport.
3018 * NAT settings are now a combinable list of options. The equivalent of the
3019 deprecated nat=yes is nat=force_rport,comedia. nat=no behaves as before.
3021 * Adds an option send_diversion which can be disabled to prevent
3022 diversion headers from automatically being added to INVITE requests.
3024 * Add support for lightweight NAT keepalive. If enabled a blank packet will
3025 be sent to the remote host at a given interval to keep the NAT mapping open.
3026 This can be enabled using the keepalive configuration option.
3028 * Add option 'tonezone' to specify country code for indications. This option
3029 can be set both globally and overridden for specific peers.
3031 * The SIP Security Events Framework now supports IPv6.
3033 * Add a new setting for directmedia, 'outgoing', to alleviate INVITE glares
3034 between multiple user agents. When set, for directmedia reinvites,
3035 Asterisk will not send an immediate reinvite on an incoming call leg. This
3036 option is useful when peered with another SIP user agent that is known to
3037 send immediate direct media reinvites upon call establishment.
3039 * Add support for WebSocket transport. This can be configured using 'ws' or 'wss'
3042 * Add options subminexpiry and submaxexpiry to set limits of subscription
3043 timer independently from registration timer settings. The setting of the
3044 registration timer limits still is done by options minexpiry, maxexpiry
3045 and defaultexpiry. For backwards compatibility the setting of minexpiry
3046 and maxexpiry also is used to configure the subscription timer limits if
3047 subminexpiry and submaxexpiry are not set in sip.conf.
3049 * Set registration timer limits to default values when reloading sip
3050 configuration and values are not set by configuration.
3052 * Add options namedcallgroup and namedpickupgroup to support installations
3053 where a higher number of groups (>64) is required.
3055 * When a MESSAGE request is received, the address the request was received from
3056 is now saved in the SIP_RECVADDR variable.
3058 * Add ANI2/OLI parsing for SIP. The "From" header in INVITE requests is now
3059 parsed for the presence of "isup-oli", "ss7-oli", or "oli" tags. If present,
3060 the ANI2/OLI information is set on the channel, which can be retrieved using
3061 the CALLERID function.
3063 * Peers can now be configured to support negotiation of ICE candidates using
3064 the setting icesupport. See res_rtp_asterisk changes for more information.
3066 * Added support for format attribute negotiation. See the Codecs changes for
3069 * Extra headers specified with SIPAddHeader are sent with the REFER message
3070 when using Transfer application. See refer_addheaders in sip.conf.sample.
3072 * Added support to use private party ID information with calls.
3074 * Adds an option discard_remote_hold_retrieval that when set stops telling
3075 the peer to start music on hold.
3080 * Added skinny version 17 protocol support.
3084 --------------------
3085 * Added option 'dtmf_duration' allowing playback time of DTMF tones to be set
3087 * Modified option 'date_format' to allow options to display date in 31Jan and Jan31
3088 formats as options 0 and 1. The previous options 0 and 1 now map to options 2 and 3
3089 as per the UNISTIM protocol.
3091 * Fixed issues with dialtone not matching indications.conf and mute stopping rx
3092 as well as tx. Also fixed issue with call "Timer" displaying as French "Dur\E9e"
3094 * Added ability to use multiple lines for a single phone. This allows multiple
3095 calls to occur on a single phone, using callwaiting and switching between calls.
3097 * Added option 'sharpdial' allowing end dialing by pressing # key
3099 * Added option 'interdigit_timer' to control phone dial timeout
3101 * Added options 'cwstyle', 'cwvolume' controlling callwaiting appearance
3103 * Added global 'debug' option, that enables debug in channel driver
3105 * Added ability to translate on-screen menu in multiple languages. Tested on
3106 Russian languages. Supported encodings: ISO 8859-1, ISO 8859-2, ISO 8859-4,
3107 ISO 8859-5, ISO 2022-JP. Language controlled by 'language' and on-screen
3110 * In addition to English added French and Russian languages for on-screen menus
3112 * Reworked dialing number input: added dialing by timeout, immediate dial on
3113 on dialplan compare, phone number length now not limited by screen size
3115 * Added ability to pickup a call using features.conf defined value and
3121 * Add options namedcallgroup and namedpickupgroup to support installations
3122 where a higher number of groups (>64) is required.
3124 * Added support to use private party ID information with calls.
3129 * The minimum DTMF duration can now be configured in asterisk.conf
3130 as "mindtmfduration". The default value is (as before) set to 80 ms.
3131 (previously it was only available in source code)
3133 * Named ACLs can now be specified in acl.conf and used in configurations that
3134 use ACLs. As a general rule, if some derivative of 'permit' or 'deny' is
3135 used to specify an ACL, a similar form of 'acl' will add a named ACL to the
3136 working ACL. In addition, some CLI commands have been added to provide
3137 show information and allow for module reloading - see CLI Changes.
3139 * Rules in ACLs (specified using 'permit' and 'deny') can now contain multiple
3140 items (separated by commas), and items in the rule can be negated by prefixing
3141 them with '!'. This simplifies Asterisk Realtime configurations, since it is no
3142 longer necessray to control the order that the 'permit' and 'deny' columns are
3143 returned from queries.
3145 * DUNDi now allows the built in variables ${NUMBER}, ${IPADDR} and ${SECRET} to
3146 be used within the dynamic weight attribute when specifying a mapping.
3148 * CEL backends can now be configured to show "USER_DEFINED" in the EventName
3149 header, instead of putting the user defined event name there. When enabled
3150 the UserDefType header is added for user defined events. This feature is
3151 enabled with the setting show_user_defined.
3153 * Macro has been deprecated in favor of GoSub. For redirecting and connected
3154 line purposes use the following variables instead of their macro equivalents:
3155 REDIRECTING_SEND_SUB, REDIRECTING_SEND_SUB_ARGS, CONNECTED_LINE_SEND_SUB,
3156 CONNECTED_LINE_SEND_SUB_ARGS. For CCSS, use cc_callback_sub instead of
3157 cc_callback_macro in channel configurations.
3159 * Asterisk can now use a system-provided NetBSD editline library (libedit) if it
3162 * Call files now support the "early_media" option to connect with an outgoing
3163 extension when early media is received.
3165 * Added support to use private party ID information with calls.
3170 * A new channel variable, AGIEXITONHANGUP, has been added which allows
3171 Asterisk to behave like it did in Asterisk 1.4 and earlier where the
3172 AGI application would exit immediately after a channel hangup is detected.
3174 * IPv6 addresses are now supported when using FastAGI (agi://). Hostnames
3175 are resolved and each address is attempted in turn until one succeeds or
3179 AMI (Asterisk Manager Interface)
3181 * The originate action now has an option "EarlyMedia" that enables the
3182 call to bridge when we get early media in the call. Previously,
3183 early media was disregarded always when originating calls using AMI.
3185 * Added setvar= option to manager accounts (much like sip.conf)
3187 * Originate now generates an error response if the extension given is not found
3190 * MixMonitor will now show IDs associated with the mixmonitor upon creating
3191 them if the i(variable) option is used. StopMixMonitor will accept
3192 MixMonitorID as an option to close specific MixMonitors.
3194 * The SIPshowpeer manager action response field "SIP-Forcerport" has been
3195 updated to include information about peers configured with
3196 nat=auto_force_rport by returning "A" if auto_force_rport is set and nat is
3197 detected, and "a" if it is set and nat is not detected. "Y" and "N" are still
3198 returned if auto_force_rport is not enabled.
3200 * Added SIPpeerstatus manager command which will generate PeerStatus events
3201 similar to the existing PeerStatus events found in chan_sip on demand.
3203 * Hangup now can take a regular expression as the Channel option. If you want
3204 to hangup multiple channels, use /regex/ as the Channel option. Existing
3205 behavior to hanging up a single channel is unchanged, but if you pass a regex,
3206 the manager will send you a list of channels back that were hung up.
3208 * Support for IPv6 addresses has been added.
3210 * AMI Events can now be documented in the Asterisk source. Note that AMI event
3211 documentation is only generated when Asterisk is compiled using 'make full'.
3212 See the CLI section for commands to display AMI event information.
3214 * The AMI Hangup event now includes the AccountCode header so you can easily
3215 correlate with AMI Newchannel events.
3217 * The QueueMemberStatus, QueueMemberAdded, and QueueMember events now include
3218 the StateInterface of the queue member.
3220 * Added AMI event SessionTimeout in the Call category that is issued when a
3221 call is terminated due to either RTP stream inactivity or SIP session timer
3224 * CEL events can now contain a user defined header UserDefType. See core
3225 changes for more information.
3227 * OOH323 ChannelUpdate events now contain a CallRef header.
3229 * Added PresenceState command. This command will report the presence state for
3230 the given presence provider.
3232 * Added Parkinglots command. This will list all parking lots as a series of
3233 AMI Parkinglot events.
3235 * Added MessageSend command. This behaves in the same manner as the
3236 MessageSend application, and is a technolgoy agnostic mechanism to send out
3237 of call text messages.
3239 * Added "message" class authorization. This grants an account permission to
3240 send out of call messages. Write-only.
3245 * The "dialplan add include" command has been modified to create context a context
3246 if one does not already exist. For instance, "dialplan add include foo into bar"
3247 will create context "bar" if it does not already exist.
3249 * A "dialplan remove context" command has been added to remove a context from
3252 * The "mixmonitor list <channel>" command will now show MixMonitor ID, and the
3253 filenames of all running mixmonitors on a channel.
3255 * The debug level of "pri set debug" is now a bitmask ranging from 0 to 15 if
3256 numeric instead of 0, 1, or 2.
3258 * "stun show status" will show a table describing how the STUN client is
3261 * "acl show [named acl]" will show information regarding a Named ACL. The
3262 acl module can be reloaded with "reload acl".
3264 * Added CLI command to display AMI event information - "manager show events",
3265 which shows a list of all known and documented AMI events, and "manager show
3266 event [event name]", which shows detail information about a specific AMI
3269 * The result of the CLI command "queue show" now includes the state interface
3270 information of the queue member.
3272 * The command "core set verbose" will now set a separate level of logging for
3273 each remote console without affecting any other console.
3275 * Added command "cdr show pgsql status" to check connection status
3277 * "sip show channel" will now display the complete route set.
3279 * Added "presencestate list" command. This command will list all custom
3280 presence states that have been set by using the PRESENCE_STATE dialplan
3283 * Added "presencestate change <entity> <state>[,<subtype>[,message[,options]]]"
3284 command. This changes a custom presence to a new state.
3289 * Codec lists may now be modified by the '!' character, to allow succinct
3290 specification of a list of codecs allowed and disallowed, without the
3291 requirement to use two different keywords. For example, to specify all
3292 codecs except g729 and g723, one need only specify allow=all,!g729,!g723.
3294 * Add support for parsing SDP attributes, generating SDP attributes, and
3295 passing it through. This support includes codecs such as H.263, H.264, SILK,
3296 and CELT. You are able to set up a call and have attribute information pass.
3297 This should help considerably with video calls.
3299 * The iLBC codec can now use a system-provided iLBC library if one is installed,
3300 just like the GSM codec.
3304 * Added CLI commands dundi show hints and dundi show cache which will list DUNDi
3305 'DONTASK' hints in the cache and list all DUNDi cache entires respectively.
3309 * Asterisk version and build information is now logged at the beginning of a
3312 * Threads belonging to a particular call are now linked with callids which get
3313 added to any log messages produced by those threads. Log messages can now be
3314 easily identified as involved with a certain call by looking at their call id.
3315 Call ids may also be attached to log messages for just about any case where
3316 it can be determined to be related to a particular call.
3318 * Each logging destination and console now have an independent notion of the
3319 current verbosity level. Logger.conf now allows an optional argument to
3320 the 'verbose' specifier, indicating the level of verbosity sent to that
3321 particular logging destination. Additionally, remote consoles now each
3322 have their own verbosity level. The command 'core set verbose' will now set
3323 a separate level for each remote console without affecting any other
3329 * Added 'announcement' option which will play at the start of MOH and between
3330 songs in modes of MOH that can detect transitions between songs (eg.
3336 * New per parking lot options: comebackcontext and comebackdialtime. See
3337 configs/features.conf.sample for more details.
3339 * Channel variable PARKER is now set when comebacktoorigin is disabled in
3342 * Channel variable PARKEDCALL is now set with the name of the parking lot
3343 when a timeout occurs.
3349 CDR Postgresql Driver
3351 * Added command "cdr show pgsql status" to check connection status
3354 CDR Adaptive ODBC Driver
3356 * Added schema option for databases that support specifying a schema.
3364 * A CALENDAR_SUCCESS=1/0 channel variable is now set to show whether or not
3365 CALENDAR_WRITE has completed successfully.
3370 * A new option, 'probation' has been added to rtp.conf
3371 RTP in strictrtp mode can now require more than 1 packet to exit learning
3372 mode with a new source (and by default requires 4). The probation option
3373 allows the user to change the required number of packets in sequence to any
3374 desired value. Use a value of 1 to essentially restore the old behavior.
3375 Also, with strictrtp on, Asterisk will now drop all packets until learning
3376 mode has successfully exited. These changes are based on how pjmedia handles
3377 media sources and source changes.
3379 * Add support for ICE/STUN/TURN in res_rtp_asterisk. This option can be
3380 enabled or disabled using the icesupport setting. A variety of other
3381 settings have been introduced to configure STUN/TURN connections.
3386 * A new module, res_corosync, has been introduced. This module uses the
3387 Corosync cluster enginer (http://www.corosync.org) to allow a local cluster
3388 of Asterisk servers to both Message Waiting Indication (MWI) and/or
3389 Device State (presence) information. This module is very similar to, and
3390 is a replacement for the res_ais module that was in previous releases of
3396 * This module adds a cleaned up, drop-in replacement for res_jabber called
3397 res_xmpp. This provides the same externally facing functionality but is
3398 implemented differently internally. res_jabber has been deprecated in favor
3399 of res_xmpp; please see the UPGRADE.txt file for more information.
3404 * The safe_asterisk script has been updated to allow several of its parameters
3405 to be set from environment variables. This also enables a custom run
3406 directory of Asterisk to be specified, instead of defaulting to /tmp.
3408 * The live_ast script will now look for the LIVE_AST_BASE_DIR variable and use
3409 its value to determine the directory to assume is the top-level directory of
3410 the source tree. If the variable is not set, it defaults to the current
3411 behavior and uses the current working directory.
3413 ------------------------------------------------------------------------------
3414 --- Functionality changes from Asterisk 1.8 to Asterisk 10 -------------------
3415 ------------------------------------------------------------------------------
3419 * Asterisk now has protocol independent support for processing text messages
3420 outside of a call. Messages are routed through the Asterisk dialplan.
3421 SIP MESSAGE and XMPP are currently supported. There are options in
3422 jabber.conf and sip.conf to allow enabling these features.
3423 -> jabber.conf: see the "sendtodialplan" and "context" options.
3424 -> sip.conf: see the "accept_outofcall_message", "auth_message_requests"
3425 and "outofcall_message_context" options.
3426 The MESSAGE() dialplan function and MessageSend() application have been
3427 added to go along with this functionality. More detailed usage information
3428 can be found on the Asterisk wiki (http://wiki.asterisk.org/).
3429 * If real-time text support (T.140) is negotiated, it will be preferred for
3430 sending text via the SendText application. For example, via SIP, messages
3431 that were once sent via the SIP MESSAGE request would be sent via RTP if
3432 T.140 text is negotiated for a call.
3436 * parkedmusicclass can now be set for non-default parking lots.
3438 Asterisk Manager Interface
3439 --------------------------
3440 * PeerStatus now includes Address and Port.
3441 * Added Hold events for when the remote party puts the call on and off hold
3442 for chan_dahdi ISDN channels.
3443 * Added new action MeetmeListRooms to list active conferences (shows same
3444 data as "meetme list" at the CLI).
3445 * DAHDIShowChannels, SIPshowpeer, SIPpeers, and IAXpeers now contains a
3446 Description field that is set by 'description' in the channel configuration
3448 * Added Uniqueid header to UserEvent.
3449 * Added new action FilterAdd to control event filters for the current session.
3450 This requires the system permission and uses the same filter syntax as
3451 filters that can be defined in manager.conf
3452 * The Unlink event is now a Bridge event with Bridgestatus: Unlink. Previous
3453 versions had some instances of the event converted, but others were left
3454 as-is. All Unlink events should now be converted to Bridge events. The AMI
3455 protocol version number was incremented to 1.2 as a result of this change.
3457 Asterisk HTTP Server
3458 --------------------------
3459 * The HTTP Server can bind to IPv6 addresses.
3462 --------------------------
3463 * Busy tone patterns featuring 2 silence and 2 tone lengths can now be used
3464 with busydetect. usage example: busypattern=200,200,200,600
3467 --------------------------
3468 * New 'gtalk show settings' command showing the current settings loaded from
3470 * The 'logger reload' command now supports an optional argument, specifying an
3471 alternate configuration file to use.
3472 * 'dialplan add extension' command will now automatically create a context if
3473 the specified context does not exist with a message indicated it did so.
3474 * 'sip show peers', 'iax show peers', and 'dahdi show peers' now contains a
3475 Description field which can be populated with 'description' in the channel
3476 configuration files (sip.conf, iax2.conf, and chan_dahdi.conf).
3479 --------------------------
3480 * The filter option in cdr_adaptive_odbc now supports negating the argument,
3481 thus allowing records which do NOT match the specified filter.
3482 * Added ability to log CONGESTION calls to CDR
3485 --------------------------
3486 * Ability to define custom SILK formats in codecs.conf.
3487 * Addition of speex32 audio format with translation.
3488 * CELT codec pass-through support and ability to define
3489 custom CELT formats in codecs.conf.
3490 * Ability to read raw signed linear files with sample rates
3491 ranging from 8khz - 192khz. The new file extensions introduced
3492 are .sln12, .sln24, .sln32, .sln44, .sln48, .sln96, .sln192.
3493 * Due to protocol limitations, channel drivers other than SIP (eg. IAX2, MGCP,
3494 Skinny, H.323, etc) can still only support the following codecs:
3495 Audio: ulaw, alaw, slin, slin16, g719, g722, g723, g726, g726aal2, g729, gsm,
3496 siren7, siren14, speex, speex16, ilbc, lpc10, adpcm
3497 Video: h261, h263, h263p, h264, mpeg4
3502 --------------------------
3503 * New highly optimized and customizable ConfBridge application capable of
3504 mixing audio at sample rates ranging from 8khz-96khz.
3505 * CONFBRIDGE dialplan function capable of creating dynamic ConfBridge user
3506 and bridge profiles on a channel.
3507 * CONFBRIDGE_INFO dialplan function capable of retrieving information
3508 about a conference such as locked status and number of parties, admins,
3510 * Addition of video_mode option in confbridge.conf for adding video support
3511 into a bridge profile.
3512 * Addition of the follow_talker video_mode in confbridge.conf. This video
3513 mode dynamically switches the video feed to always display the loudest talker
3514 supplying video in the conference.
3518 * Added ASTETCDIR, ASTMODDIR, ASTVARLIBDIR, ASTDBDIR, ASTKEYDIR, ASTDATADIR,
3519 ASTAGIDIR, ASTSPOOLDIR, ASTRUNDIR, ASTLOGDIR which hold the equivalent
3520 variables from asterisk.conf.
3524 * Addition of the JITTERBUFFER dialplan function. This function allows
3525 for jitterbuffering to occur on the read side of a channel. By using
3526 this function conference applications such as ConfBridge and MeetMe can
3527 have the rx streams jitterbuffered before conference mixing occurs.
3528 * Added DB_KEYS, which lists the next set of keys in the Asterisk database
3530 * Added STRREPLACE function. This function let's the user search a variable
3531 for a given string to replace with another string as many times as the
3532 user specifies or just throughout the whole string.
3533 * Added option to CHANNEL(pickupgroup) allow reading and setting the pickupgroup of channel.
3534 * Mark VALID_EXTEN() deprecated in favor of DIALPLAN_EXISTS()
3535 * Added extensions to chan_ooh323 in function CHANNEL()
3537 libpri channel driver (chan_dahdi) DAHDI changes
3538 --------------------------
3539 * Added moh_signaling option to specify what to do when the channel's bridged
3540 peer puts the ISDN channel on hold.
3541 * Added display_send and display_receive options to control how the display ie
3542 is handled. To send display text from the dialplan use the SendText()
3543 application when the option is enabled.
3544 * Added mcid_send option to allow sending a MCID request on a span.
3547 --------------------------
3548 * Added setvar option to calendar.conf to allow setting channel variables on
3549 notification channels.
3550 * Added "calendar show types" CLI command to list registered calendar
3554 --------------------------
3555 * Added two new options, r and t with file name arguments to record
3556 single direction (unmixed) audio recording separate from the bidirectional
3557 (mixed) recording. The mixed file name argument is optional now as long
3558 as at least one recording option is used.
3561 --------------------------
3562 * Added a new option, l, which will disable local call optimization for
3563 channels involved with the FollowMe thread. Use this option to improve
3564 compatability for a FollowMe call with certain dialplan apps, options, and
3568 --------------------------
3569 * Added option "k" that will automatically close the conference when there's
3570 only one person left when a user exits the conference.
3573 --------------------------
3574 * cel_pgsql now supports the 'extra' column for data added using the
3575 CELGenUserEvent() application.
3578 --------------------------
3579 * Support for defining hints has been added to pbx_lua. See the 'hints' table
3580 in the sample extensions.lua file for syntax details.
3581 * Applications that perform jumps in the dialplan such as Goto will now
3582 execute properly. When pbx_lua detects that the context, extension, or
3583 priority we are executing on has changed it will immediately return control
3584 to the asterisk PBX engine. Currently the engine cannot detect a Goto to
3585 the priority after the currently executing priority.
3586 * An autoservice is now started by default for pbx_lua channels. It can be
3587 stopped and restarted using the autoservice_stop() and autoservice_start()
3591 --------------------------
3592 * The ReceiveFAXStatus and SendFAXStatus manager events have been consolidated
3593 into a FAXStatus event with an 'Operation' header that will be either
3594 'send', 'receive', and 'gateway'.
3595 * T.38 gateway functionality has been added to res_fax (and res_fax_spandsp).
3596 Set FAXOPT(gateway)=yes to enable this functionality on a channel. This
3597 feature will handle converting a fax call between an audio T.30 fax terminal
3598 and an IFP T.38 fax terminal.
3602 * Add T38 support for REJECTED state where T.38 Negotiation is explicitly rejected.
3603 * Add option encryption_taglen to set auth taglen only 32 and 80 are supported currently.
3604 * SIP now generates security events using the Security Events Framework for REGISTER and INVITE.
3608 * Added general option negative_penalty_invalid default off. when set
3609 members are seen as invalid/logged out when there penalty is negative.
3610 for realtime members when set remove from queue will set penalty to -1.
3611 * Added queue option autopausedelay when autopause is enabled it will be
3612 delayed for this number of seconds since last successful call if there
3613 was no prior call the agent will be autopaused immediately.
3614 * Added member option ignorebusy this when set and ringinuse is not
3615 will allow per member control of multiple calls as ringinuse does for
3620 * Added 'v' option to MeetMe to play voicemail greetings when a user joins/leaves
3622 * Added 'k' option to MeetMe to automatically kill the conference when there's only
3623 one participant left (much like a normal call bridge)
3624 * Added extra argument to Originate to set timeout.
3628 * The internal Asterisk database has been switched from Berkeley DB 1.86 to
3629 SQLite 3. An existing Berkeley astdb file can be converted with the astdb2sqlite3
3630 utility in the UTILS section of menuselect. If an existing astdb is found and no
3631 astdb.sqlite3 exists, astdb2sqlite3 will be compiled automatically. Asterisk will
3632 convert an existing astdb to the SQLite3 version automatically at runtime.
3636 * Modules marked as deprecated are no longer marked as building by default. Enabling
3637 these modules is still available via menuselect.
3641 * authdebug is now disabled by default. To enable this functionaility again
3642 set authdebug = yes in iax.conf.
3646 * The rtp.conf setting "strictrtp" is now enabled by default. In previous
3647 releases it was disabled.
3651 * The PBX core previously made a call with a non-existing extension test for
3652 extension s@default and jump there if the extension existed.
3653 This was a bad default behaviour and violated the principle of least surprise.
3654 It has therefore been changed in this release. It may affect some
3655 applications and configurations that rely on this behaviour. Most channel
3656 drivers have avoided this for many releases by testing whether the extension
3657 called exists before starting the PBX and generating a local error.
3658 This behaviour still exists and works as before.
3660 Extension "s" is used when no extension is given in a channel driver,
3661 like immediate answer in DAHDI or calling to a domain with no user part
3664 ------------------------------------------------------------------------------
3665 --- Functionality changes from Asterisk 1.6.2 to Asterisk 1.8 ----------------
3666 ------------------------------------------------------------------------------
3670 * Due to potential username discovery vulnerabilities, the 'nat' setting in sip.conf
3671 now defaults to force_rport. It is very important that phones requiring nat=no be
3672 specifically set as such instead of relying on the default setting. If at all
3673 possible, all devices should have nat settings configured in the general section as
3674 opposed to configuring nat per-device.
3675 * Added preferred_codec_only option in sip.conf. This feature limits the joint
3676 codecs sent in response to an INVITE to the single most preferred codec.
3677 * Added SIP_CODEC_OUTBOUND dialplan variable which can be used to set the codec
3678 to be used for the outgoing call. It must be one of the codecs configured
3680 * Added tlsprivatekey option to sip.conf. This allows a separate .pem file
3681 to be used for holding a private key. If tlsprivatekey is not specified,
3682 tlscertfile is searched for both public and private key.
3683 * Added tlsclientmethod option to sip.conf. This allows the protocol for
3684 outbound client connections to be specified.
3685 * The sendrpid parameter has been expanded to include the options
3686 'rpid' and 'pai'. Setting sendrpid to 'rpid' will cause Remote-Party-ID
3687 header to be sent (equivalent to setting sendrpid=yes) and setting
3688 sendrpid to 'pai' will cause P-Asserted-Identity header to be sent.
3689 * The 'ignoresdpversion' behavior has been made automatic when the SDP received
3690 is in response to a T.38 re-INVITE that Asterisk initiated. In this situation,
3691 since the call will fail if Asterisk does not process the incoming SDP, Asterisk
3692 will accept the SDP even if the SDP version number is not properly incremented,
3693 but will generate a warning in the log indicating that the SIP peer that sent
3694 the SDP should have the 'ignoresdpversion' option set.
3695 * The 'nat' option has now been been changed to have yes, no, force_rport, and
3696 comedia as valid values. Setting it to yes forces RFC 3581 behavior and enables
3697 symmetric RTP support. Setting it to no only enables RFC 3581 behavior if the
3698 remote side requests it and disables symmetric RTP support. Setting it to
3699 force_rport forces RFC 3581 behavior and disables symmetric RTP support.
3700 Setting it to comedia enables RFC 3581 behavior if the remote side requests it
3701 and enables symmetric RTP support.
3702 * Slave SIP channels now set HASH(SIP_CAUSE,<slave-channel-name>) on each
3703 response. This permits the master channel to know how each channel dialled
3704 in a multi-channel setup resolved in an individual way. This carries a
3705 performance penalty and can be disabled in sip.conf using the
3706 'storesipcause' option.
3707 * Added 'externtcpport' and 'externtlsport' options to allow custom port
3708 configuration for the externip and externhost options when tcp or tls is used.
3709 * Added support for message body (stored in content variable) to SIP NOTIFY message
3710 accessible via AMI and CLI.
3711 * Added 'media_address' configuration option which can be used to explicitly specify
3712 the IP address to use in the SDP for media (audio, video, and text) streams.
3713 * Added 'unsolicited_mailbox' configuration option which specifies the virtual mailbox
3714 that the new/old count should be stored on if an unsolicited MWI NOTIFY message is
3716 * Added 'use_q850_reason' configuration option for generating and parsing
3717 if available Reason: Q.850;cause=<cause code> header. It is implemented
3718 in some gateways for better passing PRI/SS7 cause codes via SIP.
3719 * When dialing SIP peers, a new component may be added to the end of the dialstring
3720 to indicate that a specific remote IP address or host should be used when dialing
3721 the particular peer. The dialstring format is SIP/peer/exten/host_or_IP.
3722 * SRTP SDES support for encrypting calls to/from Asterisk over SIP. The
3723 ability to selectively force bridged channels to also be encrypted is also
3724 implemented. Branching in the dialplan can be done based on whether or not
3725 a channel has secure media and/or signaling.
3726 * Added directmediapermit/directmediadeny to limit which peers can send direct media
3728 * Added the 'snom_aoc_enabled' option to turn on support for sending Advice of
3729 Charge messages to snom phones.
3730 * Added support for G.719 media streams.
3731 * Added support for 16khz signed linear media streams.
3732 * SIP is now able to bind to and communicate with IPv6 addresses. In addition,
3733 RTP has been outfitted with the same abilities.
3734 * Added support for setting the Max-Forwards: header in SIP requests. Setting is
3735 available in device configurations as well as in the dial plan.
3736 * Addition of the 'subscribe_network_change' option for turning on and off
3737 res_stun_monitor module support in chan_sip.
3738 * Addition of the 'auth_options_requests' option for turning on and off
3739 authentication for OPTIONS requests in chan_sip.
3743 * Add #tryinclude statement for config files. This provides the same
3744 functionality as the #include statement however an asterisk module will
3745 still load if the filename does not exist. Using the #include statement
3746 Asterisk will not allow the module to load.
3750 * Added rtsavesysname option into iax.conf to allow the systname to be saved
3751 on realtime updates.
3752 * Added the ability for chan_iax2 to inform the dialplan whether or not
3753 encryption is being used. This interoperates with the SIP SRTP implementation
3754 so that a secure SIP call can be bridged to a secure IAX call when the
3755 dialplan requires bridged channels to be "secure".
3756 * Addition of the 'subscribe_network_change' option for turning on and off
3757 res_stun_monitor module support in chan_iax.
3762 * Added ability to preset channel variables on indicated lines with the setvar
3763 configuration option. Also, clearvars=all resets the list of variables back
3765 * PacketCable NCS 1.0 support has been added for Docsis/Eurodocsis Networks.
3766 See configs/res_pktccops.conf for more information.
3768 XMPP Google Talk/Jingle changes
3769 -------------------------------
3770 * Added the externip option to gtalk.conf.
3771 * Added the stunaddr option to gtalk.conf which allows for the automatic
3772 retrieval of the external ip from a stun server.
3776 * Added 'p' option to PickupChan() to allow for picking up channel by the first
3777 match to a partial channel name.
3778 * Added .m3u support for Mp3Player application.
3779 * Added progress option to the app_dial D() option. When progress DTMF is
3780 present, those values are sent immediately upon receiving a PROGRESS message
3781 regardless if the call has been answered or not.
3782 * Added functionality to the app_dial F() option to continue with execution
3783 at the current location when no parameters are provided.
3784 * Added the 'a' option to app_dial to answer the calling channel before any
3785 announcements or macros are executed.
3786 * Modified app_dial to set answertime when the called channel answers even if
3787 the called channel hangs up during playback of an announcement.
3788 * Modified app_dial 'r' option to support an additional parameter to play an
3789 indication tone from indications.conf
3790 * Added c() option to app_chanspy. This option allows custom DTMF to be set
3791 to cycle through the next available channel. By default this is still '*'.
3792 * Added x() option to app_chanspy. This option allows DTMF to be set to
3793 exit the application.
3794 * The Voicemail application has been improved to automatically ignore messages
3795 that only contain silence.
3796 * If you set maxmsg to 0 in voicemail.conf, Voicemail will consider the
3797 associated mailbox(es) to be greetings-only.
3798 * The ChanSpy application now has the 'S' option, which makes the application
3799 automatically exit once it hits a point where no more channels are available
3801 * The ChanSpy application also now has the 'E' option, which spies on a single
3802 channel and exits when that channel hangs up.
3803 * The MeetMe application now turns on the DENOISE() function by default, for
3804 each participant. In our tests, this has significantly decreased background
3805 noise (especially noisy data centers).
3806 * Voicemail now permits storage of secrets in a separate file, located in the
3807 spool directory of each individual user. The control for this is located in
3808 the "passwordlocation" option in voicemail.conf. Please see the sample
3809 configuration for more information.
3810 * The ChanIsAvail application now exposes the returned cause code using a separate
3811 variable, AVAILCAUSECODE, instead of overwriting the device state in AVAILSTATUS.
3812 * Added 'd' option to app_followme. This option disables the "Please hold"
3814 * Added 'y' option to app_record. This option enables a mode where any DTMF digit
3815 received will terminate recording.
3816 * Voicemail now supports per mailbox settings for folders when using IMAP storage.
3817 Previously the folder could only be set per context, but has now been extended
3818 using the imapfolder option.
3819 * Voicemail now supports per mailbox settings for nextaftercmd and minsecs.
3820 * Voicemail now allows the pager date format to be specified separately from the
3822 * New applications JabberJoin, JabberLeave, and JabberSendGroup have been added
3823 to allow joining, leaving, and sending text to group chats.
3824 * MeetMe has a new option 'G' to play an announcement before joining a conference.
3825 * Page has a new option 'A(x)' which will playback an announcement simultaneously
3826 to all paged phones (and optionally excluding the caller's one using the new
3827 option 'n') before the call is bridged.
3828 * The 'f' option to Dial has been augmented to take an optional argument. If no
3829 argument is provided, the 'f' option works as it always has. If an argument is
3830 provided, then the connected party information of all outgoing channels created
3831 during the Dial will be set to the argument passed to the 'f' option.
3832 * Dial now inherits the GOSUB_RETVAL from the peer, when the U() option runs a
3834 * The OSP lookup application adds in/outbound network ID, optional security,
3835 number portability, QoS reporting, destination IP port, custom info and service
3837 * Added new application VMSayName that will play the recorded name of the voicemail
3838 user if it exists, otherwise will play the mailbox number.
3839 * Added custom device states to ConfBridge bridges. Use 'confbridge:<name>' to
3840 retrieve state for a particular bridge, where <name> is the conference name
3841 * app_directory now allows exiting at any time using the operator or pound key.
3842 * Voicemail now supports setting a locale per-mailbox.
3843 * Two new applications are provided for declining counting phrases in multiple
3844 languages. See the application notes for SayCountedNoun and SayCountedAdj for
3846 * Voicemail now runs the externnotify script when pollmailboxes is activated and
3848 * Voicemail now includes rdnis within msgXXXX.txt file.
3849 * ExternalIVR now supports IPv6 addresses.
3850 * Added 'D' command to ExternalIVR. Details are available on the Asterisk wiki
3851 at https://wiki.asterisk.org/wiki/x/oQBB
3852 * ParkedCall and Park can now specify the parking lot to use.
3856 * SRVQUERY and SRVRESULT functions added. This can be used to query and iterate
3857 over SRV records associated with a specific service. From the CLI, type
3858 'core show function SRVQUERY' and 'core show function SRVRESULT' for more
3859 details on how these may be used.
3860 * PITCH_SHIFT dialplan function added. This function can be used to modify the
3861 pitch of a channel's tx and rx audio streams.
3862 * Added new dialplan functions CONNECTEDLINE and REDIRECTING which permits
3863 setting various connected line and redirecting party information.
3864 * CALLERID and CONNECTEDLINE dialplan functions have been extended to
3865 support ISDN subaddressing.
3866 * The CHANNEL() function now supports the "name" and "checkhangup" options.
3867 * For DAHDI channels, the CHANNEL() dialplan function now allows
3868 the dialplan to request changes in the configuration of the active
3869 echo canceller on the channel (if any), for the current call only.
3872 exten => s,n,Set(CHANNEL(echocan_mode)=off)
3874 The possible values are:
3876 on - normal mode (the echo canceller is actually reinitialized)
3878 fax - FAX/data mode (NLP disabled if possible, otherwise completely
3880 voice - voice mode (returns from FAX mode, reverting the changes that
3881 were made when FAX mode was requested)
3882 * Added new dialplan function MASTER_CHANNEL(), which permits retrieving
3883 and setting variables on the channel which created the current channel.
3884 Administrators should take care to avoid naming conflicts, when multiple
3885 channels are dialled at once, especially when used with the Local channel
3886 construct (which all could set variables on the master channel). Usage
3887 of the HASH() dialplan function, with the key set to the name of the slave
3888 channel, is one approach that will avoid conflicts.
3889 * Added new dialplan function MUTEAUDIO() for muting inbound and/or outbound
3891 * func_odbc now allows multiple row results to be retrieved without using
3892 mode=multirow. If rowlimit is set, then additional rows may be retrieved
3893 from the same query by using the name of the function which retrieved the
3894 first row as an argument to ODBC_FETCH().
3895 * Added JABBER_RECEIVE, which permits receiving XMPP messages from the
3896 dialplan. This function returns the content of the received message.
3897 * Added REPLACE, which searches a given variable name for a set of characters,
3898 then either replaces them with a single character or deletes them.
3899 * Added PASSTHRU, which literally passes the same argument back as its return
3900 value. The intent is to be able to use a literal string argument to
3901 functions that currently require a variable name as an argument.
3902 * HASH-associated variables now can be inherited across channel creation, by
3903 prefixing the name of the hash at assignment with the appropriate number of
3904 underscores, just like variables.
3905 * GROUP_MATCH_COUNT has been improved to allow regex matching on category
3906 * CHANNEL(secure_bridge_signaling) and CHANNEL(secure_bridge_media) to set/get
3907 whether or not channels that are bridged to the current channel will be
3908 required to have secure signaling and/or media.
3909 * CHANNEL(secure_signaling) and CHANNEL(secure_media) to get whether or not
3910 the current channel has secure signaling and/or media.
3911 * For DAHDI/ISDN channels, the CHANNEL() dialplan function now supports the
3912 "no_media_path" option.
3913 Returns "0" if there is a B channel associated with the call.
3914 Returns "1" if no B channel is associated with the call. The call is either
3915 on hold or is a call waiting call.
3916 * Added option to dialplan function CDR(), the 'f' option
3917 allows for high resolution times for billsec and duration fields.
3918 * FILE() now supports line-mode and writing.
3919 * Added FIELDNUM(), which returns the 1-based offset of a field in a list.
3920 * FRAME_TRACE(), for tracking internal ast_frames on a channel.
3924 * Added DYNAMIC_FEATURENAME which holds the last triggered dynamic feature.
3925 * Added DYNAMIC_PEERNAME which holds the unique channel name on the other side
3926 and is set when a dynamic feature is triggered.
3927 * Added PARKINGLOT which can be used with parkeddynamic feature.conf option
3928 to dynamically create a new parking lot matching the value this varible is
3930 * Added PARKINGDYNAMIC which represents the template parkinglot defined in
3931 features.conf that should be the base for dynamic parkinglots.
3932 * Added PARKINGDYNCONTEXT which tells what context a newly created dynamic
3933 parkinglot should have.
3934 * Added PARKINGDYNEXTEN which tells what parking exten a newly created dynamic
3935 parkinglot should have.
3936 * Added PARKINGDYNPOS which holds what parking positions a dynamic parkinglot
3941 * Added "ready" option to QUEUE_MEMBER counting to count free agents whose wrap-up
3942 timeout has expired.
3943 * Added 'R' option to app_queue. This option stops moh and indicates ringing
3944 to the caller when an Agent's phone is ringing. This can be used to indicate
3945 to the caller that their call is about to be picked up, which is nice when
3946 one has been on hold for an extened period of time.
3947 * A new config option, penaltymemberslimit, has been added to queues.conf.
3948 When set this option will disregard penalty settings when a queue has too
3950 * A new option, 'I' has been added to both app_queue and app_dial.
3951 By setting this option, Asterisk will not update the caller with
3952 connected line changes or redirecting party changes when they occur.
3953 * A 'relative-periodic-announce' option has been added to queues.conf. When
3954 enabled, this option will cause periodic announce times to be calculated
3955 from the end of announcements rather than from the beginning.
3956 * The autopause option in queues.conf can be passed a new value, "all." The
3957 result is that if a member becomes auto-paused, he will be paused in all
3958 queues for which he is a member, not just the queue that failed to reach
3960 * Added dialplan function QUEUE_EXISTS to check if a queue exists
3961 * The queue logger now allows events to optionally propagate to a file,
3962 even when realtime logging is turned on. Additionally, realtime logging
3963 supports sending the event arguments to 5 individual fields, although it
3964 will fallback to the previous data definition, if the new table layout is
3967 mISDN channel driver (chan_misdn) changes
3968 ----------------------------------------
3969 * Added display_connected parameter to misdn.conf to put a display string
3970 in the CONNECT message containing the connected name and/or number if
3971 the presentation setting permits it.
3972 * Added display_setup parameter to misdn.conf to put a display string
3973 in the SETUP message containing the caller name and/or number if the
3974 presentation setting permits it.
3975 * Made misdn.conf parameters localdialplan and cpndialplan take a -1 to
3976 indicate the dialplan settings are to be obtained from the asterisk
3978 * Made misdn.conf parameter callerid accept the "name" <number> format
3979 used by the rest of the system.
3980 * Made use the nationalprefix and internationalprefix misdn.conf
3981 parameters to prefix any received number from the ISDN link if that
3982 number has the corresponding Type-Of-Number. NOTE: This includes
3983 comparing the incoming call's dialed number against the MSN list.
3984 * Added the following new parameters: unknownprefix, netspecificprefix,
3985 subscriberprefix, and abbreviatedprefix in misdn.conf to prefix any
3986 received number from the ISDN link if that number has the corresponding
3988 * Added new dialplan application misdn_command which permits controlling
3989 the CCBS/CCNR functionality.
3990 * Added new dialplan function mISDN_CC which permits retrieval of various
3991 values from an active call completion record.
3992 * For PTP, you should manually send the COLR of the redirected-to party
3993 for an incomming redirected call if the incoming call could experience
3994 further redirects. Just set the REDIRECTING(to-num,i) = ${EXTEN} and
3995 set the REDIRECTING(to-pres) to the COLR. A call has been redirected
3996 if the REDIRECTING(from-num) is not empty.
3997 * For outgoing PTP redirected calls, you now need to use the inhibit(i)
3998 option on all of the REDIRECTING statements before dialing the
3999 redirected-to party. You still have to set the REDIRECTING(to-xxx,i)
4000 and the REDIRECTING(from-xxx,i) values. The PTP call will update the
4001 redirecting-to presentation (COLR) when it becomes available.
4002 * Added outgoing_colp parameter to misdn.conf to filter outgoing COLP
4005 thirdparty mISDN enhancements
4006 -----------------------------
4007 mISDN has been modified by Digium, Inc. to greatly expand facility message
4009 * Enhanced COLP support for call diversion and transfer.
4010 * CCBS/CCNR support.
4012 The latest modified mISDN v1.1.x based version is available at:
4013 http://svn.digium.com/svn/thirdparty/mISDN/trunk
4014 http://svn.digium.com/svn/thirdparty/mISDNuser/trunk
4016 Tagged versions of the modified mISDN code are available under:
4017 http://svn.digium.com/svn/thirdparty/mISDN/tags
4018 http://svn.digium.com/svn/thirdparty/mISDNuser/tags
4020 libpri channel driver (chan_dahdi) DAHDI changes
4021 -------------------------------------------
4022 * The channel variable PRIREDIRECTREASON is now just a status variable
4023 and it is also deprecated. Use the REDIRECTING(reason) dialplan function
4024 to read and alter the reason.
4025 * For Q.SIG and ETSI PRI/BRI-PTP, you should manually send the COLR of the
4026 redirected-to party for an incomming redirected call if the incoming call
4027 could experience further redirects. Just set the
4028 REDIRECTING(to-num,i) = CALLERID(dnid) and set the REDIRECTING(to-pres)
4029 to the COLR. A call has been redirected if the REDIRECTING(count) is not
4031 * For outgoing Q.SIG and ETSI PRI/BRI-PTP redirected calls, you need to
4032 use the inhibit(i) option on all of the REDIRECTING statements before
4033 dialing the redirected-to party. You still have to set the
4034 REDIRECTING(to-xxx,i) and the REDIRECTING(from-xxx,i) values. The call
4035 will update the redirecting-to presentation (COLR) when it becomes available.
4036 * Added the ability to ignore calls that are not in a Multiple Subscriber
4037 Number (MSN) list for PTMP CPE interfaces.
4038 * Added dynamic range compression support for dahdi channels. It is
4039 configured via the rxdrc and txdrc parameters in chan_dahdi.conf.
4040 * Added support for ISDN calling and called subaddress with partial support
4041 for connected line subaddress.
4042 * Added support for BRI PTMP NT mode. (Requires latest LibPRI.)
4043 * Added handling of received HOLD/RETRIEVE messages and the optional ability
4044 to transfer a held call on disconnect similar to an analog phone.
4045 * Added CallRerouting/CallDeflection support for Q.SIG, ETSI PTP, ETSI PTMP.
4046 Will reroute/deflect an outgoing call when receive the message.
4047 Can use the DAHDISendCallreroutingFacility to send the message for the
4049 * Added standard location to add options to chan_dahdi dialing:
4050 Dial(DAHDI/g1[/extension[/options]])
4053 R Reverse charging indication
4054 * Added Reverse Charging Indication (Collect calls) send/receive option.
4055 Send reverse charging in SETUP message with the chan_dahdi R dialing option.
4056 Dial(DAHDI/g1/extension/R)
4057 Access received reverse charge in SETUP message by: ${CHANNEL(reversecharge)}
4058 (requires latest LibPRI)
4059 * Added ability to send/receive keypad digits in the SETUP message.
4060 Send keypad digits in SETUP message with the chan_dahdi K(<keypad_digits>)
4061 dialing option. Dial(DAHDI/g1/[extension]/K(<keypad_digits>))
4062 Access any received keypad digits in SETUP message by: ${CHANNEL(keypad_digits)}
4063 (requires latest LibPRI)
4064 * Added ability to send and receive ETSI Explicit Call Transfer (ECT) messages
4065 to eliminate tromboned calls. A tromboned call goes out an interface and comes
4066 back into the same interface. Tromboned calls happen because of call routing,
4067 call deflection, call forwarding, and call transfer.
4068 * Added the ability to send and receive ETSI Advice-Of-Charge messages.
4069 * Added the ability to support call waiting calls. (The SETUP has no B channel
4071 * Added Malicious Call ID (MCID) event to the AMI call event class.
4072 * Added Message Waiting Indication (MWI) support for ISDN PTMP endpoints (phones).
4074 Asterisk Manager Interface
4075 --------------------------
4076 * The Hangup action now accepts a Cause header which may be used to
4077 set the channel's hangup cause.
4078 * sslprivatekey option added to manager.conf and http.conf. Adds the ability
4079 to specify a separate .pem file to hold a private key. By default sslcert
4080 is used to hold both the public and private key.
4081 * Options in manager.conf and http.conf with the 'ssl' prefix have been replaced
4082 for options containing the 'tls' prefix. For example, 'sslenable' is now
4083 'tlsenable'. This has been done in effort to keep ssl and tls options consistent
4084 across all .conf files. All affected sample.conf files have been modified to
4085 reflect this change. Previous options such as 'sslenable' still work,
4086 but options with the 'tls' prefix are preferred.
4087 * Added a MuteAudio AMI action for muting inbound and/or outbound audio
4088 in a channel. (res_mutestream.so)
4089 * The configuration file manager.conf now supports a channelvars option, which
4090 specifies a list of channel variables to include in each channel-oriented
4092 * The redirect command now has new parameters ExtraContext, ExtraExtension,
4093 and ExtraPriority to allow redirecting the second channel to a different
4094 location than the first.
4095 * Added new event "JabberStatus" in the Jabber module to monitor buddies
4097 * Added a "MixMonitorMute" AMI action for muting inbound and/or outbound audio
4098 in a MixMonitor recording.
4099 * The 'iax2 show peers' output is now similar to the expected output of
4101 * Added Advice-Of-Charge events (AOC-S, AOC-D, and AOC-E) in the new
4103 * Added Advice-Of-Charge manager action, AOCMessage, for generating AOC-D and
4104 AOC-E messages on a channel.
4105 * A DBGetComplete event now follows a DBGetResponse, to make the DBGet action
4106 conform more closely to similar events.
4107 * Added a new eventfilter option per user to allow whitelisting and blacklisting
4109 * Added optional parkinglot variable for park command.
4110 * Added ConnectedLineNum and ConnectedLineName headers to AMI events/responses
4111 if CallerIDNum and CallerIDName headers are also present.
4113 Channel Event Logging
4114 ---------------------
4115 * A new interface, CEL, is introduced here. CEL logs single events, much like
4116 the AMI, but it differs from the AMI in that it logs to db backends much
4117 like CDR does; is based on the event subsystem introduced by Russell, and
4118 can share in all its benefits; allows multiple backends to operate like CDR;
4119 is specialized to event data that would be of concern to billing sytems,
4120 like CDR. Backends for logging and accounting calls have been produced,
4121 but a new CDR backend is still in development.
4125 * 'linkedid' and 'peeraccount' are new CDR fields available to CDR aficionados.
4126 linkedid is based on uniqueID, but spreads to other channels as transfers, dials,
4127 etc are performed. Thus the pieces of CDR can be grouped into multilegged sets.
4128 * Multiple files and formats can now be specified in cdr_custom.conf.
4129 * cdr_syslog has been added which allows CDRs to be written directly to syslog.
4130 See configs/cdr_syslog.conf.sample for more information.
4131 * A 'sequence' field has been added to CDRs which can be combined with
4132 linkedid or uniqueid to uniquely identify a CDR.
4133 * Handling of billsec and duration field has changed. If your table definition
4134 specifies those fields as float,double or similar they will now be logged with
4135 microsecond accuracy instead of a whole integer.
4137 Calendaring for Asterisk
4138 ------------------------
4139 * A new set of modules were added supporing calendar integration with Asterisk.
4140 Dialplan functions for reading from and writing to calendars are included,
4141 as well as the ability to execute dialplan logic upon calendar event notifications.
4142 iCalendar, CalDAV, and Exchange Server calendars (via res_calendar_exchange for
4143 Exchange Server 2003 with no write or attendee support, and res_calendar_ews for
4144 Exchange Server 2007+ with full write and attendee support) are supported (Exchange
4145 2003 support does not support forms-based authentication).
4147 Call Completion Supplementary Services for Asterisk