Skip to content

Commit

Permalink
stop_speak_conference_member function added
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramya-Raghu committed Oct 8, 2015
1 parent 7b4ba7e commit b2f0d89
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions lib/plivo.js
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,15 @@ plivo.speak_conference_member = function (params, callback) {
request(action, method, params, callback);
};

plivo.stop_speak_conference_member = function (params, callback) {
var action = 'Conference/' + params['conference_id'] + '/Member/' + params['member_id'] + '/Speak/';
delete params.conference_id;
delete params.member_id;
var method = 'DELETE';

request(action, method, params, callback);
};

plivo.deaf_conference_member = function (params, callback) {
var action = 'Conference/' + params['conference_id'] + '/Member/' + params['member_id'] + '/Deaf/';
delete params.conference_id;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "plivo",
"version": "0.3.2",
"version": "0.3.3",
"description": "Plivo NodeJS helper library.",
"main": "lib/plivo.js",
"repository": {
Expand Down

0 comments on commit b2f0d89

Please sign in to comment.