mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-18 18:58:22 +00:00
ARI/AMI: Update versions; update UPGRADE/CHANGES notes for 12.1.0 changes
Due to backwards compatible changes made to AMI/ARI, the version needs to be bumped to 1.1.0/2.1.0, respectively. ........ Merged revisions 407402 from http://svn.asterisk.org/svn/asterisk/branches/12 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@407407 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
51
CHANGES
51
CHANGES
@@ -87,22 +87,65 @@ Debugging
|
|||||||
--- Functionality changes from Asterisk 12.0.0 to Asterisk 12.1.0 ------------
|
--- Functionality changes from Asterisk 12.0.0 to Asterisk 12.1.0 ------------
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
AMI
|
||||||
|
------------------
|
||||||
|
* Added a new module that provides AMI control over MWI within Asterisk,
|
||||||
|
res_mwi_external_ami. Note that this module depends on res_mwi_external;
|
||||||
|
for more information on enabling this module, see res_mwi_external.
|
||||||
|
This module provides the MWIGet/MWIUpdate/MWIDelete actions, as well as
|
||||||
|
the MWIGet/MWIGetComplete events.
|
||||||
|
|
||||||
|
* The DialStatus field in the DialEnd event can now contain additional
|
||||||
|
statuses that convey how the dial operation terminated. This includes
|
||||||
|
ABORT, CONTINUE, and GOTO.
|
||||||
|
|
||||||
ARI
|
ARI
|
||||||
------------------
|
------------------
|
||||||
* Added a new ARI resource 'mailboxes' which allows the creation and
|
* Added a new ARI resource 'mailboxes' which allows the creation and
|
||||||
modification of mailboxes managed by external MWI. Modules res_mwi_external
|
modification of mailboxes managed by external MWI. Modules res_mwi_external
|
||||||
and res_stasis_mailbox must be enabled to use this resource.
|
and res_stasis_mailbox must be enabled to use this resource. For more
|
||||||
|
information on external MWI control, see res_mwi_external.
|
||||||
|
|
||||||
chan_pjsip
|
* 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. The 'variables' 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.
|
||||||
|
|
||||||
|
res_pjsip
|
||||||
------------------
|
------------------
|
||||||
* Path support has been added with the 'support_path' option in registration
|
* Path support has been added with the 'support_path' option in registration
|
||||||
and aor sections.
|
and aor sections.
|
||||||
|
|
||||||
res_pjsip
|
|
||||||
------------------
|
|
||||||
* A 'debug' option has been added to the globals section that will allow
|
* A 'debug' option has been added to the globals section that will allow
|
||||||
sip messages to be logged.
|
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.
|
||||||
|
|
||||||
|
* Several new tables and columns have been added to the realtime schema for
|
||||||
|
the res_pjsip related modules. See the UPGRADE.txt notes for updating
|
||||||
|
the database schema.
|
||||||
|
|
||||||
|
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 of res_mwi_external, see res_mwi_external_ami and
|
||||||
|
res_ari_mailboxes. Note that res_mwi_external canflicts with other modules
|
||||||
|
that may produce MWI themselves, such as app_voicemail. res_mwi_external
|
||||||
|
and other modules that depend on it cannot be built or loaded with
|
||||||
|
app_voicemail present.
|
||||||
|
|
||||||
|
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
--- Functionality changes from Asterisk 11 to Asterisk 12 --------------------
|
--- Functionality changes from Asterisk 11 to Asterisk 12 --------------------
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
|
63
UPGRADE.txt
63
UPGRADE.txt
@@ -32,6 +32,39 @@ From 12 to 13:
|
|||||||
an older version of rasterisk connects to the new version then the
|
an older version of rasterisk connects to the new version then the
|
||||||
"core set verbose" command will have no effect.
|
"core set verbose" command will have no effect.
|
||||||
|
|
||||||
|
ARI:
|
||||||
|
- The ARI version has been changed from 1.0.0 to 1.1.0. This is to reflect
|
||||||
|
the backwards compatible changes listed below.
|
||||||
|
|
||||||
|
- Added a new ARI resource 'mailboxes' which allows the creation and
|
||||||
|
modification of mailboxes managed by external MWI. Modules res_mwi_external
|
||||||
|
and res_stasis_mailbox must be enabled to use this resource.
|
||||||
|
|
||||||
|
- 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. The 'variables' 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.
|
||||||
|
|
||||||
|
AMI:
|
||||||
|
- The AMI version has been changed from 2.0.0 to 2.1.0. This is to reflect
|
||||||
|
the backwards compatible changes listed below.
|
||||||
|
|
||||||
|
- The DialStatus field in the DialEnd event can now have additional values.
|
||||||
|
This includes ABORT, CONTINUE, and GOTO.
|
||||||
|
|
||||||
|
- The res_mwi_external_ami module can, if loaded, provide additional AMI
|
||||||
|
actions and events that convey MWI state within Asterisk. This includes
|
||||||
|
the MWIGet, MWIUpdate, and MWIDelete actions, as well as the MWIGet and
|
||||||
|
MWIGetComplete events that occur in response to an MWIGet action.
|
||||||
|
|
||||||
CDRs:
|
CDRs:
|
||||||
- The "endbeforehexten" setting now defaults to "yes", instead of "no".
|
- The "endbeforehexten" setting now defaults to "yes", instead of "no".
|
||||||
When set to "no", yhis setting will cause a new CDR to be generated when a
|
When set to "no", yhis setting will cause a new CDR to be generated when a
|
||||||
@@ -59,24 +92,30 @@ Configuration Files:
|
|||||||
instead of a "basic" one.
|
instead of a "basic" one.
|
||||||
|
|
||||||
Realtime Configuration:
|
Realtime Configuration:
|
||||||
- New columns have been added to realtime tables for 'support_path' on
|
|
||||||
ps_registrations and ps_aors and for 'path' on ps_contacts for the new
|
|
||||||
SIP Path support in chan_pjsip.
|
|
||||||
- The following new tables have been added for pjsip realtime: 'ps_systems',
|
|
||||||
'ps_globals', 'ps_tranports', 'ps_registrations'.
|
|
||||||
- The following columns were added to the 'ps_aors' realtime table:
|
|
||||||
'maximum_expiration', 'outbound_proxy', and 'support_path'.
|
|
||||||
- The following columns were added to the 'ps_contacts' realtime table:
|
|
||||||
'outbound_proxy' and 'path'.
|
|
||||||
- New columns have been added to the ps_endpoints realtime table for the
|
|
||||||
'media_address', 'redirect_method' and 'set_var' options. Also the
|
|
||||||
'mwi_fromuser' column was renamed to 'mwi_from_user'.
|
|
||||||
- WARNING: The database migration script that adds the 'extensions' table for
|
- WARNING: The database migration script that adds the 'extensions' table for
|
||||||
realtime had to be modified due to an error when installing for MySQL. The
|
realtime had to be modified due to an error when installing for MySQL. The
|
||||||
'extensions' table's 'id' column was changed to be a primary key. This could
|
'extensions' table's 'id' column was changed to be a primary key. This could
|
||||||
potentially cause a migration problem. If so, it may be necessary to
|
potentially cause a migration problem. If so, it may be necessary to
|
||||||
manually alter the affected table/column to bring it back in line with the
|
manually alter the affected table/column to bring it back in line with the
|
||||||
migration scripts.
|
migration scripts.
|
||||||
|
|
||||||
|
- New columns have been added to realtime tables for 'support_path' on
|
||||||
|
ps_registrations and ps_aors and for 'path' on ps_contacts for the new
|
||||||
|
SIP Path support in chan_pjsip.
|
||||||
|
|
||||||
|
- The following new tables have been added for pjsip realtime: 'ps_systems',
|
||||||
|
'ps_globals', 'ps_tranports', 'ps_registrations'.
|
||||||
|
|
||||||
|
- The following columns were added to the 'ps_aors' realtime table:
|
||||||
|
'maximum_expiration', 'outbound_proxy', and 'support_path'.
|
||||||
|
|
||||||
|
- The following columns were added to the 'ps_contacts' realtime table:
|
||||||
|
'outbound_proxy' and 'path'.
|
||||||
|
|
||||||
|
- New columns have been added to the ps_endpoints realtime table for the
|
||||||
|
'media_address', 'redirect_method' and 'set_var' options. Also the
|
||||||
|
'mwi_fromuser' column was renamed to 'mwi_from_user'.
|
||||||
|
|
||||||
- A new column was added to the 'ps_globals' realtime table for the 'debug'
|
- A new column was added to the 'ps_globals' realtime table for the 'debug'
|
||||||
option.
|
option.
|
||||||
|
|
||||||
|
@@ -54,7 +54,7 @@
|
|||||||
- \ref manager.c Main manager code file
|
- \ref manager.c Main manager code file
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define AMI_VERSION "2.0.0"
|
#define AMI_VERSION "2.1.0"
|
||||||
#define DEFAULT_MANAGER_PORT 5038 /* Default port for Asterisk management via TCP */
|
#define DEFAULT_MANAGER_PORT 5038 /* Default port for Asterisk management via TCP */
|
||||||
#define DEFAULT_MANAGER_TLS_PORT 5039 /* Default port for Asterisk management via TCP */
|
#define DEFAULT_MANAGER_TLS_PORT 5039 /* Default port for Asterisk management via TCP */
|
||||||
|
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
"_copyright": "Copyright (C) 2013, Digium, Inc.",
|
"_copyright": "Copyright (C) 2013, Digium, Inc.",
|
||||||
"_author": "David M. Lee, II <dlee@digium.com>",
|
"_author": "David M. Lee, II <dlee@digium.com>",
|
||||||
"_svn_revision": "$Revision$",
|
"_svn_revision": "$Revision$",
|
||||||
"apiVersion": "1.0.0",
|
"apiVersion": "1.1.0",
|
||||||
"swaggerVersion": "1.1",
|
"swaggerVersion": "1.1",
|
||||||
"basePath": "http://localhost:8088/stasis",
|
"basePath": "http://localhost:8088/stasis",
|
||||||
"resourcePath": "/api-docs/applications.{format}",
|
"resourcePath": "/api-docs/applications.{format}",
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
"_copyright": "Copyright (C) 2012 - 2013, Digium, Inc.",
|
"_copyright": "Copyright (C) 2012 - 2013, Digium, Inc.",
|
||||||
"_author": "David M. Lee, II <dlee@digium.com>",
|
"_author": "David M. Lee, II <dlee@digium.com>",
|
||||||
"_svn_revision": "$Revision$",
|
"_svn_revision": "$Revision$",
|
||||||
"apiVersion": "1.0.0",
|
"apiVersion": "1.1.0",
|
||||||
"swaggerVersion": "1.1",
|
"swaggerVersion": "1.1",
|
||||||
"basePath": "http://localhost:8088/stasis",
|
"basePath": "http://localhost:8088/stasis",
|
||||||
"resourcePath": "/api-docs/asterisk.{format}",
|
"resourcePath": "/api-docs/asterisk.{format}",
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
"_copyright": "Copyright (C) 2012 - 2013, Digium, Inc.",
|
"_copyright": "Copyright (C) 2012 - 2013, Digium, Inc.",
|
||||||
"_author": "David M. Lee, II <dlee@digium.com>",
|
"_author": "David M. Lee, II <dlee@digium.com>",
|
||||||
"_svn_revision": "$Revision$",
|
"_svn_revision": "$Revision$",
|
||||||
"apiVersion": "1.0.0",
|
"apiVersion": "1.1.0",
|
||||||
"swaggerVersion": "1.1",
|
"swaggerVersion": "1.1",
|
||||||
"basePath": "http://localhost:8088/stasis",
|
"basePath": "http://localhost:8088/stasis",
|
||||||
"resourcePath": "/api-docs/bridges.{format}",
|
"resourcePath": "/api-docs/bridges.{format}",
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
"_copyright": "Copyright (C) 2012 - 2013, Digium, Inc.",
|
"_copyright": "Copyright (C) 2012 - 2013, Digium, Inc.",
|
||||||
"_author": "David M. Lee, II <dlee@digium.com>",
|
"_author": "David M. Lee, II <dlee@digium.com>",
|
||||||
"_svn_revision": "$Revision$",
|
"_svn_revision": "$Revision$",
|
||||||
"apiVersion": "1.0.0",
|
"apiVersion": "1.1.0",
|
||||||
"swaggerVersion": "1.1",
|
"swaggerVersion": "1.1",
|
||||||
"basePath": "http://localhost:8088/stasis",
|
"basePath": "http://localhost:8088/stasis",
|
||||||
"resourcePath": "/api-docs/channels.{format}",
|
"resourcePath": "/api-docs/channels.{format}",
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
"_copyright": "Copyright (C) 2012 - 2013, Digium, Inc.",
|
"_copyright": "Copyright (C) 2012 - 2013, Digium, Inc.",
|
||||||
"_author": "Kevin Harwell <kharwell@digium.com>",
|
"_author": "Kevin Harwell <kharwell@digium.com>",
|
||||||
"_svn_revision": "$Revision$",
|
"_svn_revision": "$Revision$",
|
||||||
"apiVersion": "1.0.0",
|
"apiVersion": "1.1.0",
|
||||||
"swaggerVersion": "1.1",
|
"swaggerVersion": "1.1",
|
||||||
"basePath": "http://localhost:8088/stasis",
|
"basePath": "http://localhost:8088/stasis",
|
||||||
"resourcePath": "/api-docs/deviceStates.{format}",
|
"resourcePath": "/api-docs/deviceStates.{format}",
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
"_copyright": "Copyright (C) 2012 - 2013, Digium, Inc.",
|
"_copyright": "Copyright (C) 2012 - 2013, Digium, Inc.",
|
||||||
"_author": "David M. Lee, II <dlee@digium.com>",
|
"_author": "David M. Lee, II <dlee@digium.com>",
|
||||||
"_svn_revision": "$Revision$",
|
"_svn_revision": "$Revision$",
|
||||||
"apiVersion": "1.0.0",
|
"apiVersion": "1.1.0",
|
||||||
"swaggerVersion": "1.1",
|
"swaggerVersion": "1.1",
|
||||||
"basePath": "http://localhost:8088/stasis",
|
"basePath": "http://localhost:8088/stasis",
|
||||||
"resourcePath": "/api-docs/endpoints.{format}",
|
"resourcePath": "/api-docs/endpoints.{format}",
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
"_copyright": "Copyright (C) 2012 - 2013, Digium, Inc.",
|
"_copyright": "Copyright (C) 2012 - 2013, Digium, Inc.",
|
||||||
"_author": "David M. Lee, II <dlee@digium.com>",
|
"_author": "David M. Lee, II <dlee@digium.com>",
|
||||||
"_svn_revision": "$Revision$",
|
"_svn_revision": "$Revision$",
|
||||||
"apiVersion": "1.0.0",
|
"apiVersion": "1.1.0",
|
||||||
"swaggerVersion": "1.2",
|
"swaggerVersion": "1.2",
|
||||||
"basePath": "http://localhost:8088/stasis",
|
"basePath": "http://localhost:8088/stasis",
|
||||||
"resourcePath": "/api-docs/events.{format}",
|
"resourcePath": "/api-docs/events.{format}",
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
"_copyright": "Copyright (C) 2013, Digium, Inc.",
|
"_copyright": "Copyright (C) 2013, Digium, Inc.",
|
||||||
"_author": "Jonathan Rose <jrose@digium.com>",
|
"_author": "Jonathan Rose <jrose@digium.com>",
|
||||||
"_svn_revision": "$Revision$",
|
"_svn_revision": "$Revision$",
|
||||||
"apiVersion": "1.0.0",
|
"apiVersion": "1.1.0",
|
||||||
"swaggerVersion": "1.1",
|
"swaggerVersion": "1.1",
|
||||||
"basePath": "http://localhost:8088/stasis",
|
"basePath": "http://localhost:8088/stasis",
|
||||||
"resourcePath": "/api-docs/mailboxes.{format}",
|
"resourcePath": "/api-docs/mailboxes.{format}",
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
"_copyright": "Copyright (C) 2012 - 2013, Digium, Inc.",
|
"_copyright": "Copyright (C) 2012 - 2013, Digium, Inc.",
|
||||||
"_author": "David M. Lee, II <dlee@digium.com>",
|
"_author": "David M. Lee, II <dlee@digium.com>",
|
||||||
"_svn_revision": "$Revision$",
|
"_svn_revision": "$Revision$",
|
||||||
"apiVersion": "1.0.0",
|
"apiVersion": "1.1.0",
|
||||||
"swaggerVersion": "1.1",
|
"swaggerVersion": "1.1",
|
||||||
"basePath": "http://localhost:8088/stasis",
|
"basePath": "http://localhost:8088/stasis",
|
||||||
"resourcePath": "/api-docs/playbacks.{format}",
|
"resourcePath": "/api-docs/playbacks.{format}",
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
"_copyright": "Copyright (C) 2012 - 2013, Digium, Inc.",
|
"_copyright": "Copyright (C) 2012 - 2013, Digium, Inc.",
|
||||||
"_author": "David M. Lee, II <dlee@digium.com>",
|
"_author": "David M. Lee, II <dlee@digium.com>",
|
||||||
"_svn_revision": "$Revision$",
|
"_svn_revision": "$Revision$",
|
||||||
"apiVersion": "1.0.0",
|
"apiVersion": "1.1.0",
|
||||||
"swaggerVersion": "1.1",
|
"swaggerVersion": "1.1",
|
||||||
"basePath": "http://localhost:8088/stasis",
|
"basePath": "http://localhost:8088/stasis",
|
||||||
"resourcePath": "/api-docs/recordings.{format}",
|
"resourcePath": "/api-docs/recordings.{format}",
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
"_copyright": "Copyright (C) 2012 - 2013, Digium, Inc.",
|
"_copyright": "Copyright (C) 2012 - 2013, Digium, Inc.",
|
||||||
"_author": "David M. Lee, II <dlee@digium.com>",
|
"_author": "David M. Lee, II <dlee@digium.com>",
|
||||||
"_svn_revision": "$Revision$",
|
"_svn_revision": "$Revision$",
|
||||||
"apiVersion": "1.0.0",
|
"apiVersion": "1.1.0",
|
||||||
"swaggerVersion": "1.1",
|
"swaggerVersion": "1.1",
|
||||||
"basePath": "http://localhost:8088/stasis",
|
"basePath": "http://localhost:8088/stasis",
|
||||||
"resourcePath": "/api-docs/sounds.{format}",
|
"resourcePath": "/api-docs/sounds.{format}",
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
"_copyright": "Copyright (C) 2012 - 2013, Digium, Inc.",
|
"_copyright": "Copyright (C) 2012 - 2013, Digium, Inc.",
|
||||||
"_author": "David M. Lee, II <dlee@digium.com>",
|
"_author": "David M. Lee, II <dlee@digium.com>",
|
||||||
"_svn_revision": "$Revision$",
|
"_svn_revision": "$Revision$",
|
||||||
"apiVersion": "1.0.0",
|
"apiVersion": "1.1.0",
|
||||||
"swaggerVersion": "1.1",
|
"swaggerVersion": "1.1",
|
||||||
"basePath": "http://localhost:8088/ari",
|
"basePath": "http://localhost:8088/ari",
|
||||||
"apis": [
|
"apis": [
|
||||||
|
Reference in New Issue
Block a user