Newer
Older
==============================================================================
Kevin P. Fleming
committed
===
=== This file documents the new and/or enhanced functionality added in
=== the Asterisk versions listed below. This file does NOT include
=== changes in behavior that would not be backwards compatible with
=== previous versions; for that information see the UPGRADE.txt file
=== and the other UPGRADE files for older releases.
===
==============================================================================
------------------------------------------------------------------------------
--- Functionality changes from Asterisk 11 to Asterisk 12 --------------------
------------------------------------------------------------------------------
Applications
------------------
AgentLogin
------------------
* The application no longer does agent authentication. The dialplan needs to
perform this function before running AgentLogin. If the agent is already
logged in, dialplan will continue with the AGENT_STATUS channel variable
set to ALREADY_LOGGED_IN.
AgentMonitorOutgoing
------------------
* Application removed. It was a holdover from when AgentCallbackLogin was
removed.
ConfBridge
------------------
* All participants in a bridge can now be kicked out of a conference room
by specifying the channel parameter as 'all' in the ConfBridge kick CLI
command, i.e., "confbridge kick <conference> all"
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
ForkCDR
------------------
* ForkCDR no longer automatically resets the forked CDR. See the 'r' option
for more information.
* Variables are no longer purged from the original CDR. See the 'v' option for
more information.
* The 'A' option has been removed. The Answer time on a CDR is never updated
once set.
* The 'd' option has been removed. The disposition on a CDR is a function of
the state of the channel and cannot be altered.
* The 'D' option has been removed. Who the Party B is on a CDR is a function
of the state of the respective channels, and cannot be altered.
* The 'r' option has been changed. Previously, ForkCDR always reset the CDR
such that the start time and, if applicable, the answer time was updated.
Now, by default, ForkCDR simply forks the CDR, maintaining any times. The
'r' option now triggers the Reset, setting the start time (and answer time
if applicable) to the current time.
* The 's' option has been removed. A variable can be set on the original CDR
if desired using the CDR function, and removed from a forked CDR using the
same function.
* The 'T' option has been removed. The concept of DONT_TOUCH and LOCKED no
longer applies in the CDR engine.
* The 'v' option now prevents the copy of the variables from the original CDR
to the forked CDR. Previously the variables were always copied but were
removed from the original. Removing variables from a CDR can have unintended
side effects - this option allows the user to prevent propagation of
variables from the original to the forked without modifying the original.
MeetMe
-------------------
* Added the 'n' option to MeetMe to prevent application of the DENOISE function
to a channel joining a conference. Some channel drivers that vary the number
of audio samples in a voice frame will experience significant quality problems
if a denoiser is attached to the channel; this option gives them the ability
to remove the denoiser without having to unload func_speex.
NoCDR
------------------
* The NoCDR application is deprecated. Please use the CDR_PROP function to
disable CDRs.
* While the NoCDR application will prevent CDRs for a channel from being
propagated to registered CDR backends, it will not prevent that data from
being collected. Hence, a subsequent call to ResetCDR or the CDR_PROP
function that enables CDRs on a channel will restore those records that have
not yet been finalized.
Queue
-------------------
* Add queue available hint. exten => 8501,hint,Queue:markq_avail
Note: the suffix '_avail' after the queuename.
Reports 'InUse' for no logged in agents or no free agents.
Reports 'Idle' when an agent is free.
* The configuration options eventwhencalled and eventmemberstatus have been
removed. As a result, the AMI events QueueMemberStatus, AgentCalled,
AgentConnect, AgentComplete, AgentDump, and AgentRingNoAnswer will always be
sent. The "Variable" fields will also no longer exist on the Agent* events.
* Queues now support a hint for member paused state. The hint uses the form
'Queue:{queue_name}_pause_{member_name}', where {queue_name} and {member_name}
are the name of the queue and the name of the member to subscribe to,
respectively. For example: exten => 8501,hint,Queue:sales_pause_mark.
Members will show as In Use when paused.
ResetCDR
------------------
* The 'e' option has been deprecated. Use the CDR_PROP function to re-enable
CDRs when they were previously disabled on a channel.
* The 'w' and 'a' options have been removed. Dispatching CDRs to registered
backends occurs on an as-needed basis in order to preserve linkedid
propagation and other needed behavior.
SetAMAFlags
------------------
* This application is deprecated in favor of the CHANNEL function.
UserEvent
------------------
* UserEvent will now handle duplicate keys by overwriting the previous value
assigned to the key. UserEvent invocations will also be distributed to any
interested res_stasis applications.
Build System
------------------
* Asterisk now optionally uses libxslt to improve XML documentation generation
and maintainability. If libxslt is not available on the system, some XML
documentation will be incomplete.
Core
------------------
* Redirecting reasons can now be set to arbitrary strings. This means
that the REDIRECTING dialplan function can be used to set the redirecting
reason to any string. It also allows for custom strings to be read as the
redirecting reason from SIP Diversion headers.
* For DTMF blind and attended transfers, the channel variable TRANSFER_CONTEXT
must be on the channel initiating the transfer to have any effect.
* The channel variable ATTENDED_TRANSFER_COMPLETE_SOUND is no longer channel
driver specific. If the channel variable is set on the transferrer channel,
the sound will be played to the target of an attended transfer.
* The channel variable BRIDGEPEER becomes a comma separated list of peers in
a multi-party bridge. The BRIDGEPEER value can have a maximum of 10 peers
listed. Any more peers in the bridge will not be included in the list.
BRIDGEPEER is not valid in holding bridges like parking since those channels
do not talk to each other even though they are in a bridge.
* The channel variable BRIDGEPVTCALLID is only valid for two party bridges
and will contain a value if the BRIDGEPEER's channel driver supports it.
* The channel variable DYNAMIC_PEERNAME is redundant with BRIDGEPEER and is
removed. The more useful DYNAMIC_WHO_ACTIVATED gives the channel name that
activated the dynamic feature.
* The channel variables DYNAMIC_FEATURENAME and DYNAMIC_WHO_ACTIVATED are set
only on the channel executing the dynamic feature. Executing a dynamic
feature on the bridge peer in a multi-party bridge will execute it on all
peers of the activating channel.
* A channel variable ATTENDEDTRANSFER is now set which indicates which channel
was responsible for an attended transfer in a similar fashion to
BLINDTRANSFER.
AMI (Asterisk Manager Interface)
------------------
* The SIPshowpeer action will now include a 'SubscribeContext' field for a peer
in its response if the peer has a subscribe context set.
* The SIPqualifypeer action now acknowledges the request once it has established
that the request is against a known peer. It also issues a new event,
'SIPQualifyPeerDone', once the qualify action has been completed.
* The PlayDTMF action now supports an optional 'Duration' parameter. This
specifies the duration of the digit to be played, in milliseconds.
* Added VoicemailRefresh action to allow an external entity to trigger mailbox
updates when changes occur instead of requiring the use of pollmailboxes.
Jonathan Rose
committed
* CLI Command 'Manager Show Commands' no longer truncates command names longer
than 15 characters and no longer shows authorization requirement for commands.
'Manager Show Command' now displays the privileges needed for using a given
manager command instead.
* Added new action "ControlPlayback". The ControlPlayback action allows an AMI
client to manipulate audio currently being played back on a channel. The
supported operations depend on the application being used to send audio to
the channel. When the audio playback was initiated using the ControlPlayback
application or CONTROL STREAM FILE AGI command, the audio can be paused,
stopped, restarted, reversed, or skipped forward. When initiated by other
mechanisms (such as the Playback application), the audio can be stopped,
reversed, or skipped forward.
* Channel related events now contain a snapshot of channel state, adding new
fields to many of these events.
* The AMI event 'Newexten' field 'Extension' is deprecated, and may be removed
in a future release. Please use the common 'Exten' field instead.
* The AMI event 'UserEvent' from app_userevent now contains the channel state
fields. The channel state fields will come before the body fields.
Richard Mudgett
committed
* The AMI events 'ParkedCall', 'ParkedCallTimeOut', 'ParkedCallGiveUp', and
'UnParkedCall' have changed significantly in the new res_parking module.
The 'Channel' and 'From' headers are gone. For the channel that was parked
or is coming out of parking, a 'Parkee' channel snapshot is issued and it
has a number of fields associated with it. The old 'Channel' header relayed
the same data as the new 'ParkeeChannel' header.
The 'From' field was ambiguous and changed meaning depending on the event.
for most of these, it was the name of the channel that parked the call
(the 'Parker'). There is no longer a header that provides this channel name,
however the 'ParkerDialString' will contain a dialstring to redial the
device that parked the call.
On UnParkedCall events, the 'From' header would instead represent the
channel responsible for retrieving the parkee. It receives a channel
snapshot labeled 'Retriever'. The 'from' field is is replaced with
'RetrieverChannel'.
Lastly, the 'Exten' field has been replaced with 'ParkingSpace'.
Richard Mudgett
committed
* The AMI event 'Parkinglot' (response to 'Parkinglots' command) in a similar
fashion has changed the field names 'StartExten' and 'StopExten' to
'StartSpace' and 'StopSpace' respectively.
* The deprecated use of | (pipe) as a separator in the channelvars setting in
manager.conf has been removed.
* Channel Variables conveyed with a channel no longer contain the name of the
channel as part of the key field, i.e., ChanVariable(SIP/foo): bar=baz is now
ChanVariable: bar=baz. When multiple channels are present in a single AMI
event, the various ChanVariable fields will contain a suffix that specifies
which channel they correspond to.
* The NewPeerAccount AMI event is no longer raised. The NewAccountCode AMI
event always conveys the AMI event for a particular channel.
* All "Reload" events have been consolidated into a single event type. This
event will always contain a Module field specifying the name of the module
and a Status field denoting the result of the reload. All modules now issue
this event when being reloaded.
* The "ModuleLoadReport" event has been removed. Most AMI connections would
fail to receive this event due to being connected after modules have loaded.
AMI connections that want to know when Asterisk is ready should listen for
the "FullyBooted" event.
* app_fax now sends the same send fax/receive fax events as res_fax. The
"FaxSent" event is now the "SendFAX" event, and the "FaxReceived" event is
now the "ReceiveFAX" event.
* The MusicOnHold event is now two events: MusicOnHoldStart and
MusicOnHoldStop. The sub type field has been removed.
* The JabberEvent event has been removed. It is not AMI's purpose to be a
carrier for another protocol.
Mark Michelson
committed
* The Bridge Manager action's Playtone header now accepts more fine-grained
options. "Channel1" and "Channel2" may be specified in order to play a tone
to the specific channel. "Both" may be specified to play a tone to both
channels. The old "yes" option is still accepted as a way of playing the
tone to Channel2 only.
Richard Mudgett
committed
* The AMI 'Status' response event to the AMI Status action replaces the
BridgedChannel and BridgedUniqueid headers with the BridgeID header to
indicate what bridge the channel is currently in.
* The AMI 'Hold' event has been moved out of individual channel drivers, into
core, and is now two events: Hold and Unhold. The status field has been
removed.
Jason Parker
committed
* The AMI events in app_queue have been made more consistent with each other.
Events that reference channels (QueueCaller* and Agent*) will show
information about each channel. The (infamous) "Join" and "Leave" AMI
events have been changed to "QueueCallerJoin" and "QueueCallerLeave".
* The MCID AMI event now publishes a channel snapshot when available and
its non-channel-snapshot parameters now use either the "MCallerID" or
"MConnectedID" prefixes with Subaddr*, Name*, and Num* suffixes instead
of "CallerID" and "ConnectedID" to avoid confusion with similarly named
parameters in the channel snapshot.
* The AMI events "Agentlogin" and "Agentlogoff" have been renamed
"AgentLogin" and "AgentLogoff" respectively.
* The "Channel" key used in the "AlarmClear", "Alarm", and "DNDState" has been
renamed "DAHDIChannel" since it does not convey an Asterisk channel name.
* "ChannelUpdate" events have been removed.
* AMI events now contain a SystemName field, if available.
Matthew Jordan
committed
* Local channel optimization is now conveyed in two events:
LocalOptimizationBegin and LocalOptimizationEnd. The Begin event is sent
when the Local channel driver begins attempting to optimize itself out of
the media path; the End event is sent after the channel halves have
successfully optimized themselves out of the media path.
* Local channel information in events is now prefixed with "LocalOne" and
"LocalTwo". This replaces the suffix of "1" and "2" for the two halves of
the Local channel. This affects the LocalBridge, LocalOptimizationBegin,
and LocalOptimizationEnd events.
* The option 'allowmultiplelogin' can now be set or overriden in a particular
account. When set in the general context, it will act as the default
setting for defined accounts.
* The 'BridgeAction' event was removed. It technically added no value, as the
Bridge Action already receives confirmation of the bridge through a
successful completion Event.
* The 'BridgeExec' events were removed. These events duplicated the events that
occur in the Briding API, and are conveyed now through BridgeCreate,
BridgeEnter, and BridgeLeave events.
AGI (Asterisk Gateway Interface)
------------------
* The manager event AGIExec has been split into AGIExecStart and AGIExecEnd.
* The manager event AsyncAGI has been split into AsyncAGIStart, AsyncAGIExec,
and AsyncAGIEnd.
* The CONTROL STREAM FILE command now accepts an offsetms parameter. This
will start the playback of the audio at the position specified. It will
also return the final position of the file in 'endpos'.
CDR (Call Detail Records)
* Significant changes have been made to the behavior of CDRs. For a full
definition of CDR behavior in Asterisk 12, please read the specification
on the Asterisk wiki (wiki.asterisk.org).
Richard Mudgett
committed
* CDRs will now be created between all participants in a bridge. For each
pair of channels in a bridge, a CDR is created to represent the path of
communication between those two endpoints. This lets an end user choose who
Matthew Jordan
committed
to bill for what during bridge operations with multiple parties.
* The duration, billsec, start, answer, and end times now reflect the times
associated with the current CDR for the channel, as opposed to a cumulative
measurement of all CDRs for that channel.
Richard Mudgett
committed
* When a CDR is dispatched, user defined CDR variables from both parties are
included in the resulting CDR. If both parties have the same variable, only
the Party A value is provided.
CEL (Channel Event Logging)
------------------
* The 'extra' field of all CEL events that use it now consists of a JSON blob
with key/value pairs which are defined in the Asterisk 12 CEL documentation.
* AST_CEL_BLINDTRANSFER events now report the transferee bridge unique
identifier, extension, and context in a JSON blob as the extra string
instead of the transferee channel name as the peer.
* AST_CEL_ATTENDEDTRANSFER events now report the peer as NULL and additional
information in the 'extra' string as a JSON blob. For transfers that occur
between two bridged channels, the 'extra' JSON blob contains the primary
bridge unique identifier, the secondary channel name, and the secondary
bridge unique identifier. For transfers that occur between a bridged channel
and a channel running an app, the 'extra' JSON blob contains the primary
bridge unique identifier, the secondary channel name, and the app name.
* AST_CEL_LOCAL_OPTIMIZE events have been added to convey local channel
optimizations with the record occurring for the semi-one channel and
the semi-two channel name in the peer field.
Jonathan Rose
committed
Features
-------------------
* The BRIDGE_FEATURES channel variable would previously only set features for
the calling party and would set this feature regardless of whether the
feature was in caps or in lowercase. Use of a caps feature for a letter
will now apply the feature to the calling party while use of a lowercase
letter will apply that feature to the called party.
* Add support for automixmon to the BRIDGE_FEATURES channel variable.
Jonathan Rose
committed
Richard Mudgett
committed
* Parking has been pulled from core and placed into a separate module called
res_parking. See Parking changes below for more details.
* You can now have the settings for a channel updated using the FEATURE()
and FEATUREMAP() functions inherited to child channels by setting
FEATURE(inherit)=yes.
* automixmon now supports additional channel variables from automon including:
TOUCH_MIXMONITOR_PREFIX, TOUCH_MIXMONITOR_MESSAGE_START,
and TOUCH_MIXMONITOR_MESSAGE_STOP
* A new general features.conf option 'recordingfailsound' has been added which
allowssetting a failure sound for a user tries to invoke a recording feature
such as automon or automixmon and it fails.
Logging
-------------------
* When performing queue pause/unpause on an interface without specifying an
individual queue, the PAUSEALL/UNPAUSEALL event will only be logged if at
least one member of any queue exists for that interface.
* Added the 'queue_log_realtime_use_gmt' option to have timestamps in GMT
for realtime queue log entries.
Richard Mudgett
committed
Parking
-------------------
* Parking is now implemented as a module instead of as core functionality.
The preferred way to configure parking is now through res_parking.conf while
configuration through features.conf is not currently supported.
* res_parking uses the configuration framework. If an invalid configuration is
supplied, res_parking will fail to load or fail to reload. Previously parking
lots that were misconfigured would generally be accepted with certain
configuration problems leading to individual disabled parking lots.
Richard Mudgett
committed
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
* Parked calls are now placed in bridges. This is a largely architectural change,
but it could have some implications in allowing for new parked call retrieval
methods and the contents of parking lots will be visible though certain bridge
commands.
* The order of arguments for the new parking applications are different from the
old ones to be more intuitive. Timeout and return context/exten/priority are now
implemented as options. parking_lot_name is now the first parameter. See the
application documentation for Park, ParkedCall, and ParkAndAnnounce for more
in-depth information as well as syntax.
* Extensions are no longer automatically created in the dialplan to park calls,
pickup parked calls, etc by default.
* adsipark is no longer supported under the new parking model
* The PARKINGSLOT channel variable has been deprecated in favor of PARKING_SPACE
to match the naming scheme of the new system.
* PARKING_SPACE and PARKEDLOT channel variables will now be set for a parked
channel even when comebactoorigin=yes
* New CLI command 'parking show' allows you to inspect the currently in use
parking lots. 'parking show <parkinglot>' will also show the parked calls
in that specific parking lot.
* The CLI command 'parkedcalls' is now deprecated in favor of
'parking show <parkinglot>'.
* The AMI command 'ParkedCalls' will now accept a 'ParkingLot' argument which
can be used to get a list of parked calls only for a specific parking lot.
* The AMI command 'Park' has had the argument 'Channel2' renamed to
'TimeoutChannel'. 'TimeoutChannel' is no longer a required argument.
'Channel2' can still be used as the argument name, but it is deprecated
and the 'TimeoutChannel' argument will be used if both are present.
Richard Mudgett
committed
* The ParkAndAnnounce application is now provided through res_parking instead
of through the separate app_parkandannounce module.
* ParkAndAnnounce will no longer go to the next position in dialplan on timeout
by default. Instead, it will follow the timeout rules of the parking lot. The
old behavior can be reproduced by using the 'c' option.
* Dynamic parking lots will now fail to be created if the parking lot specified
by PARKINGDYNAMIC does not exist.
* Dynamic parking lots will also fail to be created now if they require exclusive
park and parkedcall extensions which overlap with other parking lots.
* Dynamic parking lots will be cleared on reload for dynamic parking lots that
currently contain no calls. Dynamic parking lots containing parked calls will
persist through the reloads without alteration.
* If parkext_exclusive is set for a parking lot and that extension is already in
use when that parking lot tries to register it, this is now considered a parking
system configuration error. Configurations which do this will be rejected.
Dynamic parking lots which try to register extensions that already exist will
also be rejected.
* Added a channel variable PARKER_FLAT which stores the name of the extension
that would be used to come back to if comebacktoorigin was set to use. This can
be useful when comebacktoorigin is off if you still want to use the extensions
in the park-dial context that are generated to redial the parker on timeout.
Realtime
------------------
* Dynamic realtime tables for SIP Users can now include a 'path' field. This
will store the path information for that peer when it registers. Realtime
tables can also use the 'supportpath' field to enable Path header support.
* LDAP realtime configurations for SIP Users now have the AstAccountPathSupport
objectIdentifier. This maps to the supportpath option in sip.conf.
Sorcery
------------------
* All future modules which utilize Sorcery for object persistence must have a
column named "id" within their schema when using the Sorcery realtime module.
This column must be able to contain a string of up to 128 characters in length.
Jason Parker
committed
Security Events Framework
-------------------------
* Security Event timestamps now use ISO 8601 formatted date/time instead of the
"seconds-microseconds" format that it was using previously.
Channel Drivers
------------------
* When a channel driver is configured to enable jiterbuffers, they are now
applied unconditionally when a channel joins a bridge. If a jitterbuffer
is already set for that channel when it enters, such as by the JITTERBUFFER
function, then the existing jitterbuffer will be used and the one set by
the channel driver will not be applied.
chan_agent
------------------
* The updatecdr option has been removed. Altering the names of channels on a
CDR is not supported - the name of the channel is the name of the channel,
and pretending otherwise helps no one.
* The AGENTUPDATECDR channel variable has also been removed, for the same
reason as the updatecdr option.
* The driver is no longer a Data retrieval API data provider for the
AMI DataGet action.
* The endcall and enddtmf configuration options are removed. Use the
dialplan function CHANNEL(dtmf-features) to set DTMF features on the agent
channel before calling AgentLogin.
* chan_agent is removed and replaced with AgentLogin and AgentRequest dialplan
applications. Agents are connected with callers using the new AgentRequest
dialplan application. The Agents:<agent-id> device state is available to
monitor the status of an agent. See agents.conf.sample for valid
configuration options.
chan_bridge
------------------
* chan_bridge is removed and its functionality is incorporated into ConfBridge
itself.
Richard Mudgett
committed
chan_local
------------------
* The /b option is removed.
Richard Mudgett
committed
* chan_local moved into the system core and is no longer a loadable module.
Richard Mudgett
committed
chan_mobile
------------------
* Added general support for busy detection.
Richard Mudgett
committed
* Added ECAM command support for Sony Ericsson phones.
Richard Mudgett
committed
chan_sip
------------------
* Added support for RFC 3327 "Path" headers. This can be enabled in sip.conf
using the 'supportpath' setting, either on a global basis or on a peer basis.
This setting enables Asterisk to route outgoing out-of-dialog requests via a
set of proxies by using a pre-loaded route-set defined by the Path headers in
the REGISTER request. See Realtime updates for more configuration information.
Richard Mudgett
committed
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
JITTERBUFFER
------------------
* JITTERBUFFER now accepts an argument of 'disabled' which can be used
to remove jitterbuffers previously set on a channel with JITTERBUFFER.
The value of this setting is ignored when disabled is used for the argument.
CDR (function)
------------------
* The 'amaflags' and 'accountcode' attributes for the CDR function are
deprecated. Use the CHANNEL function instead to access these attributes.
* The 'l' option has been removed. When reading a CDR attribute, the most
recent record is always used. When writing a CDR attribute, all non-finalized
CDRs are updated.
* The 'r' option has been removed, for the same reason as the 'l' option.
* The 's' option has been removed, as LOCKED semantics no longer exist in the
CDR engine.
CDR_PROP
------------------
* A new function CDR_PROP has been added. This function lets you set properties
on a channel's active CDRs. This function is write-only. Properties accept
boolean values to set/clear them on the channel's CDRs. Valid properties
include:
* 'party_a' - make this channel the preferred Party A in any CDR between two
channels. If two channels have this property set, the creation time of the
channel is used to determine who is Party A. Note that dialed channels are
never Party A in a CDR.
* 'disable' - disable CDRs on this channel. This is analogous to the NoCDR
application when set to True, and analogous to the 'e' option in ResetCDR
when set to False.
Resources
------------------
RTP
------------------
* ICE/STUN/TURN support in res_rtp_asterisk has been made optional. To enable
them, an Asterisk-specific version of pjproject needs to be installed.
Tarballs are available from https://github.com/asterisk/pjproject/tags/.
XMPP
------------------
* Device state for XMPP buddies is now available using the following format:
XMPP/<client name>/<buddy address>
If any resource is available the device state is considered to be not in use.
If no resources exist or all are unavailable the device state is considered
to be unavailable.
Scripts
------------------
safe_asterisk
------------------
* The safe_asterisk script will now install over previously installations.
In previous versions of Asterisk, once installed a 'make install' would
skip over safe_asterisk if it was already installed.
* Certain options in safe_asterisk can now be configured from the
safe_asterisk.conf file. A sample version of this is located in the
configs/ folder.
------------------------------------------------------------------------------
--- Functionality changes from Asterisk 10 to Asterisk 11 --------------------
------------------------------------------------------------------------------
* The Asterisk build system will now build and install a shared library
(libasteriskssl.so) used to wrap various initialization and shutdown functions
from the libssl and libcrypto libraries provided by OpenSSL. This is done so
that Asterisk can ensure that these functions do *not* get called by any
modules that are loaded into Asterisk, since they should only be called once
in any single process. If desired, this feature can be disabled by supplying
the "--disable-asteriskssl" option to the configure script.
* A new make target, 'full', has been added to the Makefile. This performs
the same compilation actions as make all, but will also scan the entirety of
each source file for documentation. This option is needed to generate AMI
event documentation. Note that your system must have Python in order for
this make target to succeed.
* The optimization portion of the build system has been reworked to avoid
broken builds on certain architectures. All architecture-specific
optimization has been removed in favor of using -march=native to allow gcc
to detect the environment in which it is running when possible. This can
be toggled as BUILD_NATIVE under "Compiler Flags" in menuselect.
* BUILD_CFLAGS and BUILD_LDFLAGS can now be passed to menuselect, e.g.,
make BUILD_CFLAGS="whatever" BUILD_LDFLAGS="whatever"
* Remove "asterisk/version.h" in favor of "asterisk/ast_version.h". If you
previously parsed the header file to obtain the version of Asterisk, you
will now have to go through Asterisk to get the version information.
Applications
Jonathan Rose
committed
-------------------
Bridge
-------------------
* Added 'F()' option. Similar to the dial option, this can be supplied with
arguments indicating where the callee should go after the caller is hung up,
or without options specified, the priority after the Queue will be used.
Jonathan Rose
committed
Matthew Jordan
committed
ConfBridge
-------------------
* Added menu action admin_toggle_mute_participants. This will mute / unmute
all non-admin participants on a conference. The confbridge configuration
file also allows for the default sounds played to all conference users when
this occurs to be overriden using sound_participants_unmuted and
sound_participants_muted.
* Added menu action participant_count. This will playback the number of
current participants in a conference.
* Added announcement configuration option to user profile. If set the sound
file will be played to the user, and only the user, upon joining the
conference bridge.
* Added record_file_append option that defaults to "yes", but if set to no
will create a new file between each start/stop recording.
Dial
-------------------
* Added 'b' and 'B' options to Dial that execute a Gosub on callee and caller
channels respectively before the callee channels are called.
ExternalIVR
-------------------
* Added support for IPv6.
* Add interrupt ('I') command to ExternalIVR. Sending this command from an
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
external process will cause the current playlist to be cleared, including
stopping any audio file that is currently playing. This is useful when you
want to interrupt audio playback only when specific DTMF is entered by the
caller.
FollowMe
-------------------
* A new option, 'I' has been added to app_followme. By setting this option,
Asterisk will not update the caller with connected line changes when they
occur. This is similar to app_dial and app_queue.
* The 'N' option is now ignored if the call is already answered.
* Added 'b' and 'B' options to FollowMe that execute a Gosub on callee
and caller channels respectively before the callee channels are called.
* The winning FollowMe outgoing call is now put on hold if the caller put it on
hold.
MixMonitor
------------------
* MixMonitor hooks now have IDs associated with them which can be used to
assign a target to StopMixMonitor. Use of MixMonitor's i(variable) option
will allow storage of the MixMontior ID in a channel variable. StopMixmonitor
now accepts that ID as an argument.
* Added 'm' option, which stores a copy of the recording as a voicemail in the
indicated mailboxes.
MySQL
-------------------
* The connect action in app_mysql now allows you to specify a port number to
connect to. This is useful if you run a MySQL server on a non-standard
port number.
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
OSP Applications
-------------------
* Increased the default number of allowed destinations from 5 to 12.
Page
-------------------
* The app_page application now no longer depends on DAHDI or app_meetme. It
has been re-architected to use app_confbridge internally.
Queue
-------------------
* Added queue options autopausebusy and autopauseunavail for automatically
pausing a queue member when their device reports busy or congestion.
* The 'ignorebusy' option for queue members has been deprecated in favor of
the option 'ringinuse. Also a 'queue set ringinuse' CLI command has been
added as well as an AMI action 'QueueMemberRingInUse' to set this variable on a
per interface basis. Individual ringinuse values can now be set in
queues.conf via an argument to member definitions. Lastly, the queue
'ringinuse' setting now only determines defaults for the per member
'ringinuse' setting and does not override per member settings like it does
in earlier versions.
* Added 'F()' option. Similar to the dial option, this can be supplied with
arguments indicating where the callee should go after the caller is hung up,
or without options specified, the priority after the Queue will be used.
* Added new option log_member_name_as_agent, which will cause the membername to
be logged in the agent field for ADDMEMBER and REMOVEMEMBER queue events if a
state_interface has been set.
* Add queue monitoring hints. exten => 8501,hint,Queue:markq.
* App_queue will now play periodic announcements for the caller that
holds the first position in the queue while waiting for answer.
SayUnixTime
------------------
* Added 'j' option to SayUnixTime. SayUnixTime no longer auto jumps to extension
when receiving DTMF. Use the 'j' option to enable extension jumping. Also
changed arguments to SayUnixTime so that every option is truly optional even
when using multiple options (so that j option could be used without having to
manually specify timezone and format) There are other benefits, e.g., format
can now be used without specifying time zone as well.
Matthew Jordan
committed
Voicemail
------------------
* Addition of the VM_INFO function - see Function changes.
* The imapserver, imapport, and imapflags configuration options can now be
overriden on a user by user basis.
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
* When voicemail plays a message's envelope with saycid set to yes, when
reaching the caller id field it will play a recording of a file with the same
base name as the sender's callerid if there is a similarly named file in
<astspooldir>/recordings/callerids/
* Voicemails now contains a unique message identifier "msg_id", which is stored
in the message envelope with the sound files. IMAP backends will now store
the message identifiers with a header of "X-Asterisk-VM-Message-ID". ODBC
backends will store the message identifier in a "msg_id" column. See
UPGRADE.txt for more information.
* Added VoiceMailPlayMsg application. This application will play a single
voicemail message from a mailbox. The result of the application, SUCCESS or
FAILED, is stored in the channel variable VOICEMAIL_PLAYBACKSTATUS.
Functions
------------------
* Hangup handlers can be attached to channels using the CHANNEL() function.
Hangup handlers will run when the channel is hung up similar to the h
extension. The hangup_handler_push option will push a GoSub compatible
location in the dialplan onto the channel's hangup handler stack. The
hangup_handler_pop option will remove the last added location, and optionally
replace it with a new GoSub compatible location. The hangup_handler_wipe
option will remove all locations on the stack, and optionally add a new
location.
* The expression parser now recognizes the ABS() absolute value function,
which will convert negative floating point values to positive values.
* FAXOPT(faxdetect) will enable a generic fax detect framehook for dialplan
control of faxdetect.
* Addition of the VM_INFO function that can be used to retrieve voicemail
user information, such as the email address and full name.
The MAILBOX_EXISTS dialplan function has been deprecated in favour of
VM_INFO.
* The REDIRECTING function now supports the redirecting original party id
and reason.
* Two new functions have been added: FEATURE() and FEATUREMAP(). FEATURE()
lets you set some of the configuration options from the [general] section
of features.conf on a per-channel basis. FEATUREMAP() lets you customize
the key sequence used to activate built-in features, such as blindxfer,
and automon. See the built-in documentation for details.
* MESSAGE(from) for incoming SIP messages now returns "display-name" <uri>
instead of simply the uri. This is the format that MessageSend() can use
in the from parameter for outgoing SIP messages.
* Added the PRESENCE_STATE function. This allows retrieving presence state
information from any presence state provider. It also allows setting
presence state information from a CustomPresence presence state provider.
See AMI/CLI changes for related commands.
* Added the AMI_CLIENT function to make manager account attributes available
to the dialplan. It currently supports returning the current number of
active sessions for a given account.
* Added support for private party ID information to CALLERID, CONNECTEDLINE,
and the REDIRECTING functions.
Channel Drivers
------------------
chan_local
------------------
* Added a manager event "LocalBridge" for local channel call bridges between
the two pseudo-channels created.
chan_dahdi
------------------
* Added dialtone_detect option for analog ports to disconnect incoming
calls when dialtone is detected.
* Added option colp_send to send ISDN connected line information. Allowed
settings are block, to not send any connected line information; connect, to
send connected line information on initial connect; and update, to send
information on any update during a call. Default is update.
* Add options namedcallgroup and namedpickupgroup to support installations
where a higher number of groups (>64) is required.
* Added support to use private party ID information with PRI calls.
chan_motif
------------------
* A new channel driver named chan_motif has been added which provides support for
Google Talk and Jingle in a single channel driver. This new channel driver includes
support for both audio and video, RFC2833 DTMF, all codecs supported by Asterisk,
hold, unhold, and ringing notification. It is also compliant with the current Jingle
specification, current Google Jingle specification, and the original Google Talk
protocol.
chan_ooh323
------------------
* Added NAT support for RTP. Setting in config is 'nat', which can be set
globally and overriden on a peer by peer basis.
* Direct media functionality has been added. Options in config are:
directmedia (directrtp) and directrtpsetup (earlydirect)
* ChannelUpdate events now contain a CallRef header.
chan_sip
------------------
* Asterisk will no longer substitute CID number for CID name in the display
name field if CID number exists without a CID name. This change improves
compatibility with certain device features such as Avaya IP500's directory
lookup service.
Jonathan Rose
committed
* A new setting for autocreatepeer (autocreatepeer=persistent) allows peers
created using that setting to not be removed during SIP reload.
* Added settings recordonfeature and recordofffeature. When receiving an INFO
request with a "Record:" header, this will turn the requested feature on/off.
Allowed values are 'automon', 'automixmon', and blank to disable. Note that
dynamic features must be enabled and configured properly on the requesting
channel for this to function properly.
* Add support to realtime for the 'callbackextension' option.
* When multiple peers exist with the same address, but differing
callbackextension options, incoming requests that are matched by address
will be matched to the peer with the matching callbackextension if it is
available.
* Two new NAT options, auto_force_rport and auto_comedia, have been added
which set the force_rport and comedia options automatically if Asterisk
detects that an incoming SIP request crossed a NAT after being sent by
the remote endpoint.
* The default global nat setting in sip.conf has been changed from force_rport
to auto_force_rport.
* NAT settings are now a combinable list of options. The equivalent of the
deprecated nat=yes is nat=force_rport,comedia. nat=no behaves as before.
Jonathan Rose
committed
* Adds an option send_diversion which can be disabled to prevent
diversion headers from automatically being added to INVITE requests.
* Add support for lightweight NAT keepalive. If enabled a blank packet will
be sent to the remote host at a given interval to keep the NAT mapping open.
This can be enabled using the keepalive configuration option.
* Add option 'tonezone' to specify country code for indications. This option
can be set both globally and overridden for specific peers.
* The SIP Security Events Framework now supports IPv6.
* Add a new setting for directmedia, 'outgoing', to alleviate INVITE glares
between multiple user agents. When set, for directmedia reinvites,
Asterisk will not send an immediate reinvite on an incoming call leg. This
option is useful when peered with another SIP user agent that is known to
send immediate direct media reinvites upon call establishment.
* Add support for WebSocket transport. This can be configured using 'ws' or 'wss'
as the transport.
Mark Michelson
committed
* Add options subminexpiry and submaxexpiry to set limits of subscription
timer independently from registration timer settings. The setting of the
registration timer limits still is done by options minexpiry, maxexpiry
and defaultexpiry. For backwards compatibility the setting of minexpiry
and maxexpiry also is used to configure the subscription timer limits if
subminexpiry and submaxexpiry are not set in sip.conf.
Mark Michelson
committed
* Set registration timer limits to default values when reloading sip
configuration and values are not set by configuration.
* Add options namedcallgroup and namedpickupgroup to support installations
where a higher number of groups (>64) is required.
* When a MESSAGE request is received, the address the request was received from
is now saved in the SIP_RECVADDR variable.
* Add ANI2/OLI parsing for SIP. The "From" header in INVITE requests is now
parsed for the presence of "isup-oli", "ss7-oli", or "oli" tags. If present,
the ANI2/OLI information is set on the channel, which can be retrieved using
the CALLERID function.
* Peers can now be configured to support negotiation of ICE candidates using
the setting icesupport. See res_rtp_asterisk changes for more information.
* Added support for format attribute negotiation. See the Codecs changes for
more information.
* Extra headers specified with SIPAddHeader are sent with the REFER message
when using Transfer application. See refer_addheaders in sip.conf.sample.
* Added support to use private party ID information with calls.
* Adds an option discard_remote_hold_retrieval that when set stops telling
the peer to start music on hold.
chan_skinny
------------------
* Added skinny version 17 protocol support.
chan_unistim
* Added ability to use multiple lines for a single phone. This allows multiple