Overview
Asterisk 13 is the next Long Term Support (LTS) release of Asterisk. As such, the focus of development for this release of Asterisk was on improving the usability and features developed in the previous Standard release, Asterisk 12. Beyond a general refinement of end user features, development focussed heavily on the Asterisk APIs - the Asterisk Manager Interface (AMI) and the Asterisk REST Interface (ARI) - and the PJSIP stack in Asterisk. Some highlights of the new features include:
- Asterisk security events are now provided via AMI, allowing end users to monitor their Asterisk system in real time for security related issues.
- External control of Message Waiting Indicators (MWI) through both AMI and ARI.
- Reception/transmission of out of call text messages using any supported channel driver/protocol stack through ARI.
- Resource List Server support in the PJSIP stack, providing subscriptions to lists of resources and batched delivery of
NOTIFY
requests. - Inter-Asterisk distributed device state and mailbox state using the PJSIP stack.
And much more!
It is important to note that Asterisk 13 is built on the architecture developed during the previous Standard release, Asterisk 12. Users upgrading to Asterisk 13 should read about the new features documented in New in 12, as well as the notes on upgrading to Asterisk 12. In particular, users upgrading to Asterisk 13 from a release prior to Asterisk 12 should read the specifications on AMI, CDRs, and CEL, as these also apply to Asterisk 13:
Finally, all users upgrading to Asterisk 13 should read the notes on upgrading to Asterisk 13.
Applications
AgentRequest
- The application will now return a new
AGENT_STATUS
value ofNOT_CONNECTED
if the agent fails to connect with an incoming caller after being alerted to the presence of the incoming caller. The most likely reason this would happen is the agent did not acknowledge the call in time.
ChanSpy
- ChanSpy now accepts a channel uniqueid or a fully specified channel name as the
chanprefix
parameter if the'u'
option is specified.
ConfBridge
The ConfBridge dialplan application now sets a channel variable,
CONFBRIGE_RESULT
, upon exiting. This variable can be used to determine how a channel exited the conference. Valid values upon exiting are:Value Reason FAILED
The channel encountered an error and could not enter the conference. HANGUP
The channel exited the conference by hanging up. KICKED
The channel was kicked from the conference. ENDMARKED
The channel left the conference as a result of the last marked user leaving. DTMF
The channel pressed a DTMF sequence to exit the conference. - Added conference user option
'announce_join_leave_review'
. This option implies'announce_join_leave'
with the added effect that the user will be asked if they want to confirm or re-record the recording of their name when entering the conference.
DAHDIBarge
- The module
app_dahdibarge
was deprecated and has been removed. Users of DAHDIBarge should use ChanSpy instead.
Directory
At exit, the Directory application now sets a channel variable
DIRECTORY_RESULT
to one of the following based on the reason for exiting:Value Reason OPERATOR
user requested operator by pressing '0' for operator ASSISTANT
user requested assistant by pressing '*' for assistant TIMEOUT
user pressed nothing and Directory stopped waiting HANGUP
user's channel hung up SELECTED
user selected a user from the directory and is routed USEREXIT
user pressed '#' from the selection prompt to exit FAILED
directory failed in a way that wasn't accounted for. Dang.
MusicOnHold
- MusicOnHold streams (all modes other than "files") now support wide band audio.
MixMonitor
- A new option,
B()
, has been added that will turn on a periodic beep while the call is being recorded. - New options to play a beep when starting a recording and stopping a recording have been added. The option
'p'
will play a beep to the channel that starts the recording. The option'P'
will play a beep to the channel that stops the recording.
Monitor
A new option,
B()
, has been added that will turn on a periodic beep while the call is being recorded.
Page
- Added options
'b'
and'B'
to apply pre-dial handlers for outgoing calls and for the channel executing Page respectively.
PickupChan
- PickupChan now accepts channel uniqueids of channels to pickup.
ReadFile
- The module
app_readfile
was deprecated and has been removed. Users of ReadFile should usefunc_env
's FILE function instead.
Record
- The Record application now has an option
'o'
which allows0
to act as an exit key. This will set the theRECORD_STATUS
variable to'OPERATOR'
instead of'DTMF'
.
Say
- If the channel variable
SAY_DTMF_INTERRUPT
is present on a channel and set to'true'
(case insensitive), then any Say application (SayNumber, SayDigits, SayAlpha, SayAlphaCase, SayUnixTime, and SayCounted) will anticipate DTMF. If DTMF is received, these applications will behave like the background application and jump to the received extension once a match is established or after a short period of inactivity. - The Say family of dialplan applications now support the Japanese language. The
language
parameter insay.conf
now recognizes a setting ofja
, which will enable Japanese language specific mechanisms for playing back numbers, dates, and other items.
SayCountPL
- The module
app_saycountpl
was deprecated and has been removed. Users ofapp_saycountpl
should use the Say family of applications.
SetMusicOnHold
- The SetMusicOnHold dialplan application was deprecated and has been removed. Users of the application should use the
CHANNEL
function'smusicclass
setting instead.
VoiceMail
- VoiceMail and VoiceMailMain now support the Japanese language. The
language
parameter invoicemail.conf
now recognizes a setting ofja
, which will enable prompts to be played back using a Japanese grammatical structure. Additional prompts are necessary for this functionality, including:- jb-arimasu: there is
- jb-arimasen: there is not
- jb-oshitekudasai: please press
- jb-ni: article ni
- jb-ga: article ga
- jb-wa: article wa
- jb-wo: article wo
- VoiceMail mailboxes configured in
voicemail.conf
can now have multiple e-mail address specified for a single mailbox. Each e-mail address is separated by the|
character.
WaitMusicOnHold
- The WaitMusicOnHold dialplan application was deprecated and has been removed. Users of the application should use MusicOnHold with a duration parameter instead.
Build System
- The location of the sample configuration files delivered with Asterisk have been moved from
configs
toconfigs/samples
. This allows for other sample configuration sets to be defined in the future. The action ofmake samples
is exactly the same as previous versions of Asterisk. - The
menuselect
tool has been pulled into the Asterisk repository. Generally, this change is transparent to those using tarballs of Asterisk; to those working directly with the Asterisk repository, there is no accessing of themenuselect
ormxml
external repositories. - The
menuselect
tool no longer uses a bundledmxml
library. Instead, it now useslibxml2
. As a result, thelibxml2
development library is now a required dependency for Asterisk.
Core
Account Codes
- Support for
peeraccount
was vastly improved in this version of Asterisk. Except for Queue, anaccountcode
is now consistently propagated to outgoing channels before dialing. A channel'saccountcode
can change from its original non-empty value on channel creation for the following specific reasons:- The dialplan sets it using
CHANNEL(accountcode)
. - An originate method specifies an
accountcode
value. - The calling channel propagates its
peeraccount
oraccountcode
to the outgoing channel'saccountcode
before dialing.
accountcode
andpeeraccount
codes across the special bridge between the;1
and;2
channels just like channels between normal bridges. Two, theCHANNEL(peeraccount)
value can now be set before Dial and FollowMe to set theaccountcode
on the outgoing channel(s). - The dialplan sets it using
- For Queue, an outgoing channel's non-empty
accountcode
will not change unless explicitly set byCHANNEL(accountcode)
. The change has three visible effects:- As previously mentioned, Local channels now cross
accountcode
andpeeraccount
across the special bridge between the;1
and;2
channels just like channels between normal bridges. - The queue member will get an
accountcode
if it doesn't have one and one is available from the calling channel'speeraccount
. accountcode
propagation includes Local channel members where theaccountcodes
are propagated early enough to be available on the;2
channel.
- As previously mentioned, Local channels now cross
AMI
- Added a new module that provides AMI control over MWI within Asterisk,
res_mwi_external_ami
. Note that this module depends onres_mwi_external
; for more information on enabling this module, seeres_mwi_external
. This module provides the MWIGet/MWIUpdate/MWIDelete actions, as well as the MWIGet/MWIGetComplete events.
Actions
- Added DialplanExtensionAdd and DialplanExtensionRemove AMI actions. These actions are analogous to the
dialplan add extension
anddialplan remove extension
CLI commands, respectively. - Added AMI action LoggerRotate, which reloads and rotates logger in the same manner as the CLI command
logger rotate
. - Added AMI actions FAXSessions, FAXSession, and FAXStats, which replicate the functionality of the CLI commands
fax show sessions
,fax show session
, andfax show stats
respectively. - Added AMI actions PRIDebugSet, PRIDebugFileSet, and PRIDebugFileUnset, which enable manager control over PRI debugging levels and file output.
- The AMI action PJSIPNotify may now send to a URI instead of only to a PJSIP endpoint as long as a default outbound endpoint is set. This also applies to the equivalent CLI command (
pjsip send notify
). - The AMI action PJSIPShowEndpoint now includes ContactStatusDetail sections that give information on Asterisk's attempts to qualify the endpoint.
- The MixMonitor action now has a Command header that can be used to indicate a post-process command to run once recording finishes.
- Added AMI actions DeviceStateList, PresenceStateList, and ExtensionStateList. Each of these can be used to list the current device states, presence states, and extension states respectively. The DeviceStateList and PresenceStateList actions are provided by the
res_manager_device_state.so
andres_manager_presence_state.so
modules, respectively. - Originate now takes optional parameters: ChannelId and OtherChannelId, which can be used to set the channel uniqueid on creation. The other id (specified by OtherChannelId) is only used when originating a Local channel, and is assigned to the second channel half of a Local channel. If a Local channel is originated and OtherChannelId is not specified, Asterisk will default to appending a
;2
to the identifier provided by ChannelId.
Events
- New DeviceStateChanged and PresenceStateChanged AMI events have been added. These events are emitted whenever a device state or presence state change occurs. The events are controlled by
res_manager_device_state.so
andres_manager_presence_state.so
. If the high frequency of these events is problematic for you, do not load these modules. - New events have been added for the
TALK_DETECT
function. When the function is used on a channel, ChannelTalkingStart/ChannelTalkingStop events will be emitted to connected AMI clients indicating the start/stop of talking on the channel. - The DialStatus field in the DialEnd event can now contain additional statuses that convey how the dial operation terminated. This includes
ABORT
,CONTINUE
, andGOTO
.
- AMI will now emit security events. A new class authorization has been added in manager.conf for the security events,
security
. The new events are:
Event | Description |
---|---|
FailedACL | Raised when a request violates an ACL check. |
InvalidAccountID | Raised when a request fails an authentication check due to an invalid account ID. |
SessionLimit | Raised when a request fails due to exceeding the number of allowed concurrent sessions for a service. |
MemoryLimit | Raised when a request fails due to an internal memory allocation failure. |
LoadAverageLimit | Raised when a request fails because a configured load average limit has been reached. |
RequestNotAllowed | Raised when a request is not allowed by the service.. |
AuthMethodNotAllowed | Raised when a request used an authentication method not allowed by the service. |
RequestBadFormat | Raised when a request is received with bad formatting. |
SuccessfulAuth | Raised when a request successfully authenticates. |
UnexpectedAddress | Raised when a request has a different source address then what is expected for a session already in progress with a service. |
ChallengeResponseFailed | Raised when a request's attempt to authenticate has been challenged, and the request failed the authentication challenge. |
InvalidPassword | Raised when a request provides an invalid password during an authentication attempt. |
ChallengeSent | Raised when an Asterisk service send an authentication challenge to a request. |
InvalidTransport | Raised when a request attempts to use a transport not allowed by the Asterisk service. |
- Bridge related events now have two additional fields: BridgeName and BridgeCreator. BridgeName is a descriptive name for the bridge; BridgeCreator is the name of the entity that created the bridge. This affects the following events: ConfbridgeStart, ConfbridgeEnd, ConfbridgeJoin, ConfbridgeLeave, ConfbridgeRecord, ConfbridgeStopRecord, ConfbridgeMute, ConfbridgeUnmute, ConfbridgeTalking, BlindTransfer, AttendedTransfer, BridgeCreate, BridgeDestroy, BridgeEnter, and BridgeLeave.
ARI
- Operations that create a resource can now provide the unique identifier as a parameter to the creation request. This includes:
- Channels:
- A channelId can now be provided when creating a channel, either in the request URI (
POST channels/my-channel-id
) or as a query parameter. A Local channel will suffix the second channel id with;2
unless the otherChannelId is provided as a query parameter. - A snoop channel can be started with a snoopId, in the request URI (
POST channels/my-channel-id/snoop/my-snoop-id
) or as a query parameter.
- A channelId can now be provided when creating a channel, either in the request URI (
- Bridges: A bridgeId can now be provided when creating a bridge, either in the request URI (
POST bridges/my-bridge-id
) or as a query parameter. - Playbacks: A playbackId can be provided when starting a playback, either in the request URI (
POST channels/my-channel-id/play/my-playback-id
orPOST bridges/my-bridge-id/play/my-playback-id
) or as a query parameter.
- Channels:
- Bridges: the bridge type used when creating a bridge is now a comma separated list of bridge properties. Valid options are:
mixing
,holding
,dtmf_events
, andproxy_media
. - The LiveRecording object in recording events now contains a target_uri field which contains the URI of what is being recorded.
- Stored recordings now support a new operation, copy. This will take an existing stored recording and copy it to a new location in the recordings directory.
- LiveRecording objects now have three additional fields that can be reported in a RecordingFinished ARI event:
- total_duration: the duration of the recording.
- talking_duration: optional. The duration of talking detected in the recording. This is only available if max_silence_seconds was specified when the recording was started.
- silence_duration: optional. The duration of silence detected in the recording. This is only available if max_silence_seconds was specified when the recording was started.
- Users of ARI can now send and receive out of call text messages. Messages can be sent using a
sendMessage
operation either directly to a particular endpoint or to the endpoints resource directly. In the latter case, the destination is derived from the URI scheme. Text messages are passed to ARI clients as TextMessageReceived events. ARI clients can choose to receive text messages by subscribing to the particular endpoint technology or endpoints that they are interested in. - The
applications
resource now supports subscriptions to all endpoints of a particular channel technology. For example, subscribing to aneventSource
ofendpoint:PJSIP
will subscribe to allPJSIP
endpoints. - New event models have been added for the
TALK_DETECT
function. When the function is used on a channel, ChannelTalkingStarted/ChannelTalkingFinished events will be emitted to connected WebSockets subscribed to the channel, indicating the start/stop of talking on the channel. - A new Playback URI
tone
has been added. Tones are specified either as an indication name, e.g.,tone:busy
, from indications.conf or as a tone pattern, e.g.,tone:240/250,0/250
. Tones differ from normal playback URIs in that they must be stopped manually and will continue to occupy a channel's ARI control queue until they are stopped. They also can not be rewound or fast-forwarded. - User events can now be generated from ARI. Events can be signalled with arbitrary JSON variables, and include one or more of
channel
,bridge
, orendpoint
snapshots. An application must be specified which will receive the event message (other applications can subscribe to it). If achannel
is specified, the message will also be delivered to connected AMI clients. Dialplan generated user event messages are still transmitted via thechannel
, and will only be received by a Stasis application they are attached to or if something is subscribed to thechannel
. - The Bridge data model now contains the additional fields name and creator. The name field conveys a descriptive name for the bridge; the creator field conveys the name of the entity that created the bridge. This affects all responses to HTTP requests that return a Bridge data model as well as all event derived data models that contain a Bridge data model. The
POST /bridges
operation may now optionally specify a name to give to the bridge being created. - Added a new ARI resource mailboxes which allows the creation and modification of mailboxes managed by external MWI. Modules
res_mwi_external
andres_stasis_mailbox
must be enabled to use this resource. For more information on external MWI control, seeres_mwi_external
. - Added new events for externally initiated transfers. The event BridgeBlindTransfer is now raised when a channel initiates a blind transfer of a bridge in the ARI controlled application to the dialplan; the BridgeAttendedTransfer event is raised when a channel initiates an attended transfer of a bridge in the ARI controlled application to the dialplan.
- Channel variables may now be specified as a body parameter to the
POST /channels
operation. Thevariables
key in the JSON is interpreted as a sequence of key/value pairs that will be added to the created channel as channel variables. Other parameters in the JSON body are treated as query parameters of the same name.
CEL
- The bridge_technology extra field key has been added to
BRIDGE_ENTER
andBRIDGE_EXIT
events.
CLI
core show locks
output now includes Thread/LWP ID, if the platform supports this feature.- New
logger add channel
andlogger remove channel
CLI commands have been added to allow creation and deletion of dynamic logger channels without configuration changes. These dynamic logger channels will only exist until the next restart of asterisk.
Features
- Channel variables are now substituted in arguments passed to applications run by using dynamic features.
HTTP
- Asterisk's HTTP server now supports chunked Transfer-Encoding. This will be automatically handled by the HTTP server if a request is received with a Transfer-Encoding type of
chunked
.
RealTime
- A new set of Alembic scripts has been added for CDR tables. This will create a
cdr
table with the default schema that Asterisk expects. - Numerous updates have been made to the database schemas for several tables. See the Upgrading to Asterisk 13 notes for more information.
TLS
- The TLS core in Asterisk now supports Perfect Forward Secrecy (PFS). Enabling PFS is attempted by default, and is dependent on the configuration of the module using TLS.
Ephemeral ECDH (ECDHE) is enabled by default. To disable it, do not specify a ECDHE cipher suite in sip.conf, for example:
Ephemeral DH (DHE) is disabled by default. To enable it, add DH parameters into the private key file, e.g., sip.conf
tlsprivatekey
. For example, the defaultdh2048.pem
- see http://www.opensource.apple.com/source/OpenSSL098/OpenSSL098-35.1/src/apps/dh2048.pem?txtBecause clients expect the server to prefer PFS, and because OpenSSL sorts its cipher suites by bit strength, see
openssl ciphers -v DEFAULT
. Consider re-ordering your cipher suites in the respective configuration file. For example:will use PFS when offered by the client. Clients which do not offer PFS fall-back to AES-128 (or even 3DES, as recommended by RFC 3261).
CDR Backends
cdr_sqlite
- This module was deprecated and has been removed. Users of
cdr_sqlite
should usecdr_sqlite3_custom
.
cdr_pgsql
- Added the ability to support PostgreSQL
application_name
on connections. This allows PostgreSQL to display the configured name in thepg_stat_activity
view and CSV log entries. This setting is configurable forcdr_pgsql
via theappname
configuration setting in cdr_pgsql.conf.
CEL Backends
cel_pgsql
- Added the ability to support PostgreSQL
application_name
on connections. This allows PostgreSQL to display the configured name in thepg_stat_activity
view and CSV log entries. This setting is configurable forcel_pgsql
via theappname
configuration setting in cel_pgsql.conf.
Channel Drivers
chan_dahdi
- SS7 support now requires
libss7
v2.0 or later. - Added SS7 support for connected line and redirecting.
- Most SS7 CLI commands have been reworked as well; additionally, new SS7 commands added. See the online CLI help for more information.
- Several SS7 config option parameters have been added; see the description in
chan_dahdi.conf.sample
.
chan_gtalk
- This module was deprecated and has been removed. Users of
chan_gtalk
should usechan_motif
.
chan_h323
- This module was deprecated and has been removed. Users of
chan_h323
should usechan_ooh323
.
chan_jingle
- This module was deprecated and has been removed. Users of
chan_jingle
should usechan_motif
.
chan_sip
- The
SIPPEER
dialplan function no longer supports using a colon as a delimiter for parameters. The parameters for the function should be delimited using a comma. - The
SIPCHANINFO
dialplan function was deprecated and has been removed. Users of the function should use theCHANNEL
function instead. - SIP peers can now specify
trust_id_outbound
which affects RPID/PAI fields for prohibitedcallingpres
information. Values arelegacy
,no
, andyes
. By default,legacy
is used.trust_id_outbound=legacy
- behaviour remains the same as in previous versions of Asterisk. When dealing with prohibitedcallingpres
andsendrpid=pai/rpid
, RPID/PAI headers are appended to outbound SIP messages just as they are with allowedcallingpres
values, but data about the remote party's identity is anonymized. Whensendrpid=rpid
, only the remote party's domain is anonymized.trust_id_outbound=no
- when dealing with prohibitedcallingpres
, RPID/PAI headers are not sent.trust_id_outbound=yes
- RPID/PAI headers are applied with the full remote party information intact even for prohibitedcallingpres
information. In the case of PAI, aPrivacy: id
header will be appended for prohibited calling information to communicate that the private information should not be relayed to untrusted parties.
- TEL URI support for inbound INVITE requests has been added.
chan_sip
will now handle TEL schemes in the Request and From URIs. The phone-context in the Request URI will be stored in theSIPURIPHONECONTEXT
channel variable on the inbound channel.
Functions
AST_SORCERY
- The
AST_SORCERY
function exposes sorcery-based configuration files like pjsip.conf to the dialplan.
AUDIOHOOK_INHERIT
- The
AUDIOHOOK_INHERIT
function has been deprecated. Audiohooks are now unconditionally inherited through masquerades. As a side benefit, more than one audiohook of a given type may persist through a masquerade now.
CONFBRIDGE
- The CONFBRIDGE dialplan function is now capable of creating/modifying dynamic conference user menus.
- The CONFBRIDGE dialplan function is now capable of removing dynamic conference menus, bridge settings, and user settings that have been applied by the CONFBRIDGE dialplan function.
JACK_HOOK
- The
JACK_HOOK
function now supports audio with a sample rate higher than 8kHz.
MIXMONITOR
- A new function,
MIXMONITOR
, has been added to allow access to individual instances of MixMonitor on a channel.
PERIODIC_HOOK
- A new function, PERIODIC_HOOK, has been added which allows for running a periodic dialplan hook on a channel. Any audio generated by this hook will be injected into the call.
TALK_DETECT
- A new function,
TALK_DETECT
, has been added. When set on a channel, this function causes events indicating the starting/stopping of talking on said channel to be emitted to both AMI and ARI clients.
Resources
res_config_pgsql
- Added the ability to support PostgreSQL
application_name
on connections. This allows PostgreSQL to display the configured name in thepg_stat_activity
view and CSV log entries. This setting is configurable forres_config_pgsql
via thedbappname
configuration setting in res_pgsql.conf.
res_hep
- A new module,
res_hep
, has been added that acts as a generic packet capture agent for the Homer Encapsulation Protocol (HEP) version 3. It can be configured viahep.conf
. Other modules useres_hep
to send message traffic to a HEP capture server.
res_hep_pjsip
- A new module,
res_hep_pjsip
, has been added that will forward PJSIP message traffic to a HEP capture server. Seeres_hep
for more information.
res_hep_rtcp
- A new module,
res_hep_rtcp
, has been added that will forward RTCP call statistics to a HEP capture server. Seeres_hep
for more information.
res_mwi_external
- A new module,
res_mwi_external
, has been added to Asterisk. This module acts as a base framework that other modules can build on top of to allow an external system to control MWI within Asterisk. For implementations that make use ofres_mwi_external
, see theres_mwi_external_ami
notes under the AMI changes andres_ari_mailboxes
notes under the ARI changes. Note thatres_mwi_external
conflicts with other modules that may produce MWI themselves, such asapp_voicemail
.res_mwi_external
and other modules that depend on it cannot be built or loaded withapp_voicemail
present.
res_parking
- Manager action Park now takes an additional argument AnnounceChannel which can be used to announce the parked call's location to an arbitrary channel in a bridge. If Channel and TimeoutChannel are the two parties in a two-party bridge, TimeoutChannel is treated as having parked Channel (in the same manner as the Park Call DTMF feature) and will receive announcements prior to being hung up.
res_pjsip
- The
endpoint
configuration object now supportsaccountcode
. Any channel created for an endpoint with this setting will have itsaccountcode
set to the specified value. transport
andendpoint
ToS options (tos
,tos_audio
, andtos_video
) may now be set as the named set of ToS values (cs0
-cs7
,af11
-af43
,ef
).- Added the following new CLI commands:
pjsip show contacts
- list all current PJSIP contacts.pjsip show contact
- show specific information about a current PJSIP contact.pjsip show channel
- show detailed information about a PJSIP channel.
- Path support has been added with the
support_path
option inregistration
andaor
sections. This functionality is provided by a new module,res_pjsip_path.so
. - A
debug
option has been added to theglobals
section that will allow sip messages to be logged. - A
set_var
option has been added to endpoints that will automatically set the desired variable(s) on a channel created for that endpoint. - DNS functionality will now automatically be enabled if the system configured nameservers can be retrieved. If the system configured nameservers can not be retrieved the functionality will resort to using basic system resolution. Functionality such as SRV records and fail-over will not be available if the basic system resolution is in use.
- Several new tables and columns have been added to the realtime schema for the
res_pjsip
related modules. See the UPGRADE notes for updating the database schema.
res_pjsip_multihomed
- A new module,
res_pjsip_multihomed
handles situations where the system Asterisk is running out has multiple interfaces.res_pjsip_multihomed
determines which interface should be used during message sending.
res_pjsip_pubsub
- Subscriptions can now be persisted via the
subscription_persistence
object inpjsip.conf
. Note that it is up to the configuration insorcery.conf
to determine how the subscription is persisted. - The publish/subscribe core module has been updated to support RFC 4662 Resource Lists, allowing Asterisk to act as a Resource List Server (RLS). Resource lists are configured in
pjsip.conf
under a new object type,resource_list
. Resource lists can contain eithermessage-summary
orpresence
events, can be composed of specific resources that provide the event, or other resource lists. - Inbound publication support is provided by a new object,
inbound-publication
. This configuresres_pjsip_pubsub
to acceptPUBLISH
requests from a particular resource. Which events are accepted is constructed dynamically; seeres_pjsip_publish_asterisk
for more information and Exchanging Device and Mailbox State Using PJSIP for examples on configuring this feature.
res_pjsip_pidf_digium_body_supplement
- A new module,
res_pjsip_pidf_digium_body_supplement
provides NOTIFY request body formatting for presence support in Digium phones.
res_pjsip_send_to_voicemail
- A new module,
res_pjsip_send_to_voicemail
allows for REFER requests with particular headers to transfer a PJSIP channel directly to a particular extension that has VoiceMail. This is intended to be used with Digium phones that support this feature.
res_pjsip_outbound_publish
- A new module,
res_pjsip_outbound_publish
provides the mechanisms for sendingPUBLISH
requests for specific event packages to another SIP User Agent. See Exchanging Device and Mailbox State Using PJSIP for examples on configuring this feature.
res_pjsip_outbound_registration
- A new CLI command has been added:
pjsip show registrations
, which lists all configured PJSIP registrations.
res_pjsip_publish_asterisk
- A new module,
res_pjsip_publish_asterisk
adds support forPUBLISH
requests of Asterisk information to other Asterisk servers. This module is intended only for Asterisk to Asterisk exchanges of information. Currently, this includes both mailbox state and device state information. See Exchanging Device and Mailbox State Using PJSIP for examples on configuring this feature.