How to use Command Line Interface
You can invoke Agent Dialer from a command window as follows:
Where:
- - : Run predictive dialing.
- - : Run semi-automatic dialing.
- - : Post to defined URL after a call is finished. For details see below.
- - : Launch a program or script after a call is finished.
- - : Caller identifier. Used with statusurl callback.
- - : Phone number to call.
- - : Name to call.
- - : Broadcast start from chosen row number, default is 0, used with -startnow.
- - : Use maximum number of lines for the broadcast.
- - : Import a CSV file.
- - : Export to a CSV file.
- - : Confirmation and status columns are cleaned before broadcast.
- - : Keep program up after broadcast.
Use statusurl
This option is mostly used for program integration. If statusurl is defined, the program will post to the defined 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 following call information is also included as parameters:
- index: Row index in the spreadsheet.
- caller: Defined in the command line.
- calltime: Time of the call defined as seconds from Jan 1, 1970.
- callduration: Total seconds of the call.
For example, if the following call is finished:
Name | Phone | Age | Notes | Status | |
50 | John Doe | 8001234567 | 30 | confirmed | Call Made |
These parameters will be posted to the specified URL:
index=50&caller=agent1&calltime=126690280&callduration=120&Name=John+Doe& Phone=8001234567&Age=30&Notes=confirmed&Status=Call+Made
Use statusexe
This option is mostly used for program integration. This will launch a program whenever a call is finished. The parameters are the same as those used in the option for URL as defined above. The program or script will be launched as follows:
Example