From Bright Pattern Documentation
Jump to: navigation, search
(Created page with "<translate> = Get Call Recording Status (Callback) = Gets call recording status information. == Request == === Syntax === window.bpspat.api.getCallRecordingStatus(callback)...")
 
(Updated via BpDeleteTranslateTags script)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
<translate>
+
 
= Get Call Recording Status (Callback) =
+
= getCallRecordingStatus(callback) =
 
Gets call recording status information.
 
Gets call recording status information.
  
Line 19: Line 19:
 
| JavaScript method executed when API method request is completed
 
| JavaScript method executed when API method request is completed
 
|}
 
|}
 +
  
 
== Response ==
 
== Response ==
QQQ
+
The response object may contain 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 ("1") or not ("0")
 +
|-
 +
| data.muted
 +
| boolean
 +
| Whether the call recording is muted ("1") or not ("0")
 +
|}
  
</translate>
+
=== Example ===
 +
{"item_id":"D3FA4B4F-244A-41E4-AE89-022BF2AA8D11","call_id":"7A741A68-7F75-458A-ADB0-842D0F3BA8C3/211","command":"call_recording_status","recording":"1","muted":"0"}

Latest revision as of 04:02, 29 May 2024

• 5.19 • 5.3 • 5.8


getCallRecordingStatus(callback)

Gets call recording status information.

Request

Syntax

window.bpspat.api.getCallRecordingStatus(callback)
callback = function(data) {
}

Arguments

Parameter Type Description
callback function JavaScript method executed when API method request is completed


Response

The response object may contain the following fields.

Name Data Type Description
data.item_id string interaction ID
data.recording boolean Whether a call is being recorded ("1") or not ("0")
data.muted boolean Whether the call recording is muted ("1") or not ("0")

Example

{"item_id":"D3FA4B4F-244A-41E4-AE89-022BF2AA8D11","call_id":"7A741A68-7F75-458A-ADB0-842D0F3BA8C3/211","command":"call_recording_status","recording":"1","muted":"0"}

< Previous | Next >