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_pvt * | next |
| int | noInbandDtmf |
| int | nonCodecCapability |
| call_options_t | options |
| int | outgoing |
| struct ast_channel * | owner |
| 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_instance * | rtp |
| struct sockaddr_in | sa |
| int | txDtmfDigit |
| int | update_rtp_info |
| struct ast_dsp * | vad |
Private structure of a OpenH323 channel.
| 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 oh323_hangup(), oh323_indicate(), setup_rtp_connection(), and cleanup_connection().
| int amaflags |
AMA Flags
Definition at line 169 of file chan_h323.c.
Referenced by __oh323_new(), and setup_incoming_call().
| call_details_t cd |
Call details
Definition at line 159 of file chan_h323.c.
Referenced by __oh323_destroy(), oh323_digit_begin(), oh323_digit_end(), oh323_call(), oh323_answer(), oh323_hangup(), oh323_indicate(), __oh323_new(), oh323_alloc(), find_call_locked(), setup_incoming_call(), answer_call(), cleanup_connection(), and oh323_set_rtp_peer().
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(), oh323_alloc(), setup_incoming_call(), and answer_call().
| int curDTMF |
DTMF tone being generated to Asterisk side
Definition at line 184 of file chan_h323.c.
Referenced by oh323_simulate_dtmf_end(), __oh323_update_info(), 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_digit_begin(), oh323_digit_end(), __oh323_rtp_create(), and set_dtmf_payload().
| int DTMFsched |
Scheduler descriptor for DTMF
Definition at line 185 of file chan_h323.c.
Referenced by oh323_simulate_dtmf_end(), __oh323_update_info(), __oh323_destroy(), oh323_alloc(), and receive_digit().
| char exten[AST_MAX_EXTENSION] |
Requested extension
Definition at line 165 of file chan_h323.c.
Referenced by oh323_call(), __oh323_new(), oh323_request(), setup_incoming_call(), and answer_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(), oh323_hangup(), and hangup_connection().
Common capabilities for local and remote side
Definition at line 181 of file chan_h323.c.
Referenced by __oh323_new(), oh323_alloc(), create_addr(), oh323_request(), setup_rtp_connection(), setup_incoming_call(), set_peer_capabilities(), and set_local_capabilities().
Channel private lock
Definition at line 155 of file chan_h323.c.
Referenced by oh323_simulate_dtmf_end(), oh323_update_info(), __oh323_destroy(), oh323_destroy(), oh323_digit_begin(), oh323_digit_end(), oh323_call(), oh323_answer(), oh323_hangup(), oh323_read(), oh323_write(), oh323_indicate(), oh323_fixup(), __oh323_rtp_create(), __oh323_new(), oh323_alloc(), find_call_locked(), oh323_request(), receive_digit(), external_rtp_create(), setup_rtp_connection(), connection_made(), progress(), answer_call(), chan_ringing(), cleanup_connection(), hangup_connection(), set_dtmf_payload(), set_peer_capabilities(), set_local_capabilities(), remote_hold(), do_monitor(), oh323_get_rtp_peer(), and unload_module().
| int nativeformats |
Codec formats supported by a channel
Definition at line 172 of file chan_h323.c.
Referenced by __oh323_update_info(), oh323_rtp_read(), __oh323_new(), and setup_rtp_connection().
| int needdestroy |
if we need to be destroyed
Definition at line 158 of file chan_h323.c.
Referenced by oh323_hangup(), find_call_locked(), and do_monitor().
| 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(), update_state(), receive_digit(), setup_rtp_connection(), and remote_hold().
| 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().
Next channel in list
Definition at line 192 of file chan_h323.c.
Referenced by __oh323_destroy(), oh323_alloc(), find_call_locked(), do_monitor(), 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().
non-audio capability
Definition at line 163 of file chan_h323.c.
Referenced by oh323_alloc(), create_addr(), and oh323_request().
| call_options_t options |
!< Options to be used during call setup
Definition at line 156 of file chan_h323.c.
Referenced by oh323_digit_begin(), oh323_digit_end(), oh323_call(), oh323_rtp_read(), __oh323_rtp_create(), __oh323_new(), oh323_alloc(), create_addr(), oh323_request(), setup_rtp_connection(), setup_incoming_call(), set_peer_capabilities(), set_local_capabilities(), and oh323_get_rtp_peer().
| int outgoing |
Outgoing or incoming call?
Definition at line 164 of file chan_h323.c.
Referenced by oh323_call(), and connection_made().
| struct ast_channel* owner |
Who owns us
Definition at line 160 of file chan_h323.c.
Referenced by oh323_simulate_dtmf_end(), __oh323_update_info(), __oh323_destroy(), oh323_destroy(), oh323_hangup(), oh323_rtp_read(), oh323_fixup(), __oh323_rtp_create(), __oh323_new(), update_state(), receive_digit(), setup_rtp_connection(), progress(), chan_ringing(), cleanup_connection(), hangup_connection(), remote_hold(), and unload_module().
| 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().
Capabilities learned from peer
Definition at line 180 of file chan_h323.c.
Referenced by __oh323_rtp_create(), and set_peer_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 ast_rtp_instance* rtp |
RTP Session
Definition at line 170 of file chan_h323.c.
Referenced by __oh323_update_info(), __oh323_destroy(), oh323_digit_begin(), oh323_digit_end(), oh323_rtp_read(), oh323_read(), oh323_write(), oh323_indicate(), __oh323_rtp_create(), __oh323_new(), oh323_alloc(), external_rtp_create(), setup_rtp_connection(), cleanup_connection(), set_dtmf_payload(), set_peer_capabilities(), and oh323_get_rtp_peer().
| struct sockaddr_in sa |
| 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_update_info(), __oh323_rtp_create(), and oh323_alloc().
Used for in-band DTMF detection
Definition at line 171 of file chan_h323.c.
Referenced by __oh323_destroy(), oh323_rtp_read(), __oh323_new(), and cleanup_connection().