Help us improve our product documentation on docs.cognigy.com by sharing your thoughts in a quick survey. Your feedback shapes the future of our content!
Help us improve our product documentation on docs.cognigy.com by sharing your thoughts in a quick survey. Your feedback shapes the future of our content!
Use this file to discover all available pages before exploring further.
Updated in 2026.9The dial verb initiates a new call by connecting to a telephone number, a registered SIP user, or a SIP URI.In the example, the dial verb creates a new call and joins it to a parent call. The target property specifies multiple call destinations attempted simultaneously.
When multiple endpoints are mentioned in the target array, all the endpoints are dialed at the same time (also known as simring or blast dial). The call will be connected to the first endpoint that answers the call or completes a call screening application, as specified in the confirmHook property.There are several types of endpoints you can dial:
A telephone number, sent through your configured carrier.
A SIP endpoint, identified by a SIP URI (with optional authentication).
A registered SIP user, identified by their SIP username.
A Microsoft Teams user, identified by their phone number and tenant ID.
The following table lists the available parameters:
Parameter
Type
Description
Required
actionHook
string | object
A webhook to receive an HTTP POST when the call ends. The webhook includes the properties describing the outcome of the call attempt. The default value is dial.
No
amd
object
Enables the Answering Machine Detection, which identifies if the called party is human, machine, or a tone/beep.
No
anchorMedia
boolean
If true, Voice Gateway will anchor the media, keeping RTP flowing through the server even when a call is bridged. The default value is false.
No
answerOnBridge
boolean
For an inbound call, if true, the call will continue ringing until the dialed number answers. Once answered, a 200 OK is sent on the inbound call. If false, the inbound call connects as soon as the outbound call is placed. The default value is false.
No
boostAudioSignal
string | number
Increases or decreases the outgoing audio signal by a specified number of decibels. For example, -6 dB reduces volume.
No
callerId
string
The phone number displayed to the dialed number. Must be a valid E.164 number. If not provided, the caller ID from the inbound call is used.
No
callerName
string
The caller name displayed on the outbound call.
No
confirmHook
string | object
A webhook that runs on the calleeโs end after answering but before the call is connected. This allows the callee to hear information and accept or decline the call. Individual targets can override this using their own confirmHook.
No
dialMusic
string
The URL of a WAV or MP3 file to play to the caller as custom audio or ringback while the outbound call is ringing. The URL doesnโt need to include the file extension.
No
dtmfCapture
array
An array defining DTMF sequences that trigger mid-call notifications to the application via the configured dtmfHook.
No
dtmfHook
string | object
A webhook triggered when a dtmfCapture sequence is detected. This is a notification-only webhook.
No
dub
array
An array of nested dub verbs to add background audio tracks to the call.
No
exitMediaPath
boolean
If true, allows media to exit Voice Gateway when the call is bridged. The default value is false.
No
headers
object
An object of SIP headers to apply to the outbound call attempts.
No
listen
object
A nested listen verb that streams call audio to a remote server via WebSocket.
A webhook invoked when the call is placed on hold.
No
proxy
string
A SIP proxy address used for the outbound call.
No
referHook
string | object
A webhook invoked when a SIP REFER is received on a dialed call. If accepted (HTTP 200), Voice Gateway sends a SIP 202 Accepted. Non-success responses cause the SIP response to mirror that status code.
No
tag
object
Custom data associated with this dial verb.
No
target
array
An array of up to 10 destinations to simultaneously dial. The endpoint that answers first is connected to the caller; all other calls are hung up.
Yes
timeLimit
number
The maximum call duration in seconds.
No
timeout
number
Ring-no-answer timeout in seconds. The default value is 60.
No
transcribe
object
A nested transcribe verb, which causes the call to be transcribed.
A webhook that triggers an application on the calleeโs end after the dialed number answers but before the call is connected. This action will override any confirmHook property set on the parent dial.
No
from
object
An object specifying the user and host for the From header.
No
headers
object
An object containing SIP headers to include in the INVITE request.
No
overrideTo
string
A string to override the To header in the SIP INVITE.
No
proxy
string
A SIP proxy address to use for this target.
No
trunk
string
If provided, this should be the name of a carrier that you created in the Voice Gateway Self-Service portal, which you want to use to complete this call. If not provided, Voice Gateway will select one of your configured carriers that has an outbound SIP trunk.
A webhook that triggers an application on the calleeโs end after the dialed number answers but before the call is connected. This action will override any confirmHook property set on the parent dial.
No
from
object
An object specifying the user and host for the From header.
No
headers
object
An object containing SIP headers to include in the INVITE request.
No
overrideTo
string
A string to override the To header in the SIP INVITE.
No
proxy
string
A SIP proxy address to use for this target.
No
If the SIP Carrier provider requires username/password authentication, specify the credentials in the auth parameter.
The webhook triggers when the amd parameter is used and Voice Gateway identifies the called party as either human or machine, or detects a tone or beep.
Property Name
Type
Description
event
string
Indicates one of the following events: amd, beep, or silence.
amd_type
string
Specifies either human or machine. This property is provided only when the event is amd.