Trunk DIDs/DDIs Parameters
A DID (Direct Inward Dialing) number, also called a DDI (Direct Dialing In) number outside North America, is a virtual number that tells a trunk which route a call belongs to. The two terms mean the same thing.
The DID/DDI numbers assigned to a trunk can be moved into and out of Cloud Voice as a CSV (comma-separated values) file. Importing lets you add many entries at once instead of typing them one by one, and exporting gives you a backup or a starting template. This reference describes each column in that file so you can build an import correctly, or read an export with confidence.
Each row defines one DID/DDI number and, optionally, a label for it.
| Column | What it holds | Required | Rules | Default |
|---|---|---|---|---|
| DID/DDI | A virtual number that tells the trunk which route a call belongs to. | Yes, when the trunk’s Trunk Type is register or did_based. | 31 characters maximum. Accepted characters depend on the trunk type (see below). | N/A |
| DID/DDI Name | A friendly label for the DID/DDI, used to recognize which trunk route is carrying the call. | No | 127 characters maximum. | N/A |
Accepted characters for DID/DDI
Section titled “Accepted characters for DID/DDI”The set of characters you can use in the DID/DDI column changes with the trunk type. The trunk type is set on the trunk itself, so check it before you prepare the file:
registerordid_basedtrunks: digits, letters, and the characters().-+*#.port_basedorprivate_networktrunks: digits, letters, and the characters[]*#().-+!.