CAF: Caf Call Leg Actions

From TBwiki
(Difference between revisions)
Jump to: navigation, search
Line 57: Line 57:
 
  - GetProfile()
 
  - GetProfile()
 
  - GetJoinAttributes()
 
  - GetJoinAttributes()
  - GetListeningMixer()
+
  - GetListenerMixer()
 
  - GetSpeakerMixers()
 
  - GetSpeakerMixers()
 +
- GetMixerJoinAttributes()

Revision as of 12:08, 19 January 2012

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()
- GetJoinAttributes()
- GetListenerMixer()
- GetSpeakerMixers()
- GetMixerJoinAttributes()
Personal tools