/ fixed bug when using AST caller ID functions, shouldnt be trying to write
authorBen Kramer <bkramer@voicetronix.com.au>
Tue, 4 Jan 2005 00:38:00 +0000 (00:38 +0000)
committerBen Kramer <bkramer@voicetronix.com.au>
Tue, 4 Jan 2005 00:38:00 +0000 (00:38 +0000)
/ samples to file, was only ment to be used for debuging

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4649 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_vpb.c

index 3fbe1e2..a65411b 100755 (executable)
@@ -608,7 +608,7 @@ static void get_callerid_ast(struct vpb_pvt *p)
                        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);
                }