diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-03-28 20:48:24 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-03-28 20:48:24 +0000 |
commit | d55d17a49496aec0974405dcd25707de499c7d81 (patch) | |
tree | 510ad77207125249e64eb1829ba60b42a60242b0 /channels/chan_zap.c | |
parent | ad3c5e1c18fbbaf40cea47038fefe4a5f7b414fc (diff) |
Fix a bunch of const stuff, merge queue changes, add experimental "hybrid" DTMF mode
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5293 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_zap.c')
-rwxr-xr-x | channels/chan_zap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c index d10886531..c68f0ff48 100755 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -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 |