[Asterisk-cvs] asterisk/channels chan_vpb.c,1.54,1.55

bkramer at lists.digium.com bkramer at lists.digium.com
Mon Jan 3 18:32:50 CST 2005


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

Modified Files:
	chan_vpb.c 
Log Message:
/ fixed bug when using AST caller ID functions, shouldnt be trying to write
/ samples to file, was only ment to be used for debuging


Index: chan_vpb.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_vpb.c,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -d -r1.54 -r1.55
--- chan_vpb.c	23 Dec 2004 01:46:39 -0000	1.54
+++ chan_vpb.c	4 Jan 2005 00:38:00 -0000	1.55
@@ -608,7 +608,7 @@
 			if (vrc != VPB_OK)
 				ast_log(LOG_ERROR, "%s: Caller ID couldnt read audio buffer!\n",p->dev);
 			rc = callerid_feed(cs,(unsigned char *)buf,sizeof(buf),AST_FORMAT_ULAW);
-			vpb_wave_write(ws,(char*)buf,sizeof(buf));
+/*			vpb_wave_write(ws,(char*)buf,sizeof(buf)); */
 			sam_count+=sizeof(buf);
 			if (option_verbose>3) ast_verbose(VERBOSE_PREFIX_4 "Collecting Caller ID samples [%d][%d]...\n",sam_count,rc);
 		}




More information about the svn-commits mailing list