There is no special configuration required when you want to use Diafaan SMS Server with multiple GSM modems. The easiest way to use multiple GSM modems on one computer is to use a multi-port GSM modem pool or a full fledged GSM modem gateway. It is also possible to use multiple separate GSM modems but this is not always reliable, specially USB modems sometimes don't work when you try to connect multiple modems to one PC.
There are a number of ways to make an HTTP call to Diafaan SMS Server from PHP, the next example uses the file_get function to send the HTTP GET request to Diafaan SMS Server and retrieve the answer:
$result = send_sms('+100000000', 'This is the message');
function send_sms($to, $message)
$uriBase = 'http://127.0.0.1:9710/http/send-message/';
$username = 'admin';
$password = 'pass';
$uri = $uriBase
1. I want to configure a gateway with multiple modems, any assistance on extra hardware required and how configuration is done?
2. Can you hare complete sample php script for http gateway integration.
Most Users Ever Online: 494
Currently Browsing this Page:
Guest Posters: 515
Newest Members:, Henk Helmantel
Administrators: Henk Helmantel: 985