Asterisk - The Open Source Telephony Project  21.4.1
Data Fields
ast_tone_zone Struct Reference

A set of tones for a given locale. More...

#include <indications.h>

Data Fields

union {
   struct {
      unsigned int   killme:1
 
   } 
 
   uint32_t   __padding
 
}; 
 Flags only used internally.
 
char country [MAX_TONEZONE_COUNTRY]
 Country code that this set of tones is for.
 
char description [40]
 Text description of the given country. More...
 
unsigned int nrringcadence
 Number of ring cadence elements in the ringcadence array.
 
int * ringcadence
 Array of ring cadence parts. More...
 
struct {
   struct ast_tone_zone_sound *   first
 
   struct ast_tone_zone_sound *   last
 
tones
 A list of tones for this locale.
 

Detailed Description

A set of tones for a given locale.

Note
If a reference to this tone zone is held, then the country is guaranteed not to change. It is safe to read it without locking the tone zone. This is not the case for any other field.

Definition at line 74 of file indications.h.

Field Documentation

char description[40]

Text description of the given country.

This is for nothing more than friendly display to a human.

Definition at line 82 of file indications.h.

int* ringcadence

Array of ring cadence parts.

Each element is an amount of time in milliseconds. The first element is for time on, and from there it alternates between on and off.

Definition at line 91 of file indications.h.

Referenced by ast_tone_zone_destructor(), and store_tone_zone_ring_cadence().


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