avoid initiate recorded calls
This commit is contained in:
parent
f1bdd06ce8
commit
0668f61fe0
@ -138,7 +138,9 @@ export class TwilioService {
|
||||
});
|
||||
let withoutcustomer = this.getWithOutCustomer(this.roomParticipants)
|
||||
console.log('getWithOutCustomer',withoutcustomer)
|
||||
if(this.user_data.type == '2') {
|
||||
alert(this.user_data.type);
|
||||
alert(withoutcustomer);
|
||||
if((this.user_data.type == '2'|| this.user_data.type == '1') && (withoutcustomer == '1')) {
|
||||
|
||||
console.log("User type in service",this.user_data)
|
||||
let params = {"fk_pd_id":this.user_data.pd_id,"room_id":this.roomObj.sid,"is_call_ended":"0"}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user