Asterisk.org: Developer Documentation (28 Oct 2009)

Wed Oct 28 15:47:57 2009

## Asterisk developer's documentation

# adtranvofr.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Data Structures

struct | vofr_hdr

## Defines

#define | VOFR_CARD_TYPE_ASTERISK 0xf
#define | VOFR_CARD_TYPE_ENM 0x3
#define | VOFR_CARD_TYPE_FXO 0x2
#define | VOFR_CARD_TYPE_FXS 0x1
#define | VOFR_CARD_TYPE_UNSPEC 0x0
#define | VOFR_CARD_TYPE_VCOM 0x4
#define | VOFR_CONTROL_ADTRAN 0x0
#define | VOFR_CONTROL_RFC1490 0x3
#define | VOFR_CONTROL_VOICE 0x1
#define | VOFR_FUDGE 2
#define | VOFR_HDR_SIZE 6
#define | VOFR_MASK_CONTROL 0x3F
#define | VOFR_MASK_EI 0x80
#define | VOFR_MASK_LI 0x40
#define | VOFR_MAX_PKT_SIZE 1500
#define | VOFR_MODULATION_SINGLE 0x0
#define | VOFR_MODULATION_V21 0x1
#define | VOFR_MODULATION_V27ter_2 0x2
#define | VOFR_MODULATION_V27ter_4 0x3
#define | VOFR_MODULATION_V29_7 0x4
#define | VOFR_MODULATION_V29_9 0x5
#define | VOFR_MODULATION_V33_12 0x6
#define | VOFR_MODULATION_V33_14 0x7
#define | VOFR_ROUTE_DTE 0xC
#define | VOFR_ROUTE_DTE1 0x4
#define | VOFR_ROUTE_DTE2 0x8
#define | VOFR_ROUTE_LOCAL 0x1
#define | VOFR_ROUTE_NONE 0x0
#define | VOFR_ROUTE_VOICE 0x2
#define | VOFR_SIGNAL_BUSY 0x02
#define | VOFR_SIGNAL_OFF_HOOK 0x01
#define | VOFR_SIGNAL_OFFHOOK 0x81
#define | VOFR_SIGNAL_ON_HOOK 0x00
#define | VOFR_SIGNAL_RING 0x40
#define | VOFR_SIGNAL_SWITCHED_DIAL 0x08
#define | VOFR_SIGNAL_TRUNK_BUSY 0x04
#define | VOFR_SIGNAL_UNKNOWN 0x10
#define | VOFR_TRACE_SIGNAL 1 << 0
#define | VOFR_TRACE_VOICE 1 << 1
#define | VOFR_TYPE_ANSWER 0x2
#define | VOFR_TYPE_DTMF 0x4
#define | VOFR_TYPE_FAX 0x3
#define | VOFR_TYPE_SIGNAL 0x0
#define | VOFR_TYPE_VOICE 0x1

## Define Documentation

#define VOFR_CARD_TYPE_ASTERISK 0xf

Definition at line 32 of file adtranvofr.h.

#define VOFR_CARD_TYPE_ENM 0x3

Definition at line 30 of file adtranvofr.h.

#define VOFR_CARD_TYPE_FXO 0x2

Definition at line 29 of file adtranvofr.h.

#define VOFR_CARD_TYPE_FXS 0x1

Definition at line 28 of file adtranvofr.h.

#define VOFR_CARD_TYPE_UNSPEC 0x0

Definition at line 27 of file adtranvofr.h.

#define VOFR_CARD_TYPE_VCOM 0x4

Definition at line 31 of file adtranvofr.h.

#define VOFR_CONTROL_ADTRAN 0x0

Definition at line 17 of file adtranvofr.h.

#define VOFR_CONTROL_RFC1490 0x3

Definition at line 19 of file adtranvofr.h.

#define VOFR_CONTROL_VOICE 0x1

Definition at line 18 of file adtranvofr.h.

#define VOFR_FUDGE 2

Definition at line 103 of file adtranvofr.h.

#define VOFR_HDR_SIZE 6

Definition at line 100 of file adtranvofr.h.

#define VOFR_MASK_CONTROL 0x3F

Definition at line 52 of file adtranvofr.h.

#define VOFR_MASK_EI 0x80

Definition at line 50 of file adtranvofr.h.

#define VOFR_MASK_LI 0x40

Definition at line 51 of file adtranvofr.h.

#define VOFR_MAX_PKT_SIZE 1500

Definition at line 66 of file adtranvofr.h.

#define VOFR_MODULATION_SINGLE 0x0

Definition at line 34 of file adtranvofr.h.

#define VOFR_MODULATION_V21 0x1

Definition at line 35 of file adtranvofr.h.

#define VOFR_MODULATION_V27ter_2 0x2

Definition at line 36 of file adtranvofr.h.

#define VOFR_MODULATION_V27ter_4 0x3

Definition at line 37 of file adtranvofr.h.

#define VOFR_MODULATION_V29_7 0x4

Definition at line 38 of file adtranvofr.h.

#define VOFR_MODULATION_V29_9 0x5

Definition at line 39 of file adtranvofr.h.

#define VOFR_MODULATION_V33_12 0x6

Definition at line 40 of file adtranvofr.h.

#define VOFR_MODULATION_V33_14 0x7

Definition at line 41 of file adtranvofr.h.

#define VOFR_ROUTE_DTE 0xC

Definition at line 48 of file adtranvofr.h.

#define VOFR_ROUTE_DTE1 0x4

Definition at line 46 of file adtranvofr.h.

#define VOFR_ROUTE_DTE2 0x8

Definition at line 47 of file adtranvofr.h.

#define VOFR_ROUTE_LOCAL 0x1

Definition at line 44 of file adtranvofr.h.

#define VOFR_ROUTE_NONE 0x0

Definition at line 43 of file adtranvofr.h.

#define VOFR_ROUTE_VOICE 0x2

Definition at line 45 of file adtranvofr.h.

#define VOFR_SIGNAL_BUSY 0x02

Definition at line 58 of file adtranvofr.h.

#define VOFR_SIGNAL_OFF_HOOK 0x01

Definition at line 55 of file adtranvofr.h.

#define VOFR_SIGNAL_OFFHOOK 0x81

Definition at line 61 of file adtranvofr.h.

#define VOFR_SIGNAL_ON_HOOK 0x00

Definition at line 54 of file adtranvofr.h.

#define VOFR_SIGNAL_RING 0x40

Definition at line 56 of file adtranvofr.h.

#define VOFR_SIGNAL_SWITCHED_DIAL 0x08

Definition at line 57 of file adtranvofr.h.

#define VOFR_SIGNAL_TRUNK_BUSY 0x04

Definition at line 59 of file adtranvofr.h.

#define VOFR_SIGNAL_UNKNOWN 0x10

Definition at line 60 of file adtranvofr.h.

#define VOFR_TRACE_SIGNAL 1 << 0

Definition at line 63 of file adtranvofr.h.

#define VOFR_TRACE_VOICE 1 << 1

Definition at line 64 of file adtranvofr.h.

#define VOFR_TYPE_ANSWER 0x2

Definition at line 23 of file adtranvofr.h.

#define VOFR_TYPE_DTMF 0x4

Definition at line 25 of file adtranvofr.h.

#define VOFR_TYPE_FAX 0x3

Definition at line 24 of file adtranvofr.h.

#define VOFR_TYPE_SIGNAL 0x0

Definition at line 21 of file adtranvofr.h.

#define VOFR_TYPE_VOICE 0x1

Definition at line 22 of file adtranvofr.h.