Thu Oct 11 06:50:29 2012

Asterisk developer's documentation


ast_tone_zone_sound Struct Reference

Description of a tone. More...

#include <indications.h>


Public Member Functions

 AST_LIST_ENTRY (ast_tone_zone_sound) entry
 Linked list fields for including in the list on an ast_tone_zone.

Data Fields

union {
   struct {
      unsigned int   killme:1
   } 
   uint32_t   __padding
}; 
 Flags only used internally.
const char * data
 Description of a tone.
const char * name
 Name of the tone. For example, "busy".


Detailed Description

Description of a tone.

Definition at line 34 of file indications.h.


Member Function Documentation

AST_LIST_ENTRY ( ast_tone_zone_sound   ) 

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


Field Documentation

union { ... }

Flags only used internally.

uint32_t __padding

Definition at line 56 of file indications.h.

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)

Definition at line 51 of file indications.h.

Referenced by ast_app_dtget(), ast_indicate_data(), ast_register_indication(), ast_tone_zone_sound_destructor(), dialtone_indicate(), handle_cli_indication_show(), handle_playtones(), in_band_indication(), pbx_builtin_waitexten(), play_dialtone(), read_exec(), readexten_exec(), and skinny_transfer().

unsigned int killme

Definition at line 58 of file indications.h.

Referenced by prune_tone_zone(), and tone_zone_mark().

const char* name


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

Generated on Thu Oct 11 06:50:29 2012 for Asterisk - the Open Source PBX by  doxygen 1.5.6