Sat Aug 6 00:40:09 2011

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
int canreinvite
int capability
char cid_name [AST_MAX_EXTENSION]
char cid_num [AST_MAX_EXTENSION]
mgcp_requestcmd_queue
ast_mutex_t cmd_queue_lock
char context [AST_MAX_EXTENSION]
char curtone [80]
int delme
int dnd
ast_dspdsp
char dtmf_buf [AST_MAX_EXTENSION]
int dtmfmode
char exten [AST_MAX_EXTENSION]
int group
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]
char name [80]
int needaudit
int needdestroy
mgcp_endpointnext
int nonCodecCapability
int onhooktime
mgcp_gatewayparent
ast_group_t pickupgroup
char rqnt_ident [80]
mgcp_requestrqnt_queue
ast_mutex_t rqnt_queue_lock
int singlepath
int slowsequence
mgcp_subchannelsub
int threewaycalling
int transfer
int type

Detailed Description

Definition at line 314 of file chan_mgcp.c.


Field Documentation

char accountcode[AST_MAX_ACCOUNT_CODE]

Definition at line 318 of file chan_mgcp.c.

Referenced by build_gateway(), and mgcp_new().

int adsi

Definition at line 357 of file chan_mgcp.c.

Referenced by build_gateway(), and mgcp_new().

int amaflags

Definition at line 344 of file chan_mgcp.c.

Referenced by build_gateway(), and mgcp_new().

char call_forward[AST_MAX_EXTENSION]

Last Caller*ID

Definition at line 325 of file chan_mgcp.c.

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

ast_group_t callgroup

Definition at line 330 of file chan_mgcp.c.

Referenced by build_gateway(), and mgcp_new().

int callreturn

Definition at line 339 of file chan_mgcp.c.

Referenced by build_gateway(), and mgcp_ss().

int callwaiting

Definition at line 332 of file chan_mgcp.c.

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

int cancallforward

Definition at line 337 of file chan_mgcp.c.

Referenced by build_gateway(), and mgcp_ss().

int canreinvite

Definition at line 338 of file chan_mgcp.c.

Referenced by build_gateway(), and mgcp_get_rtp_peer().

int capability

Definition at line 351 of file chan_mgcp.c.

Referenced by add_sdp(), build_gateway(), mgcp_new(), process_sdp(), transmit_connect_with_sdp(), and transmit_modify_with_sdp().

char cid_name[AST_MAX_EXTENSION]

Caller*ID name

Definition at line 323 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 322 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 361 of file chan_mgcp.c.

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

ast_mutex_t cmd_queue_lock

Definition at line 362 of file chan_mgcp.c.

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

char context[AST_MAX_EXTENSION]

Definition at line 320 of file chan_mgcp.c.

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

char curtone[80]

Current tone

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

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

int dnd

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

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

char dtmf_buf[AST_MAX_EXTENSION]

place to collect digits be

Definition at line 329 of file chan_mgcp.c.

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

int dtmfmode

Definition at line 343 of file chan_mgcp.c.

Referenced by add_header_offhook(), build_gateway(), mgcp_hangup(), mgcp_new(), mgcp_rtp_read(), mgcp_senddigit_begin(), mgcp_senddigit_end(), and mgcp_ss().

char exten[AST_MAX_EXTENSION]

Extention where to start

Definition at line 319 of file chan_mgcp.c.

Referenced by mgcp_new().

int group

Definition at line 347 of file chan_mgcp.c.

int hascallerid

Definition at line 341 of file chan_mgcp.c.

int hascallwaiting

Definition at line 333 of file chan_mgcp.c.

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

int hidecallerid

Definition at line 342 of file chan_mgcp.c.

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

int hookstate

Definition at line 356 of file chan_mgcp.c.

Referenced by build_gateway(), handle_hd_hf(), handle_request(), handle_response(), mgcp_call(), mgcp_hangup(), mgcp_request(), transmit_modify_request(), transmit_notify_request(), and transmit_notify_request_with_callerid().

int immediate

Definition at line 355 of file chan_mgcp.c.

Referenced by build_gateway(), and handle_hd_hf().

int iseq

Not used?

Definition at line 348 of file chan_mgcp.c.

char language[MAX_LANGUAGE]

Definition at line 321 of file chan_mgcp.c.

Referenced by build_gateway(), and mgcp_new().

char lastcallerid[AST_MAX_EXTENSION]

Last Caller*ID

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

ast_mutex_t lock

Definition at line 315 of file chan_mgcp.c.

char mailbox[AST_MAX_EXTENSION]

Definition at line 326 of file chan_mgcp.c.

Referenced by build_gateway(), and has_voicemail().

int msgstate

voicemail message state

Definition at line 354 of file chan_mgcp.c.

Referenced by build_gateway().

char musicclass[MAX_MUSICCLASS]

Definition at line 327 of file chan_mgcp.c.

Referenced by build_gateway().

char name[80]

Definition at line 316 of file chan_mgcp.c.

Referenced by attempt_transfer(), build_gateway(), 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(), reload_config(), transmit_connection_del(), transmit_connection_del_w_params(), transmit_modify_request(), transmit_notify_request(), transmit_notify_request_with_callerid(), and unalloc_sub().

int needaudit

needed for reload

Definition at line 364 of file chan_mgcp.c.

Referenced by reload_config().

int needdestroy

Not used?

Definition at line 350 of file chan_mgcp.c.

struct mgcp_endpoint* next

Definition at line 371 of file chan_mgcp.c.

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

int nonCodecCapability

Definition at line 352 of file chan_mgcp.c.

Referenced by process_sdp().

int onhooktime

Definition at line 353 of file chan_mgcp.c.

Referenced by build_gateway().

struct mgcp_gateway* parent

Definition at line 372 of file chan_mgcp.c.

Referenced by add_sdp(), attempt_transfer(), build_gateway(), find_and_retrans(), find_command(), handle_hd_hf(), handle_request(), handle_response(), init_req(), mgcp_answer(), mgcp_hangup(), mgcp_new(), mgcp_postrequest(), mgcpsock_read(), resend_response(), send_request(), send_response(), transmit_connection_del(), transmit_connection_del_w_params(), transmit_modify_request(), transmit_notify_request(), transmit_notify_request_with_callerid(), transmit_response(), and unalloc_sub().

ast_group_t pickupgroup

Definition at line 331 of file chan_mgcp.c.

Referenced by build_gateway(), and mgcp_new().

char rqnt_ident[80]

request identifier

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

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

ast_mutex_t rqnt_queue_lock

Definition at line 360 of file chan_mgcp.c.

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

int singlepath

Definition at line 336 of file chan_mgcp.c.

Referenced by build_gateway(), and mgcp_write().

int slowsequence

MS: Sequence the endpoint as a whole

Definition at line 346 of file chan_mgcp.c.

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

struct mgcp_subchannel* sub

Pointer to our current connection, channel and stuff

Definition at line 317 of file chan_mgcp.c.

Referenced by add_header_offhook(), add_sdp(), attempt_transfer(), build_gateway(), destroy_endpoint(), dump_cmd_queues(), find_subchannel_and_lock(), handle_hd_hf(), handle_request(), handle_response(), mgcp_answer(), mgcp_hangup(), mgcp_new(), mgcp_senddigit_begin(), mgcp_senddigit_end(), mgcp_show_endpoints(), mgcp_ss(), mgcp_write(), process_sdp(), resend_response(), send_response(), transmit_connect_with_sdp(), transmit_connection_del(), transmit_connection_del_w_params(), transmit_modify_request(), transmit_modify_with_sdp(), transmit_notify_request(), transmit_notify_request_with_callerid(), transmit_response(), and unalloc_sub().

int threewaycalling

Definition at line 335 of file chan_mgcp.c.

Referenced by build_gateway(), and handle_request().

int transfer

Definition at line 334 of file chan_mgcp.c.

Referenced by build_gateway(), and handle_request().

int type

Definition at line 345 of file chan_mgcp.c.

Referenced by build_gateway(), and mgcp_call().


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