I am trying to develop an application voip android drawing mainly from the famous application "CSipSimple" and in addition to sending and receiving audio and video call I'll try to draw the position of a client using ip address :the information of geo locations identified from smart phone will be forwarded to the Asterisk server then he charge to store it in its MySQL database.) and therefore access to the asterisk 's console from the device and then those informations of geolocation will be recovered at the request of a customer. Please quelque'un can help me with links or ideas to start I will be really grateful. thank you in advance
What is your blocking problem here?
-For SIP audio/video use CSipSimple.
-From Asterisk, just store the caller/called party IP with the CDR into your database.
-For GeoIP you can use your own database (these kind of tables can be downloaded from various sources) or you can use a service (there are a few xml or json based services providing these info).
-For the display you can use google map (some javascript code will be needed)
Related
I have an arduino device and i want to send the arduino sensors data to a server so i can fetch the data and store it in sqlite database and use it in my java application.
I already bought a domain name from goDaddy but I don’t know to do next, can you please help me?
You need a server, and you may be able to get one for free, but if you can't than you would need to rent a server from one of the many companies offering such service. You can get one from Amazon AWS, Google GCP, or smaller but not less reliable companies like Digital Ocean.
You need the minimum and least expensive configuration of a virtual machine which you will connect to using SSH text terminal. For instance you can get a Linux server and have your code run behind Apache webserver.
You can send data from Arduino to your server using simple GET strings over HTTP/S or utilize MQTT if you need the server to also send commands to the board.
I know that many has been ask for how to create a SMS server, but there has been been a fragmentation of knowledge because some just ask for a C# or PHP solution. My situation is different:
I need to develop 2 different services:
Receive SMS with a key work of what kind of information the client's client wants, like "FOOTBALL SCHEDULE" and the search in some data-base to send back to the sender's phone something like "12/12 NY X LA at 14:00h \n 13/12 DC X TX at 21:00h";
Client comes to my site and pays for 1000 SMS with message "Merry Christmas to you Girls!" with the possibility to enter the numbers or pick a random set in our own database according to what kind of people he/she wants to inform.
For that I can use:
Delphi or Java for Desktop/Web or Java for Android or PHP for Web;
MySQL or Firebird
A personal server or a Internet 3rd party server;
A SMS API service on the Internet or a personal phone with unlimited SMS sending pack.
So, the options are many. I can use a Android App in a Cell Phone or other kind of App in my PC connected to the Phone via USB. I can also use the Nokia NetBook that comes with a 3G slot and manage it from my App.
I have never made a program to handle any cell phone network services.
What I'd like to know from the unlimited StackOverflow users wisdom is:
Which of these options are the best to practice in the matter of available resources for SMS in these technologies?
Is there any finished community project with these arguments that I can be part of or import any piece of code/knowledge to mine?
Is there an API with these two services already available?
I am trying to avoid to contract a cellphone network provider to do that services. The cost would made it impossible. We are not intend to get a great profit, just to make these kind of services available in my region.
Thank You All!
there are plenty of web to sms gateways available worldwide.
usually they offer a http interface for incoming and outgoing sms.
so the simplest solution would be to find an affordable gateway provider and setup any kind of webserver to listen to the http request from the gateway provider on incoming messages.
this could be done in any environment you're familiar with.
for outgoing messages you would simply call an url of the gateway provider like
http://examplegateway.com/send?msisdn=23443&message=Merry+Christmas+to+you+Girls&secret=somesecrethash
this is easier than to program on the phone directly and usually cheeper, too. at least here in europe.
the contracts to the gateway providers come in as many differenty flavors as there are providers out there. with prepaid, postpaid, bulk-prices, monthly fee, pay-as-you-go you name it.
1 ) IMHO, and for my experience, the option 4 is the best, because this option allows you to have better scalability, and you separate the SMS logic, from you inner logic. Also, you don't need a person for maintain any server.
In the future, maybe you need to create another service, or another app. Using the option 4, you can reuse some code (or only the SMS API). Now you're using Android, but in the future, maybe you wanna create a Java Desktop Client, or iOS, or windows mobile, or.....
2 ) IDK :(...
3 ) IDK 2. I'm from Argentina, and we use a service only available here (Intertron)
I've set up my android program to contact the exchange server and check for a list of new emails (along with sending), but surely there is a way to access the exchange global list?
I'm not too sure how it's done at this moment, in the mean time I will be installing a traffic monitoring program to break down the request headers and see all the information which is passed, but if anyone has any insight to this, all help would be appreciated.
I have some code that queries the GAL using ActiveSync. Works on Android.
IMAP, at least in its Exchange incarnation, does not support anything but the regular messages and does not process any contacts, be that the Contacts folder in your mailbox or GAL.
Is using Outlook an option?
Can you use any mail apps that use ActiveSync to talk to Exchange (Mail App in iOS does)?
I want to send an SMS from a mobile phone which is connected to a PC. This sending process should be accessed using a browser (should be a web based application). Moreover, incoming messages should be persisted in a MySQL database. Is this possible? Any ideas may help me a lot.
Check whether there's any kind of API for the mobile. If not, get another mobile. If you post the exact product name someone may point you in the right direction.
Al other requirements are easily handled with any web application. Dive into servlet/JSP or PHP programming.
I am developing a context aware mobile application. I need to have information about the capabilities of terminal devices and network characteristics such as current bandwidth. My question is, are there APIs in android to access this information?
Thanks.
The better question is, are there APIs for these terminal devices to access the information from outside. Of course you can get the bandwidth of your phone to the provider, but to get that info of the terminal device, you need to access their data.
I would suggest a three-way request for that. At first there is a webservice, in your language of choice, e.x. PHP, which has to get access to the terminal device. That device has to publish their data somehow, so thats the first point you need to know.
Then this webservice cleans the data like you need it and publish it as xml or json or whatever.
Then your App in Android acceess the service to get the info and parse it into your app.
There are alot posts here to find out, how to get a HTTP Request Result. For parsing XML you can find something here:
http://www.ibm.com/developerworks/opensource/library/x-android/index.html
For accessing a network device with a specific port an such stuff, you can use PHP with the function fsockopen()