There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
access audio avg avg 8 bios blue screen boot bsod computer connection cpu crash css dell desktop dma driver drivers dvd email error excel explorer firefox firefox 3 freeze gimp graphics hard drive hardware hijackthis hjt install internet internet explorer itunes keyboard laptop macro malware monitor motherboard network networking outlook outlook 2003 outlook 2007 outlook express pio problem problems router seo server slow sound sp3 spyware trojan usb video virtumonde virus vista vundo windows windows vista windows xp winxp wireless
Do It Yourself Projects
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > General Technology > Do It Yourself Projects >
Trying to get 98 to ring up and play me a wav ....


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

 
Thread Tools
john1's Avatar
Distinguished Member with 8,668 posts.
 
Join Date: Nov 2000
Location: England
29-Sep-2007, 07:12 PM #1
Trying to get 98 to ring up and play me a wav ....
Hi,

I'm running Windows 98se, and i am trying to get the PC to do something
which i thought would be easy, but has turned out to be difficult.
Well, difficult for me, cos i dunno how to do it.

This is what i want it to do:

* switch on, and its modem switch on, at a time set by me.
* Start up and use the modem to ring a number provided by me.
* when the other end answers, play a wav file into the modem, so that
the other end (me) can hear the wav file.
* After playing the wav file, hang up.
* If theres no answer after 30 (?) seconds hang up (abort?).
* PC and modem turn off.

Yes, i know, simple enough i spose.
I can arrange for the PC and modem to switch on, and the PC to start
running Windows 98se, which funnily i thought would be the hard bit.

Getting it to use the modem is another matter, i think theres an
automatic dial up arrangement to get on line, but i don't think that
will do what i want, but i will try it anyway.

Also i dont know if the PC can play a wav file in audio into the modem,
it might not be able to do this ... i dunno.
As to hanging up ... i dunno how to make it do that.
I think the dial up networking has an arrangement to 'abort' if theres
no answer after a set time ... 30 (?) seconds maybe.
So i know that it can tell if theres an answer or not.

I need some help with this ,
John
__________________
WinXP-pro 700 M/Hz Dell * Win98se 330 M/hz Celeron * Cable connection
**************************************************************
kiwiguy's Avatar
Distinguished Member with 17,160 posts.
 
Join Date: Aug 2003
Location: New Zealand
04-Oct-2007, 05:14 PM #2
Not to my knowledge unless you write your own specialised application in VBA, C++ etc.

Under Windows, that type of activity is practically prevented to stop malicious software doing what you want, so there are no inbuilt routines that you can use that I am aware of.

The hang-up after 30 seconds or so is straight forward, if the call is unanswered or the caller hangs up, that will be the outcome. But in order to initiate the connection, I would expect that you would need to have a PC at the other end to initiate a handshake, or the dialling PC will not be able to know the call is accepted. Think of a fax, it needs the acceptance from a modem at each end, what you want has a modem at one end only.

To be honest you probably do not want a PC at the initiating end, more of an autodialler as used for alarms, then it would be simpler.
__________________
Microsoft MVP - Windows Desktop Experience
john1's Avatar
Distinguished Member with 8,668 posts.
 
Join Date: Nov 2000
Location: England
04-Oct-2007, 08:18 PM #3
Hi Kiwi guy,

Thanks for your reply.
So far i have been unable to get my machine to attempt to dial out
after switching on.
Which is odd, cos i am pretty sure that the "dial if no connection is
present" function should do that.

Well theres no connection present, and it dont dial out.
I kinda feel it should.

So if that bit wont work, then maybe the rest is false too ...

I am looking into getting "third party programs" to try to find one
that will do the dial up when it starts up.

I thought you could set it to connect up on line
when you start the machine,
maybe i am mistaken.

*******************

As to the hanging up after 30 seconds or so
being straightforward, well i havent got that far yet.

But when i do, i hope it will be straightforward.

*******************

I am hoping it will be possible to get the dialling PC to recognise a
tone from a tone-dial button, and accept that as being connected.
Then launch into playing a WAV into the modem,
so that i can hear it at the other end.

The WAV will be one, or many of several,
telling me simple messages like,
Everything is Ok.
or,
Doorbell was rung.
or
some other stuff i may think of.

I feel sure this kind of procedure should be a piece of cake for any
self respecting computer, and if it cannot manage it then it should
be broken up to make hardcore for roads.

(except the hard drive, i'll find a use for that)

Cheers, John
__________________
WinXP-pro 700 M/Hz Dell * Win98se 330 M/hz Celeron * Cable connection
**************************************************************
john1's Avatar
Distinguished Member with 8,668 posts.
 
Join Date: Nov 2000
Location: England
04-Oct-2007, 08:20 PM #4
you're right, an autodialler as used for alarms would be better,
but i dont have one.
kiwiguy's Avatar
Distinguished Member with 17,160 posts.
 
Join Date: Aug 2003
Location: New Zealand
04-Oct-2007, 08:41 PM #5
Sorry, but unless you can write your own specialised script I don't see how the modem will be able to handshake with anything at the other end.

It expects to find another modem so data can be transferred.

Anything less will result in no connection unless you can change everything (probably including the modem firmware, for which you will not be able to get the source code).
__________________
Microsoft MVP - Windows Desktop Experience
bp936's Avatar
Computer Specs
Senior Member with 387 posts.
 
Join Date: Oct 2003
Location: Ontario, Canada
Experience: Intermediate
18-Dec-2007, 07:05 PM #6
don't know if this problem is solved, but I had this wakeup per computer solved in another way, It does not play anything
I have a relative who always sleeps in, so I wrote an empty fax, meaning just told the faxprinter in Windows to send "this" (the dummy letter) at what hour and entered the regular phone number. So She got the phonecall to wake up with the lovely sound of my modem. It worked like acharm
__________________
SPECS:
CPu's in little black or grey boxes, some with lids, some with cupholders that slide in or out. Lots of long skinny snakelike tentacles coming from them
and lots of little shiny toylike things flashing and opening their eyes with tiny little wafers in them and fingers in all colores that seem to accept picures from the big box and huge boxes that always tell me, low on ink, or they make terrible smashing noises going back and forth with something inside of them, spitting out papers
john1's Avatar
Distinguished Member with 8,668 posts.
 
Join Date: Nov 2000
Location: England
18-Dec-2007, 09:43 PM #7
Hi bp936,

No, this is not yet solved.
I have left it temporarily due to other demands upon my limited abilities.
However, i will most definitely be getting back to this problem.

However, my understanding of the procedures involved has improved slightly.

I now wish to approach the problem in a different way.
I'm considering various sorts of answer-phone units, i want one which will
answer the phone, and work like a 'speaker-phone'.
This, i think, should do what i require.

Thank you for your suggestion, John
__________________
WinXP-pro 700 M/Hz Dell * Win98se 330 M/hz Celeron * Cable connection
**************************************************************
ARTETUREN's Avatar
Computer Specs
Senior Member with 161 posts.
 
Join Date: Dec 2007
Experience: Intermediate
19-Dec-2007, 04:28 PM #8
Hai, there
By the way what will be * If there was answer (kind of what, dtmf, whistle or ...)
The wave or mp3 or any kind it`s doesn`t matter everything will be work.
Btw it`s easier made electronic device for that. Write protocol again, what You need then we will see. By.
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are Off
Refbacks are Off

You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 07:07 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.