playSMS Forum

Custom SMS gateway

(Hamidreza Mahmoudi) #1

I want connect Playsms to external SMS Panel.
I have webservice information of this panel like this pattern.

ini_set("soap.wsdl_cache_enabled", "0");
$sms_client = new SoapClient('', array('encoding'=>'UTF-8'));

$parameters['username'] = "demo";
$parameters['password'] = "demo";
$parameters['to'] = "912...";
$parameters['from'] = "1000..";
$parameters['text'] ="تست";
$parameters['isflash'] =false;

echo $sms_client->SendSimpleSMS2($parameters)->SendSimpleSMS2Result;

How can I connect this panel to playsms
Can I connect it with generic gateway?
Thank you in advance

(Edilson Spessoto) #2

I think not. Generic gateway supports only http requests, not Soap. However, you can aways create a new gateway copying/modifying some of the current gateways

(Hamidreza Mahmoudi) #3

So I can use generic gateway if have http post or get webservice ?