Intercepting incoming calls



When my program is downloading data using Rda an incoming call seems to hang,
you cannot answer it and it just keeps ringing. I would like to use TAPI to
intercept the call and cancel it, sending it to voice mail just while the
data transfer is in process. As I have never used this API before, I have
found reference material but no code samples (I am using VB.Net with Visual
Studio 2005). Could someone please provide me with some code samples to help
me understand the process.
.