File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Sockets and Internet Protocols and the fly likes  Using VOIP for PC to PC communication on Linux platform 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 » Sockets and Internet Protocols
Bookmark " Using VOIP for PC to PC communication on Linux platform" Watch " Using VOIP for PC to PC communication on Linux platform" New topic
Author

Using VOIP for PC to PC communication on Linux platform

Abhishek Shirodkar
Greenhorn

Joined: May 08, 2009
Posts: 26
Hello All,
I am writing a program to implement a "caller" and a "listener" program
in java using VOIP on the UNIX/LINUX platform. These programs will help
in communicating between a PC and Mobile Phone and vice versa over VOIP.
The Caller java program- makes a call to a particuar number. and Listener java program accepts incomming calls.
I have been refering to this URL: http://java.sun.com/docs/books/tutorial/networking/index.html
Can anyone help me out with any reference material if you have as i
do not know where to begin the coding and with what. Do have to also
deal with Socket Programing in this?

Can you tell me what will i need for this and how do i proceed?

Thanks in advance.
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8836
    
    7

Is there anything particular you need help with? Your program is non-trivial and can be implemented many ways. We're shooting in the dark without more specifics.
You can start by searching the forum for "voice chat". I've seen a few topics on that subject.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Abhishek Shirodkar
Greenhorn

Joined: May 08, 2009
Posts: 26
Hi,
Earlier i was not sure where to start with, now i have found an open source that i can use to for a simlpe caller and a receiver program. now i need to implement this build it and execute. i need to make a call to a mobile phone from the computer (eg: On my LINUX terminal i should be typin myProgramName.jar +12345678945 )

Here i am not sure what information i should put in the SipURI. do i need to register with some service provider for a SIP account? If i am using a free SIP phone that will make my VOIP calling... what is the information i would need to know. Like what parameters i need so as to communicate from my java program to the VOIP phone. There onwards once the connection is established to the VOIP client phone, it will do the transfering of the call from over the network to the destination mobile phone.

I do not require a "voice chat" as you had mentioned in your reply. Using VOIP, I just need to
1) BEEP/RING a mobile phone from my computer (This is my Caller program) and
2) To receive an incoming call on the computer from a mobile phone, that includes noting down the incoming phone number and making the calling mobile phone listen to a short audio file. (This is my Receiver Program)

I am using LINUX OS

Also, if you have access to any open source code, can you pass it on so that i can take some idea from that.

Thanks in advance.
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8836
    
    7

Did you intend to link to some code? The underlined text above is not a URL.
 
jQuery in Action, 2nd edition
 
subject: Using VOIP for PC to PC communication on Linux platform
 
Similar Threads
VoIP and JTAPI
Dialing to a phone from java
Passed SCJP 6 with 90%
VoIP and JTAPI
VoIP - Java