From Bright Pattern Documentation
(Created page with "<translate> = Mute Call Recording (Callback) = Mutes the call recording and gets confirmation that recording is on mute. == Request == === Syntax === window.bpspat.api.muteC...") |
|||
Line 1: | Line 1: | ||
<translate> | <translate> | ||
− | = | + | = muteCallRecording(callback) = |
Mutes the call recording and gets confirmation that recording is on mute. | Mutes the call recording and gets confirmation that recording is on mute. | ||
Line 21: | Line 21: | ||
== Response == | == Response == | ||
− | + | The response object contains the following fields. | |
+ | |||
+ | {|border="1" style="border-collapse:collapse" cellpadding="5" | ||
+ | | '''Name''' | ||
+ | | '''Data Type''' | ||
+ | | '''Description''' | ||
+ | |- | ||
+ | | data.item_id | ||
+ | | string | ||
+ | | interaction ID | ||
+ | |- | ||
+ | | data.recording | ||
+ | | boolean | ||
+ | | Whether a call is being recorded ("true") or not ("false") | ||
+ | |- | ||
+ | | data.muted | ||
+ | | boolean | ||
+ | | Whether the call recording is on mute ("true") or not ("false") | ||
+ | |} | ||
+ | |||
+ | === Example === | ||
+ | { | ||
+ | data.item_id = "12121212"; | ||
+ | data.recording = true; | ||
+ | data.muted = true; | ||
+ | } | ||
+ | |||
Revision as of 23:24, 12 February 2019
<translate>
muteCallRecording(callback)
Mutes the call recording and gets confirmation that recording is on mute.
Request
Syntax
window.bpspat.api.muteCallRecording(callback) callback = function(data) { }
Arguments
Parameter | Type | Description |
callback | function | JavaScript method executed when API method request is completed |
Response
The response object contains the following fields.
Name | Data Type | Description |
data.item_id | string | interaction ID |
data.recording | boolean | Whether a call is being recorded ("true") or not ("false") |
data.muted | boolean | Whether the call recording is on mute ("true") or not ("false") |
Example
{ data.item_id = "12121212"; data.recording = true; data.muted = true; }
</translate>