Find out more
You can invoke BroadcastBySMS from a command window as follows: scast.exe [-startnow] [-text <message>] [-startfromrow <row index>] [-statusurl <url>] [-statusexe <prog>] [-numbers <call list>] [-import <import csv file>] [-export <export csv file>] [-cleanstatus] [-noexit] <call list file> Where: -startnow: starts a
broadcast immediately If you specify -numbers or -import, the <call list file> can be an existing file or a new file. If the file does not exist, it will be created, new numbers added or imported, and saved. Some options are to be used in separate command. For example, export option is usually executed by itself. Use statusurl This option is mostly used for program integration. If statusurl is defined, the program will post to this url whenever a call is finished. The parameters include all the values of the row. Each parameter uses the column header as the parameter name, and the cell value as the parameter value. The row index is also included in the parameters. For example, if the following call is finished:
The following parameters will be posted to the specified URL:
Use statusexe Like -statusurl, this option is mostly used for program integration. If statusexe is defined, the program will call the defined program whenever a call is finished. The parameters for the program include all the values of the row. Each parameter uses the column header as the parameter name, and the cell value as the parameter value; The format is -Dname=value. The row index is also included in the parameters. For the above example, the following parameters will be used:
Examples:
scast.exe
-startnow -text "hello world" -numbers "1234567 2223333" "C:\mygroup\list.soc" Broadcast Using Customized Message The command line interface does not provide an option for specifying Message ID that is created by Message Designer. However, you can still use customized message by first creating a call list file (.soc), selecting the message ID, and saving it to a .soc file. Then use the .soc file in the command line.
|