|
OpenScape V3.2, Revision 044 20100322 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PublicAddress
Describes in detail the characteristics of a public address.
A worlwide unique public address for voice communication consists of the following parts as defined by ECMA standards:
getNormalizedNumber
)
is built as follows: +<Country Code><Area Code><Location Code><Extension Number>
Field Summary |
---|
Fields inherited from interface com.siemens.symphonia.bcom.bcommon.external.EndpointAddress |
---|
TON_GLOBAL_NUMBER, TON_INVALID_NUMBER, TON_PASS_THRU_NUMBER, TON_PRIVATE_NUMBER |
Method Summary | |
---|---|
java.lang.String |
getAreaCode()
Extract Area Code from normalized number. |
java.lang.String |
getCountryCode()
Extract Country Code from normalized number. |
java.lang.String |
getExtensionNumber()
Extract Extension Number from normalized number. |
java.lang.String |
getLocationCode()
Extract Location Code from normalized number. |
int |
getNumberOfOverlapDigits()
Overlap between Location Code and Extension Number. |
Methods inherited from interface com.siemens.symphonia.bcom.bcommon.external.EndpointAddress |
---|
getNormalizedNumber, getTypeOfNumber |
Method Detail |
---|
java.lang.String getCountryCode()
The Country Code is given without any international prefix or any syntactical enrichments.
Examples: "1"
is the Country Code of U.S.A. or "49"
is the
Country Code of Germany.
Remark:
Country Codes are assigned by ITU-T to countries and can therefore be used to identify the country a
phone number belongs to.
java.lang.String getAreaCode()
Example: "408"
is the Area Code of the city San Jose in U.S.A.
null
if Area Code is not knownjava.lang.String getLocationCode()
The number's part assigned to a company doesn't follow a general rule. It differs from country to country or even from carrier to carrier.
null
if Location Code is not knownint getNumberOfOverlapDigits()
In some countries (e.g. U.S.A.) the Extension Number has a fixed length. If a company needs more
phone numbers than this fixed length allows multiple Location Codes must be assigned.
To reach a certain station inside the company it is now not sufficient to dial the extension.
The last digits of the Location Code must be added to get a phone number which is unique inside
the company.
The Overlap defines the number of digits needed from the Location Code to build an unique
number (inside the company).
Example:
A station in the headquarter of Boca Raton (U.S.A.) has the following public number:
1
561
923
31802
1
3
is not part of the extension in the context of the global number, but must be
dialed inside the company to make the Extension Number unique (inside the company).
0
if the Overlap feature is not used.<>0
specifies the number of overlapping digits.java.lang.String getExtensionNumber()
The number to be dialed inside a company to reach a certain station (which is located inside the company).
|
OpenScape V3.2, Revision 044 20100322 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This software is the confidential and proprietary information of Unify, Germany