1) In comdial.c, in the handler for the IDM_AUTOANSWER message, delete the follwoing two lines:
mytapi.dwWaveInID = mylineGetWaveID(LINECALLSELECT_LINE,
"wave/in");
recordMessage (mytapi.dwWaveInID);
The IDM_AUTOANSWER message is received when the Auto Answer option is selected from the Action menu. At this point the line device should be opened but a message should not be recorded, so the above lines should be removed.
2. in mytapi_.c, delete the following lines:
// FOR DEBUGGING; REMOVE FROM FINAL VERSION
mytapi.dwWaveOutID = 0;
mytapi.dwWaveInID = 0;
This code will force the app to always play and record over a sound card and not the voice modem.