From Bright Pattern Documentation
								
												
				
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.