Address Translation

Applications can provide users with location independence and take advantage of calling-card information managed by Win32 Telephony by storing telephone numbers in the Canonical address format. Before a Canonical address can be used in placing a call, it must be converted (translated) into the Dialable address format using the lineTranslateAddress function.

To do this, the lineTranslateAddress function starts by examining the settings in the registry to find the user's location, including the country and area code. It then produces a valid dialing sequence by removing unnecessary portions of the number (such as the country code or area code) and adding other digits such as a long distance prefix or a digit used to dial out of a local PBX.

To avoid inadvertent misdialing, such as if the user has changed locations but has not yet informed Win32 Telephony of the change, an application may want to present the output of this function call to the user in a dialog box. The user can then confirm the translated address or change it if it is incorrect.

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database