Number
<Dial> verb’s <Number> noun specifies what phone number to dial. You can use up to 10 <Number>s within a <Dial> to simultaneously call several people. The first person to answer the call will be connected to the caller and the rest of the called numbers will be hung up.
Noun attributes
The method attribute specifies whether the request to action is a GET or a POST. Valid values are GET or POST.
Play DTMF tones when a call is answered. Useful when dialing numbers with extensions. SignalWire will initially dial the main phone number, then send the DTMF tones for the extension when the automated system answers.
The URL to make requests to for each statusCallbackEvent event. See below for request parameters.
The current status of the call. The call moves from initiated to ringing when the phone starts ringing. It moves from ringing to answered when the phone call is answered. Finally, it moves from answered to completed when the call is terminated. The status will be set to completed through the following reasons: busy, canceled, completed, failed, or no-answer. To specify multiple events, separate each one with a space. See below for the different call statuses.
The type of HTTP request to use when requesting a statusCallback.
A specified URL for a document that runs on the callee’s end after the dialed number answers but before the call is connected. This allows the caller to provide information to the dialed number, giving them the opportunity to decline the call, before they answer the call.
Status values for the statusCallbackEvent attribute
The statusCallbackEvent attribute has the following call status values:
Request parameters for the statusCallback URL
Examples
Dialing an extension
After entering the phone number, we want to wait a little before entering in the extension. In order to do this, a w can be placed in front of the extension number. Each w will wait 0.5 seconds before dialing the extension. In this example, SignalWire will wait 1.5 seconds before dialing the extension 5645.
Concurrent phone calls
You can simultaneously call up to 10 <Number>s. The first caller to pick up the phone will be connected to the caller and the rest of the called numbers will be hung up.
Notes on usage
- You can have up to 10
<Number>s within a<Dial>. - If you dial an office number or a phone on airplane mode, the call will be picked up within the first ring and all other calls will be hung up.