[svn-commits] mjordan: branch 12 r407402 - in /branches/12: ./ include/asterisk/ rest-api/ ...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Feb 5 08:22:23 CST 2014


Author: mjordan
Date: Wed Feb  5 08:22:16 2014
New Revision: 407402

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=407402
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.

Modified:
    branches/12/CHANGES
    branches/12/UPGRADE.txt
    branches/12/include/asterisk/manager.h
    branches/12/rest-api/api-docs/applications.json
    branches/12/rest-api/api-docs/asterisk.json
    branches/12/rest-api/api-docs/bridges.json
    branches/12/rest-api/api-docs/channels.json
    branches/12/rest-api/api-docs/deviceStates.json
    branches/12/rest-api/api-docs/endpoints.json
    branches/12/rest-api/api-docs/events.json
    branches/12/rest-api/api-docs/mailboxes.json
    branches/12/rest-api/api-docs/playbacks.json
    branches/12/rest-api/api-docs/recordings.json
    branches/12/rest-api/api-docs/sounds.json
    branches/12/rest-api/resources.json

Modified: branches/12/CHANGES
URL: http://svnview.digium.com/svn/asterisk/branches/12/CHANGES?view=diff&rev=407402&r1=407401&r2=407402
==============================================================================
--- branches/12/CHANGES (original)
+++ branches/12/CHANGES Wed Feb  5 08:22:16 2014
@@ -12,21 +12,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: branches/12/UPGRADE.txt
URL: http://svnview.digium.com/svn/asterisk/branches/12/UPGRADE.txt?view=diff&rev=407402&r1=407401&r2=407402
==============================================================================
--- branches/12/UPGRADE.txt (original)
+++ branches/12/UPGRADE.txt Wed Feb  5 08:22:16 2014
@@ -31,6 +31,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
@@ -61,24 +94,30 @@
    modem options.
 
 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: branches/12/include/asterisk/manager.h
URL: http://svnview.digium.com/svn/asterisk/branches/12/include/asterisk/manager.h?view=diff&rev=407402&r1=407401&r2=407402
==============================================================================
--- branches/12/include/asterisk/manager.h (original)
+++ branches/12/include/asterisk/manager.h Wed Feb  5 08:22:16 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: branches/12/rest-api/api-docs/applications.json
URL: http://svnview.digium.com/svn/asterisk/branches/12/rest-api/api-docs/applications.json?view=diff&rev=407402&r1=407401&r2=407402
==============================================================================
--- branches/12/rest-api/api-docs/applications.json (original)
+++ branches/12/rest-api/api-docs/applications.json Wed Feb  5 08:22:16 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: branches/12/rest-api/api-docs/asterisk.json
URL: http://svnview.digium.com/svn/asterisk/branches/12/rest-api/api-docs/asterisk.json?view=diff&rev=407402&r1=407401&r2=407402
==============================================================================
--- branches/12/rest-api/api-docs/asterisk.json (original)
+++ branches/12/rest-api/api-docs/asterisk.json Wed Feb  5 08:22:16 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: branches/12/rest-api/api-docs/bridges.json
URL: http://svnview.digium.com/svn/asterisk/branches/12/rest-api/api-docs/bridges.json?view=diff&rev=407402&r1=407401&r2=407402
==============================================================================
--- branches/12/rest-api/api-docs/bridges.json (original)
+++ branches/12/rest-api/api-docs/bridges.json Wed Feb  5 08:22:16 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: branches/12/rest-api/api-docs/channels.json
URL: http://svnview.digium.com/svn/asterisk/branches/12/rest-api/api-docs/channels.json?view=diff&rev=407402&r1=407401&r2=407402
==============================================================================
--- branches/12/rest-api/api-docs/channels.json (original)
+++ branches/12/rest-api/api-docs/channels.json Wed Feb  5 08:22:16 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: branches/12/rest-api/api-docs/deviceStates.json
URL: http://svnview.digium.com/svn/asterisk/branches/12/rest-api/api-docs/deviceStates.json?view=diff&rev=407402&r1=407401&r2=407402
==============================================================================
--- branches/12/rest-api/api-docs/deviceStates.json (original)
+++ branches/12/rest-api/api-docs/deviceStates.json Wed Feb  5 08:22:16 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: branches/12/rest-api/api-docs/endpoints.json
URL: http://svnview.digium.com/svn/asterisk/branches/12/rest-api/api-docs/endpoints.json?view=diff&rev=407402&r1=407401&r2=407402
==============================================================================
--- branches/12/rest-api/api-docs/endpoints.json (original)
+++ branches/12/rest-api/api-docs/endpoints.json Wed Feb  5 08:22:16 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: branches/12/rest-api/api-docs/events.json
URL: http://svnview.digium.com/svn/asterisk/branches/12/rest-api/api-docs/events.json?view=diff&rev=407402&r1=407401&r2=407402
==============================================================================
--- branches/12/rest-api/api-docs/events.json (original)
+++ branches/12/rest-api/api-docs/events.json Wed Feb  5 08:22:16 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: branches/12/rest-api/api-docs/mailboxes.json
URL: http://svnview.digium.com/svn/asterisk/branches/12/rest-api/api-docs/mailboxes.json?view=diff&rev=407402&r1=407401&r2=407402
==============================================================================
--- branches/12/rest-api/api-docs/mailboxes.json (original)
+++ branches/12/rest-api/api-docs/mailboxes.json Wed Feb  5 08:22:16 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: branches/12/rest-api/api-docs/playbacks.json
URL: http://svnview.digium.com/svn/asterisk/branches/12/rest-api/api-docs/playbacks.json?view=diff&rev=407402&r1=407401&r2=407402
==============================================================================
--- branches/12/rest-api/api-docs/playbacks.json (original)
+++ branches/12/rest-api/api-docs/playbacks.json Wed Feb  5 08:22:16 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: branches/12/rest-api/api-docs/recordings.json
URL: http://svnview.digium.com/svn/asterisk/branches/12/rest-api/api-docs/recordings.json?view=diff&rev=407402&r1=407401&r2=407402
==============================================================================
--- branches/12/rest-api/api-docs/recordings.json (original)
+++ branches/12/rest-api/api-docs/recordings.json Wed Feb  5 08:22:16 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: branches/12/rest-api/api-docs/sounds.json
URL: http://svnview.digium.com/svn/asterisk/branches/12/rest-api/api-docs/sounds.json?view=diff&rev=407402&r1=407401&r2=407402
==============================================================================
--- branches/12/rest-api/api-docs/sounds.json (original)
+++ branches/12/rest-api/api-docs/sounds.json Wed Feb  5 08:22:16 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: branches/12/rest-api/resources.json
URL: http://svnview.digium.com/svn/asterisk/branches/12/rest-api/resources.json?view=diff&rev=407402&r1=407401&r2=407402
==============================================================================
--- branches/12/rest-api/resources.json (original)
+++ branches/12/rest-api/resources.json Wed Feb  5 08:22:16 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 svn-commits mailing list