Direct inward dial
Direct inward dialing (DID), also called direct dial-in (DDI) in Europe and Oceania, is a telecommunication service offered by telephone companies to subscribers who operate a private branch exchange (PBX) system. The feature provides service for multiple telephone numbers over one or more analog or digital physical circuits to the PBX, and transmits the dialed telephone number to the PBX so that a PBX extension is directly accessible for an outside caller, possibly by-passing an auto-attendant.
Plain old telephone service
For direct inward dialing service, the telephone company provides one or more trunk lines to the customer for connection to the customer's PBX, and allocates a range of telephone numbers to the customer. Calls to such numbers are forwarded via the trunks. As calls are presented to the PBX, the dialed telephone number (DNIS) is transmitted, usually partially, e.g., the last four digits, so that the PBX can route the call directly to the desired telephone extension within the organization without the need for an operator or attendant. The service provides automatic direct inward call routing while maintaining only a limited number of subscriber lines to satisfy the average concurrent usage of the customer.
Traditionally, DID circuits were analog. These types of DID trunks had to be powered by the customer premises equipment. The central office equipment detects the power state of the line and disables service if the circuit is not powered. This is the reverse arrangement from standard plain old telephone service (POTS) lines which are powered by the central office. Nowadays, it is far more common to deliver DIDs on a primary rate interface (PRI) circuit.
The trunks for DID service are unidirectional, inbound to the customer PBX. However, the service may be combined with direct outward dialing (DOD) allowing PBX extensions direct outbound calling capability with identification of their DID telephone number.
Use in fax services
DID service is also used by fax servers. A telephone line is terminated at a telephone interface (fax modem) of a computer that runs fax server software. A set of digits of the assigned phone numbers are used to identify the recipient of the fax. This allows many recipients to have an individual fax number, even though there is only one fax machine available.
Some voice over IP (VoIP) vendors have used one central, remotely located fax server as a means of offering Internet fax service to their clients. In theory, standards such as T.38 should have allowed VoIP subscribers to keep their existing fax equipment working locally; in practice, T.38 at the subscriber's site offers no benefit if the upstream provider is least-cost routing to gateways that don't support T.38 and cannot reliably send or receive fax/modem traffic. A fax server at a central location, connected directly to public switched telephone network (PSTN) T-carrier primary rate interface lines and using direct inward dial to identify the intended addressee can convert an incoming fax to an electronic document (such as .tif or .pdf) for web or e-mail delivery. The fax traffic never passes through the VoIP infrastructure as a dial-up modem call and therefore arrives reliably even if T.38 is not properly supported at some points in the network.
Voice over IP
DID service has similar relevance for Voice over Internet Protocol (VoIP) communications. To allow public switched telephone network (PSTN) users to directly reach users with VoIP phones, DID numbers are assigned to a communications gateway. The gateway connects the PSTN to the VoIP network, routing and translating calls between the two networks.
In countries with multiple competing local providers, DID services can be purchased in bulk from a Competitive Local Exchange Carrier (CLEC).
For voice over IP resellers, some specialized CLECs (for local numbers) or interexchange carriers (for toll-free numbers) will deliver blocks of direct inward dial calls already converted to Session Initiation Protocol (SIP) or common VoIP formats. The individual VoIP provider need only obtain an inventory of local or freephone numbers from VoIP-aware carriers in various regions, import them in bulk to a VoIP PBX (such as Asterisk) and issue them individually to end users. International DID numbers can be purchased in bulk from international providers.
UK geographic DID numbers can often be obtained for free and can be terminated over SIP. A few US DIDs are available without monthly charges from vendors like Ipkall, but at the expense of the caller paying for a call to some expensive, rural location.
The majority of vendors charge a nominal amount per number per month (as little as $1/month in small quantities) and then bill per-minute or per number of channels which can be simultaneously in use. For the caller, these numbers can be assigned to locations which are a local call.
Direct outward dialing
The corresponding service to DID for outgoing calls from a PBX to the central office exchange is called direct outward dialing (DOD) or Direct Dial Central Office (DDCO). This service is often combined with DID service and allows direct dialing of global telephone numbers by every extension covered by the service without the assistance of an operator. The caller line identification (CLI) or caller-id of extensions for outgoing calls is often set to the extension DID number, but may be the organization's central switch board number.