[asterisk-commits] mjordan: trunk r407407 - in /trunk: ./ include/asterisk/ rest-api/ rest-api/a...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Feb 5 09:29:15 CST 2014
Author: mjordan
Date: Wed Feb 5 09:29:12 2014
New Revision: 407407
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=407407
Log:
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
Modified:
trunk/ (props changed)
trunk/CHANGES
trunk/UPGRADE.txt
trunk/include/asterisk/manager.h
trunk/rest-api/api-docs/applications.json
trunk/rest-api/api-docs/asterisk.json
trunk/rest-api/api-docs/bridges.json
trunk/rest-api/api-docs/channels.json
trunk/rest-api/api-docs/deviceStates.json
trunk/rest-api/api-docs/endpoints.json
trunk/rest-api/api-docs/events.json
trunk/rest-api/api-docs/mailboxes.json
trunk/rest-api/api-docs/playbacks.json
trunk/rest-api/api-docs/recordings.json
trunk/rest-api/api-docs/sounds.json
trunk/rest-api/resources.json
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-12-merged' - no diff available.
Modified: trunk/CHANGES
URL: http://svnview.digium.com/svn/asterisk/trunk/CHANGES?view=diff&rev=407407&r1=407406&r2=407407
==============================================================================
--- trunk/CHANGES (original)
+++ trunk/CHANGES Wed Feb 5 09:29:12 2014
@@ -87,21 +87,64 @@
--- 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
------------------
* 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.
-
-chan_pjsip
+ and res_stasis_mailbox must be enabled to use this resource. For more
+ information on external MWI control, see res_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. 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
and aor sections.
-res_pjsip
-------------------
* A 'debug' option has been added to the globals 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.
+
+ * 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 --------------------
Modified: trunk/UPGRADE.txt
URL: http://svnview.digium.com/svn/asterisk/trunk/UPGRADE.txt?view=diff&rev=407407&r1=407406&r2=407407
==============================================================================
--- trunk/UPGRADE.txt (original)
+++ trunk/UPGRADE.txt Wed Feb 5 09:29:12 2014
@@ -32,6 +32,39 @@
an older version of rasterisk connects to the new version then the
"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:
- 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
@@ -59,24 +92,30 @@
instead of a "basic" one.
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
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
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
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'
option.
Modified: trunk/include/asterisk/manager.h
URL: http://svnview.digium.com/svn/asterisk/trunk/include/asterisk/manager.h?view=diff&rev=407407&r1=407406&r2=407407
==============================================================================
--- trunk/include/asterisk/manager.h (original)
+++ trunk/include/asterisk/manager.h Wed Feb 5 09:29:12 2014
@@ -54,7 +54,7 @@
- \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_TLS_PORT 5039 /* Default port for Asterisk management via TCP */
Modified: trunk/rest-api/api-docs/applications.json
URL: http://svnview.digium.com/svn/asterisk/trunk/rest-api/api-docs/applications.json?view=diff&rev=407407&r1=407406&r2=407407
==============================================================================
--- trunk/rest-api/api-docs/applications.json (original)
+++ trunk/rest-api/api-docs/applications.json Wed Feb 5 09:29:12 2014
@@ -2,7 +2,7 @@
"_copyright": "Copyright (C) 2013, Digium, Inc.",
"_author": "David M. Lee, II <dlee at digium.com>",
"_svn_revision": "$Revision$",
- "apiVersion": "1.0.0",
+ "apiVersion": "1.1.0",
"swaggerVersion": "1.1",
"basePath": "http://localhost:8088/stasis",
"resourcePath": "/api-docs/applications.{format}",
Modified: trunk/rest-api/api-docs/asterisk.json
URL: http://svnview.digium.com/svn/asterisk/trunk/rest-api/api-docs/asterisk.json?view=diff&rev=407407&r1=407406&r2=407407
==============================================================================
--- trunk/rest-api/api-docs/asterisk.json (original)
+++ trunk/rest-api/api-docs/asterisk.json Wed Feb 5 09:29:12 2014
@@ -2,7 +2,7 @@
"_copyright": "Copyright (C) 2012 - 2013, Digium, Inc.",
"_author": "David M. Lee, II <dlee at digium.com>",
"_svn_revision": "$Revision$",
- "apiVersion": "1.0.0",
+ "apiVersion": "1.1.0",
"swaggerVersion": "1.1",
"basePath": "http://localhost:8088/stasis",
"resourcePath": "/api-docs/asterisk.{format}",
Modified: trunk/rest-api/api-docs/bridges.json
URL: http://svnview.digium.com/svn/asterisk/trunk/rest-api/api-docs/bridges.json?view=diff&rev=407407&r1=407406&r2=407407
==============================================================================
--- trunk/rest-api/api-docs/bridges.json (original)
+++ trunk/rest-api/api-docs/bridges.json Wed Feb 5 09:29:12 2014
@@ -2,7 +2,7 @@
"_copyright": "Copyright (C) 2012 - 2013, Digium, Inc.",
"_author": "David M. Lee, II <dlee at digium.com>",
"_svn_revision": "$Revision$",
- "apiVersion": "1.0.0",
+ "apiVersion": "1.1.0",
"swaggerVersion": "1.1",
"basePath": "http://localhost:8088/stasis",
"resourcePath": "/api-docs/bridges.{format}",
Modified: trunk/rest-api/api-docs/channels.json
URL: http://svnview.digium.com/svn/asterisk/trunk/rest-api/api-docs/channels.json?view=diff&rev=407407&r1=407406&r2=407407
==============================================================================
--- trunk/rest-api/api-docs/channels.json (original)
+++ trunk/rest-api/api-docs/channels.json Wed Feb 5 09:29:12 2014
@@ -2,7 +2,7 @@
"_copyright": "Copyright (C) 2012 - 2013, Digium, Inc.",
"_author": "David M. Lee, II <dlee at digium.com>",
"_svn_revision": "$Revision$",
- "apiVersion": "1.0.0",
+ "apiVersion": "1.1.0",
"swaggerVersion": "1.1",
"basePath": "http://localhost:8088/stasis",
"resourcePath": "/api-docs/channels.{format}",
Modified: trunk/rest-api/api-docs/deviceStates.json
URL: http://svnview.digium.com/svn/asterisk/trunk/rest-api/api-docs/deviceStates.json?view=diff&rev=407407&r1=407406&r2=407407
==============================================================================
--- trunk/rest-api/api-docs/deviceStates.json (original)
+++ trunk/rest-api/api-docs/deviceStates.json Wed Feb 5 09:29:12 2014
@@ -2,7 +2,7 @@
"_copyright": "Copyright (C) 2012 - 2013, Digium, Inc.",
"_author": "Kevin Harwell <kharwell at digium.com>",
"_svn_revision": "$Revision$",
- "apiVersion": "1.0.0",
+ "apiVersion": "1.1.0",
"swaggerVersion": "1.1",
"basePath": "http://localhost:8088/stasis",
"resourcePath": "/api-docs/deviceStates.{format}",
Modified: trunk/rest-api/api-docs/endpoints.json
URL: http://svnview.digium.com/svn/asterisk/trunk/rest-api/api-docs/endpoints.json?view=diff&rev=407407&r1=407406&r2=407407
==============================================================================
--- trunk/rest-api/api-docs/endpoints.json (original)
+++ trunk/rest-api/api-docs/endpoints.json Wed Feb 5 09:29:12 2014
@@ -2,7 +2,7 @@
"_copyright": "Copyright (C) 2012 - 2013, Digium, Inc.",
"_author": "David M. Lee, II <dlee at digium.com>",
"_svn_revision": "$Revision$",
- "apiVersion": "1.0.0",
+ "apiVersion": "1.1.0",
"swaggerVersion": "1.1",
"basePath": "http://localhost:8088/stasis",
"resourcePath": "/api-docs/endpoints.{format}",
Modified: trunk/rest-api/api-docs/events.json
URL: http://svnview.digium.com/svn/asterisk/trunk/rest-api/api-docs/events.json?view=diff&rev=407407&r1=407406&r2=407407
==============================================================================
--- trunk/rest-api/api-docs/events.json (original)
+++ trunk/rest-api/api-docs/events.json Wed Feb 5 09:29:12 2014
@@ -2,7 +2,7 @@
"_copyright": "Copyright (C) 2012 - 2013, Digium, Inc.",
"_author": "David M. Lee, II <dlee at digium.com>",
"_svn_revision": "$Revision$",
- "apiVersion": "1.0.0",
+ "apiVersion": "1.1.0",
"swaggerVersion": "1.2",
"basePath": "http://localhost:8088/stasis",
"resourcePath": "/api-docs/events.{format}",
Modified: trunk/rest-api/api-docs/mailboxes.json
URL: http://svnview.digium.com/svn/asterisk/trunk/rest-api/api-docs/mailboxes.json?view=diff&rev=407407&r1=407406&r2=407407
==============================================================================
--- trunk/rest-api/api-docs/mailboxes.json (original)
+++ trunk/rest-api/api-docs/mailboxes.json Wed Feb 5 09:29:12 2014
@@ -2,7 +2,7 @@
"_copyright": "Copyright (C) 2013, Digium, Inc.",
"_author": "Jonathan Rose <jrose at digium.com>",
"_svn_revision": "$Revision$",
- "apiVersion": "1.0.0",
+ "apiVersion": "1.1.0",
"swaggerVersion": "1.1",
"basePath": "http://localhost:8088/stasis",
"resourcePath": "/api-docs/mailboxes.{format}",
Modified: trunk/rest-api/api-docs/playbacks.json
URL: http://svnview.digium.com/svn/asterisk/trunk/rest-api/api-docs/playbacks.json?view=diff&rev=407407&r1=407406&r2=407407
==============================================================================
--- trunk/rest-api/api-docs/playbacks.json (original)
+++ trunk/rest-api/api-docs/playbacks.json Wed Feb 5 09:29:12 2014
@@ -2,7 +2,7 @@
"_copyright": "Copyright (C) 2012 - 2013, Digium, Inc.",
"_author": "David M. Lee, II <dlee at digium.com>",
"_svn_revision": "$Revision$",
- "apiVersion": "1.0.0",
+ "apiVersion": "1.1.0",
"swaggerVersion": "1.1",
"basePath": "http://localhost:8088/stasis",
"resourcePath": "/api-docs/playbacks.{format}",
Modified: trunk/rest-api/api-docs/recordings.json
URL: http://svnview.digium.com/svn/asterisk/trunk/rest-api/api-docs/recordings.json?view=diff&rev=407407&r1=407406&r2=407407
==============================================================================
--- trunk/rest-api/api-docs/recordings.json (original)
+++ trunk/rest-api/api-docs/recordings.json Wed Feb 5 09:29:12 2014
@@ -2,7 +2,7 @@
"_copyright": "Copyright (C) 2012 - 2013, Digium, Inc.",
"_author": "David M. Lee, II <dlee at digium.com>",
"_svn_revision": "$Revision$",
- "apiVersion": "1.0.0",
+ "apiVersion": "1.1.0",
"swaggerVersion": "1.1",
"basePath": "http://localhost:8088/stasis",
"resourcePath": "/api-docs/recordings.{format}",
Modified: trunk/rest-api/api-docs/sounds.json
URL: http://svnview.digium.com/svn/asterisk/trunk/rest-api/api-docs/sounds.json?view=diff&rev=407407&r1=407406&r2=407407
==============================================================================
--- trunk/rest-api/api-docs/sounds.json (original)
+++ trunk/rest-api/api-docs/sounds.json Wed Feb 5 09:29:12 2014
@@ -2,7 +2,7 @@
"_copyright": "Copyright (C) 2012 - 2013, Digium, Inc.",
"_author": "David M. Lee, II <dlee at digium.com>",
"_svn_revision": "$Revision$",
- "apiVersion": "1.0.0",
+ "apiVersion": "1.1.0",
"swaggerVersion": "1.1",
"basePath": "http://localhost:8088/stasis",
"resourcePath": "/api-docs/sounds.{format}",
Modified: trunk/rest-api/resources.json
URL: http://svnview.digium.com/svn/asterisk/trunk/rest-api/resources.json?view=diff&rev=407407&r1=407406&r2=407407
==============================================================================
--- trunk/rest-api/resources.json (original)
+++ trunk/rest-api/resources.json Wed Feb 5 09:29:12 2014
@@ -2,7 +2,7 @@
"_copyright": "Copyright (C) 2012 - 2013, Digium, Inc.",
"_author": "David M. Lee, II <dlee at digium.com>",
"_svn_revision": "$Revision$",
- "apiVersion": "1.0.0",
+ "apiVersion": "1.1.0",
"swaggerVersion": "1.1",
"basePath": "http://localhost:8088/ari",
"apis": [
More information about the asterisk-commits
mailing list