|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IpCallLegConnection
The call leg interface represents the logical call leg associating a call with an address. The call leg tracks its own states and allows charging summaries to be accessed. The leg represents the signalling relationship between the call and an address. An application that uses the IpCallLeg interface to set up connections has good control, e.g. by defining leg specific event request and can obtain call leg specific report and events. This interface shall be implemented by a Multi Party Call Control SCF. The routeReq(), eventReportReq(), release(), continueProcessing() and deassign() methods shall be implemented as a minimum requirement.
| Method Summary | |
|---|---|
void |
attachMediaReq()
This method requests that the call leg be attached to its call object. |
void |
continueProcessing()
This operation continues processing of the call leg. |
void |
deassign()
This method requests that the relationship between the application and the call leg and associated objects be de-assigned. |
void |
detachMediaReq()
This method will detach the call leg from its call, i.e., this will prevent transmission on any associated bearer connections or media streams to and from other parties in the call. |
void |
eventReportReq(TpCallEventRequest[] eventsRequested)
This asynchronous method sets, clears or changes the criteria for the events that the call leg object will be set to observe. |
TpMultiPartyCallIdentifier |
getCall()
This method requests the call associated with this call leg. |
TpAddress |
getCurrentDestinationAddress()
Queries the current address of the destination the leg has been directed to. |
void |
getInfoReq(int callLegInfoRequested)
This asynchronous method requests information associated with the call leg to be provided at the appropriate time (for example, to calculate charging). |
void |
release(TpReleaseCause cause)
This method requests the release of the call leg. |
void |
routeReq(TpAddress targetAddress,
TpAddress originatingAddress,
TpCallAppInfo[] appInfo,
TpCallLegConnectionProperties connectionProperties)
This asynchronous method requests routing of the call leg to the remote party indicated by the targetAddress. |
void |
setAdviceOfCharge(TpAoCInfo aOCInfo,
int tariffSwitch)
This method allows for advice of charge (AOC) information to be sent to terminals that are capable of receiving this information. |
void |
setChargePlan(TpCallChargePlan callChargePlan)
Set an operator specific charge plan for the call leg. |
void |
superviseReq(int time,
int treatment)
The application calls this method to supervise a call leg. |
| Methods inherited from interface org.mobicents.csapi.jr.slee.IpServiceConnection |
|---|
closeConnection |
| Method Detail |
|---|
void routeReq(TpAddress targetAddress,
TpAddress originatingAddress,
TpCallAppInfo[] appInfo,
TpCallLegConnectionProperties connectionProperties)
throws TpCommonExceptions,
P_INVALID_NETWORK_STATE,
P_INVALID_ADDRESS,
P_UNSUPPORTED_ADDRESS_PLAN,
javax.slee.resource.ResourceException
targetAddress - Specifies the destination party to which the call leg should be routed.originatingAddress - Specifies the address of the originating (calling) party.connectionProperties - Specifies the properties of the connection.
TpCommonExceptions
P_INVALID_NETWORK_STATE
P_INVALID_ADDRESS
P_UNSUPPORTED_ADDRESS_PLAN
javax.slee.resource.ResourceException
void eventReportReq(TpCallEventRequest[] eventsRequested)
throws TpCommonExceptions,
P_INVALID_EVENT_TYPE,
P_INVALID_CRITERIA,
javax.slee.resource.ResourceException
eventsRequested - Specifies the event specific criteria used by the application to define the events required. Only events that meet these criteria are reported. Examples of events are "address analysed", "answer" and "release".
TpCommonExceptions
P_INVALID_EVENT_TYPE
P_INVALID_CRITERIA
javax.slee.resource.ResourceException
void release(TpReleaseCause cause)
throws TpCommonExceptions,
P_INVALID_NETWORK_STATE,
javax.slee.resource.ResourceException
cause - Specifies the cause of the release.
TpCommonExceptions
P_INVALID_NETWORK_STATE
javax.slee.resource.ResourceException
void getInfoReq(int callLegInfoRequested)
throws TpCommonExceptions,
javax.slee.resource.ResourceException
callLegInfoRequested - Specifies the call leg information that is requested.
TpCommonExceptions
javax.slee.resource.ResourceException
TpMultiPartyCallIdentifier getCall()
throws TpCommonExceptions,
javax.slee.resource.ResourceException
TpCommonExceptions
javax.slee.resource.ResourceException
void attachMediaReq()
throws TpCommonExceptions,
P_INVALID_NETWORK_STATE,
javax.slee.resource.ResourceException
TpCommonExceptions
P_INVALID_NETWORK_STATE
javax.slee.resource.ResourceException
void detachMediaReq()
throws TpCommonExceptions,
P_INVALID_NETWORK_STATE,
javax.slee.resource.ResourceException
TpCommonExceptions
P_INVALID_NETWORK_STATE
javax.slee.resource.ResourceException
TpAddress getCurrentDestinationAddress()
throws TpCommonExceptions,
javax.slee.resource.ResourceException
TpCommonExceptions
javax.slee.resource.ResourceException
void continueProcessing()
throws TpCommonExceptions,
P_INVALID_NETWORK_STATE,
javax.slee.resource.ResourceException
TpCommonExceptions
P_INVALID_NETWORK_STATE
javax.slee.resource.ResourceException
void setChargePlan(TpCallChargePlan callChargePlan)
throws TpCommonExceptions,
javax.slee.resource.ResourceException
callChargePlan - Specifies the charge plan to use.
TpCommonExceptions
javax.slee.resource.ResourceException
void setAdviceOfCharge(TpAoCInfo aOCInfo,
int tariffSwitch)
throws TpCommonExceptions,
P_INVALID_CURRENCY,
P_INVALID_AMOUNT,
javax.slee.resource.ResourceException
aOCInfo - Specifies two sets of Advice of Charge parameter.tariffSwitch - Specifies the tariff switch interval that signifies when the second set of AoC parameters becomes valid.
TpCommonExceptions
P_INVALID_CURRENCY
P_INVALID_AMOUNT
javax.slee.resource.ResourceException
void superviseReq(int time,
int treatment)
throws TpCommonExceptions,
javax.slee.resource.ResourceException
time - Specifies the granted time in milliseconds for the connection. Measurement will start as soon as the callLeg is connected in the network.treatment - Specifies how the network should react after the granted connection time expired.
TpCommonExceptions
javax.slee.resource.ResourceException
void deassign()
throws TpCommonExceptions,
javax.slee.resource.ResourceException
TpCommonExceptions
javax.slee.resource.ResourceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||