Tutorial: 07. Call controls

07. Call controls

End Call event

Marks

To mark an important part of the recording, as much marks as you need can be added to the recording.

nuxibaIntegration.addMark();

Stop the recording

Some legislations or clients request that some parts of the conversation such as when the client gives their credit card information don't get recorded. Something to consider about this feature is that for the user to be able to stop the recording, an admin have to set its user permissions to do so.

To start recording again, you only need to execute the method again.

nuxibaIntegration.recordingStopStart();

Hold

We execute the method HoldCall so the client can wait for the user.

nuxibaIntegration.HoldCall();

Speakers Volume

To turn up or down the volume. The value to use must be between 0 and 100

function speakerVolume(val) {
    console.log("speakerVolume");
    nuxibaIntegration.volumeControl(0, val);
}

Microphone volume

To turn up or down the microphone's volume. The value to use must be between 0 and 100

function microphoneVolume(val) {
    console.log("microphoneVolume");
    nuxibaIntegration.volumeControl(1, val);
}

Mute

To mute the user's microphone, we execute the method setMute and to remove the mute, we execute it again.

nuxibaIntegration.setMute(); // Poner Mute

DTMFDigit

This method is used to send the tones the client pressed to the IVR

nuxibaIntegration.DTMFDigit("0");
nuxibaIntegration.DTMFDigit("#");
nuxibaIntegration.DTMFDigit("*");

HangUpCall

This method hangs up the call on the agent side.

 HangUpCall();