Welcome to MacBoardz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Question about G4 400 modem init string and modem volume

 
   Macintosh computer (Home) -> Comm RSS
Next:  iphoto - global tags  
Author Message
William Maslin2

External


Since: Oct 23, 2003
Posts: 8



(Msg. 1) Posted: Fri Jan 25, 2008 4:16 pm
Post subject: Question about G4 400 modem init string and modem volume
Archived from groups: comp>sys>mac>comm (more info?)

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
Smile

Thanks!

 >> Stay informed about: Question about G4 400 modem init string and modem volume 
Back to top
Login to vote
Jerry Kindall

External


Since: Jul 09, 2003
Posts: 853



(Msg. 2) Posted: Fri Jan 25, 2008 7:21 pm
Post subject: Re: Question about G4 400 modem init string and modem volume [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article , William
Maslin wrote:

> ========================================
> 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.

My guess is that the modem's ignoring everything on the same line after
the factory init command (AT&F1). Some modems do that. I can't really
imagine why you'd need to do a factory init just to dial the phone,
especially since it's you're not likely to be using the modem for
anything else, so I'd just take out the &F1 part and replace it with
L1.

--
Jerry Kindall, Seattle, WA <http://www.jerrykindall.com/>

Send only plain text messages under 32K to the Reply-To address.
This mailbox is filtered aggressively to thwart spam and viruses.

 >> Stay informed about: Question about G4 400 modem init string and modem volume 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Modem Init String Question -

Modem init string help OS 9.2.1 - Hello, The modem on my G4/450 with OS 9.2.1 is currently set to Apple Internal 56k Modem v.90 (makes sense, as that's exactly the hardware I have). I've looked at the init string, and it's awfully long and complicated. I'd like to know if there's a..

Question About Global Village Modem - To begin with, I'm not sure if this is the right forum for asking this question. I suspect many of you will find the technical problem to be kind of trivial since thethreads in this newsgroup seem to be more abstract. However, I've looked around and..

Bad modem? - I have a Starmax with OS 8.6. For years I've been running an external GV Teleport upgraded to V90. It almost always negotiates a speed above 50k. In the last week or so, I have often lost connections as I logged on, or I log on at a low speed. If....

Automating Modem -
   Macintosh computer (Home) -> Comm All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]