From Bright Pattern Documentation
Jump to: navigation, search
Line 5: Line 5:
 
== Requests ==
 
== Requests ==
 
=== Dial Number ===  
 
=== Dial Number ===  
 +
Dials the phone number.
 +
 +
==== Syntax ====
 
  window.bpspat.api.dialNumber(phone_number)
 
  window.bpspat.api.dialNumber(phone_number)
 +
 +
==== Parameters ====
 +
{|border="1" style="border-collapse:collapse" cellpadding="5"
 +
| '''Parameter'''
 +
| '''Description'''
 +
|-
 +
| phone_number
 +
| The phone number to be dialed
 +
|}
 +
  
 
=== Select Service ===
 
=== Select Service ===
 +
Selects the service for the call.
 +
 +
==== Syntax ====
 
  window.bpspat.api.selectService(phone_number)
 
  window.bpspat.api.selectService(phone_number)
 +
 +
==== Parameters ====
 +
{|border="1" style="border-collapse:collapse" cellpadding="5"
 +
| '''Parameter'''
 +
| '''Description'''
 +
|-
 +
| phone_number
 +
| The phone number to be dialed
 +
|}
 +
  
 
=== Single Step Transfer ===
 
=== Single Step Transfer ===
 +
Transfers the call to another number in a single step.
 +
 +
==== Syntax ====
 
  window.bpspat.api.singleStepTransfer(phone_number)
 
  window.bpspat.api.singleStepTransfer(phone_number)
  
=== Single Step Conference ===
+
==== Parameters ====
window.bpspat.api.singleStepConference(phone_number)
+
{|border="1" style="border-collapse:collapse" cellpadding="5"
 +
| '''Parameter'''
 +
| '''Description'''
 +
|-
 +
| phone_number
 +
| The phone number to be dialed
 +
|}
  
  
 +
=== Single Step Conference ===
 +
Initiates a conference call with another phone number in a single step.
  
 +
==== Syntax ====
 +
window.bpspat.api.singleStepConference(phone_number)
  
 +
==== Parameters ====
 +
{|border="1" style="border-collapse:collapse" cellpadding="5"
 +
| '''Parameter'''
 +
| '''Description'''
 +
|-
 +
| phone_number
 +
| The phone number to be dialed
 +
|}
  
  

Revision as of 20:18, 4 October 2018

• 5.19 • 5.3 • 5.8

<translate>

Dialing and Transfers

This method is used for dialing phone numbers and transferring calls. There are four types of requests.

Requests

Dial Number

Dials the phone number.

Syntax

window.bpspat.api.dialNumber(phone_number)

Parameters

Parameter Description
phone_number The phone number to be dialed


Select Service

Selects the service for the call.

Syntax

window.bpspat.api.selectService(phone_number)

Parameters

Parameter Description
phone_number The phone number to be dialed


Single Step Transfer

Transfers the call to another number in a single step.

Syntax

window.bpspat.api.singleStepTransfer(phone_number)

Parameters

Parameter Description
phone_number The phone number to be dialed


Single Step Conference

Initiates a conference call with another phone number in a single step.

Syntax

window.bpspat.api.singleStepConference(phone_number)

Parameters

Parameter Description
phone_number The phone number to be dialed



</translate>

< Previous | Next >