![]() |
Home page |
Mailing list |
Docs
Asterisk developer's documentation :: Codename Pineapple
say.h File Reference
Definition in file say.h.
#include "asterisk/channel.h"
#include "asterisk/file.h"
#include <time.h>
Include dependency graph for say.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Defines | |
| #define | SAY_EXTERN extern |
| #define | SAY_INIT(x) |
| The basic ast_say_* functions are implemented as function pointers, initialized to the function say_stub() which simply returns an error. Other interfaces, declared here as regular functions, are simply wrappers around the basic functions. | |
Functions | |
| int | ast_say_character_str (struct ast_channel *chan, const char *num, const char *ints, const char *lang) |
| int | ast_say_digit_str (struct ast_channel *chan, const char *num, const char *ints, const char *lang) |
| int | ast_say_digits (struct ast_channel *chan, int num, const char *ints, const char *lang) |
| int | ast_say_digits_full (struct ast_channel *chan, int num, const char *ints, const char *lang, int audiofd, int ctrlfd) |
| int | ast_say_enumeration (struct ast_channel *chan, int num, const char *ints, const char *lang, const char *options) |
| int | ast_say_number (struct ast_channel *chan, int num, const char *ints, const char *lang, const char *options) |
| int | ast_say_phonetic_str (struct ast_channel *chan, const char *num, const char *ints, const char *lang) |
Variables | |
| SAY_EXTERN int(* | ast_say_character_str_full )(struct ast_channel *chan, const char *num, const char *ints, const char *lang, int audiofd, int ctrlfd) SAY_INIT(ast_say_character_str_full) |
| SAY_EXTERN int(* | ast_say_date )(struct ast_channel *chan, time_t t, const char *ints, const char *lang) SAY_INIT(ast_say_date) |
| SAY_EXTERN int(* | ast_say_date_with_format )(struct ast_channel *chan, time_t t, const char *ints, const char *lang, const char *format, const char *timezone) SAY_INIT(ast_say_date_with_format) |
| SAY_EXTERN int(* | ast_say_datetime )(struct ast_channel *chan, time_t t, const char *ints, const char *lang) SAY_INIT(ast_say_datetime) |
| SAY_EXTERN int(* | ast_say_datetime_from_now )(struct ast_channel *chan, time_t t, const char *ints, const char *lang) SAY_INIT(ast_say_datetime_from_now) |
| SAY_EXTERN int(* | ast_say_digit_str_full )(struct ast_channel *chan, const char *num, const char *ints, const char *lang, int audiofd, int ctrlfd) SAY_INIT(ast_say_digit_str_full) |
| SAY_EXTERN int(* | ast_say_enumeration_full )(struct ast_channel *chan, int num, const char *ints, const char *lang, const char *options, int audiofd, int ctrlfd) SAY_INIT(ast_say_enumeration_full) |
| SAY_EXTERN int(* | ast_say_full )(struct ast_channel *chan, const char *num, const char *ints, const char *lang, const char *options, int audiofd, int ctrlfd) SAY_INIT(ast_say_full) |
| SAY_EXTERN int(* | ast_say_number_full )(struct ast_channel *chan, int num, const char *ints, const char *lang, const char *options, int audiofd, int ctrlfd) SAY_INIT(ast_say_number_full) |
| SAY_EXTERN int(* | ast_say_phonetic_str_full )(struct ast_channel *chan, const char *num, const char *ints, const char *lang, int audiofd, int ctrlfd) SAY_INIT(ast_say_phonetic_str_full) |
| SAY_EXTERN int(* | ast_say_time )(struct ast_channel *chan, time_t t, const char *ints, const char *lang) SAY_INIT(ast_say_time) |
|
|
|
|
|
The basic ast_say_* functions are implemented as function pointers, initialized to the function say_stub() which simply returns an error. Other interfaces, declared here as regular functions, are simply wrappers around the basic functions. An implementation of the basic ast_say functions (e.g. from say.c or from a dynamically loaded module) will just have to reassign the pointers to the relevant functions to override the previous implementation.
|
|
||||||||||||||||||||
|
Definition at line 4696 of file channel.c. References ast_say_character_str_full. Referenced by pbx_builtin_saycharacters(). 04698 { 04699 return ast_say_character_str_full(chan, str, ints, lang, -1, -1); 04700 }
|
|
||||||||||||||||||||
|
Definition at line 4690 of file channel.c. References ast_say_digit_str_full. Referenced by mgcp_ss(), pbx_builtin_saydigits(), and ss_thread(). 04692 { 04693 return ast_say_digit_str_full(chan, str, ints, lang, -1, -1); 04694 }
|
|
||||||||||||||||||||
|
Definition at line 4684 of file channel.c. References ast_say_digits_full(). 04686 { 04687 return ast_say_digits_full(chan, num, ints, lang, -1, -1); 04688 }
|
|
||||||||||||||||||||||||||||
|
Definition at line 4708 of file channel.c. References ast_say_digit_str_full. Referenced by ast_say_digits(), ast_say_enumeration_full_da(), ast_say_enumeration_full_de(), ast_say_number_full_cz(), ast_say_number_full_da(), ast_say_number_full_de(), ast_say_number_full_en(), ast_say_number_full_en_GB(), ast_say_number_full_es(), ast_say_number_full_fr(), ast_say_number_full_he(), ast_say_number_full_it(), ast_say_number_full_nl(), ast_say_number_full_no(), ast_say_number_full_pt(), ast_say_number_full_ru(), ast_say_number_full_se(), and ast_say_number_full_tw(). 04710 { 04711 char buf[256]; 04712 04713 snprintf(buf, sizeof(buf), "%d", num); 04714 return ast_say_digit_str_full(chan, buf, ints, lang, audiofd, ctrlfd); 04715 }
|
|
||||||||||||||||||||||||
|
Definition at line 4678 of file channel.c. References ast_say_enumeration_full. Referenced by ast_say_date_da(), ast_say_date_de(), ast_say_date_with_format_da(), ast_say_date_with_format_de(), ast_say_date_with_format_en(), and ast_say_date_with_format_pl(). 04680 { 04681 return ast_say_enumeration_full(chan, num, ints, language, options, -1, -1); 04682 }
|
|
||||||||||||||||||||||||
|
||||||||||||||||||||
|
Definition at line 4702 of file channel.c. References ast_say_phonetic_str_full. Referenced by pbx_builtin_sayphonetic(). 04704 { 04705 return ast_say_phonetic_str_full(chan, str, ints, lang, -1, -1); 04706 }
|
|
|
Definition at line 138 of file say.h. Referenced by __attribute__(), ast_say_character_str(), and handle_sayalpha(). |
|
|
Definition at line 148 of file say.h. Referenced by __attribute__(), ast_say_datetime_de(), ast_say_datetime_nl(), ast_say_datetime_pt_BR(), and handle_saydate(). |
|
|
Definition at line 152 of file say.h. Referenced by __attribute__(), ast_say_date_with_format_pl(), ast_say_date_with_format_pt(), and handle_saydatetime(). |
|
|
Definition at line 145 of file say.h. Referenced by __attribute__(). |
|
|
Definition at line 150 of file say.h. Referenced by __attribute__(). |
|
|
Definition at line 124 of file say.h. Referenced by __attribute__(), ast_say_digit_str(), ast_say_digits_full(), and handle_saydigits(). |
|
|
Definition at line 97 of file say.h. Referenced by __attribute__(), and ast_say_enumeration(). |
|
|
|
|
|
Definition at line 82 of file say.h. Referenced by __attribute__(), ast_say_number(), and handle_saynumber(). |
|
|
Definition at line 143 of file say.h. Referenced by __attribute__(), ast_say_phonetic_str(), and handle_sayphonetic(). |
|
|
Definition at line 146 of file say.h. Referenced by __attribute__(), ast_say_datetime_de(), ast_say_datetime_from_now_en(), ast_say_datetime_from_now_fr(), ast_say_datetime_from_now_pt(), ast_say_datetime_nl(), ast_say_datetime_pt_BR(), and handle_saytime(). |