modem interface
Talking to a PC-Modem is the same as talking to any other RS232 device. Make sure you have Max232 or equal on the Mega64 for doing the RS232 interfacing.
You will probably need to interface the following signals:
Atmel Modem
TX - TX
RX - RX
PINx - DCD (Modem outputs 1 when connected to other modem , so input on AVR , via Max232)
PORTx - DTR (Avr output via Max232 , resets modem , when going low)
Then connect Modem RTS to Modem CTS , and don't use hardware handshake , or you will need to interface RTS/CTS via another Max232
For modem commands "google" for "Modem AT Commands"
/Bingo