CAF: Caf Call Leg Actions
From TBwiki
Contents |
Actions on call legs
The call flow (and it's behaviors) can perform various actions on each of it's call legs. Here is a list of the actions available on the CTBCAFCallLeg objects (please refer to the header file CTBCMCLeg.hpp for more information on each of these functions):
Controlling call flow:
- AcceptCall() - AlertCall() - AnswerCall() - ProgressCall() - SendCallSuppInfo() - TerminateCall() - CallTransferRequest() - CallTransferProgress() - CallTransferResponse()
Controlling media flow between two call legs
- Join() - Unjoin()
Playing/recording audio
- PlayStream() - RecordStream() - PauseStream() - ResumeStream() - StopStream()
Digits (tone) and events:
- PlayDigit() - StartDigitCollection() - StopDigitCollection() - PlayEvent() - CancelEvent() - StartEventCollection() - StopEventCollection()
Controlling profile or stats:
- SetProfile() - ChangeProfile() - GetStats()
States can be queried instantly:
- IsTerminating() - IsAccepted() - IsAlerted() - IsAnswered() - IsSynchronized() - IsPlayingStream() - IsRecordingStream() - IsPlayingDigit() - IsPlayingEvent() - IsJoined()
Call information can be queried instantly:
- GetLegId() - GetLinkId() - GetAttributes() - GetProfile() - GetJoinedLegs() - GetJoinedLegAttributes() - GetJoinAttributes() - GetListenerMixer() - GetSpeakerMixers()