Asterisk - The Open Source Telephony Project  21.4.1
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.
 

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 307 of file channel.h.

Field Documentation

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 326 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(), and ast_redirecting_parse_data().

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 313 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(), and sig_pri_call().

int type

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