How to use Command Line Interface

You can invoke Agent Dialer from a command window as follows:

adialer.exe [-startnow] [-phoneno <phone number>][-name <name>] [-statusurl <url>] [-statusexe <prog>] [-caller <caller identifier>] [-startfromrow <row number>] [-maxlines <use lines>][-import <csv file>][-export <csv file>] [-cleanstatus][-noexit] <call list file>

Where:

  • -pd: Run predictive dialing.
  • -dial: Run semi-automatic dialing.
  • -statusurl: Post to defined URL after a call is finished. For details see below.
  • -statusexe: Launch a program or script after a call is finished.
  • -caller: Caller identifier. Used with statusurl callback.
  • -phoneno: Phone number to call.
  • -name: Name to call.
  • -startfromrow: Broadcast start from chosen row number, default is 0, used with -startnow.
  • -maxlines: Use maximum number of lines for the broadcast.
  • -import: Import a CSV file.
  • -export: Export to a CSV file.
  • -cleanstatus: Confirmation and status columns are cleaned before broadcast.
  • -noexit: 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:

<prog> -Dindex=50 -Dcaller=agent1 -Dcalltime=126690280 -Dcallduration=120 -DName="John Doe" -DPhone=8001234567 -DAge=30 -DNotes="confirmed" -DStatus="Call Made"

Example

adialer.exe "C:\mygroup\list.aoc" -pd -phoneno "800 1234567" -name "John Doe"