I'm pretty new to MR.C. I'm a java person jump'n to C, to see if C can help me do this, since Java lately abandoned me. Actually i wanna build a Voice response server and there are no Audio processing API available in Java. But i learnt that C is the first to implement modem programming Algorithm. Ok this wat actually i'm look'n for......

I have a PC connected to a modem. I receive a call
from outside line. I want an application to run on a
PC which will detect that it has got a call and
respond with some automatic message say "Welcome to my
computer". I want the application to wait for some
input from the person calling u. say for example if he
presses one It has to say some message. if the caller
presses "2" on his telephone, my application has to
say a different message. can this be accomplished.

Experts and Seniors render me a helping hand wif ur valuable insights and thanx a lot 4 ur precious time and ideas.