CAF: Caf Call Leg Events
From TBwiki
(Difference between revisions)
(Created page with '== Events received from call legs by the CTBCAFCallFlow object == The call flow object (as well as all it's behaviors) receive the following events from it's call legs (please r…') |
(→Playing/recording audio) |
||
(One intermediate revision by one user not shown) | |||
Line 13: | Line 13: | ||
- OnCallLegAnswered() | - OnCallLegAnswered() | ||
- OnCallLegSuppInfo() | - OnCallLegSuppInfo() | ||
− | |||
− | |||
- OnCallLegTerminatingIndication() | - OnCallLegTerminatingIndication() | ||
- OnCallLegTerminated() | - OnCallLegTerminated() | ||
Line 21: | Line 19: | ||
- OnCallLegTransferProgress() | - OnCallLegTransferProgress() | ||
- OnCallLegTransferResponse() | - OnCallLegTransferResponse() | ||
+ | |||
+ | === Controlling media flow between two call legs: === | ||
+ | - OnLegJoinDone() | ||
+ | - OnLegUnjoinDone() | ||
=== Re-synchronization with [[Toolpack_Application:toolpack_engine|toolpack_engine]]: === | === Re-synchronization with [[Toolpack_Application:toolpack_engine|toolpack_engine]]: === | ||
Line 33: | Line 35: | ||
==== Playing/recording audio ==== | ==== Playing/recording audio ==== | ||
+ | - OnStreamPlayingStarted() | ||
- OnStreamPlayingDone() | - OnStreamPlayingDone() | ||
+ | - OnStreamRecordingStarted() | ||
- OnStreamRecordingDone() | - OnStreamRecordingDone() | ||
Latest revision as of 15:40, 17 January 2012
Events received from call legs by the CTBCAFCallFlow object
The call flow object (as well as all it's behaviors) receive the following events from it's call legs (please refer to the header file ITBCAFCallFlow.hpp for more information on each of these functions):
Initialization and termination of call leg objects:
- OnInitIncomingCallLeg() - OnInitOutgoingCallLeg() - OnLegFreed()
Controlling call flow:
- OnCallLegAccepted() - OnCallLegAlerting() - OnCallLegAnswered() - OnCallLegSuppInfo() - OnCallLegTerminatingIndication() - OnCallLegTerminated() - OnLegTerminated() - OnCallLegTransferRequest() - OnCallLegTransferProgress() - OnCallLegTransferResponse()
Controlling media flow between two call legs:
- OnLegJoinDone() - OnLegUnjoinDone()
Re-synchronization with toolpack_engine:
- OnSyncDone() - OnSyncLost()
Timers or custom events:
- OnLegEvent()
Errors detected by toolpack_engine:
- OnLegError()
Playing/recording audio
- OnStreamPlayingStarted() - OnStreamPlayingDone() - OnStreamRecordingStarted() - OnStreamRecordingDone()
Digits (tone) and events:
- OnDigitPlayingDone() - OnDigitCollected() - OnEventPlayingDone() - OnEventCollected()
Controlling profile or stats:
- OnLegProfileChanged() - OnLegStatsUpdated()