|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IpCallConnection
The generic Call provides the possibility to control the call routing, to request information from the call, control the charging of the call, to release the call and to supervise the call. It does not give the possibility to control the legs directly and it does not allow control over the media. The first capability is provided by the multi-party call and the latter as well by the multi-media call. The call is limited to two party calls, although it is possible to provide 'follow-on' calls, meaning that the call can be rerouted after the terminating party has disconnected or routing to the terminating party has failed. Basically, this means that at most two legs can be in connected or routing state at any time. This interface shall be implemented by a Generic Call Control SCF. As a minimum requirement, the routeReq (), release() and deassignCall() methods shall be implemented.
| Method Summary | |
|---|---|
void |
continueProcessing()
This operation continues processing of the call explicitly. |
void |
deassignCall()
This method requests that the relationship between the application and the call and associated objects be de-assigned. |
void |
getCallInfoReq(int callInfoRequested)
This asynchronous method requests information associated with the call to be provided at the appropriate time (for example, to calculate charging). |
void |
getMoreDialledDigitsReq(int length)
This asynchronous method requests the call control service to collect further digits and return them to the application. |
void |
release(TpCallReleaseCause cause)
This method requests the release of the call object and associated objects. |
int |
routeReq(TpCallReportRequest[] responseRequested,
TpAddress targetAddress,
TpAddress originatingAddress,
TpAddress originalDestinationAddress,
TpAddress redirectingAddress,
TpCallAppInfo[] appInfo)
This asynchronous method requests routing of the call 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 |
setCallChargePlan(TpCallChargePlan callChargePlan)
Set an operator specific charge plan for the call. |
void |
superviseCallReq(int time,
int treatment)
The application calls this method to supervise a call. |
| Methods inherited from interface org.mobicents.csapi.jr.slee.IpServiceConnection |
|---|
closeConnection |
| Method Detail |
|---|
int routeReq(TpCallReportRequest[] responseRequested,
TpAddress targetAddress,
TpAddress originatingAddress,
TpAddress originalDestinationAddress,
TpAddress redirectingAddress,
TpCallAppInfo[] appInfo)
throws TpCommonExceptions,
P_INVALID_ADDRESS,
P_UNSUPPORTED_ADDRESS_PLAN,
P_INVALID_NETWORK_STATE,
P_INVALID_CRITERIA,
P_INVALID_EVENT_TYPE,
javax.slee.resource.ResourceException
responseRequested - Specifies the set of observed events that will result in zero or more routeRes() being generated.
E.g., when both answer and disconnect is monitored the result can be received two times.
If the application wants to control the call (in whatever sense) it shall enable event reportstargetAddress - Specifies the destination party to which the call leg should be routed.originatingAddress - Specifies the address of the originating (calling) party.originalDestinationAddress - Specifies the original destination address of the call.redirectingAddress - Specifies the address from which the call was last redirected.
TpCommonExceptions
P_INVALID_ADDRESS
P_UNSUPPORTED_ADDRESS_PLAN
P_INVALID_NETWORK_STATE
P_INVALID_CRITERIA
P_INVALID_EVENT_TYPE
javax.slee.resource.ResourceException
void release(TpCallReleaseCause 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 deassignCall()
throws TpCommonExceptions,
javax.slee.resource.ResourceException
TpCommonExceptions
javax.slee.resource.ResourceException
void getCallInfoReq(int callInfoRequested)
throws TpCommonExceptions,
javax.slee.resource.ResourceException
callInfoRequested - Specifies the call information that is requested.
TpCommonExceptions
javax.slee.resource.ResourceException
void setCallChargePlan(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,
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
javax.slee.resource.ResourceException
void getMoreDialledDigitsReq(int length)
throws TpCommonExceptions,
javax.slee.resource.ResourceException
length - Specifies the maximum number of digits to collect.
TpCommonExceptions
javax.slee.resource.ResourceException
void superviseCallReq(int time,
int treatment)
throws TpCommonExceptions,
javax.slee.resource.ResourceException
time - Specifies the granted time in milliseconds for the connection.treatment - Specifies how the network should react after the granted connection time expired.
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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||