/ fixed bug when using AST caller ID functions, shouldnt be trying to write
/ samples to file, was only ment to be used for debuging git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4649 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
995b43ca12
commit
d481e222f2
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Reference in a new issue