2-way SMS to send to distribution list | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through March 09, 2004 ⬆ |
◄ ► |
Author | Message | |||
vteo Unregistered guest |
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 |
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 |