Asterisk - The Open Source Telephony Project GIT-master-3dee037
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Modules Pages
Data Fields
reasons Struct Reference

Diversion header reasons. More...

Data Fields

const unsigned int cause
 
enum AST_REDIRECTING_REASON code
 
const char * text
 

Detailed Description

Diversion header reasons.

The core defines a bunch of constants used to define redirecting reasons. This provides a translation table between those and the strings which may be present in a SIP Diversion header

Definition at line 82 of file res_pjsip_diversion.c.

Field Documentation

◆ cause

const unsigned int cause

Definition at line 85 of file res_pjsip_diversion.c.

Referenced by reason_code_to_cause().

◆ code

Definition at line 83 of file res_pjsip_diversion.c.

Referenced by ErrorResponse::load().

◆ text

const char* text

Definition at line 84 of file res_pjsip_diversion.c.

Referenced by reason_code_to_str().


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