CAF: Caf Call Leg Events
From TBwiki
(Difference between revisions)
(→Controlling call flow:) |
(→Playing/recording audio) |
||
Line 35: | 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()