diff options
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 |