play audio through modem

Is there a way of playing audio via a voice modem to a telephone. I’ve figured out that it’s possible to record audio with Audio Recorder. This comes from a script that comes with Dialectic (phone dialing software):



tell application "Audio Recorder.app"
	activate
	set «class aOFo» to (POSIX path of desktop_path)
	set «class aNFN» to the_file_name
	«event cappcRec»

tell application "Audio Recorder.app"
	«event cappcSto»
	set the_file to «class ppth» of «class aCFi» of «class aCRe»
	try
		quit
	end try
end tell

set the_file to ((the_file as POSIX file) as alias)



I can’t get my script editor to load the Audio Recorder applescript dictionary, so I can’t figure out how this script selects the modem as an audio input source. Does anybody understand what this refers to:

set «class aOFo» to (POSIX path of desktop_path)

I’ve done a search for audio applications that play via the modem with no luck. Is there an application that I’ve missed?

What I want to do is:
Tell dialectic to dial a number:
Stop the modem hanging up: (I’ve managed this bit)
Tell an audio player to play a sound file via the modem so that the person on the on the other end can hear the audio.

thanks in advance for any help.

ps. I’m not intending to do any telemarketing. This is for a not for profit organisation, which is why I’m using a shareware phone dialer.

Model: G4 ppc
AppleScript: 2.0.1
Browser: Firefox 3.6.6
Operating System: Mac OS X (10.5)