[Asterisk-cvs] asterisk/channels chan_nbs.c,1.4,1.5

markster at lists.digium.com markster at lists.digium.com
Sat Mar 20 02:20:58 CST 2004


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv9943/channels

Modified Files:
	chan_nbs.c 
Log Message:
Add experimental nbscat application


Index: chan_nbs.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_nbs.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- chan_nbs.c	9 Dec 2003 23:55:17 -0000	1.4
+++ chan_nbs.c	20 Mar 2004 07:16:27 -0000	1.5
@@ -149,7 +149,7 @@
 	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 @@
 		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);




More information about the svn-commits mailing list