Thu Apr 16 06:48:51 2015

Asterisk developer's documentation


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.
char * str
 Malloced subaddress string.
int type
 Q.931 subaddress type.
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 257 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 276 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(), party_subaddress_build_data(), party_subaddress_read(), and party_subaddress_write().

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 263 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(), party_subaddress_build_data(), party_subaddress_read(), party_subaddress_write(), and set_one_cid().

int type

unsigned char valid


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

Generated on Thu Apr 16 06:48:51 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6