File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Ring a phone number Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Ring a phone number" Watch "Ring a phone number" New topic
Author

Ring a phone number

Ransika deSilva
Ranch Hand

Joined: Feb 18, 2003
Posts: 524
Hello,
Is there a possible way to ring a phone number using a Java program.
Thanks.....


SCJP 1.4, SCMAD 1.0<br />SCWCD, SCBCD (in progress)
Dmitry Melnik
Ranch Hand

Joined: Dec 18, 2003
Posts: 328
...ring a phone number, then what? Establish a connection with another modem? Hang up? Say "Please, don't hang up, this is not a sales call."? Wait for a beep, and leave a message? Talk about sex for a half a day?
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
The short answer is yes, but to know how, we need to know what kind of telephony devices you have attached to the machine which will run the program. If you have a modem connected to a phone line it could be as simple as issuing an "AT" command like "ATD 1555123456" using the Java communications API ( http://java.sun.com/products/javacomm/ ).


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Ransika deSilva
Ranch Hand

Joined: Feb 18, 2003
Posts: 524
Thank you very much for the replies....
HS Thomas
Ranch Hand

Joined: May 15, 2002
Posts: 3404
More interesting would be to be able to have a telephone system that doesn't blow up when inundated with calls.
All those people disappearing into telephone infinity stuck on a loop with some old biddie going 'Hang on ... we have a waiting queue of ten years'.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Ring a phone number
 
Similar Threads
Another passing by reference question
WA #1.....word association
dont call us we'll call you
sockets and modems
Actual Answering phone messages