Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
sip_subscription_mwi Struct Reference

Definition of an MWI subscription to another server. More...

#include <sip.h>

Collaboration diagram for sip_subscription_mwi:
Collaboration graph
[legend]

Data Fields

struct ast_string_field_mgr __field_mgr
 
struct ast_string_field_pool__field_mgr_pool
 
const ast_string_field authuser
 
struct sip_pvtcall
 
struct ast_dnsmgr_entrydnsmgr
 
const ast_string_field hostname
 
const ast_string_field mailbox
 
int portno
 
int resub
 
const ast_string_field secret
 
unsigned int subscribed:1
 
enum ast_transport transport
 
struct ast_sockaddr us
 
const ast_string_field username
 

Detailed Description

Definition of an MWI subscription to another server.

Definition at line 1454 of file sip.h.

Field Documentation

◆ __field_mgr

struct ast_string_field_mgr __field_mgr

Definition at line 1461 of file sip.h.

◆ __field_mgr_pool

struct ast_string_field_pool* __field_mgr_pool

Definition at line 1461 of file sip.h.

◆ authuser

const ast_string_field authuser

Who we authenticate as

Definition at line 1461 of file sip.h.

Referenced by __sip_subscribe_mwi_do(), AST_TEST_DEFINE(), and Registration::write().

◆ call

struct sip_pvt* call

Outbound subscription dialog

Definition at line 1466 of file sip.h.

Referenced by __sip_subscribe_mwi_do(), handle_response_subscribe(), sip_pvt_dtor(), and sip_subscribe_mwi_destroy().

◆ dnsmgr

struct ast_dnsmgr_entry* dnsmgr

DNS refresh manager for subscription

Definition at line 1467 of file sip.h.

Referenced by __shutdown_mwi_subscription(), and __sip_subscribe_mwi_do().

◆ hostname

const ast_string_field hostname

Domain or host we subscribe to

Definition at line 1461 of file sip.h.

Referenced by __sip_subscribe_mwi_do(), AST_TEST_DEFINE(), on_dns_update_mwi(), and sip_show_mwi().

◆ mailbox

const ast_string_field mailbox

Mailbox store to put MWI into

Definition at line 1461 of file sip.h.

Referenced by AST_TEST_DEFINE(), handle_request_notify(), and sip_show_mwi().

◆ portno

int portno

Optional port override

Definition at line 1463 of file sip.h.

Referenced by __sip_subscribe_mwi_do(), AST_TEST_DEFINE(), sip_show_mwi(), and sip_subscribe_mwi().

◆ resub

int resub

Sched ID of resubscription

Definition at line 1464 of file sip.h.

Referenced by __shutdown_mwi_subscription(), __start_mwi_subscription(), sip_subscribe_mwi(), and sip_subscribe_mwi_do().

◆ secret

const ast_string_field secret

Password in clear text

Definition at line 1461 of file sip.h.

Referenced by __sip_subscribe_mwi_do(), AST_TEST_DEFINE(), and Registration::write().

◆ subscribed

unsigned int subscribed

Whether we are currently subscribed or not

Definition at line 1465 of file sip.h.

Referenced by handle_response_subscribe(), and sip_show_mwi().

◆ transport

enum ast_transport transport

Transport to use

Definition at line 1462 of file sip.h.

Referenced by __sip_subscribe_mwi_do(), and sip_subscribe_mwi().

◆ us

struct ast_sockaddr us

Who the server thinks we are

Definition at line 1468 of file sip.h.

Referenced by __sip_subscribe_mwi_do(), and on_dns_update_mwi().

◆ username

const ast_string_field username

Who we are sending the subscription as

Definition at line 1461 of file sip.h.

Referenced by __sip_subscribe_mwi_do(), AST_TEST_DEFINE(), and sip_show_mwi().


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