|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objecthp.opencall.media.platform.connection.InternalCallSpec
hp.opencall.media.ccapi.CallSpec
A CallSpec stores the addresses, i.e. the calling (ANI) and the called address of a Call (DNIS). ANI (Automatic Number Identification) tells you the number your caller dialed from. DNIS (Dialed Number Identification Service) tells you the number the caller dialed.
| Nested Class Summary | |
class |
CallSpec.CallSpecType
Call origin The CallSpecType class supplies the different CallSpec type value |
| Field Summary |
| Fields inherited from class hp.opencall.media.platform.connection.InternalCallSpec |
defaultConnectionType |
| Constructor Summary | |
CallSpec(Address to)
Deprecated. use the contructor with Signalling party instead |
|
CallSpec(Address to,
Address from)
Deprecated. use CallSpec(SignallingParty to, SignallingParty from)
instead |
|
CallSpec(SignallingParty to)
Creates a CallSpec with the specified called party (DNIS) |
|
CallSpec(SignallingParty to,
SignallingParty from)
Creates a CallSpec with the specified called (DNIS) and calling (ANI) parties. |
|
| Method Summary | |
void |
addRedirectElement(RedirectElement anElement)
Add call redirection path. |
Address |
getCalledAddress()
Deprecated. use getCalledParty() instead |
SignallingParty |
getCalledParty()
Called party Accessor |
Address |
getCallingAddress()
Deprecated. use getCallingParty() instead |
SignallingParty |
getCallingParty()
Calling Party Accessor OR null if the calling address is not specified in the call associated to this CallSpec |
int |
getCallSpecType()
Returns the CallSpec Type |
String |
getOwnerServiceName()
Returns the Name of the service which owns the TrunkLeg described by this CallSpec |
String |
getProtocolName()
return the procole name. |
String |
getProtocolVersion()
return the procole version. |
RedirectElement[] |
getRedirectElements()
give access to the redirection history. |
String |
getRoutingInfo()
Get the routing information for outgoing call |
boolean |
isIncoming()
Returns the side from which call was originated |
void |
setRoutingInfo(String value)
Set in callSpec the routing information for outgoing call |
void |
setUsedProvider(hp.opencall.media.signalling.CnxProviderIF aCnxProviderIF)
Set in callSpec the Connection provider used |
String |
toString()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CallSpec(SignallingParty to,
SignallingParty from)
to - called party (DNIS)from - calling party (ANI)public CallSpec(SignallingParty to)
to - called party (DNIS)
public CallSpec(Address to,
Address from)
CallSpec(SignallingParty to, SignallingParty from)
instead
to - from - public CallSpec(Address to)
to - | Method Detail |
public boolean isIncoming()
isIncoming in interface CallSpecInterfacepublic Address getCalledAddress()
getCalledParty() instead
getCalledAddress in interface CallSpecInterfacepublic Address getCallingAddress()
getCallingParty() instead
getCallingAddress in interface CallSpecInterfacepublic int getCallSpecType()
getCallSpecType in interface CallSpecInterfacepublic void setUsedProvider(hp.opencall.media.signalling.CnxProviderIF aCnxProviderIF)
setUsedProvider in interface CallSpecInterfaceaCnxProviderIF - specifies the Connection provider used
public SignallingParty getCalledParty()
getCalledParty in interface CallSpecInterfacepublic RedirectElement[] getRedirectElements()
getRedirectElements in interface CallSpecInterfacepublic SignallingParty getCallingParty()
getCallingParty in interface CallSpecInterfacepublic void addRedirectElement(RedirectElement anElement)
addRedirectElement in interface CallSpecInterfaceanElement - public String getOwnerServiceName()
public String toString()
public String getProtocolName()
CallSpecInterface
getProtocolName in interface CallSpecInterfacepublic String getProtocolVersion()
CallSpecInterface
getProtocolVersion in interface CallSpecInterfacepublic void setRoutingInfo(String value)
value - of the routing information
public String getRoutingInfo()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||