Wed Aug 18 22:34:38 2010

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
mgcp_responseresponses
int retransid
char wcardep [30]

Detailed Description

Definition at line 371 of file chan_mgcp.c.


Field Documentation

struct sockaddr_in addr

Definition at line 375 of file chan_mgcp.c.

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

struct sockaddr_in defaddr

Definition at line 376 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 392 of file chan_mgcp.c.

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

int dynamic

Definition at line 378 of file chan_mgcp.c.

Referenced by find_subchannel_and_lock(), and handle_mgcp_show_endpoints().

struct mgcp_endpoint* endpoints

Definition at line 380 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(), prune_gateways(), reload_config(), and unload_module().

int expire

XXX Should we ever expire dynamic registrations? XXX

Definition at line 379 of file chan_mgcp.c.

struct ast_ha* ha

Definition at line 381 of file chan_mgcp.c.

Referenced by destroy_gateway().

int isnamedottedip

is the name FQDN or dotted ip

Definition at line 374 of file chan_mgcp.c.

Referenced by init_req().

struct mgcp_message* msgs

gw msg queue

Definition at line 389 of file chan_mgcp.c.

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

ast_mutex_t msgs_lock

queue lock

Definition at line 390 of file chan_mgcp.c.

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

char name[80]

Definition at line 373 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(), mgcpsock_read(), reload_config(), retrans_pkt(), 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 394 of file chan_mgcp.c.

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

struct in_addr ourip

Definition at line 377 of file chan_mgcp.c.

Referenced by add_sdp(), and find_subchannel_and_lock().

struct mgcp_response* responses

Definition at line 393 of file chan_mgcp.c.

Referenced by find_and_retrans(), and transmit_response().

int retransid

retrans timer id

Definition at line 391 of file chan_mgcp.c.

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

char wcardep[30]

Definition at line 388 of file chan_mgcp.c.

Referenced by handle_mgcp_show_endpoints(), and handle_request().


The documentation for this struct was generated from the following file:
Generated on Wed Aug 18 22:34:38 2010 for Asterisk - the Open Source PBX by  doxygen 1.4.7