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 |
| h323_format | jointcapability |
| ast_mutex_t | lock |
| int | nativeformats |
| int | needdestroy |
| int | needhangup |
| int | newcontrol |
| int | newdigit |
| int | newduration |
| int | newstate |
| struct oh323_pvt * | next |
| int | noInbandDtmf |
| int | nonCodecCapability |
| call_options_t | options |
| int | outgoing |
| struct ast_channel * | owner |
| struct ast_codec_pref | peer_prefs |
| h323_format | peercapability |
| h323_format | pref_codec |
| char | rdnis [80] |
| int | recvonly |
| struct sockaddr_in | redirip |
| struct ast_rtp_instance * | rtp |
| struct sockaddr_in | sa |
| int | txDtmfDigit |
| int | update_rtp_info |
| struct ast_dsp * | vad |
Private structure of a OpenH323 channel.
Definition at line 162 of file chan_h323.c.
| char accountcode[256] |
Account code
Definition at line 175 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 165 of file chan_h323.c.
Referenced by cleanup_connection(), oh323_hangup(), oh323_indicate(), and setup_rtp_connection().
| int amaflags |
AMA Flags
Definition at line 177 of file chan_h323.c.
Referenced by __oh323_new(), and setup_incoming_call().
| call_details_t cd |
Call details
Definition at line 167 of file chan_h323.c.
Referenced by __oh323_destroy(), __oh323_new(), answer_call(), cleanup_connection(), find_call_locked(), oh323_alloc(), oh323_answer(), oh323_call(), oh323_digit_begin(), oh323_digit_end(), oh323_hangup(), oh323_indicate(), oh323_set_rtp_peer(), and setup_incoming_call().
Call got CONNECT message
Definition at line 198 of file chan_h323.c.
Referenced by connection_made().
| char context[AST_MAX_CONTEXT] |
Context where to start
Definition at line 174 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 192 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 191 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 193 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 173 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 199 of file chan_h323.c.
Referenced by oh323_indicate().
| int hangupcause |
Hangup cause from OpenH323 layer
Definition at line 182 of file chan_h323.c.
Referenced by __oh323_update_info(), hangup_connection(), and oh323_hangup().
| h323_format jointcapability |
Common capabilities for local and remote side
Definition at line 189 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().
Channel private lock
Definition at line 163 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_alloc(), 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_simulate_dtmf_end(), oh323_update_info(), oh323_write(), progress(), receive_digit(), remote_hold(), set_dtmf_payload(), set_local_capabilities(), set_peer_capabilities(), setup_rtp_connection(), and unload_module().
| int nativeformats |
Codec formats supported by a channel
Definition at line 180 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 166 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 181 of file chan_h323.c.
Referenced by __oh323_update_info(), and hangup_connection().
| int newcontrol |
Pending control to send
Definition at line 184 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 185 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 186 of file chan_h323.c.
Referenced by __oh323_update_info(), and receive_digit().
| int newstate |
Pending state change
Definition at line 183 of file chan_h323.c.
Referenced by __oh323_update_info(), oh323_alloc(), and update_state().
Next channel in list
Definition at line 200 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 197 of file chan_h323.c.
Referenced by oh323_rtp_read().
non-audio capability
Definition at line 171 of file chan_h323.c.
Referenced by create_addr(), oh323_alloc(), and oh323_request().
| call_options_t options |
!< Options to be used during call setup
Definition at line 164 of file chan_h323.c.
Referenced by __oh323_new(), __oh323_rtp_create(), create_addr(), oh323_alloc(), 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 172 of file chan_h323.c.
Referenced by connection_made(), and oh323_call().
| struct ast_channel* owner |
Who owns us
Definition at line 168 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(), oh323_simulate_dtmf_end(), 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 190 of file chan_h323.c.
Referenced by __oh323_rtp_create(), and set_peer_capabilities().
| h323_format peercapability |
Capabilities learned from peer
Definition at line 188 of file chan_h323.c.
Referenced by __oh323_rtp_create(), and set_peer_capabilities().
| h323_format pref_codec |
| char rdnis[80] |
Referring DNIS, if available
Definition at line 176 of file chan_h323.c.
| int recvonly |
Peer isn't wish to receive our voice stream
Definition at line 195 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 170 of file chan_h323.c.
| struct ast_rtp_instance* rtp |
RTP Session
Definition at line 178 of file chan_h323.c.
Referenced by __oh323_destroy(), __oh323_new(), __oh323_rtp_create(), __oh323_update_info(), cleanup_connection(), external_rtp_create(), oh323_alloc(), 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 |
| int txDtmfDigit |
DTMF digit being to send to H.323 side
Definition at line 196 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 194 of file chan_h323.c.
Referenced by __oh323_rtp_create(), __oh323_update_info(), and oh323_alloc().
Used for in-band DTMF detection
Definition at line 179 of file chan_h323.c.
Referenced by __oh323_destroy(), __oh323_new(), cleanup_connection(), and oh323_rtp_read().