Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"author": "Marcelo Gornstein <marcelog@gmail.com> (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",
Expand Down
58 changes: 56 additions & 2 deletions src/message/action.js
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,29 @@ function GetVar() {
GetVar.super_.call(this, 'GetVar');
}

/**
* PJSIPShowEndpoint Action.
* @constructor
* @see Action(String)
* @see See <a href="https://docs.asterisk.org/Asterisk_20_Documentation/API_Documentation/AMI_Actions/PJSIPShowEndpoint/">https://docs.asterisk.org/Asterisk_20_Documentation/API_Documentation/AMI_Actions/PJSIPShowEndpoint/</a>.
* @property {String} Endpoint Endpoint to Show
* @augments Action
*/
function PJSIPShowEndpoint() {
PJSIPShowEndpoint.super_.call(this, 'PJSIPShowEndpoint');
}

/**
* PJSIPShowEndpoints Action.
* @constructor
* @see Action(String)
* @see See <a href="https://docs.asterisk.org/Asterisk_20_Documentation/API_Documentation/AMI_Actions/PJSIPShowEndpoints/">https://docs.asterisk.org/Asterisk_20_Documentation/API_Documentation/AMI_Actions/PJSIPShowEndpoints/</a>.
* @augments Action
*/
function PJSIPShowEndpoints() {
PJSIPShowEndpoints.super_.call(this, 'PJSIPShowEndpoints');
}

/**
* PJSIPNotify Action.
* @constructor
Expand Down Expand Up @@ -526,6 +549,19 @@ function UnpauseMonitor() {
UnpauseMonitor.super_.call(this, 'UnpauseMonitor');
}

/**
* StopMixMonitor Action.
* @constructor
* @see Action(String)
* @see See <a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+18+ManagerAction_StopMixMonitor">https://wiki.asterisk.org/wiki/display/AST/Asterisk+18+ManagerAction_StopMixMonitor</a>.
* @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
Expand All @@ -538,7 +574,6 @@ function StopMonitor() {
StopMonitor.super_.call(this, 'StopMonitor');
}


/**
* LocalOptimizeAway Action.
* @constructor
Expand Down Expand Up @@ -633,12 +668,27 @@ function Parkinglots() {
Parkinglots.super_.call(this, 'Parkinglots');
}

/**
* MixMonitor Action.
* @constructor
* @see Action(String)
* @see See <a href="https://wiki.asterisk.org/wiki/display/AST/Asterisk+18+ManagerAction_MixMonitor">https://wiki.asterisk.org/wiki/display/AST/Asterisk+18+ManagerAction_MixMonitor</a>.
* @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 <a href="https://wiki.asterisk.org/wiki/display/AST/ManagerAction_Monitor">https://wiki.asterisk.org/wiki/display/AST/ManagerAction_Monitor</a>.
* @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
*/
Expand Down Expand Up @@ -1261,6 +1311,8 @@ util.inherits(Action, message.Message);
SetVar,
JabberSend,
PJSIPNotify,
PJSIPShowEndpoint,
PJSIPShowEndpoints,
ListCategories,
PauseMonitor,
LocalOptimizeAway,
Expand All @@ -1269,6 +1321,7 @@ util.inherits(Action, message.Message);
Park,
ParkedCalls,
Parkinglots,
MixMonitor,
Monitor,
ModuleCheck,
ModuleLoad,
Expand All @@ -1281,6 +1334,7 @@ util.inherits(Action, message.Message);
Redirect,
Bridge,
UnpauseMonitor,
StopMixMonitor,
StopMonitor,
ShowDialPlan,
SendText,
Expand Down