As many of you know, the ability to dial from within applications was
lost when OS X was released. I suppose Apple thought that using Internet
Connect via Applescript would suffice, but they broke that in OS 10.3.
I have a small Filemaker contact database that I works well to dial my
phone but of course it only runs in OS9. Therefore, when I have to make
a lot of calls, I have to switch from OS X to OS9. Of course, I could
buy Jon's Phone Tool or ABDialer, but I'm too stubborn for that. The
computer is a PCI graphics G4 400 with the original built-in 56K modem
and running OS 10.4.11.
So I was surprised to find a free solution using the DialModem OSAX by
Javier Diaz Reinso and an applescript (which I modified) found here:
http://www.macosxhints.com/article.php?query=filemaker&story=200410151105
34758
I've got everything working fine, but can't figure out how to silence or
tone down the modem. It plays the touchtones full blast through the G4's
sound system (external speakers plugged into the headphone port). The
modem volume is much more subdued in OS9. Turning off the modem sound in
the OS X network (modem) control panel has no effect (as expected).
The Applescript below is the one that's working now. Note the modem
initialization string in line 2.
========================================
property thePhoneFieldName: "DialThisNumber"
initModem "/dev/cu.modem" with "~^M~AT&F1E0S7=45S0=0L2^M"
tell application "FileMaker Pro"
activate
set theNumber to cell thePhoneFieldName of current record
ignoring application responses
dial modem "ATDT"& theNumber
end ignoring
display dialog thenumber & return & "Dialing in Progress:
Disconnect?" buttons {"Hang up"} default button 1 giving up after 60
hang up
end tell
========================================
I assume that the L2 on the right is supposed to set the modem volume.
Changing it from L0 to L3 has no effect. In addition, I tried to add or
substitute some M values which are supposed to turn the modem sound
off/on, etc and there was no effect.
Can anyone shed any light on this issue and tell me what initialization
string I need to control the modem volume or turn it off? It would be
interesting to know the modem init string that Apple used in the
built-in OS9 phone dialing stuff. Is that documented anywhere? If all
else fails, I suppose I could lean up and turn turn the speaker volume
Thanks!