Computing.Net > Forums > Windows 95/98 > Modem Programming

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Modem Programming

Reply to Message Icon

Name: Khalid Rafique
Date: February 7, 1999 at 04:56:13 Pacific
Comment:

I want to write a programme for modem but don't have any idea how to do. any body who can give guidlines



Sponsored Link
Ads by Google

Response Number 1
Name: Mogoreanu Vitaly
Date: August 23, 1999 at 03:31:49 Pacific
Reply:

I need an example of receiving a symbol from modem (C or Pascal), my program don't work correctly.


0

Response Number 2
Name: Ronan S. Empig
Date: November 1, 1999 at 23:44:00 Pacific
Reply:

i need a sample program to make a dialup in C++ and access the printer port in the remote computer


0

Response Number 3
Name: Ratchasak Sumgkamanon
Date: November 22, 1999 at 22:06:53 Pacific
Reply:

I want to coding a program via modem using c++. Please reccommend.


0

Response Number 4
Name: Joseph
Date: November 23, 1999 at 09:45:20 Pacific
Reply:

I am having a problem for setting the buffer size and data from the buffer in Voice recieve mode, I am making an answer machine and I need an advice about that. I am using visual basic but if there is any advice just in AT Commands that will be great


0

Response Number 5
Name: alan aquino
Date: December 2, 1999 at 20:49:37 Pacific
Reply:

i try to access the modem with pascal
so many errors i encounter especially in
recieving the echos of the modem like "OK"
"CONNECT" "BUSY" and the dtmf tone response
please if its okey
give me some help


0

Related Posts

See More



Response Number 6
Name: Ricky Chan
Date: January 7, 2000 at 00:11:28 Pacific
Reply:

Anyone can give me a voice modem program sample to me. Please using AT-voice command to do it!
Thanks A lot!


0

Response Number 7
Name: Max
Date: February 9, 2000 at 04:41:25 Pacific
Reply:

Hello all. Anyone can give me a voice modem program sample using Windows 95 API.
...please... ;-)
Thanks.


0

Response Number 8
Name: Max
Date: February 9, 2000 at 04:49:44 Pacific
Reply:

Hello all. Anyone can give me a voice modem program sample using Windows 95 API.
...please... ;-)
Thanks.


0

Response Number 9
Name: FLASHMD
Date: April 13, 2000 at 14:59:35 Pacific
Reply:

How can I programming my modem with delphi4?
For exemple make a simple diler?
Thanks!


0

Response Number 10
Name: fathi hwidi
Date: April 15, 2000 at 11:19:11 Pacific
Reply:

How can I play wave files through the modem and read DTMF using AT commands . a source code with any language will help.
thanks.


0

Response Number 11
Name: rachana m patil
Date: April 24, 2000 at 04:59:57 Pacific
Reply:

hello,
i miss rachana doing final year computer engg.
my project is in voice guidance sytem and have the same problem of
sending voice over modem & dtmf decoding using AT commands.
i read yr problem on computing net
if u got the answer then please forward it to me i will be very thankful to u
my email id
racha999@yahoo.com
thanking you,
rachana


0

Response Number 12
Name: Tytus
Date: May 5, 2000 at 15:33:03 Pacific
Reply:

I am trying to write a small programm in C or C++ for DOS of for Windows that simply diles a telefon number automatically.
I think I should send AT commands to the serial port, but I don't know how.
thank for any help or advise
Tytus@homemail.com


0

Response Number 13
Name: José Pérez Morales
Date: May 30, 2000 at 09:13:43 Pacific
Reply:

I need to send a short message (voice) by a modem with Visual Basic.

Howt can I do that?

Thanks


0

Response Number 14
Name: Kevin Baldor
Date: July 6, 2000 at 15:28:32 Pacific
Reply:

I am struggling with the same voice problem as the rest of you, but I can answer some of your questions.

the at commands needed to dial a phone number are:
at #cls=
0 - data mode (for dialing an ISP)
8 - voice mode (for voice calls)

at d9,123-4567
dials the number,
it returns ERROR if something goes wrong
otherwise it returns
VCON in voice mode, and
CONNECT in data mode

on a modem using a rockwell chip the commands at +vrx and at +vtx receive and send voice respectively, but I can't seem to send voice correctly (receive seems to work)

recieving dtmf codes is easy, once you have made a voice connection (and you are not in voice receive mode) any DTMF tones read will result in the modem sending the message
0x10 [ascii for the number or symbol pressed]

I still can't get the sending of voice to work, does anyone out there know how to do it?

Thanks


0

Response Number 15
Name: Asaad Shehab
Date: July 11, 2000 at 03:15:52 Pacific
Reply:

Hi All. Anyone know how to use TAPI with a voice modem to implement a meeting between 3 users. User 1 is calling from the PSTN, user 2 and 3 are LAN users running MS NetMeeting?
Any help please!


0

Response Number 16
Name: Tjipto Hendrawan
Date: July 21, 2000 at 02:30:04 Pacific
Reply:

The explanation of AT voice commands can be found at this site : www.geocities.com/SiliconValley/Pines/5004/voice-cmds.html


0

Response Number 17
Name: Marlon
Date: July 30, 2000 at 04:21:21 Pacific
Reply:

Hi,

I need some basics regarding client/server (C/S) programming through a modem. Is it different from C/S programming through LAN? How can I tell my program to answer the modem when it is called, and how to pass/receive data through a modem. Do I need to use modem API's?

I really need help. Thank you very much.


0

Response Number 18
Name: Hussain Jamri
Date: August 7, 2000 at 00:56:37 Pacific
Reply:

How to get modem detect and decode DTMF from telephone line?


0

Response Number 19
Name: Daniel
Date: August 28, 2000 at 10:10:06 Pacific
Reply:

I got no idea how to program a modem


0

Response Number 20
Name: Hooman Taherinia
Date: September 9, 2000 at 02:37:23 Pacific
Reply:

Hello everyone,

I want to build a program with
Turbo C 3, to using Modem with
COM 2, who can helps me?
I'm waiting for you, please faster :)

Hooman


0

Response Number 21
Name: karthik
Date: October 8, 2000 at 03:20:39 Pacific
Reply:

hi
i would like to control my modem using
c language i have written a program
but its not working properly
help me please
karthik


0

Response Number 22
Name: Walt Sully
Date: November 1, 2000 at 21:12:02 Pacific
Reply:


Here's a excellent site for details on
MODEM programming strings...
http://www.modems.com/glossary/extend1e.html

This simple C++ program below run under DOS on my COMPAQ Presario 1200 (Windows 98) Visual C++

//=============================================
// Dialer.cpp
// DOS COM2 PORT INTERNAL MODEM DIALER
//

#include
#include
#include

int main()
{

char c;

ofstream modem("COM2:");
printf("Resetting MODEM\n to Dial");
modem << "ATZ\n";
modem.flush();
c = getchar(); // wait for modem to finish
modem <<"ATDT7500838\n";
modem.flush();
printf(" to Hang-UP\n");
c = getchar(); // wait for modem to finish
modem <<"ATH0\n";
modem.flush();

return 0;
}


0

Response Number 23
Name: Walt Sully
Date: November 1, 2000 at 21:24:09 Pacific
Reply:

YIKES! The angle brackets (a.k.a. LT, GT) that HTML uses got chewed up on the INCLUDEs.
I changed them to quotes in the posting instead of playing with the HTML 'pre' tag.

* * * * * * * * * * * * * * * * * * *
An excellent site for details on
MODEM programming strings...
http://www.modems.com/glossary/extend1e.html

This simple C++ program below run under DOS on my COMPAQ Presario 1200 (Windows 98) Visual C++

//=============================================
// Dialer.cpp
// DOS COM2 PORT INTERNAL MODEM DIALER
//

#include "stdio.h"
#include "fstream.h"
#include "stdlib.h"

int main()
{

char c;

ofstream modem("COM2:");
printf("Resetting MODEM\n to Dial");
modem << "ATZ\n";
modem.flush();
c = getchar(); // wait for modem to finish
modem <<"ATDT7500838\n";
modem.flush();
printf(" to Hang-UP\n");
c = getchar(); // wait for modem to finish
modem <<"ATH0\n";
modem.flush();

return 0;
}


0

Response Number 24
Name: bada, Han
Date: November 16, 2000 at 02:58:31 Pacific
Reply:

Anyone can give me a winmodem(s/w modem)

program sample to me.

( Not Linux...... Only Windows... ^^ )

Please.... i can't find...

Thanks A lot! ~*^^*~


0

Response Number 25
Name: Walt Sully
Date: January 5, 2001 at 03:29:35 Pacific
Reply:

If you are using (or have access to a PC with Visual Basic (VB6) with the MSDN disk loaded with default paths taken, I'd suggest looking in:
C:\Program Files\Microsoft Visual Studio\MSDN98\98VSa\1033\SAMPLES\VB98\Dialer
for an example from those loving folk at Microsoft.

walt


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows 95/98 Forum Home


Sponsored links

Ads by Google


Results for: Modem Programming

How do Tap Telephone Pad ( modem Program www.computing.net/answers/windows-95/how-do-tap-telephone-pad-modem-program/69992.html

modem programming www.computing.net/answers/windows-95/modem-programming/73845.html

Modem Programming www.computing.net/answers/windows-95/modem-programming/122069.html