2-way SMS to send to distribution list

2-way SMS to send to distribution list SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through March 09, 2004 » 2-way SMS to send to distribution list « Previous || Next »
Author Message
vteo
Unregistered guest
Posted on Thursday, December 11, 2003 - 08:21 am:   

Hello.

I am trying to send a sms with the text "agents How do you do" so that the message "How do you do" will be sent to the distribution list agents. What shall I do to have this working?

Thanks,
Vernon
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 1372
Registered: 10-2002
Posted on Friday, December 12, 2003 - 04:46 pm:   

Hi Vernon,

Here's my quick hack approach for doing this.

Define a 2-way command with "agents" as the "SMS command prefix".

For the "Command to Execute", use "http://127.0.0.1:8800/?PhoneNumber=agents&text=@@SMS@@".

This assumes that the "Port Number for web interface" on the "Web" page of the NowSMS configuration dialog is set to "8800". If it is not, change the ":8800" in the above URL to the port specified on this page.

It also assumes that "IP Address for web interface" on the "Web" page of the NowSMS configuration dialog is set to "(all available)". If it is not, then you need to change "127.0.0.1" to match the configured address.

Finally, this also assumes that "Require authentication for web interface" is not checked. If it is, then change the URL to "http://username:password@127.0.0.1:8800/?PhoneNumber=agents&text=@@SMS@@", where "username" and "password" match an account defined on the "SMS Users" page of the configuration dialog.

Note that while this approach is quick and easy ... anyone is allowed to send a message in with the "agents" keyword to perform a broadcast. So you may want to exercise a little caution there.

If you wanted to restrict it so that only certain phone numbers could send in a message to be broadcast, then you'd have to write your own script, which would be a little more difficult.

-bn

Login Login / Register Logout Logout Search Last 30 Days Topics Topics