Asterisk - The Open Source Telephony Project  18.5.0
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...
 
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 103 of file res_pjsip_logger.c.

Field Documentation

◆ enabled

unsigned int enabled

Whether the session is enabled or not.

Definition at line 111 of file res_pjsip_logger.c.

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

◆ log_all_traffic

unsigned int log_all_traffic

Whether the session is logging all traffic or not.

Definition at line 113 of file res_pjsip_logger.c.

Referenced by pjsip_disable_logger(), pjsip_enable_logger_all(), and pjsip_log_test_addr().

◆ log_to_pcap

unsigned int log_to_pcap

Whether to log to pcap or not.

Definition at line 117 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 115 of file res_pjsip_logger.c.

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

◆ matches

struct ast_ha* matches

Explicit addresses or ranges being logged.

Definition at line 105 of file res_pjsip_logger.c.

Referenced by pjsip_disable_logger(), pjsip_enable_logger_host(), pjsip_log_test_addr(), and pjsip_logger_session_destroy().

◆ pcap_file

FILE* pcap_file

◆ pcap_filename

char pcap_filename[PATH_MAX]

Filename used for the pcap file.

Definition at line 107 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: