Asterisk - The Open Source Telephony Project  GIT-master-a24979a
Data Fields
mgcp_endpoint Struct Reference
Collaboration diagram for mgcp_endpoint:
Collaboration graph
[legend]

Data Fields

char accountcode [AST_MAX_ACCOUNT_CODE]
 
int adsi
 
int amaflags
 
char call_forward [AST_MAX_EXTENSION]
 
ast_group_t callgroup
 
int callreturn
 
int callwaiting
 
int cancallforward
 
struct ast_format_capcap
 
struct ast_variablechanvars
 
char cid_name [AST_MAX_EXTENSION]
 
char cid_num [AST_MAX_EXTENSION]
 
struct mgcp_requestcmd_queue
 
ast_mutex_t cmd_queue_lock
 
char context [AST_MAX_EXTENSION]
 
char curtone [80]
 
int delme
 
int directmedia
 
int dnd
 
struct ast_dspdsp
 
char dtmf_buf [AST_MAX_EXTENSION]
 
int dtmfmode
 
char exten [AST_MAX_EXTENSION]
 
int group
 
int hangupongateremove
 
int hascallerid
 
int hascallwaiting
 
int hidecallerid
 
int hookstate
 
int immediate
 
int iseq
 
char language [MAX_LANGUAGE]
 
char lastcallerid [AST_MAX_EXTENSION]
 
int lastout
 
ast_mutex_t lock
 
char mailbox [AST_MAX_EXTENSION]
 
int msgstate
 
char musicclass [MAX_MUSICCLASS]
 
struct ast_mwi_subscribermwi_event_sub
 
char name [80]
 
int ncs
 
int needaudit
 
int needdestroy
 
struct mgcp_endpointnext
 
int nonCodecCapability
 
int onhooktime
 
struct mgcp_gatewayparent
 
char parkinglot [AST_MAX_CONTEXT]
 
ast_group_t pickupgroup
 
int pktcgatealloc
 
char rqnt_ident [80]
 
struct mgcp_requestrqnt_queue
 
ast_mutex_t rqnt_queue_lock
 
int singlepath
 
int slowsequence
 
struct mgcp_subchannelsub
 
int threewaycalling
 
int transfer
 
int type
 

Detailed Description

Definition at line 333 of file chan_mgcp.c.

Field Documentation

◆ accountcode

char accountcode[AST_MAX_ACCOUNT_CODE]

Definition at line 337 of file chan_mgcp.c.

Referenced by build_gateway(), and mgcp_new().

◆ adsi

int adsi

Definition at line 381 of file chan_mgcp.c.

Referenced by build_gateway(), and mgcp_new().

◆ amaflags

int amaflags

Definition at line 365 of file chan_mgcp.c.

Referenced by build_gateway(), and mgcp_new().

◆ call_forward

char call_forward[AST_MAX_EXTENSION]

Last Caller*ID

Definition at line 345 of file chan_mgcp.c.

Referenced by mgcp_new(), and mgcp_ss().

◆ callgroup

ast_group_t callgroup

Definition at line 351 of file chan_mgcp.c.

Referenced by build_gateway(), and mgcp_new().

◆ callreturn

int callreturn

Definition at line 360 of file chan_mgcp.c.

Referenced by build_gateway(), and mgcp_ss().

◆ callwaiting

int callwaiting

Definition at line 353 of file chan_mgcp.c.

Referenced by build_gateway(), handle_request(), mgcp_hangup(), and mgcp_ss().

◆ cancallforward

int cancallforward

Definition at line 358 of file chan_mgcp.c.

Referenced by build_gateway(), and mgcp_ss().

◆ cap

struct ast_format_cap* cap

◆ chanvars

struct ast_variable* chanvars

Variables to set for channel created by user

Definition at line 395 of file chan_mgcp.c.

Referenced by build_gateway(), destroy_endpoint(), handle_mgcp_show_endpoints(), and mgcp_new().

◆ cid_name

char cid_name[AST_MAX_EXTENSION]

Caller*ID name

Definition at line 342 of file chan_mgcp.c.

Referenced by build_gateway(), mgcp_new(), and mgcp_ss().

◆ cid_num

char cid_num[AST_MAX_EXTENSION]

Caller*ID number

Definition at line 341 of file chan_mgcp.c.

Referenced by build_gateway(), mgcp_new(), and mgcp_ss().

◆ cmd_queue

struct mgcp_request* cmd_queue

pending commands other than RQNT

Definition at line 385 of file chan_mgcp.c.

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

◆ cmd_queue_lock

ast_mutex_t cmd_queue_lock

◆ context

char context[AST_MAX_EXTENSION]

Definition at line 339 of file chan_mgcp.c.

Referenced by build_gateway(), handle_mgcp_show_endpoints(), and mgcp_new().

◆ curtone

char curtone[80]

Current tone

Definition at line 347 of file chan_mgcp.c.

Referenced by handle_request(), transmit_notify_request(), and transmit_notify_request_with_callerid().

◆ delme

int delme

needed for reload

Definition at line 387 of file chan_mgcp.c.

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

◆ directmedia

int directmedia

Definition at line 359 of file chan_mgcp.c.

Referenced by build_gateway().

◆ dnd

int dnd

Definition at line 361 of file chan_mgcp.c.

Referenced by mgcp_ss().

◆ dsp

struct ast_dsp* dsp

XXX Should there be a dsp/subchannel? XXX

Definition at line 389 of file chan_mgcp.c.

Referenced by destroy_endpoint(), mgcp_hangup(), mgcp_new(), and mgcp_prune_realtime_gateway().

◆ dtmf_buf

char dtmf_buf[AST_MAX_EXTENSION]

place to collect digits be

Definition at line 344 of file chan_mgcp.c.

Referenced by handle_request(), mgcp_hangup(), and mgcp_ss().

◆ dtmfmode

int dtmfmode

◆ exten

char exten[AST_MAX_EXTENSION]

Extension where to start

Definition at line 338 of file chan_mgcp.c.

Referenced by mgcp_new().

◆ group

int group

Definition at line 371 of file chan_mgcp.c.

◆ hangupongateremove

int hangupongateremove

Definition at line 368 of file chan_mgcp.c.

Referenced by build_gateway().

◆ hascallerid

int hascallerid

Definition at line 362 of file chan_mgcp.c.

◆ hascallwaiting

int hascallwaiting

Definition at line 354 of file chan_mgcp.c.

Referenced by build_gateway(), handle_request(), mgcp_hangup(), and mgcp_ss().

◆ hidecallerid

int hidecallerid

Definition at line 363 of file chan_mgcp.c.

Referenced by handle_request(), mgcp_hangup(), and mgcp_ss().

◆ hookstate

int hookstate

◆ immediate

int immediate

Definition at line 379 of file chan_mgcp.c.

Referenced by build_gateway(), and handle_hd_hf().

◆ iseq

int iseq

Not used?

Definition at line 372 of file chan_mgcp.c.

◆ language

char language[MAX_LANGUAGE]

Definition at line 340 of file chan_mgcp.c.

Referenced by build_gateway(), and mgcp_new().

◆ lastcallerid

char lastcallerid[AST_MAX_EXTENSION]

Last Caller*ID

Definition at line 343 of file chan_mgcp.c.

Referenced by mgcp_ss(), and transmit_notify_request_with_callerid().

◆ lastout

int lastout

tracking this on the subchannels. Is it needed here?

Definition at line 373 of file chan_mgcp.c.

◆ lock

Definition at line 334 of file chan_mgcp.c.

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

◆ mailbox

char mailbox[AST_MAX_EXTENSION]

Definition at line 348 of file chan_mgcp.c.

Referenced by build_gateway(), and has_voicemail().

◆ msgstate

int msgstate

voicemail message state

Definition at line 378 of file chan_mgcp.c.

Referenced by build_gateway().

◆ musicclass

char musicclass[MAX_MUSICCLASS]

Definition at line 346 of file chan_mgcp.c.

Referenced by build_gateway().

◆ mwi_event_sub

struct ast_mwi_subscriber* mwi_event_sub

Definition at line 350 of file chan_mgcp.c.

Referenced by build_gateway(), and destroy_endpoint().

◆ name

char name[80]

◆ ncs

int ncs

◆ needaudit

int needaudit

needed for reload

Definition at line 388 of file chan_mgcp.c.

Referenced by build_gateway(), find_realtime_gw(), and reload_config().

◆ needdestroy

int needdestroy

Not used?

Definition at line 374 of file chan_mgcp.c.

◆ next

struct mgcp_endpoint* next

◆ nonCodecCapability

int nonCodecCapability

Definition at line 376 of file chan_mgcp.c.

Referenced by add_sdp(), and process_sdp().

◆ onhooktime

int onhooktime

Definition at line 377 of file chan_mgcp.c.

Referenced by build_gateway().

◆ parent

struct mgcp_gateway* parent

◆ parkinglot

char parkinglot[AST_MAX_CONTEXT]

Parkinglot

Definition at line 349 of file chan_mgcp.c.

Referenced by build_gateway().

◆ pickupgroup

ast_group_t pickupgroup

Definition at line 352 of file chan_mgcp.c.

Referenced by build_gateway(), and mgcp_new().

◆ pktcgatealloc

int pktcgatealloc

Definition at line 367 of file chan_mgcp.c.

Referenced by build_gateway(), and mgcp_hangup().

◆ rqnt_ident

char rqnt_ident[80]

request identifier

Definition at line 382 of file chan_mgcp.c.

Referenced by build_gateway(), transmit_notify_request(), and transmit_notify_request_with_callerid().

◆ rqnt_queue

struct mgcp_request* rqnt_queue

pending RQNT commands

Definition at line 383 of file chan_mgcp.c.

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

◆ rqnt_queue_lock

ast_mutex_t rqnt_queue_lock

◆ singlepath

int singlepath

Definition at line 357 of file chan_mgcp.c.

Referenced by build_gateway().

◆ slowsequence

int slowsequence

MS: Sequence the endpoint as a whole

Definition at line 370 of file chan_mgcp.c.

Referenced by build_gateway(), handle_response(), and send_request().

◆ sub

struct mgcp_subchannel* sub

◆ threewaycalling

int threewaycalling

Definition at line 356 of file chan_mgcp.c.

Referenced by build_gateway(), and handle_request().

◆ transfer

int transfer

Definition at line 355 of file chan_mgcp.c.

Referenced by build_gateway(), and handle_request().

◆ type

int type

Definition at line 369 of file chan_mgcp.c.

Referenced by build_gateway(), Property::load(), and mgcp_call().


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