|
Canonical Addresses
The canonical address format is intended to be a universally constant
directory number. For this reason, numbers in address books are best stored using
canonical format. A canonical address is an ASCII string with the following
structure:
+ CountryCode Space [(AreaCode) Space] SubscriberNumber | Subaddress ^ Name CRLF ...
The components of this structure are given in the following table.
Component
| Meaning
| +
| Equivalent to ASCII Hex (2B). Indicates that the number that follows it uses
the canonical format.
| CountryCode
| A variably sized string containing one or more of the digits 0-9. The CountryCode is delimited by the following Space. It identifies the country in which the
address is located.
| Space
| Exactly one ASCII space character (0x20). It is used to delimit the end of the CountryCode part of an address.
| AreaCode
| A variably sized string containing zero or more of the digits 0-9. AreaCode is the area code part of the address and is optional. If the area code is
present, it must be preceded by exactly one ASCII left parenthesis character
(0x28), and be followed by exactly one ASCII right parenthesis character (0x29) and
one ASCII Space character (0x20).
| SubscriberNumber
| A variably sized string containing one or more of the digits 0-9. It may
include other formatting characters as well, including any of the dialing control
characters described in the Dialable Address Format:
AaBbCcDdPpTtWw*#!,@$?
The subscriber number should not contain the left parenthesis or right
parenthesis character (which are used only to delimit the area code), nor should it
contain the "|", "^", or CRLF characters (which are used to begin following
fields). Most commonly, non-digit characters in the subscriber number would include
only spaces, periods ("."), and dashes ("-"). Any allowable non-digit
characters which appear in the subscriber number will be omitted from the DialableString
returned by the lineTranslateAddress function, but will be retained in the DisplayableString.
| |
| ASCII Hex (7C). If this optional character is present, the information
following it up to the next + | ^ CRLF, or the end of the canonical address string is
treated as subaddress information, as for an ISDN subaddress.
| Subaddress
| A variably sized string containing a subaddress. The string is delimited by +
| ^ CRLF or the end of the address string. During dialing, subaddress
information is passed to the remote party. It can be such things as an ISDN subaddress
or an e-mail address.
| ^
| ASCII Hex (5E). If this optional character is present, the information
following it up to the next CRLF or the end of the canonical address string is treated
as an ISDN name.
| Name
| A variably sized string treated as name information. Name is delimited by CRLF
or the end of the canonical address string and can contain other delimiters.
During dialing, name information is passed to the remote party.
| CRLF
| ASCII Hex (0D) followed by ASCII Hex (0A), and is optional. If present, it
indicates that another canonical number is following this one. It is used to
separate multiple canonical addresses as part of a single address string (inverse
multiplexing).
For example, the canonical representation of the main switchboard telephone
number at Microsoft Corporation would be:
+1 (206) 882-8080
|
| Last news from Greatis Software |
 |
|
Nostalgia .Net |
|
.Net is powerful, but not all-powerful, so sometimes we need to use Win32 API for our .Net applications. It's simple enough with Platform Invoke if you have Win32 skill, but we do not always have time to dig the ancient documentation, declare the special types that are compatible with Win32, find the values of the Win32's constants and so on. Nostalgia .Net offers several simple-to-use classes, and components that will allow you to forget about the headache of Win32 and just use the power of Win32 in your application the same way as you use the native. Net classes. More » |
| Recommended software for developers |
 |
|
Ultimate Pack |
|
Component pack for Delphi and C++ Builder that contains runtime form designer, runtime object inspector, print suite and much more for the very special price. More » |
 |
|
Form Designer .Net |
|
Unique runtime form design solution that allows to edit any form in .Net WinForms application at runtime without manual coding. Full C# source codes are available More » |
 |
|
Print Suite .Net |
|
Print Suite .Net is a set of components for easy printing texts, images and grids from your WinForms applications. Full C# source codes are available More » |
 |
|
Gradient Controls .Net |
|
Gradient Controls .Net offers controls with gradient background feature. Labels, panels and so on... Full C# source codes are available More » |
 |
|
Greatis iGrid |
|
iGrid plots drawing grid right over your desktop, so you can use it everywhere, with any drawing application without any special plugins for different graphic editors. More » |
Related LinksSoftware for Visual Studio .NET developers Software for Delphi and C++ Builder developers Software for Visual Basic 6 developers Delphi Tips&Tricks MegaDetailed.NET More Online Helps Win32 Programmer's Reference Win32 Multimedia Programmer's Reference OLE Programmer's Reference Microsoft Windows Pen API Programmer's Reference Microsoft Windows Sockets 2 Reference Microsoft Windows Telephony API (TAPI) Programmer's Reference Unix Manual Pages
|