Wed Jan 8 2020 09:50:24

Asterisk developer's documentation


oh323_pvt Struct Reference

Private structure of a OpenH323 channel. More...

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
 
format_t 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
 
format_t peercapability
 
format_t pref_codec
 
char rdnis [80]
 
int recvonly
 
struct sockaddr_in redirip
 
struct ast_rtp_instancertp
 
struct sockaddr_in sa
 
int txDtmfDigit
 
int update_rtp_info
 
struct ast_dspvad
 

Detailed Description

Private structure of a OpenH323 channel.

Definition at line 154 of file chan_h323.c.

Field Documentation

char accountcode[256]

Account code

Definition at line 167 of file chan_h323.c.

Referenced by __oh323_new(), and setup_incoming_call().

int alreadygone

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

Definition at line 157 of file chan_h323.c.

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

int amaflags

AMA Flags

Definition at line 169 of file chan_h323.c.

Referenced by __oh323_new(), and setup_incoming_call().

int connection_established

Call got CONNECT message

Definition at line 190 of file chan_h323.c.

Referenced by connection_made().

char context[AST_MAX_CONTEXT]

Context where to start

Definition at line 166 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 184 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 183 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 185 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 165 of file chan_h323.c.

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

int got_progress

Call got PROGRESS message, pass inband audio

Definition at line 191 of file chan_h323.c.

Referenced by oh323_indicate().

int hangupcause

Hangup cause from OpenH323 layer

Definition at line 174 of file chan_h323.c.

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

format_t jointcapability

Common capabilities for local and remote side

Definition at line 181 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().

int nativeformats

Codec formats supported by a channel

Definition at line 172 of file chan_h323.c.

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

int needdestroy

if we need to be destroyed

Definition at line 158 of file chan_h323.c.

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

int needhangup

Send hangup when Asterisk is ready

Definition at line 173 of file chan_h323.c.

Referenced by __oh323_update_info(), and hangup_connection().

int newcontrol

Pending control to send

Definition at line 176 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 177 of file chan_h323.c.

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

int newduration

Pending DTMF digit duration to send

Definition at line 178 of file chan_h323.c.

Referenced by __oh323_update_info(), and receive_digit().

int newstate

Pending state change

Definition at line 175 of file chan_h323.c.

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

struct oh323_pvt* next

Next channel in list

Definition at line 192 of file chan_h323.c.

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

int noInbandDtmf

Inband DTMF processing by DSP isn't available

Definition at line 189 of file chan_h323.c.

Referenced by oh323_rtp_read().

int nonCodecCapability

non-audio capability

Definition at line 163 of file chan_h323.c.

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

int outgoing

Outgoing or incoming call?

Definition at line 164 of file chan_h323.c.

Referenced by connection_made(), and oh323_call().

struct ast_codec_pref peer_prefs

Preferenced list of codecs which remote side supports

Definition at line 182 of file chan_h323.c.

Referenced by __oh323_rtp_create(), and set_peer_capabilities().

format_t peercapability

Capabilities learned from peer

Definition at line 180 of file chan_h323.c.

Referenced by __oh323_rtp_create(), and set_peer_capabilities().

format_t pref_codec

Preferred codec

Definition at line 179 of file chan_h323.c.

Referenced by set_local_capabilities().

char rdnis[80]

Referring DNIS, if available

Definition at line 168 of file chan_h323.c.

int recvonly

Peer isn't wish to receive our voice stream

Definition at line 187 of file chan_h323.c.

Referenced by oh323_write(), and setup_rtp_connection().

struct sockaddr_in redirip

Where our RTP should be going if not to us

Definition at line 162 of file chan_h323.c.

struct sockaddr_in sa

Our peer

Definition at line 161 of file chan_h323.c.

Referenced by create_addr(), and oh323_call().

int txDtmfDigit

DTMF digit being to send to H.323 side

Definition at line 188 of file chan_h323.c.

Referenced by oh323_digit_begin(), and oh323_digit_end().

int update_rtp_info

Configuration of fd's array is pending

Definition at line 186 of file chan_h323.c.

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

struct ast_dsp* vad

Used for in-band DTMF detection

Definition at line 171 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: