support sending text through agent channels (issue #5295)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6787 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2005-10-14 00:46:13 +00:00
parent 9a85d06a64
commit 2fe49e7a5f
3 changed files with 15 additions and 2 deletions

View File

@@ -1831,7 +1831,7 @@ char *ast_recvtext(struct ast_channel *chan, int timeout)
return buf;
}
int ast_sendtext(struct ast_channel *chan, char *text)
int ast_sendtext(struct ast_channel *chan, const char *text)
{
int res = 0;
/* Stop if we're a zombie or need a soft hangup */