diff --git a/README.md b/README.md index 7c8b886..e918313 100644 --- a/README.md +++ b/README.md @@ -4,12 +4,12 @@ Introduction ------------ -For API and docs, check out the homepage at http://marcelog.github.com/Nami +For API and docs, check out the homepage at http://marcelog.github.io/Nami You can also download the distribution and doc from the CI server, at: http://ci.marcelog.name:8080/view/NodeJS/ -A very similar, PHP alternative, is available at http://marcelog.github.com/PAMI +A very similar, PHP alternative, is available at http://marcelog.github.io/PAMI An Erlang port is available at https://github.com/marcelog/erlami Nami by itself is just a library that allows your nodejs code to communicate to diff --git a/package.json b/package.json index 7e214c2..683ea88 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "author": "Marcelo Gornstein (http://marcelog.github.com/)", "name": "nami", "description": "An asterisk manager interface client, uses EventEmitter to communicate events, will allow you to send actions, and receive responses (and associated events), and also receive async events from server", - "version": "0.7.2", + "version": "0.7.3", "homepage": "https://github.com/marcelog/Nami", "keywords": [ "asterisk", diff --git a/src/message/action.js b/src/message/action.js index 016951b..b724caf 100644 --- a/src/message/action.js +++ b/src/message/action.js @@ -462,6 +462,29 @@ function GetVar() { GetVar.super_.call(this, 'GetVar'); } +/** + * PJSIPShowEndpoint Action. + * @constructor + * @see Action(String) + * @see See https://docs.asterisk.org/Asterisk_20_Documentation/API_Documentation/AMI_Actions/PJSIPShowEndpoint/. + * @property {String} Endpoint Endpoint to Show + * @augments Action + */ +function PJSIPShowEndpoint() { + PJSIPShowEndpoint.super_.call(this, 'PJSIPShowEndpoint'); +} + +/** + * PJSIPShowEndpoints Action. + * @constructor + * @see Action(String) + * @see See https://docs.asterisk.org/Asterisk_20_Documentation/API_Documentation/AMI_Actions/PJSIPShowEndpoints/. + * @augments Action + */ +function PJSIPShowEndpoints() { + PJSIPShowEndpoints.super_.call(this, 'PJSIPShowEndpoints'); +} + /** * PJSIPNotify Action. * @constructor @@ -526,6 +549,19 @@ function UnpauseMonitor() { UnpauseMonitor.super_.call(this, 'UnpauseMonitor'); } +/** + * StopMixMonitor Action. + * @constructor + * @see Action(String) + * @see See https://wiki.asterisk.org/wiki/display/AST/Asterisk+18+ManagerAction_StopMixMonitor. + * @property {String} Channel Channel name to stop MixMonitor + * @property {String} MixMonitorID If a valid ID is provided, then this command will stop only that specific MixMonitor + * @augments Action + */ + function StopMixMonitor() { + MixMonitor.super_.call(this, 'StopMixMonitor'); +} + /** * StopMonitor Action. * @constructor @@ -538,7 +574,6 @@ function StopMonitor() { StopMonitor.super_.call(this, 'StopMonitor'); } - /** * LocalOptimizeAway Action. * @constructor @@ -633,12 +668,27 @@ function Parkinglots() { Parkinglots.super_.call(this, 'Parkinglots'); } +/** + * MixMonitor Action. + * @constructor + * @see Action(String) + * @see See https://wiki.asterisk.org/wiki/display/AST/Asterisk+18+ManagerAction_MixMonitor. + * @property {String} Channel Channel name to start MixMonitor + * @property {String} Filename Path where to save the audio + * @property {String} Options Options for execution of MixMonitor + * @property {String} Command Command to execute on recording completion + * @augments Action + */ + function MixMonitor() { + MixMonitor.super_.call(this, 'MixMonitor'); +} + /** * Monitor Action. * @constructor * @see Action(String) * @see See https://wiki.asterisk.org/wiki/display/AST/ManagerAction_Monitor. - * @property {String} Channel Channel name to park + * @property {String} Channel Channel name to start Monitor * @property {String} Filename Path where to save the audio * @augments Action */ @@ -1261,6 +1311,8 @@ util.inherits(Action, message.Message); SetVar, JabberSend, PJSIPNotify, + PJSIPShowEndpoint, + PJSIPShowEndpoints, ListCategories, PauseMonitor, LocalOptimizeAway, @@ -1269,6 +1321,7 @@ util.inherits(Action, message.Message); Park, ParkedCalls, Parkinglots, + MixMonitor, Monitor, ModuleCheck, ModuleLoad, @@ -1281,6 +1334,7 @@ util.inherits(Action, message.Message); Redirect, Bridge, UnpauseMonitor, + StopMixMonitor, StopMonitor, ShowDialPlan, SendText,