Wed Jan 8 2020 09:50:24

Asterisk developer's documentation


mgcp_endpoint Struct Reference

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
 
format_t capability
 
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_event_submwi_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 325 of file chan_mgcp.c.

Field Documentation

char accountcode[AST_MAX_ACCOUNT_CODE]

Definition at line 329 of file chan_mgcp.c.

Referenced by build_gateway(), and mgcp_new().

int adsi

Definition at line 373 of file chan_mgcp.c.

Referenced by build_gateway(), and mgcp_new().

int amaflags

Definition at line 357 of file chan_mgcp.c.

Referenced by build_gateway(), and mgcp_new().

char call_forward[AST_MAX_EXTENSION]

Last Caller*ID

Definition at line 337 of file chan_mgcp.c.

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

ast_group_t callgroup

Definition at line 343 of file chan_mgcp.c.

Referenced by build_gateway(), and mgcp_new().

int callreturn

Definition at line 352 of file chan_mgcp.c.

Referenced by build_gateway(), and mgcp_ss().

int callwaiting

Definition at line 345 of file chan_mgcp.c.

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

int cancallforward

Definition at line 350 of file chan_mgcp.c.

Referenced by build_gateway(), and mgcp_ss().

struct ast_variable* chanvars

Variables to set for channel created by user

Definition at line 387 of file chan_mgcp.c.

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

char cid_name[AST_MAX_EXTENSION]

Caller*ID name

Definition at line 334 of file chan_mgcp.c.

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

char cid_num[AST_MAX_EXTENSION]

Caller*ID number

Definition at line 333 of file chan_mgcp.c.

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

struct mgcp_request* cmd_queue

pending commands other than RQNT

Definition at line 377 of file chan_mgcp.c.

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

char context[AST_MAX_EXTENSION]

Definition at line 331 of file chan_mgcp.c.

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

char curtone[80]

Current tone

Definition at line 339 of file chan_mgcp.c.

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

int delme

needed for reload

Definition at line 379 of file chan_mgcp.c.

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

int directmedia

Definition at line 351 of file chan_mgcp.c.

Referenced by build_gateway(), and mgcp_get_rtp_peer().

int dnd

Definition at line 353 of file chan_mgcp.c.

Referenced by mgcp_request(), and mgcp_ss().

struct ast_dsp* dsp

XXX Should there be a dsp/subchannel? XXX

Definition at line 381 of file chan_mgcp.c.

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

char dtmf_buf[AST_MAX_EXTENSION]

place to collect digits be

Definition at line 336 of file chan_mgcp.c.

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

char exten[AST_MAX_EXTENSION]

Extention where to start

Definition at line 330 of file chan_mgcp.c.

Referenced by mgcp_new().

int group

Definition at line 363 of file chan_mgcp.c.

int hangupongateremove

Definition at line 360 of file chan_mgcp.c.

Referenced by build_gateway(), and mgcp_pktcgate_remove().

int hascallerid

Definition at line 354 of file chan_mgcp.c.

int hascallwaiting

Definition at line 346 of file chan_mgcp.c.

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

int hidecallerid

Definition at line 355 of file chan_mgcp.c.

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

int immediate

Definition at line 371 of file chan_mgcp.c.

Referenced by build_gateway(), and handle_hd_hf().

int iseq

Not used?

Definition at line 364 of file chan_mgcp.c.

char language[MAX_LANGUAGE]

Definition at line 332 of file chan_mgcp.c.

Referenced by build_gateway(), and mgcp_new().

char lastcallerid[AST_MAX_EXTENSION]

Last Caller*ID

Definition at line 335 of file chan_mgcp.c.

Referenced by mgcp_ss(), and transmit_notify_request_with_callerid().

int lastout

tracking this on the subchannels. Is it needed here?

Definition at line 365 of file chan_mgcp.c.

Definition at line 326 of file chan_mgcp.c.

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

char mailbox[AST_MAX_EXTENSION]

Definition at line 340 of file chan_mgcp.c.

Referenced by build_gateway(), and has_voicemail().

int msgstate

voicemail message state

Definition at line 370 of file chan_mgcp.c.

Referenced by build_gateway().

char musicclass[MAX_MUSICCLASS]

Definition at line 338 of file chan_mgcp.c.

Referenced by build_gateway().

struct ast_event_sub* mwi_event_sub

Definition at line 342 of file chan_mgcp.c.

Referenced by build_gateway(), and destroy_endpoint().

int needaudit

needed for reload

Definition at line 380 of file chan_mgcp.c.

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

int needdestroy

Not used?

Definition at line 366 of file chan_mgcp.c.

int nonCodecCapability

Definition at line 368 of file chan_mgcp.c.

Referenced by add_sdp(), and process_sdp().

int onhooktime

Definition at line 369 of file chan_mgcp.c.

Referenced by build_gateway().

char parkinglot[AST_MAX_CONTEXT]

Parkinglot

Definition at line 341 of file chan_mgcp.c.

Referenced by build_gateway().

ast_group_t pickupgroup

Definition at line 344 of file chan_mgcp.c.

Referenced by build_gateway(), and mgcp_new().

int pktcgatealloc

Definition at line 359 of file chan_mgcp.c.

Referenced by build_gateway(), mgcp_hangup(), and start_rtp().

char rqnt_ident[80]

request identifier

Definition at line 374 of file chan_mgcp.c.

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

struct mgcp_request* rqnt_queue

pending RQNT commands

Definition at line 375 of file chan_mgcp.c.

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

int singlepath

Definition at line 349 of file chan_mgcp.c.

Referenced by build_gateway(), and mgcp_write().

int slowsequence

MS: Sequence the endpoint as a whole

Definition at line 362 of file chan_mgcp.c.

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

int threewaycalling

Definition at line 348 of file chan_mgcp.c.

Referenced by build_gateway(), and handle_request().

int transfer

Definition at line 347 of file chan_mgcp.c.

Referenced by build_gateway(), and handle_request().

int type

Definition at line 361 of file chan_mgcp.c.

Referenced by build_gateway(), and mgcp_call().


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