Objective Systems, Inc.  

ooStackCmds.h File Reference

This file contains stack commands which an user application can use to make call, hang call etc. More...

#include "ootypes.h"

Go to the source code of this file.

Data Structures

struct  OOStackCommand
 This structure is used to queue a stack command for processing in the event handler loop. More...

Defines

#define ooCommand   OOStackCommand;

Enumerations

enum  OOStkCmdStat {
  OO_STKCMD_SUCCESS,
  OO_STKCMD_MEMERR,
  OO_STKCMD_INVALIDPARAM,
  OO_STKCMD_WRITEERR,
  OO_STKCMD_CONNECTIONERR
}
 This is an enumeration of Stack Command return codes.
enum  OOStackCmdID {
  OO_CMD_NOOP,
  OO_CMD_MAKECALL,
  OO_CMD_ANSCALL,
  OO_CMD_FWDCALL,
  OO_CMD_HANGCALL,
  OO_CMD_SENDDIGIT,
  OO_CMD_MANUALRINGBACK,
  OO_CMD_STOPMONITOR
}
 This is an enumeration of stack command codes. More...

Functions

EXTERN OOStkCmdStat ooMakeCall (const char *dest, char *callToken, size_t bufsiz, ooCallOptions *opts)
 This function is used by an application to place a call.
EXTERN OOStkCmdStat ooManualRingback (const char *callToken)
 This function is used to send a manual ringback message (alerting message) for a call.
EXTERN OOStkCmdStat ooAnswerCall (const char *callToken)
 This function is used to answer a call.
EXTERN OOStkCmdStat ooForwardCall (const char *callToken, char *dest)
 This function is used to forward an existing call to third party.
EXTERN OOStkCmdStat ooHangCall (const char *callToken, OOCallClearReason reason)
 This function is used by an user application to terminate a call.
EXTERN OOStkCmdStat ooSendDTMFDigit (const char *callToken, const char *alpha)
 This command function can be used by an user application to send a DTMF sequence using H.245 UserInputIndication message.
EXTERN OOStkCmdStat ooStopMonitor (void)
 This function is used by the user application to stop stack thread.
EXTERN const char * ooGetStkCmdStatusCodeTxt (OOStkCmdStat stat)
 This function is used by application to obtain the text description for failure of tsack command.


Detailed Description

This file contains stack commands which an user application can use to make call, hang call etc.

Definition in file ooStackCmds.h.


This file was last modified on 28 May 2010.
Objective Open H.323 Stack, 0.9.1