OpenScape
V3.2, Revision 044 20100322

com.siemens.symphonia.bcom.bcommon.external
Interface PassthroughNumber

All Superinterfaces:
ComEndpoint, EndpointAddress
All Known Subinterfaces:
PassthroughNumberInternal
All Known Implementing Classes:
PassthroughNumberImpl, PassthroughNumberInternalImpl

public interface PassthroughNumber
extends EndpointAddress

Provides access to the individual parts of the number.

The normalized number (as provided by the method getNormalizedNumber) of a pass-through number contains the preprocessed number and the context under which it is valid. The methods of this class allow to seperate this two parts.


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 getPassthroughNumber()
          Provides the number without context.
 java.lang.String getPassthroughPhoneContext()
          Provides the context under which the pass-through number is valid.
 
Methods inherited from interface com.siemens.symphonia.bcom.bcommon.external.EndpointAddress
getNormalizedNumber, getTypeOfNumber
 

Method Detail

getPassthroughNumber

java.lang.String getPassthroughNumber()
Provides the number without context.

Example:
Given the pass-through number "123;phone-context=direct.mch-h.hp8k1" this method returns "123".

Remark:
The number provided by this method must not necessarily be identical to the number given as parameter for addresstranslation or dialing. The addresstranslation might have done some kind of translation on it.

Returns:
Sequence of characters composing the number to be sent to the communication system.

getPassthroughPhoneContext

java.lang.String getPassthroughPhoneContext()
Provides the context under which the pass-through number is valid.

Example:
Given the pass-through number "123;phone-context=direct.mch-h.hp8k1" this method returns "mch-h.hp8k1".

Remark:
Pass-through numbers are only allowed to be used under the context in which they are created. I.e. one user may not forward such a number to another user for dialing.

Returns:
Sequence of characters composing the context.

OpenScape
V3.2, Revision 044 20100322

Copyright (c) 2007 Siemens Enterprise Communications, Germany
All rights reserved.

This software is the confidential and proprietary information of Siemens Enterprise Communications, Germany