Mon Jun 27 16:51:24 2011

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
oh323_pvtnext
int noInbandDtmf
int nonCodecCapability
call_options_t options
int outgoing
ast_channelowner
ast_codec_pref peer_prefs
format_t peercapability
format_t pref_codec
char rdnis [80]
int recvonly
sockaddr_in redirip
ast_rtp_instancertp
sockaddr_in sa
int txDtmfDigit
int update_rtp_info
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().

int alreadygone

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 details

Definition at line 156 of file chan_h323.c.

Referenced by __oh323_destroy(), __oh323_new(), answer_call(), cleanup_connection(), find_call_locked(), oh323_answer(), oh323_call(), oh323_digit_begin(), oh323_digit_end(), oh323_hangup(), oh323_indicate(), oh323_set_rtp_peer(), and setup_incoming_call().

int connection_established

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(), 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(), 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(), 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().

int got_progress

Call got PROGRESS message, pass inband audio

Definition at line 188 of file chan_h323.c.

Referenced by oh323_indicate().

int hangupcause

Hangup cause from OpenH323 layer

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

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

ast_mutex_t lock

Channel private lock

Definition at line 152 of file chan_h323.c.

Referenced by __oh323_destroy(), __oh323_new(), __oh323_rtp_create(), answer_call(), chan_ringing(), cleanup_connection(), connection_made(), do_monitor(), external_rtp_create(), find_call_locked(), hangup_connection(), oh323_answer(), oh323_call(), oh323_destroy(), oh323_digit_begin(), oh323_digit_end(), oh323_fixup(), oh323_get_rtp_peer(), oh323_hangup(), oh323_indicate(), oh323_read(), oh323_request(), oh323_update_info(), oh323_write(), progress(), receive_digit(), remote_hold(), set_dtmf_payload(), set_local_capabilities(), setup_rtp_connection(), and unload_module().

int nativeformats

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().

int needdestroy

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().

int needhangup

Send hangup when Asterisk is ready

Definition at line 170 of file chan_h323.c.

Referenced by __oh323_update_info(), and hangup_connection().

int newcontrol

Pending control to send

Definition at line 173 of file chan_h323.c.

Referenced by __oh323_update_info(), 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(), and receive_digit().

int newduration

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(), and update_state().

struct oh323_pvt* next

Next channel in list

Definition at line 189 of file chan_h323.c.

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

int noInbandDtmf

Inband DTMF processing by DSP isn't available

Definition at line 186 of file chan_h323.c.

Referenced by oh323_rtp_read().

int nonCodecCapability

non-audio capability

Definition at line 160 of file chan_h323.c.

Referenced by create_addr(), and oh323_request().

call_options_t options

!< Options to be used during call setup

Definition at line 153 of file chan_h323.c.

Referenced by __oh323_new(), __oh323_rtp_create(), create_addr(), oh323_call(), oh323_digit_begin(), oh323_digit_end(), oh323_get_rtp_peer(), oh323_request(), oh323_rtp_read(), set_local_capabilities(), set_peer_capabilities(), setup_incoming_call(), and setup_rtp_connection().

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

Who owns us

Definition at line 157 of file chan_h323.c.

Referenced by __oh323_destroy(), __oh323_new(), __oh323_rtp_create(), __oh323_update_info(), chan_ringing(), cleanup_connection(), hangup_connection(), oh323_destroy(), oh323_fixup(), oh323_hangup(), oh323_rtp_read(), progress(), receive_digit(), remote_hold(), setup_rtp_connection(), unload_module(), and update_state().

struct ast_codec_pref peer_prefs

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().

format_t peercapability

Capabilities learned from peer

Definition at line 177 of file chan_h323.c.

Referenced by __oh323_rtp_create(), and set_peer_capabilities().

format_t pref_codec

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

Where our RTP should be going if not to us

Definition at line 159 of file chan_h323.c.

struct ast_rtp_instance* rtp

RTP Session

Definition at line 167 of file chan_h323.c.

Referenced by __oh323_destroy(), __oh323_new(), __oh323_rtp_create(), __oh323_update_info(), cleanup_connection(), external_rtp_create(), oh323_digit_begin(), oh323_digit_end(), oh323_get_rtp_peer(), oh323_indicate(), oh323_read(), oh323_rtp_read(), oh323_write(), set_dtmf_payload(), set_peer_capabilities(), and setup_rtp_connection().

struct sockaddr_in sa

Our peer

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

Referenced by __oh323_rtp_create(), and __oh323_update_info().

struct ast_dsp* vad

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 Mon Jun 27 16:51:24 2011 for Asterisk - The Open Source Telephony Project by  doxygen 1.4.7