mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-16 06:48:25 +00:00
Version 0.1.10 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@398 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -21,9 +21,38 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
int ast_say_number(struct ast_channel *chan, int num, char *lang);
|
||||
int ast_say_digits(struct ast_channel *chan, int num, char *lang);
|
||||
int ast_say_digit_str(struct ast_channel *chan, char *num, char *lang);
|
||||
//! says a number
|
||||
/*!
|
||||
* \param chan channel to say them number on
|
||||
* \param num number to say on the channel
|
||||
* \param ints which dtmf to interrupt on
|
||||
* \param lang language to speak the number
|
||||
* Vocally says a number on a given channel
|
||||
* Returns 0 on success, DTMF digit on interrupt, -1 on failure
|
||||
*/
|
||||
int ast_say_number(struct ast_channel *chan, int num, char *ints, char *lang);
|
||||
|
||||
//! says digits
|
||||
/*!
|
||||
* \param chan channel to act upon
|
||||
* \param num number to speak
|
||||
* \param ints which dtmf to interrupt on
|
||||
* \param lang language to speak
|
||||
* Vocally says digits of a given number
|
||||
* Returns 0 on success, dtmf if interrupted, -1 on failure
|
||||
*/
|
||||
int ast_say_digits(struct ast_channel *chan, int num, char *ints, char *lang);
|
||||
|
||||
//! says digits of a string
|
||||
/*!
|
||||
* \param chan channel to act upon
|
||||
* \param num string to speak
|
||||
* \param ints which dtmf to interrupt on
|
||||
* \param lang language to speak in
|
||||
* Vocally says the digits of a given string
|
||||
* Returns 0 on success, dtmf if interrupted, -1 on failure
|
||||
*/
|
||||
int ast_say_digit_str(struct ast_channel *chan, char *num, char *ints, char *lang);
|
||||
|
||||
#if defined(__cplusplus) || defined(c_plusplus)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user