Closed waqar2418 closed 1 month ago
Here is my code snippets
async BlindTransfertoDestination(endpoint) {
/**
* Initiates a Blind transfer.
* Put Customer on hold and call third party
* Leaving customer on his own, if no agent picks call.
* Customer have to repeat the procedure
*/
try {
let contact = this.contact;
let activeConnection = await this.contact.getActiveInitialConnection();
let holdResp = await this.putConnectionOnHold(activeConnection);
if (holdResp.status === "success") {
let resp = await this.addConnectionForTransfer(contact, endpoint);
if (resp.status === "success") {
// await ContactService.self.endAgentConnection();
this.pendingTransfer = true;
}
}
}
catch (ex) {
let activeConnection = this.contact.getActiveInitialConnection();
if (!activeConnection) return;
await this.resumeConnection(activeConnection);
throw new Error('transfer fails');
}
}
This issue is stale because it has been open for 90 days with no activity. Remove stale label or comment to keep this active.
It has been a while and we are closing this for now. Please reopen if this is still an issue
Steps to reproduce
1- Agent receives inbound call from thirds party number 2- Agent transfer the call to second third party number 3- Agent leaves the call 4- Audio is not working for both third party numbers