I have a Java application (using Swing) that must display the details of the customer when a call is received.
- Is it possible to pass the phone number from a softphone (SIP) to my Java Swing application so that it can display the details?
- IS there any other way or program to do this?
You have many options:
Use Tropo.com to send a callback http request during incoming calls. Use a PBX such as FusionPBX that can lookup names from numbers on-the-fly and insert it into the SIP message before it's sent to your phone. If your phone supports syslog, you could tap into the information that way, too.
For this you need to use Linphone SDK with your java application. You probably need to show the softphone from your java application or receive call in your application using SDK of linphone.