From 12b4d5a8afe1ac2d3a7a7e8ce73634187cf99011 Mon Sep 17 00:00:00 2001 From: markster Date: Sat, 20 Mar 2004 07:16:27 +0000 Subject: Add experimental nbscat application git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2490 f38db490-d61c-443f-a65b-d21fe96a405b --- channels/chan_nbs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'channels') diff --git a/channels/chan_nbs.c b/channels/chan_nbs.c index cd40ce167..1960acbe2 100755 --- a/channels/chan_nbs.c +++ b/channels/chan_nbs.c @@ -149,7 +149,7 @@ static int nbs_hangup(struct ast_channel *ast) return 0; } -static struct ast_frame *nbs_read(struct ast_channel *ast) +static struct ast_frame *nbs_xread(struct ast_channel *ast) { struct nbs_pvt *p = ast->pvt->pvt; @@ -209,7 +209,7 @@ static struct ast_channel *nbs_new(struct nbs_pvt *i, int state) tmp->pvt->pvt = i; tmp->pvt->call = nbs_call; tmp->pvt->hangup = nbs_hangup; - tmp->pvt->read = nbs_read; + tmp->pvt->read = nbs_xread; tmp->pvt->write = nbs_xwrite; strncpy(tmp->context, context, sizeof(tmp->context)-1); strncpy(tmp->exten, "s", sizeof(tmp->exten) - 1); -- cgit v1.2.3