Version 0.1.3 from FTP

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@201 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2000-01-09 19:58:18 +00:00
parent aa6a80f31d
commit 0c3b134da5
13 changed files with 103 additions and 74 deletions

View File

@@ -43,14 +43,14 @@ int ast_format_register(char *name, char *exts, int format,
int ast_format_unregister(char *name);
/* Start streaming a file */
int ast_streamfile(struct ast_channel *c, char *filename);
/* Start streaming a file, in the preferred language if possible */
int ast_streamfile(struct ast_channel *c, char *filename, char *preflang);
/* Stop playback of a stream */
int ast_stopstream(struct ast_channel *c);
/* See if a given file exists in a given format. If fmt is NULL, any format is accepted.*/
int ast_fileexists(char *filename, char *fmt);
int ast_fileexists(char *filename, char *fmt, char *preflang);
/* Rename a given file in a given format, or if fmt is NULL, then do so for all */
int ast_filerename(char *oldname, char *newname, char *fmt);

View File

@@ -24,6 +24,7 @@ extern int option_nofork;
extern int option_quiet;
extern int option_console;
extern int fully_booted;
extern char defaultlanguage[];
#define VERBOSE_PREFIX_1 " "
#define VERBOSE_PREFIX_2 " == "

View File

@@ -21,9 +21,9 @@
extern "C" {
#endif
int ast_say_number(struct ast_channel *chan, int num);
int ast_say_digits(struct ast_channel *chan, int num);
int ast_say_digit_str(struct ast_channel *chan, char *num);
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);
#if defined(__cplusplus) || defined(c_plusplus)
}

View File

@@ -79,6 +79,7 @@ struct ast_modem_pvt {
char context[AST_MAX_EXTENSION];
char cid[AST_MAX_EXTENSION]; /* Caller ID if available */
char initstr[AST_MAX_INIT_STR]; /* Modem initialization String */
char language[MAX_LANGUAGE]; /* default language */
char response[256]; /* Static response buffer */
struct ast_modem_driver *mc; /* Modem Capability */
struct ast_modem_pvt *next; /* Next channel in list */