mirror of
https://github.com/donl/plivo-node.git
synced 2026-06-30 06:12:08 -06:00
Reverted back to original
This commit is contained in:
parent
f2f3ec5ba0
commit
4db015960b
2 changed files with 2 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ var client = new plivo.Client('MAMDJMMTEZOWY0ZMQWM2', 'OTljNmVmOGVkNGZhNjJlOWIyM
|
|||
// console.error(err);
|
||||
// });
|
||||
|
||||
client.multiPartyCalls.addParticipant('agent', {"friendlyName" : "TestMPC", 'from' : '+919090909090', 'to': 'sip:koushikqa119062465586783372208@phone-qa.voice.plivodev.com'}).then(function (response) {
|
||||
client.multiPartyCalls.addParticipant('agent', {'friendlyName' : 'TestMPC', 'from' : '+919090909090', 'to': 'sip:koushikqa119062465586783372208@phone-qa.voice.plivodev.com'}).then(function (response) {
|
||||
console.log(response);
|
||||
}, function (err) {
|
||||
console.error(err);
|
||||
|
|
|
|||
|
|
@ -478,6 +478,7 @@ export class MultiPartyCallInterface extends PlivoResourceInterface{
|
|||
let mpcId = this.makeMpcId(params.uuid, params.friendlyName)
|
||||
delete params.uuid
|
||||
delete params.friendlyName
|
||||
params.role = role
|
||||
return new MultiPartyCall(this[clientKey], {id: mpcId[0] + mpcId[1]}).addParticipant(params)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue