<Number>
<Number> is a noun for the VoXML verb <Dial> and it specifies a phone number to dial. Using the noun's attributes you can specify particular behaviors that Voxtelesys should apply when dialing the number.
You can use up to ten <Number> nouns within a <Dial> verb to simultaneously call all of them at once. The first call to pick up is connected to the current call and the rest are hung up.
<Number> Attributes
<Number> supports the following attributes that change its behavior:
| Attribute | Allowed Values | Default Value |
|---|---|---|
| byoc | a BYOC trunk GUID | none |
| history | disable, compact, full | disable |
byoc
The byoc attribute accepts the GUID of a BYOC (Bring Your Own Carrier) trunk to route the dialed number through. The trunk must belong to your account.
history
The history attribute determines if the <Number> noun should be logged in the history array of the CDR. The default is to not log.
For <Number>, both compact and full have the same effect of logging the following payload to the history array.
{
"payload": {
"number": "13003003000"
}
}
<Number> Examples
Simple Usage
Welcome the caller and transfer them to an agent.
<Response>
<Say>Hello. Please stay on the line while I transfer you to an agent.</Say>
<Dial>
<Number>13003003000</Number>
</Dial>
</Response>