Modem programming helppp amateur!!

This is a discussion on Modem programming helppp amateur!! within the C Programming forums, part of the General Programming Boards category; I'm pretty new to MR.C. I'm a java person jump'n to C, to see if C can help me do ...

  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    25

    Exclamation Modem programming helppp amateur!!

    I'm pretty new to MR.C. I'm a java person jump'n to C, to see if C can help me do this, since Java lately abandoned me. Actually i wanna build a Voice response server and there are no Audio processing API available in Java. But i learnt that C is the first to implement modem programming Algorithm. Ok this wat actually i'm look'n for......

    I have a PC connected to a modem. I receive a call
    from outside line. I want an application to run on a
    PC which will detect that it has got a call and
    respond with some automatic message say "Welcome to my
    computer". I want the application to wait for some
    input from the person calling u. say for example if he
    presses one It has to say some message. if the caller
    presses "2" on his telephone, my application has to
    say a different message. can this be accomplished.

    Experts and Seniors render me a helping hand wif ur valuable insights and thanx a lot 4 ur precious time and ideas.
    Java ROCKZZZZ....
    java.sun.com

    Write once, run everywhere!!!!!

  2. #2
    Banned Troll_King's Avatar
    Join Date
    Oct 2001
    Posts
    1,784
    The first thing that someone here will want to know is what operating system you are using. You will either likely have to use a Win32 API or else write a device driver.

  3. #3
    Registered User
    Join Date
    Oct 2001
    Posts
    25

    quick response!!!!!!!!!!!**!!

    Thatz a pretty quick response, great forum is this. Well, i basically use Unix for java...now switching to windows for the sake of C.

    Glad wif ur response..but did exactly get wat u r trying to tell me. I'm sorry!!
    Java ROCKZZZZ....
    java.sun.com

    Write once, run everywhere!!!!!

  4. #4
    Banned Troll_King's Avatar
    Join Date
    Oct 2001
    Posts
    1,784
    I have not wrote a program like this but here are my guesses. In *nix you can call functions to control processes, signals, etc. In the windows world this is all done through Win32. Also there are functions in MFC and ATL, DirectX, etc, that basically are wrappers to Win32. The actual Win32 API is the system API and it is very large. It is written in C.

    In addition to this I'd guess that your modem may or may not have a device driver. If so than there must be a book or something with instructions regarding what function calls can be made to communicate with it. If you know this than you can write the C program. Otherwise perhaps Win32 has calls that communicate with the modem.

    Do you know how to impliment this program from the command shell? If you can do that than I can tell you how to use the system(); function. Basically when using Microsoft Visual C++6 you can use the system function to implement the command shell. Anything you can do in the command shell you can do with the system call.

    What operating system specifically are you using? A professional system or a home system? Win2k or Win9x/ME? And what compiler are you using. The Windows industry standard is currently MSVC++6

    This question might get a better response on the Windows Programming Board of this website. The C Board is not typically great for API questions, it is better for Win32 console questions.

  5. #5
    Registered User
    Join Date
    Oct 2001
    Posts
    25

    Smile

    Uzi'n Win 2000 @ work place, ttz so kind of u. Thanx for ur suggestions!! Seems like i hafta do a wide research to understand C library APIz. I'll get back wif better narrowed down qnz. Shall try on the win progz forum too.
    Java ROCKZZZZ....
    java.sun.com

    Write once, run everywhere!!!!!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. PCI modem needs help
    By Jaguar in forum Tech Board
    Replies: 3
    Last Post: 09-26-2003, 02:01 AM
  2. Cable modem
    By ZakkWylde969 in forum Tech Board
    Replies: 15
    Last Post: 09-19-2003, 01:07 PM
  3. serial port, modem not responding pls help...
    By Unregistered in forum C++ Programming
    Replies: 0
    Last Post: 07-08-2002, 06:08 AM
  4. XP with modem problems
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 10
    Last Post: 06-04-2002, 05:40 PM
  5. Modem programming helppp amateur!!
    By Siagal in forum Windows Programming
    Replies: 4
    Last Post: 10-12-2001, 04:02 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21