Sat Mar 10 01:55:58 2012

Asterisk developer's documentation


mgcp_subchannel Struct Reference


Data Fields

int alreadygone
char callid [80]
mgcp_requestcx_queue
ast_mutex_t cx_queue_lock
char cxident [80]
int cxmode
cops_gategate
int id
int iseq
ast_mutex_t lock
char magic [6]
int nat
mgcp_subchannelnext
int outgoing
ast_channelowner
mgcp_endpointparent
ast_rtp_instancertp
int sdpsent
sockaddr_in tmpdest
char txident [80]

Detailed Description

Definition at line 288 of file chan_mgcp.c.


Field Documentation

int alreadygone

Definition at line 312 of file chan_mgcp.c.

Referenced by attempt_transfer(), handle_request(), mgcp_hangup(), mgcp_set_rtp_peer(), and unalloc_sub().

char callid[80]

Definition at line 305 of file chan_mgcp.c.

Referenced by mgcp_call(), mgcp_hangup(), start_rtp(), transmit_connect_with_sdp(), transmit_connection_del(), transmit_modify_request(), and unalloc_sub().

struct mgcp_request* cx_queue

pending CX commands

Definition at line 307 of file chan_mgcp.c.

Referenced by dump_cmd_queues(), handle_response(), mgcp_prune_realtime_gateway(), and send_request().

ast_mutex_t cx_queue_lock

CX queue lock

Definition at line 308 of file chan_mgcp.c.

Referenced by dump_cmd_queues(), handle_response(), mgcp_prune_realtime_gateway(), and send_request().

char cxident[80]

Todo:
FIXME txident is replaced by rqnt_ident in endpoint. This should be obsoleted

Definition at line 304 of file chan_mgcp.c.

Referenced by destroy_endpoint(), handle_response(), mgcp_call(), mgcp_hangup(), mgcp_prune_realtime_gateway(), transmit_connection_del(), transmit_modify_request(), transmit_modify_with_sdp(), and unalloc_sub().

int cxmode

Definition at line 306 of file chan_mgcp.c.

Referenced by handle_hd_hf(), handle_request(), mgcp_answer(), mgcp_call(), mgcp_hangup(), transmit_connect_with_sdp(), transmit_connection_del(), transmit_modify_request(), transmit_notify_request(), transmit_notify_request_with_callerid(), and unalloc_sub().

struct cops_gate* gate

Definition at line 314 of file chan_mgcp.c.

Referenced by mgcp_alloc_pktcgate(), mgcp_hangup(), mgcp_pktcgate_open(), mgcp_pktcgate_remove(), mgcp_prune_realtime_gateway(), mgcp_write(), and start_rtp().

int id

Definition at line 297 of file chan_mgcp.c.

Referenced by attempt_transfer(), find_subchannel_and_lock(), handle_request(), handle_response(), mgcp_answer(), mgcp_new(), transmit_connect_with_sdp(), transmit_connection_del(), transmit_modify_request(), transmit_notify_request(), transmit_notify_request_with_callerid(), and unalloc_sub().

int iseq

Not used? RTP?

Definition at line 310 of file chan_mgcp.c.

ast_mutex_t lock

Definition at line 296 of file chan_mgcp.c.

Referenced by destroy_endpoint(), find_subchannel_and_lock(), handle_request(), mgcp_answer(), mgcp_call(), mgcp_fixup(), mgcp_hangup(), mgcp_indicate(), mgcp_pktcgate_open(), mgcp_pktcgate_remove(), mgcp_prune_realtime_gateway(), mgcp_queue_frame(), mgcp_queue_hangup(), mgcp_read(), mgcp_request(), mgcp_senddigit_begin(), mgcp_senddigit_end(), mgcp_write(), mgcpsock_read(), and start_rtp().

char magic[6]

Definition at line 295 of file chan_mgcp.c.

Referenced by mgcp_hangup().

int nat

Definition at line 309 of file chan_mgcp.c.

Referenced by start_rtp().

struct mgcp_subchannel* next

for out circular linked list

Definition at line 315 of file chan_mgcp.c.

Referenced by attempt_transfer(), destroy_endpoint(), dump_cmd_queues(), handle_request(), handle_response(), mgcp_call(), mgcp_hangup(), mgcp_prune_realtime_gateway(), mgcp_request(), and mgcp_ss().

int outgoing

Definition at line 311 of file chan_mgcp.c.

Referenced by handle_hd_hf(), handle_request(), mgcp_call(), mgcp_hangup(), and unalloc_sub().

struct ast_channel* owner

Definition at line 298 of file chan_mgcp.c.

Referenced by add_header_offhook(), attempt_transfer(), handle_hd_hf(), handle_mgcp_show_endpoints(), handle_request(), handle_response(), mgcp_call(), mgcp_fixup(), mgcp_hangup(), mgcp_new(), mgcp_pktcgate_remove(), mgcp_queue_frame(), mgcp_queue_hangup(), mgcp_request(), mgcp_rtp_read(), mgcp_ss(), start_rtp(), and unalloc_sub().

struct mgcp_endpoint* parent

Definition at line 299 of file chan_mgcp.c.

Referenced by acf_channel_read(), add_header_offhook(), add_sdp(), find_and_retrans(), handle_hd_hf(), handle_request(), mgcp_alloc_pktcgate(), mgcp_answer(), mgcp_call(), mgcp_get_codec(), mgcp_get_rtp_peer(), mgcp_hangup(), mgcp_new(), mgcp_pktcgate_remove(), mgcp_request(), mgcp_rtp_read(), mgcp_senddigit_begin(), mgcp_senddigit_end(), mgcp_ss(), mgcp_write(), mgcpsock_read(), process_sdp(), resend_response(), send_request(), send_response(), start_rtp(), transmit_connect(), transmit_connect_with_sdp(), transmit_connection_del(), transmit_modify_request(), transmit_modify_with_sdp(), transmit_notify_request(), transmit_notify_request_with_callerid(), transmit_response(), and unalloc_sub().

struct ast_rtp_instance* rtp

Definition at line 300 of file chan_mgcp.c.

Referenced by add_sdp(), destroy_endpoint(), handle_hd_hf(), handle_request(), handle_response(), mgcp_answer(), mgcp_call(), mgcp_get_rtp_peer(), mgcp_hangup(), mgcp_new(), mgcp_prune_realtime_gateway(), mgcp_rtp_read(), mgcp_senddigit_begin(), mgcp_senddigit_end(), mgcp_set_rtp_peer(), mgcp_write(), process_sdp(), start_rtp(), and unalloc_sub().

int sdpsent

Definition at line 313 of file chan_mgcp.c.

Referenced by mgcp_pktcgate_open(), and mgcp_write().

struct sockaddr_in tmpdest

Definition at line 301 of file chan_mgcp.c.

Referenced by add_sdp(), handle_response(), mgcp_hangup(), transmit_modify_with_sdp(), and unalloc_sub().

char txident[80]

Definition at line 302 of file chan_mgcp.c.

Referenced by start_rtp(), and transmit_connection_del().


The documentation for this struct was generated from the following file:
Generated on Sat Mar 10 01:55:58 2012 for Asterisk - The Open Source Telephony Project by  doxygen 1.4.7