Asterisk - The Open Source Telephony Project  GIT-master-1f78ee9
Data Fields
ast_tone_zone_sound Struct Reference

Description of a tone. More...

#include <indications.h>

Data Fields

union {
   struct {
      unsigned int   killme:1
 
   } 
 
   uint32_t   __padding
 
}; 
 Flags only used internally. More...
 
const char * data
 Description of a tone. More...
 
struct {
   struct ast_tone_zone_sound *   next
 
entry
 Linked list fields for including in the list on an ast_tone_zone. More...
 
const char * name
 Name of the tone. For example, "busy". More...
 

Detailed Description

Description of a tone.

Examples:
/tmp/asterisk-shallow/main/app.c.

Definition at line 35 of file indications.h.

Field Documentation

◆ @260

union { ... }

Flags only used internally.

◆ __padding

uint32_t __padding

Definition at line 57 of file indications.h.

◆ data

const char* data

Description of a tone.

The format is a comma separated list of tone parts in the following format:

Format: [!][M]freq[<+|*>freq2][/duration]

  • '!' - means that the element is NOT repeated
  • 'M' - interpret the frequencies as midi notes instead of frequencies
  • freq - The first frequency
  • freq2 - The second frequency (optional)
  • '*' - modulate freq by freq2 at a fixed depth of 90%
  • '+' - combine the frequencies
  • duration - the length of the tone part (optional, forever if not specified)
Examples:
/tmp/asterisk-shallow/main/app.c.

Definition at line 52 of file indications.h.

Referenced by ast_app_dtget(), ast_control_tone(), ast_register_indication(), ast_tone_zone_sound_destructor(), control_tone_frame_response(), dial_handle_playtones(), dialtone_indicate(), handle_cli_indication_show(), handle_playtones(), in_band_indication(), indicate_data_internal(), pbx_builtin_waitexten(), play_dialtone(), read_exec(), readexten_exec(), and send_dial_tone().

◆ entry

struct { ... } entry

Linked list fields for including in the list on an ast_tone_zone.

◆ killme

unsigned int killme

Definition at line 59 of file indications.h.

Referenced by prune_tone_zone(), and tone_zone_mark().

◆ name

const char* name

◆ next

struct ast_tone_zone_sound* next

Definition at line 54 of file indications.h.


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