Community discussions

 
jhonatanmore
just joined
Topic Author
Posts: 10
Joined: Thu Jan 04, 2018 7:54 pm

how to send sms through API php

Sun Sep 16, 2018 3:26 am

Hello everyone

I hope you can help me in this, I am new to these issues ... I want to send SMS text messages to the active users of the hotspot from the Api of Mikrotik (I already have their mobile numbers), the programming leguanje that I am using is PHP, I have a gsm modem with chip connected to my router board, and if I try to send SMS from the mikrotik terminal if I succeed, but from the API I can not make it work

please help me

Attached file from the mikrotik api that I am using
$API->comm("/tool/sms/send",array(
      			"port" => "usb1",
      			"channel" => "0",
      			"phone-number" => "$num_telef",
      			"message" => "$SMS",
      	));


I thank their answers
You do not have the required permissions to view the files attached to this post.

Who is online

Users browsing this forum: No registered users and 1 guest