Jump to content

Integrate SIM Card with server and send SMS via web interface (PHP)


watsmyname

Recommended Posts

Use an online service it is much more reliable and they have API's already setup to integrate into your application, here is an example of one that I use http://www.160.com.au/developer-sms-api

 

The other way, not really recommended, is to put your sim card into a mobile phone and connect it to your server via usb or serial, you can then send messages from the system through the phone, but you would need to ensure the phone is always charged and working, you could also use a GSM mobile usb device and integrate with that or buy a commercial type product like this depending on your needs http://www.alibaba.com/product-gs/350980106/16_SIMs_GSM_GPRS_modem_pool.html

 

But I would use the online service as it is quick and easy and you could be sending messages in minutes.

well, thanks for the reply

 

but i have to use my sim card in the server. I cant use third party apis. I need to do more than sending SMS. for example i need to use balance transfer feature of prepaid mobile service.

The online service you just buy credits in blocks, the API includes balance check options, auto or manual top up and many other features like sending an SMS with a different reply number or the SMS can come from a business name with no option for reply.

 

But if you feel you really have to use your own sim card then you would need to use either the mobile phone connected via usb or serial, or a GSM or GPRS modem connected via USB or a PCI GSM sim card device like this one http://www.alibaba.com/product-gs/268116255/PCI_GPRS_MODEM.html

 

 

Thanks again,

 

OKay thats cool i have questions.

 

1. I have attached my phone to my computer via USB cable. Can i use these code in my localhost machine?

2. I have to access specific service of the phone by dialing specific codes like *411#, etc can it be done via gammu tool+ these scripts??

 

thanks

 

1. Yes providing you are running a php mysql apache server and installed the correct version of gammu

2. Please see the following site for the documentation http://wammu.eu, as I would have to study it myself for your answer, I would believe this is possible.

thanks for the help.

 

I just went through documentation and options available for gammu[v 1.30]. I dont see the thing i need.

 

1. Like i want user to able to access sim service codes via dialing special codes like *411#, and interpret the response sent by the mobile service provider.

 

many thanks again

watsmyname

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.