Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 11 of 11

Thread: useing the comp's phone jack

  1. #1
    Member wolfgar's Avatar
    Join Date
    Oct 2009
    Location
    the middle of the woods
    Posts
    89
    Thanks
    3
    Thanked 1 Time in 1 Post

    Default useing the comp's phone jack

    i figured while i have no leads on some things i'll bring up an idea i've wanted to try a while back .

    i was wondering if theirs a way to send sound over the phone line from a computer , obviously its possible XD , but what would i need to be able to

    note : i'm not looking to connect 2 computers . its more to make a program to be able to call a normal phone from my comp , w/o using a voip . sounds easy huh ( doubts it will be )
    Programming: the art that fights back


  2. #2
    Junior Member
    Join Date
    Sep 2009
    Location
    Mount Morgan, Queensland, Australia
    Posts
    12
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Default Re: useing the comp's phone jack

    just use a voice/fax modem, a phone program and a microphone. this is how it was done long before voip came about. plug your phone line into the In port of the modem and you're done.

  3. #3
    Member wolfgar's Avatar
    Join Date
    Oct 2009
    Location
    the middle of the woods
    Posts
    89
    Thanks
    3
    Thanked 1 Time in 1 Post

    Default Re: useing the comp's phone jack

    i was hoping for a software approach since i cant really get any hardware ( broke / in debt big time >.< )
    Programming: the art that fights back

  4. #4
    Super Moderator helloworld922's Avatar
    Join Date
    Jun 2009
    Posts
    2,896
    Thanks
    23
    Thanked 619 Times in 561 Posts
    Blog Entries
    18

    Default Re: useing the comp's phone jack

    There's Skype. I believe comp-comp communications are free. Also you can try Windows Messenger. It has a feature that'll allow you to communicate via the internet for free. Both programs require internet connection, the software, and some sort of microphone/webcam, and speakers (webcam's only needed if you want to have video connection too).

  5. #5
    Member wolfgar's Avatar
    Join Date
    Oct 2009
    Location
    the middle of the woods
    Posts
    89
    Thanks
    3
    Thanked 1 Time in 1 Post

    Default Re: useing the comp's phone jack

    >.< thats almost word for word the same answer i got the first time i ever asked , and it was on a dif forum about a year ago XP

    i dont want to be online at the time ( aka no voip )
    and would really like to make it my self ( for exp and the fun of it )
    Programming: the art that fights back

  6. #6
    Super Moderator helloworld922's Avatar
    Join Date
    Jun 2009
    Posts
    2,896
    Thanks
    23
    Thanked 619 Times in 561 Posts
    Blog Entries
    18

    Default Re: useing the comp's phone jack

    There's such programs called "software modems". I don't know how they work, but I doubt you'd be able to do it in pure Java. You can "place" a phone call by sending different signals to the phone jack (technically, if you're good enough you can "place" a phone call by making noises into the recording mouth piece, I don't know if they changed that now, but it should still work because the design of phone jacks haven't really changed). This is completely dependent on your computer having a valid phone jack (NOT Ethernet jack), as well as you finding the correct signals to send (shouldn't be too hard, just need to record some beeps and boops from a real phone).

  7. #7
    Member wolfgar's Avatar
    Join Date
    Oct 2009
    Location
    the middle of the woods
    Posts
    89
    Thanks
    3
    Thanked 1 Time in 1 Post

    Default Re: useing the comp's phone jack

    the signals are easy , if i'm right all i'd need is the sound api and to know the frequency of the tones ( witch can be looked up ).
    the problem is how to send those signals to the phone jack ( yes my comp has a normal phone jack , w/o it i wouldn't be online right now ) know of any obscure api's that may have what i'm looking for ?
    Programming: the art that fights back

  8. #8
    Super Moderator Json's Avatar
    Join Date
    Jul 2009
    Location
    Warrington, United Kingdom
    Posts
    1,274
    My Mood
    Happy
    Thanks
    70
    Thanked 156 Times in 152 Posts

    Default Re: useing the comp's phone jack

    I used to work with sending FAX and voice messages from a server environment but we used proper hardware in our servers which could open up over 500 simultaneous connections. These cards were about 3000 each though.

    You could always build your self a serial port to phone line cable and try and use the Java Communications API

    Oh the joy!

    // Json

  9. #9
    Member wolfgar's Avatar
    Join Date
    Oct 2009
    Location
    the middle of the woods
    Posts
    89
    Thanks
    3
    Thanked 1 Time in 1 Post

    Default Re: useing the comp's phone jack

    that just might work ,can u control what pin gets what data sent and read from with that?
    Programming: the art that fights back

  10. #10
    Super Moderator Json's Avatar
    Join Date
    Jul 2009
    Location
    Warrington, United Kingdom
    Posts
    1,274
    My Mood
    Happy
    Thanks
    70
    Thanked 156 Times in 152 Posts

    Default Re: useing the comp's phone jack

    I'm not sure to be honest. This might be hard to do without having some sort of native layer in between.

    // Json

  11. #11
    Member wolfgar's Avatar
    Join Date
    Oct 2009
    Location
    the middle of the woods
    Posts
    89
    Thanks
    3
    Thanked 1 Time in 1 Post

    Default Re: useing the comp's phone jack

    actually i just found a solution already in windows.
    location = C:\WINDOWS\system32\dllcache\dialer.exe
    and it works even =D , thanks for the help though
    Programming: the art that fights back

Similar Threads

  1. How to create a database in my cell phone?
    By Viggopiano in forum Java ME (Mobile Edition)
    Replies: 2
    Last Post: July 12th, 2010, 07:26 AM
  2. Serail Port Programming regarding phone line hook
    By maskey_dipesh in forum Java SE APIs
    Replies: 2
    Last Post: September 4th, 2009, 05:12 AM
  3. [SOLVED] how to get phone time and date
    By mahdi in forum Java ME (Mobile Edition)
    Replies: 2
    Last Post: August 26th, 2009, 11:15 AM
  4. hey - Mobile phone drinking game
    By pazzy in forum Java ME (Mobile Edition)
    Replies: 9
    Last Post: August 4th, 2009, 09:41 AM
  5. [SOLVED] How to start writing java mobile application?
    By Kok in forum Java ME (Mobile Edition)
    Replies: 15
    Last Post: July 30th, 2009, 01:52 AM