Mon Mar 19 11:30:58 2012

Asterisk developer's documentation


mgcp_gateway Struct Reference


Data Fields

sockaddr_in addr
sockaddr_in defaddr
int delme
int dynamic
mgcp_endpointendpoints
int expire
ast_haha
int isnamedottedip
mgcp_messagemsgs
ast_mutex_t msgs_lock
char name [80]
mgcp_gatewaynext
in_addr ourip
int realtime
mgcp_responseresponses
int retransid
char wcardep [30]

Detailed Description

Definition at line 391 of file chan_mgcp.c.


Field Documentation

struct sockaddr_in addr

Definition at line 395 of file chan_mgcp.c.

Referenced by __mgcp_xmit(), find_command(), find_subchannel_and_lock(), handle_mgcp_show_endpoints(), mgcp_alloc_pktcgate(), resend_response(), send_request(), and send_response().

struct sockaddr_in defaddr

Definition at line 396 of file chan_mgcp.c.

Referenced by __mgcp_xmit(), find_subchannel_and_lock(), and handle_mgcp_show_endpoints().

int delme

needed for reload

Definition at line 412 of file chan_mgcp.c.

Referenced by build_gateway(), prune_gateways(), and unload_module().

int dynamic

Definition at line 398 of file chan_mgcp.c.

Referenced by find_subchannel_and_lock(), and handle_mgcp_show_endpoints().

struct mgcp_endpoint* endpoints

Definition at line 400 of file chan_mgcp.c.

Referenced by do_monitor(), find_subchannel_and_lock(), handle_mgcp_audit_endpoint(), handle_mgcp_show_endpoints(), handle_request(), mgcp_devicestate(), mgcp_prune_realtime_gateway(), prune_gateways(), and unload_module().

int expire

XXX Should we ever expire dynamic registrations? XXX

Definition at line 399 of file chan_mgcp.c.

struct ast_ha* ha

Definition at line 401 of file chan_mgcp.c.

Referenced by destroy_gateway(), and mgcp_prune_realtime_gateway().

int isnamedottedip

is the name FQDN or dotted ip

Definition at line 394 of file chan_mgcp.c.

Referenced by init_req().

struct mgcp_message* msgs

gw msg queue

Definition at line 409 of file chan_mgcp.c.

Referenced by dump_queue(), mgcp_postrequest(), mgcp_prune_realtime_gateway(), mgcpsock_read(), and retrans_pkt().

ast_mutex_t msgs_lock

queue lock

Definition at line 410 of file chan_mgcp.c.

Referenced by dump_queue(), mgcp_postrequest(), mgcp_prune_realtime_gateway(), mgcpsock_read(), and retrans_pkt().

char name[80]

Definition at line 393 of file chan_mgcp.c.

Referenced by attempt_transfer(), build_gateway(), dump_queue(), find_subchannel_and_lock(), handle_hd_hf(), handle_mgcp_audit_endpoint(), handle_mgcp_show_endpoints(), handle_request(), handle_response(), init_req(), mgcp_answer(), mgcp_devicestate(), mgcp_hangup(), mgcp_new(), mgcp_ss(), mgcpsock_read(), retrans_pkt(), transmit_connect_with_sdp(), transmit_connection_del(), transmit_connection_del_w_params(), transmit_modify_request(), transmit_notify_request(), transmit_notify_request_with_callerid(), and unalloc_sub().

struct mgcp_gateway* next

Definition at line 415 of file chan_mgcp.c.

Referenced by build_gateway(), do_monitor(), find_subchannel_and_lock(), handle_mgcp_audit_endpoint(), handle_mgcp_show_endpoints(), mgcp_devicestate(), and unload_module().

struct in_addr ourip

Definition at line 397 of file chan_mgcp.c.

Referenced by add_sdp(), and find_subchannel_and_lock().

int realtime

Definition at line 413 of file chan_mgcp.c.

Referenced by do_monitor(), handle_mgcp_show_endpoints(), mgcp_prune_realtime_gateway(), and prune_gateways().

struct mgcp_response* responses

Definition at line 414 of file chan_mgcp.c.

Referenced by find_and_retrans(), and transmit_response().

int retransid

retrans timer id

Definition at line 411 of file chan_mgcp.c.

Referenced by mgcp_postrequest(), mgcpsock_read(), and retrans_pkt().

char wcardep[30]

Definition at line 408 of file chan_mgcp.c.

Referenced by handle_request().


The documentation for this struct was generated from the following file:
Generated on Mon Mar 19 11:30:58 2012 for Asterisk - The Open Source Telephony Project by  doxygen 1.4.7