Sat Aug 6 00:40:09 2011

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 375 of file chan_mgcp.c.


Field Documentation

struct sockaddr_in addr

Definition at line 379 of file chan_mgcp.c.

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

struct sockaddr_in defaddr

Definition at line 380 of file chan_mgcp.c.

Referenced by __mgcp_xmit(), build_gateway(), find_subchannel_and_lock(), and mgcp_show_endpoints().

int delme

needed for reload

Definition at line 396 of file chan_mgcp.c.

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

int dynamic

Definition at line 382 of file chan_mgcp.c.

Referenced by build_gateway(), find_subchannel_and_lock(), and mgcp_show_endpoints().

struct mgcp_endpoint* endpoints

Definition at line 384 of file chan_mgcp.c.

Referenced by build_gateway(), do_monitor(), find_subchannel_and_lock(), handle_request(), mgcp_audit_endpoint(), mgcp_devicestate(), mgcp_show_endpoints(), prune_gateways(), reload_config(), and unload_module().

int expire

XXX Should we ever expire dynamic registrations? XXX

Definition at line 383 of file chan_mgcp.c.

Referenced by build_gateway().

struct ast_ha* ha

Definition at line 385 of file chan_mgcp.c.

Referenced by build_gateway(), and destroy_gateway().

int isnamedottedip

is the name FQDN or dotted ip

Definition at line 378 of file chan_mgcp.c.

Referenced by init_req().

struct mgcp_message* msgs

gw msg queue

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

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

char name[80]

Definition at line 377 of file chan_mgcp.c.

Referenced by attempt_transfer(), build_gateway(), dump_queue(), find_subchannel_and_lock(), handle_hd_hf(), handle_request(), handle_response(), init_req(), mgcp_answer(), mgcp_audit_endpoint(), mgcp_devicestate(), mgcp_hangup(), mgcp_new(), mgcp_show_endpoints(), 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 398 of file chan_mgcp.c.

Referenced by build_gateway(), find_subchannel_and_lock(), mgcp_audit_endpoint(), mgcp_devicestate(), mgcp_show_endpoints(), reload_config(), and unload_module().

struct in_addr ourip

Definition at line 381 of file chan_mgcp.c.

Referenced by add_sdp(), build_gateway(), and find_subchannel_and_lock().

struct mgcp_response* responses

Definition at line 397 of file chan_mgcp.c.

Referenced by find_and_retrans(), and transmit_response().

int retransid

retrans timer id

Definition at line 395 of file chan_mgcp.c.

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

char wcardep[30]

Definition at line 392 of file chan_mgcp.c.

Referenced by build_gateway(), handle_request(), and mgcp_show_endpoints().


The documentation for this struct was generated from the following file:
Generated on Sat Aug 6 00:40:09 2011 for Asterisk - the Open Source PBX by  doxygen 1.4.7