Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
mgcp_gateway Struct Reference
Collaboration diagram for mgcp_gateway:
Collaboration graph
[legend]

Data Fields

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

Detailed Description

Definition at line 399 of file chan_mgcp.c.

Field Documentation

◆ addr

struct sockaddr_in addr

◆ defaddr

struct sockaddr_in defaddr

◆ delme

int delme

needed for reload

Definition at line 420 of file chan_mgcp.c.

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

◆ dynamic

int dynamic

◆ endpoints

struct mgcp_endpoint* endpoints

◆ expire

int expire

XXX Should we ever expire dynamic registrations? XXX

Definition at line 407 of file chan_mgcp.c.

Referenced by build_gateway().

◆ ha

struct ast_ha* ha

Definition at line 409 of file chan_mgcp.c.

Referenced by build_gateway(), destroy_gateway(), and mgcp_prune_realtime_gateway().

◆ isnamedottedip

int isnamedottedip

is the name FQDN or dotted ip

Definition at line 402 of file chan_mgcp.c.

Referenced by build_gateway(), and init_req().

◆ msgs

struct mgcp_message* msgs

gw msg queue

Definition at line 417 of file chan_mgcp.c.

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

◆ msgs_lock

ast_mutex_t msgs_lock

◆ name

char name[80]

◆ next

struct mgcp_gateway* next

◆ ourip

struct in_addr ourip

Definition at line 405 of file chan_mgcp.c.

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

◆ realtime

int realtime

◆ responses

struct mgcp_response* responses

Definition at line 422 of file chan_mgcp.c.

Referenced by find_and_retrans(), and transmit_response().

◆ retransid

int retransid

retrans timer id

Definition at line 419 of file chan_mgcp.c.

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

◆ wcardep

char wcardep[30]

Definition at line 416 of file chan_mgcp.c.

Referenced by build_gateway(), and handle_request().


The documentation for this struct was generated from the following file: