Asterisk - The Open Source Telephony Project  GIT-master-a1fa8df
Data Fields
ast_party_subaddress Struct Reference

Information needed to specify a subaddress in a call. More...

#include <channel.h>

Data Fields

unsigned char odd_even_indicator
 TRUE if odd number of address signals. More...
 
char * str
 Malloced subaddress string. More...
 
int type
 Q.931 subaddress type. More...
 
unsigned char valid
 TRUE if the subaddress information is valid/present. More...
 

Detailed Description

Information needed to specify a subaddress in a call.

Since
1.8
Note
All string fields here are malloc'ed, so they need to be freed when the structure is deleted.
NULL and "" must be considered equivalent.

Definition at line 308 of file channel.h.

Field Documentation

◆ odd_even_indicator

unsigned char odd_even_indicator

TRUE if odd number of address signals.

Note
The odd/even indicator is used when the type of subaddress is user_specified and the coding is BCD.

Definition at line 327 of file channel.h.

Referenced by ast_connected_line_parse_data(), ast_party_subaddress_copy(), ast_party_subaddress_init(), ast_party_subaddress_set(), ast_party_subaddress_set_init(), ast_redirecting_parse_data(), json_party_subaddress(), party_subaddress_build_data(), party_subaddress_read(), and party_subaddress_write().

◆ str

char* str

Malloced subaddress string.

Note
If the subaddress type is user specified then the subaddress is a string of ASCII hex because the actual subaddress is likely BCD encoded.

Definition at line 314 of file channel.h.

Referenced by ast_connected_line_parse_data(), ast_party_subaddress_copy(), ast_party_subaddress_free(), ast_party_subaddress_init(), ast_party_subaddress_set(), ast_party_subaddress_set_init(), ast_redirecting_parse_data(), dial_exec_full(), json_party_subaddress(), my_on_hook(), party_subaddress_build_data(), party_subaddress_read(), and party_subaddress_write().

◆ type

int type

◆ valid

unsigned char valid

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