callerid: fix parser - do not store noise bytes

This commit is contained in:
Kamal Mostafa 2012-10-10 10:05:51 -07:00
parent 5e28a8026f
commit 93bf08f750
1 changed files with 2 additions and 0 deletions

View File

@ -137,6 +137,8 @@ databits_decode_callerid( char *dataout_p, unsigned int dataout_size,
cid_msgtype = CID_MSG_MDMF;
else if ( bits == CID_MSG_SDMF )
cid_msgtype = CID_MSG_SDMF;
else
return 0;
cid_buf[cid_ndata++] = bits;
return 0;
}