Asterisk - The Open Source Telephony Project GIT-master-f36a736
Data Fields
ast_party_name Struct Reference

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

#include <channel.h>

Data Fields

int char_set
 Character set the name is using. More...
 
int presentation
 Q.931 encoded presentation-indicator encoded field. More...
 
char * str
 Subscriber name (Malloced) More...
 
unsigned char valid
 TRUE if the name information is valid/present. More...
 

Detailed Description

Information needed to specify a name 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 264 of file channel.h.

Field Documentation

◆ char_set

int char_set

Character set the name is using.

See also
enum AST_PARTY_CHAR_SET
Note
Set to AST_PARTY_CHAR_SET_ISO8859_1 if unsure what to use.
Todo:
Start using the party name character set value. Not currently used.

Definition at line 274 of file channel.h.

Referenced by ast_party_name_copy(), ast_party_name_init(), ast_party_name_set(), ast_party_name_set_init(), and ast_redirecting_parse_data().

◆ presentation

int presentation

◆ str

char* str

◆ valid

unsigned char valid

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