Thu Oct 11 06:51:16 2012

Asterisk developer's documentation


oh323_pvt Struct Reference

Private structure of a OpenH323 channel. More...

Collaboration diagram for oh323_pvt:

Collaboration graph
[legend]

Data Fields

char accountcode [256]
int alreadygone
int amaflags
call_details_t cd
int connection_established
char context [AST_MAX_CONTEXT]
int curDTMF
int dtmf_pt [2]
int DTMFsched
char exten [AST_MAX_EXTENSION]
int got_progress
int hangupcause
int jointcapability
ast_mutex_t lock
int nativeformats
int needdestroy
int needhangup
int newcontrol
int newdigit
int newduration
int newstate
struct oh323_pvtnext
int noInbandDtmf
int nonCodecCapability
call_options_t options
int outgoing
struct ast_channelowner
struct ast_codec_pref peer_prefs
int peercapability
int pref_codec
char rdnis [80]
int recvonly
struct sockaddr_in redirip
struct ast_rtprtp
struct sockaddr_in sa
int txDtmfDigit
int update_rtp_info
struct ast_dspvad

Detailed Description

Private structure of a OpenH323 channel.

Definition at line 151 of file chan_h323.c.


Field Documentation

char accountcode[256]

Account code

Definition at line 164 of file chan_h323.c.

Referenced by __oh323_new(), and setup_incoming_call().

Whether or not we've already been destroyed by our peer

Definition at line 154 of file chan_h323.c.

Referenced by cleanup_connection(), oh323_hangup(), oh323_indicate(), and setup_rtp_connection().

int amaflags

AMA Flags

Definition at line 166 of file chan_h323.c.

Referenced by __oh323_new(), and setup_incoming_call().

call_details_t cd

Call got CONNECT message

Definition at line 187 of file chan_h323.c.

Referenced by connection_made().

char context[AST_MAX_CONTEXT]

Context where to start

Definition at line 163 of file chan_h323.c.

Referenced by __oh323_new(), answer_call(), oh323_alloc(), and setup_incoming_call().

int curDTMF

DTMF tone being generated to Asterisk side

Definition at line 181 of file chan_h323.c.

Referenced by __oh323_update_info(), oh323_simulate_dtmf_end(), and receive_digit().

int dtmf_pt[2]

Payload code used for RFC2833/CISCO messages

Definition at line 180 of file chan_h323.c.

Referenced by __oh323_rtp_create(), oh323_digit_begin(), oh323_digit_end(), and set_dtmf_payload().

int DTMFsched

Scheduler descriptor for DTMF

Definition at line 182 of file chan_h323.c.

Referenced by __oh323_destroy(), __oh323_update_info(), oh323_alloc(), oh323_simulate_dtmf_end(), and receive_digit().

char exten[AST_MAX_EXTENSION]

Requested extension

Definition at line 162 of file chan_h323.c.

Referenced by __oh323_new(), answer_call(), oh323_call(), oh323_request(), and setup_incoming_call().

Call got PROGRESS message, pass inband audio

Definition at line 188 of file chan_h323.c.

Referenced by oh323_indicate().

Hangup cause from OpenH323 layer

Definition at line 171 of file chan_h323.c.

Referenced by __oh323_update_info(), hangup_connection(), and oh323_hangup().

Common capabilities for local and remote side

Definition at line 178 of file chan_h323.c.

Referenced by __oh323_new(), create_addr(), oh323_alloc(), oh323_request(), set_local_capabilities(), set_peer_capabilities(), setup_incoming_call(), and setup_rtp_connection().

Codec formats supported by a channel

Definition at line 169 of file chan_h323.c.

Referenced by __oh323_new(), __oh323_update_info(), oh323_rtp_read(), and setup_rtp_connection().

if we need to be destroyed

Definition at line 155 of file chan_h323.c.

Referenced by do_monitor(), find_call_locked(), and oh323_hangup().

Send hangup when Asterisk is ready

Definition at line 170 of file chan_h323.c.

Referenced by __oh323_update_info(), and hangup_connection().

Pending control to send

Definition at line 173 of file chan_h323.c.

Referenced by __oh323_update_info(), oh323_alloc(), receive_digit(), remote_hold(), setup_rtp_connection(), and update_state().

int newdigit

Pending DTMF digit to send

Definition at line 174 of file chan_h323.c.

Referenced by __oh323_update_info(), oh323_alloc(), and receive_digit().

Pending DTMF digit duration to send

Definition at line 175 of file chan_h323.c.

Referenced by __oh323_update_info(), and receive_digit().

int newstate

Pending state change

Definition at line 172 of file chan_h323.c.

Referenced by __oh323_update_info(), oh323_alloc(), and update_state().

struct oh323_pvt* next [read]

Next channel in list

Definition at line 189 of file chan_h323.c.

Referenced by __oh323_destroy(), do_monitor(), find_call_locked(), oh323_alloc(), and unload_module().

Inband DTMF processing by DSP isn't available

Definition at line 186 of file chan_h323.c.

Referenced by oh323_rtp_read().

non-audio capability

Definition at line 160 of file chan_h323.c.

Referenced by create_addr(), oh323_alloc(), and oh323_request().

call_options_t options

int outgoing

Outgoing or incoming call?

Definition at line 161 of file chan_h323.c.

Referenced by connection_made(), and oh323_call().

struct ast_channel* owner [read]

struct ast_codec_pref peer_prefs [read]

Preferenced list of codecs which remote side supports

Definition at line 179 of file chan_h323.c.

Referenced by __oh323_rtp_create(), and set_peer_capabilities().

Capabilities learned from peer

Definition at line 177 of file chan_h323.c.

Referenced by __oh323_rtp_create(), and set_peer_capabilities().

Preferred codec

Definition at line 176 of file chan_h323.c.

Referenced by set_local_capabilities().

char rdnis[80]

Referring DNIS, if available

Definition at line 165 of file chan_h323.c.

int recvonly

Peer isn't wish to receive our voice stream

Definition at line 184 of file chan_h323.c.

Referenced by oh323_write(), and setup_rtp_connection().

struct sockaddr_in redirip [read]

Where our RTP should be going if not to us

Definition at line 159 of file chan_h323.c.

struct ast_rtp* rtp [read]

struct sockaddr_in sa [read]

Our peer

Definition at line 158 of file chan_h323.c.

Referenced by create_addr(), and oh323_call().

DTMF digit being to send to H.323 side

Definition at line 185 of file chan_h323.c.

Referenced by oh323_digit_begin(), and oh323_digit_end().

Configuration of fd's array is pending

Definition at line 183 of file chan_h323.c.

Referenced by __oh323_rtp_create(), __oh323_update_info(), and oh323_alloc().

struct ast_dsp* vad [read]

Used for in-band DTMF detection

Definition at line 168 of file chan_h323.c.

Referenced by __oh323_destroy(), __oh323_new(), cleanup_connection(), and oh323_rtp_read().


The documentation for this struct was generated from the following file:

Generated on Thu Oct 11 06:51:17 2012 for Asterisk - the Open Source PBX by  doxygen 1.5.6