Asterisk - The Open Source Telephony Project GIT-master-f36a736
Data Fields
pjsip_logger_session Struct Reference

PJSIP Logging Session. More...

Collaboration diagram for pjsip_logger_session:
Collaboration graph
[legend]

Data Fields

unsigned int enabled:1
 Whether the session is enabled or not. More...
 
unsigned int log_all_traffic:1
 Whether the session is logging all traffic or not. More...
 
struct {
   size_t   current
 
   struct method_logging_info **   elems
 
   size_t   max
 
log_methods
 Vector of SIP methods to log. More...
 
unsigned int log_to_pcap:1
 Whether to log to pcap or not. More...
 
unsigned int log_to_verbose:1
 Whether to log to verbose or not. More...
 
struct ast_hamatches
 Explicit addresses or ranges being logged. More...
 
FILE * pcap_file
 The pcap file itself. More...
 
char pcap_filename [PATH_MAX]
 Filename used for the pcap file. More...
 

Detailed Description

PJSIP Logging Session.

Definition at line 110 of file res_pjsip_logger.c.

Field Documentation

◆ current

size_t current

Definition at line 126 of file res_pjsip_logger.c.

◆ elems

struct method_logging_info* * elems

Definition at line 126 of file res_pjsip_logger.c.

◆ enabled

unsigned int enabled

Whether the session is enabled or not.

Definition at line 118 of file res_pjsip_logger.c.

Referenced by pjsip_disable_logger(), pjsip_enable_logger_all(), pjsip_enable_logger_host(), and pjsip_enable_logger_method().

◆ log_all_traffic

unsigned int log_all_traffic

Whether the session is logging all traffic or not.

Definition at line 120 of file res_pjsip_logger.c.

Referenced by pjsip_disable_logger(), and pjsip_enable_logger_all().

◆ 

struct { ... } log_methods

Vector of SIP methods to log.

Referenced by pjsip_disable_logger(), and pjsip_enable_logger_method().

◆ log_to_pcap

unsigned int log_to_pcap

Whether to log to pcap or not.

Definition at line 124 of file res_pjsip_logger.c.

Referenced by logging_on_rx_msg(), logging_on_tx_msg(), pjsip_disable_logger(), and pjsip_set_logger_pcap().

◆ log_to_verbose

unsigned int log_to_verbose

Whether to log to verbose or not.

Definition at line 122 of file res_pjsip_logger.c.

Referenced by logging_on_rx_msg(), logging_on_tx_msg(), pjsip_disable_logger(), and pjsip_set_logger_verbose().

◆ matches

struct ast_ha* matches

Explicit addresses or ranges being logged.

Definition at line 112 of file res_pjsip_logger.c.

Referenced by pjsip_disable_logger(), and pjsip_enable_logger_host().

◆ max

size_t max

Definition at line 126 of file res_pjsip_logger.c.

◆ pcap_file

FILE* pcap_file

The pcap file itself.

Definition at line 116 of file res_pjsip_logger.c.

Referenced by pjsip_disable_logger(), and pjsip_set_logger_pcap().

◆ pcap_filename

char pcap_filename[PATH_MAX]

Filename used for the pcap file.

Definition at line 114 of file res_pjsip_logger.c.

Referenced by pjsip_disable_logger(), and pjsip_set_logger_pcap().


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