mirror of
https://github.com/asterisk/asterisk.git
synced 2026-01-07 10:31:16 +00:00
Fix a bunch of const stuff, merge queue changes, add experimental "hybrid" DTMF mode
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5293 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -299,7 +299,7 @@ static int restart_monitor(void);
|
||||
|
||||
static int zt_bridge(struct ast_channel *c0, struct ast_channel *c1, int flags, struct ast_frame **fo, struct ast_channel **rc);
|
||||
|
||||
static int zt_sendtext(struct ast_channel *c, char *text);
|
||||
static int zt_sendtext(struct ast_channel *c, const char *text);
|
||||
|
||||
static inline int zt_get_event(int fd)
|
||||
{
|
||||
@@ -615,7 +615,7 @@ static struct zt_pvt {
|
||||
|
||||
static struct ast_channel *zt_request(const char *type, int format, void *data, int *cause);
|
||||
static int zt_digit(struct ast_channel *ast, char digit);
|
||||
static int zt_sendtext(struct ast_channel *c, char *text);
|
||||
static int zt_sendtext(struct ast_channel *c, const char *text);
|
||||
static int zt_call(struct ast_channel *ast, char *rdest, int timeout);
|
||||
static int zt_hangup(struct ast_channel *ast);
|
||||
static int zt_answer(struct ast_channel *ast);
|
||||
@@ -10189,7 +10189,7 @@ int load_module(void)
|
||||
return res;
|
||||
}
|
||||
|
||||
static int zt_sendtext(struct ast_channel *c, char *text)
|
||||
static int zt_sendtext(struct ast_channel *c, const char *text)
|
||||
{
|
||||
#define END_SILENCE_LEN 400
|
||||
#define HEADER_MS 50
|
||||
|
||||
Reference in New Issue
Block a user