From Bright Pattern Documentation
Jump to: navigation, search
(Created page with "<translate> = Dialing and Transfers = This method is used for dialing phone numbers and transferring calls. There are four types of requests. == Requests == === dialNumber ==...")
 
(Updated via BpDeleteTranslateTags script)
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
<translate>
 
= Dialing and Transfers =
 
This method is used for dialing phone numbers and transferring calls. There are four types of requests.
 
  
== Requests ==
+
= dialNumber =
=== dialNumber ===  
+
Makes a voice call for the logged-in agent, using a specified destination number. Note that only extension numbers of other contact center users can be dialed.
 +
 
 +
== Request ==
 +
=== Syntax ===
 
  window.bpspat.api.dialNumber(phone_number)
 
  window.bpspat.api.dialNumber(phone_number)
  
=== selectService ===
+
=== Parameters ===
window.bpspat.api.selectService(phone_number)
+
{|border="1" style="border-collapse:collapse" cellpadding="5"
 
+
| '''Parameter'''
=== singleStepTransfer ===
+
| '''Type'''
window.bpspat.api.singleStepTransfer(phone_number)
+
| '''Description'''
 
+
|-
=== singleStepConference ===
+
| phone_number
window.bpspat.api.singleStepConference(phone_number)
+
| function
 
+
| Destination phone number
 
+
|}
 
 
 
 
 
 
 
 
  
 +
== Response ==
 +
Empty.
  
 +
In response to the request, the phone number is dialed.
  
</translate>
+
To get a response, use [[Embedded-agent-desktop-sdk-specification/Methods/getState |  getState]] to display agent state and interaction data.

Latest revision as of 04:02, 29 May 2024

• 5.19 • 5.3 • 5.8


dialNumber

Makes a voice call for the logged-in agent, using a specified destination number. Note that only extension numbers of other contact center users can be dialed.

Request

Syntax

window.bpspat.api.dialNumber(phone_number)

Parameters

Parameter Type Description
phone_number function Destination phone number

Response

Empty.

In response to the request, the phone number is dialed.

To get a response, use getState to display agent state and interaction data.

< Previous | Next >