Display the name on incoming phone calls - java

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?

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.

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.

Related

How to receive incoming calls to a Twilio Number from a Web Browser?

Using Twilio for Java, I want to know the process on how to be able to make our Call Client application receive calls from an Incoming call to a Twilio Number.
Whereas each "Call Client" is a web browser.
What are the steps to achieve this?
What is required in the web browser-based application to be able to receive calls?
What is the strategy to be able to "map" a Twilio Worker into a specific browser?
Twilio developer evangelist here.
What you want here is a combination of TaskRouter and Twilio Client.
TaskRouter will take care of queuing calls and routing them to available agents. Twilio Client will let you take calls in the browser.
To understand this better, I recommend you first go through this TaskRouter tutorial, followed by the Twilio Client JavaScript quickstart and that should give you enough to put the two together and take your TaskRouter routed calls in the browser.
One further thing, if you are looking to build out some sort of contact centre where agents can take calls in the browser and hook into other services, you might want to consider Twilio Flex which can do all of this out of the box for you and then gives you the flexibility to extend the way you want to.
Let me know how you get on.

Send android data to XAMPP server Java file input and then send back to android device

I am creating an authentication system where I get some value( let us say "x") after processing the android application. I want to send the value "x" to the server where I have a java file and it needs to be run on the server end(may be using php by passing the argument as the value "x"). After running, I need the output to be sent back to the android device to display it.
Leads how to implement such short structure will help me complete the system.
You need to create a class that extends AsyncTask, and then use your php source that u would normally use for login. Here's a link that might help you out: Android, PHP authentication
Try using HTML request. I am not sure how is this implemented. Any one can comment regarding it.

Send sms from java servlet to cell phone

I want to create an application which send sms from java servlet to mobile device, it's my first time to make like this application.
I found many APIs that supports this feature, actually they confuse me, so I choose one tutorial and follow it,
here's the link of the tutorial http://www.visualgsm.com/tutorial010_send_sms_java.htm
I download VisualGSM Enterprise Server (SMS Gateway) and run it, try to make the steps as mentioned, step 3 in example 2 doesn't work.
I want to know, whether I can make real testing for sending sms? Can I receive an sms on my own cell phone??
what is the best way to send sms? I really confused :(
There's 2 ways to do this: via modem or via API service.
There are various services which provide a gateway to the carriers as a service. They are called aggregators. A few industrial grade ones are mobile messenger and ericsson other consumer grade aggregators are http://www.twilio.com/sms/.

How can i call my page using sms?

I want to develop a web application in JSP ,in which a user can sent their id using their mobile number and after that they will get their data like total amount,balance etc.
I am not getting how can i do this?
If you can provide any api name and example that will be great for me.
Thanks
You accept user phone no with some form persist it.
You map phone no with user account
Write a service which will send SMS to mobile no, after reading user data on timely basis.
Here you can check how to send sms from JAVA
To interact with a GSM Modem (such as a mobile phone), you can use SMSLib. You will have to write some sort of backend though since SMSLib is a Java library.
AFAIR using the WAP protocol automatically sends the MSISDN (phone number) included into the WAP request. This may be a starting point (get the client to execute a WAP request to your server).

What can you use to get an application to be able to receive SMS message?

Do you need to use some kind of provider?
Can you setup your own SMS server?
Does any open source solutions exist?
I am an SMS newbie so any insight on how this is accomplished would be great. I am partial to Java but any language is fine.
This is easy. Yes, you need a "sms gateway" provider. There are a lot out there. These companies provide APIs for you to send/receive SMS.
e.g. the German company Mobilant provides an easy API. If you want to receive a SMS just program a simple PHP / JSP / s.th.else dynamic web page and let Mobilant call it.
e.g.
Mobilant receives a SMS for you
Mobilant calls your web page http://yourpage.com/receive.php?message=...
You do what you need to do
You really don't want to setup your own SMS Server or Center ;-) This is really expensive, takes months to setup and costs some nice ferraris.
Use a provider and pay per SMS. It's the cheapest and fastest way.
I used kannel on a linux box with an old mobile phone connected via a serial cable to the box. Got a pre-paid card in the phone as I was using it for private use only. Worked like a charm!
You might take a look at Gammu if you're running on a Linux box:
http://www.gammu.org
Using Gammu, you can configure it to periodically poll a mobile phone for new SMS messages. When Gammu finds new messages, it can store them in an SQL database. You can then write another program to periodically poll the database and take action on new messages.
Using this general setup I successfully deployed a homemade 2-way SMS application. I configured Gammu to pull messages off of the phone over Bluetooth. Gammu placed them in a MySQL database, which I had a Tomcat web application periodically poll for new messages. When a new message was found, the system processed the message.
This is a somewhat "duct-tape and bailing wire" setup, but it worked quite well and was more reliable than many of the "professional" SMS gateways I tested beforehand. YMMV.
We've used mBlox (http://www.mblox) in the past, as they provide comprehensive international coverage, premium SMS, various levels of Quality of Service vs Price, and a solid Java-based API for both inbound and outbound SMS.
You will need an SMS gateway, googling "SMS gateway" will reveal many. I have used http://www.clickatell.com/products/sms_gateway.php with great success.
I do not know of any open source implementations, but will be monitoring this thread in case someone else does!
First, you need an SMS gateway. Take a look at Kannel SMS Gateway.
Agreed with Kannel. You can set it up on a LAMP server with a GSM modem too.
I'm not up with Java, so here's a nice guide on how to do it in Ruby on Rails: http://www.lukeredpath.co.uk/2007/8/29/sending-sms-messages-from-your-rails-application
If you want to send 'true' SMS you'll need to use an SMS gateway, (use of one is outlined in the above guide).
You can use MMS to send messages, to an email address that looks something like 1234567890# messages.whatever.com. You can use mail functions to do this. There's some information about that here: http://contentdeveloper.com/2006/06/open-source-sms-text-messaging-application/
TextMarks provides a service where they map an incoming SMS to them to an HTTP GET to a URL you provide and then send the response back as another SMS. They don't charge you if you let them add some advertising to the reply SMS. The problem is they don't provide this for free anymore for T-Mobile due to T-Mobile charging them. I'd be willing to pay per message, but they charge $0.20 per user-month, which is rather steep. Anyone know of anyone who provides this service?
You actually don't need an SMS gateway; nearly every cell phone can send/receive SMS messages to/from any email address. I built an SMS service (http://www.txtreg.net) using Nearly Free Speech's ability to forward email to a URL as a POST request. User sends a text to an email address, PHP script processes it, and sends an email right back to their phone.
Try SMS Enabler software. To receive SMS messages it uses a 3G/4G/GSM USB modem connected to a pc. It can forward incoming messages to a URL over HTTP, or store them in a database table, or write them to a CSV file, in real-time.

Categories