Community discussions

MikroTik App
 
User avatar
ashish
Long time Member
Long time Member
Topic Author
Posts: 546
Joined: Mon Feb 12, 2007 5:50 am
Location: Virginia, USA.

SMS to Numbers

Sat Jul 12, 2008 1:54 pm

Hi,
This is working fine
/tool sms send serial0 "9909890908" message="Hello Room"

Any idea, if i want to send the message to TWO Numbers at a time.

Best Idea, I am Using Netwatch tool to monitor the whole network. But want to send message to morethan one persons who are responsible.

Example.
For Wireless Link, If get Disturb, The GSM Modem send message to the main Person as well as to the co-person.

ANY idea.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: SMS to Numbers

Sun Jul 13, 2008 1:27 am

just use this command twice:

/tool sms send serial0 "9909890908" message="Hello Room"
/tool sms send serial0 "9909890909" message="Hello!"
 
User avatar
ashish
Long time Member
Long time Member
Topic Author
Posts: 546
Joined: Mon Feb 12, 2007 5:50 am
Location: Virginia, USA.

Re: SMS to Numbers

Sun Jul 13, 2008 2:36 pm

Thats the Easy Way, But i want Single command with more than one number.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: SMS to Numbers

Sun Jul 13, 2008 3:34 pm

that has no sense - anyway it will be 2 sms messages. what if one failed?
 
ekkas
Long time Member
Long time Member
Posts: 567
Joined: Mon Sep 26, 2005 1:01 pm
Location: South Africa

Re: SMS to Numbers

Mon Jul 14, 2008 3:52 am

Do you perhaps know how to send sms via http API like so:
http://www.smswebsite.guess/sms/api/sen ... sage=Hello

I need to just post this command to Internet to send it.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: SMS to Numbers

Mon Jul 14, 2008 10:23 am

ekkas
try using /tool fetch
 
ekkas
Long time Member
Long time Member
Posts: 567
Joined: Mon Sep 26, 2005 1:01 pm
Location: South Africa

Re: SMS to Numbers

Mon Jul 14, 2008 11:08 am

Thanks for the reply, but how would one format a command like this?
/tool fetch host='http://www.....
does not work.
Ekkas
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: SMS to Numbers

Mon Jul 14, 2008 11:11 am

does it need GET or POST method?
 
ekkas
Long time Member
Long time Member
Posts: 567
Joined: Mon Sep 26, 2005 1:01 pm
Location: South Africa

Re: SMS to Numbers

Mon Jul 14, 2008 11:31 am

I don't know, I do not need to 'GET' anything back, I just 'POST' the command, if that is what you mean. I'm new at working with http...
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: SMS to Numbers

Mon Jul 14, 2008 11:58 am

if you transfer your data via URL - so 'GET' HTTP method is enough. post your full command you try to use
 
ekkas
Long time Member
Long time Member
Posts: 567
Joined: Mon Sep 26, 2005 1:01 pm
Location: South Africa

Re: SMS to Numbers

Mon Jul 14, 2008 1:54 pm

 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: SMS to Numbers

Tue Jul 15, 2008 11:54 am

when you click such link in a browser - does it work?
 
ekkas
Long time Member
Long time Member
Posts: 567
Joined: Mon Sep 26, 2005 1:01 pm
Location: South Africa

Re: SMS to Numbers

Tue Jul 15, 2008 4:01 pm

Yes, that is not the correct link, but something like that. It then sends an sms to the number in the URL with the message in URL & give a simple html response, something like "4203: Success" but I do not need that.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: SMS to Numbers

Wed Jul 16, 2008 11:11 am

and what about

/tool fetch address=www.sms.co path=/sms/api/sendsms.asp?username=test&password=12345&from=27821231234&to=27821231235&message=Hello

doesn't this work?

Who is online

Users browsing this forum: Bing [Bot], dervomsee, Google [Bot], jaclaz, rextended and 123 guests