Smartswitch
|
This interface allows to modify a Task of call generation. More...
defined in <Task.ice>
interface Task extends Smartswitch::Destroyable { ... }
Operations | |
void | addCalleeId (string calleeId) throws AccessException |
Adds callee ID with CalleeIdStatus = eNone. More... | |
void | addCallerId (string callerId) throws AccessException |
Add a new caller ID to a Task. More... | |
TaskTimetable * | addTimetable () throws AccessException |
Add a new TaskTimetable entry to this Task. More... | |
AnswerPeer * | getAnswerPeer () throws AccessException |
Get currently configured AnswerPeer. More... | |
idempotent StateInterface | getAnswerPeerStateInterface () throws AccessException |
Get currently configured StateInterface. More... | |
idempotent CalleeIdInfoSequence | getCalleeIds (long offset) throws AccessException |
Get callee IDs, which will be used in this Task to dial a new call. More... | |
idempotent StringSequence | getCallerIds (long offset) throws AccessException |
Get caller IDs, which will be used in this Task. More... | |
idempotent Telephony::CdrSequence | getCdr (long offset) |
Get CDR for this Task. More... | |
idempotent string | getEndTime () throws AccessException |
Client can periodically poll this API in order to determine when the task has finished. More... | |
idempotent string | getStartTime () throws AccessException |
Task starts dialing when its start time comes. More... | |
TaskTimetableSequence | getTimetable () throws AccessException |
Get currently installed TaskTimetable for this Task. More... | |
idempotent bool | isEnabled () throws AccessException |
Disabled Task won't be dialing the callee ID list. More... | |
void | remove () throws AccessException |
Remove this Task. More... | |
idempotent void | setAnswerPeer (AnswerPeer *answerPeer) throws AccessException |
Set AnswerPeer, to which Smartswitch will forward a call after dialed user answers. More... | |
idempotent void | setAnswerPeerStateInterface (StateInterface stateInterface) throws AccessException |
Set new StateInterface. More... | |
idempotent void | setEnabled (bool enabled) throws AccessException |
Disabling tasks stops it if it's currently active. More... | |
idempotent void | setStartTime (string time) throws AccessException, ArgumentException |
Schedule time when this task will be activated. More... | |
Operations inherited from Smartswitch::Destroyable | |
void | destroy () |
Destroy the proxy entity at the Smartswitch side. More... | |
This interface allows to modify a Task of call generation.
end time
void addCalleeId | ( | string | calleeId | ) | throws AccessException |
Adds callee ID with CalleeIdStatus = eNone.
This callee ID will be dialed when the Task will be started.
void addCallerId | ( | string | callerId | ) | throws AccessException |
TaskTimetable* addTimetable | ( | ) | throws AccessException |
Add a new TaskTimetable entry to this Task.
AnswerPeer* getAnswerPeer | ( | ) | throws AccessException |
Get currently configured AnswerPeer.
to which Smartswitch will forward a call after dialed user answers.
idempotent StateInterface getAnswerPeerStateInterface | ( | ) | throws AccessException |
Get currently configured StateInterface.
If the StateInterface is not None
,
Smartswitch starts new call only when the AnswerPeer becomes available.
Use getAnswerPeer() to get the currently monitored AnswerPeer.
idempotent CalleeIdInfoSequence getCalleeIds | ( | long | offset | ) | throws AccessException |
Get callee IDs, which will be used in this Task to dial a new call.
offset | Skip 'offset' records when retrieving. Use offset = 0 to get first 100 records. |
idempotent StringSequence getCallerIds | ( | long | offset | ) | throws AccessException |
idempotent Telephony::CdrSequence getCdr | ( | long | offset | ) |
Get CDR for this Task.
offset | Skip 'offset' records when retrieving. Use offset = 0 to get first 100 records. |
idempotent string getEndTime | ( | ) | throws AccessException |
Client can periodically poll this API in order to determine when the task has finished.
idempotent string getStartTime | ( | ) | throws AccessException |
Task starts dialing when its start time
comes.
TaskTimetableSequence getTimetable | ( | ) | throws AccessException |
Get currently installed TaskTimetable for this Task.
idempotent bool isEnabled | ( | ) | throws AccessException |
Disabled Task won't be dialing the callee ID list.
Enabled Task may start dialing if all the conditions are met:
start time
is reachedtrue
, if this task is currently enabled. void remove | ( | ) | throws AccessException |
Remove this Task.
idempotent void setAnswerPeer | ( | AnswerPeer * | answerPeer | ) | throws AccessException |
Set AnswerPeer, to which Smartswitch will forward a call after dialed user answers.
answerPeer | AnswerPeer proxy |
idempotent void setAnswerPeerStateInterface | ( | StateInterface | stateInterface | ) | throws AccessException |
Set new StateInterface.
If state interface differs from None
,
Smartswitch starts new call only when the AnswerPeer becomes available.
Use setAnswerPeer() to specify the new AnswerPeer.
stateInterface | new state interface |
idempotent void setEnabled | ( | bool | enabled | ) | throws AccessException |
Disabling tasks stops it if it's currently active.
Enabling task resumes its operation.
idempotent void setStartTime | ( | string | time | ) | throws AccessException, ArgumentException |
Schedule time when this task will be activated.
time | Time at which to start this task. |