in reply to Parsing touch tone input?

As others have suggested, Vgetty supplies a good portion of the software solution you need. I didn't yet see anyone mention that in order to use this software, you will need a voice modem that Vgetty supports. Not Just Any modem will work, it specifically needs to be a voice modem. Not all voice modems support all of the features you'd need. And not all voice modems work very well at all, or work well with vgetty. Your best bet is to look in the vgetty documentation for info on recommended voice modems, Before you purchase one.