Appendix F

Batch dialer installation

Technical requirements. The batch dialer requires an Asterisk 1.6 server. The CallWeb server needs to be able to connect to the MySQL server on the Asterisk machine.

Operations. Batch dialing is requested in BASEprojets by specifying the number of telephone numbers to dial in a batch (setting the batch size to 1 deactivates the batch dialer). When the interviewer requests the next case, that many calls are issued. Non-human contacts are identified and stored in the call historically automatically. Human calls are passed on to the interiewer. If more than one human contact are identified in a batch, the excessive ones are dropped and entered an "extra" result is stored in the call history.

Installation

  • On the Asterisk server:
    1. create the "cw" MySQL data base;
      CREATE DATABASE IF NOT EXISTS cw;
    2. create the "cwdial" table in the cw data base on the Asterisk server
      CREATE TABLE IF NOT EXISTS cw.cwdial
          (
          insert_date char(14) NOT NULL,
          insert_epoch char(14) NOT NULL,
          client char(64) NOT NULL,
          projet char(64) NOT NULL,
          lot char(64) NOT NULL,
          _telkey char(64) NOT NULL,
          _telephone char(32) NOT NULL,
          interviewer char(64) NOT NULL,
          n_dans_lot int(10) unsigned NOT NULL,
          resultat char(32) NOT NULL,
          KEY client (client),
          KEY lot (lot),
          KEY _telkey (_telkey)
          );
    3. place a new copy of cwAST.pl in /usr/bin
    4. place the cadenceur.conf Asterisk context file in /etc/asterisk
    5. integrate this context file in the dial plan, in extensions_custom.conf
      #include "cadenceur.conf"
    6. restart Asterisk
      asterisk -rx "dialplan reload"
  • On the CallWeb server:
    1. update CallWeb to the most recent version using cwupdate.cgi
    2. compile the version of BASEprojets which contains an open-end portion to question SIGNALEUR (Does the project use the auto-dialler? (# calls))
    3. place cwdial.pl in the utilities directory of the CallWeb instance
    4. add a cron entry to start cwdial.pl every minute (it will die immediately if it is already running); the CLIENT is found in the usager.conf file
      cd /var/www/instance && perl cwdial.pl CLIENT

Appendix F

Batch dialer installation

Technical requirements. The batch dialer requires an Asterisk 1.6 server. The CallWeb server needs to be able to connect to the MySQL server on the Asterisk machine.

Operations. Batch dialing is requested in BASEprojets by specifying the number of telephone numbers to dial in a batch (setting the batch size to 1 deactivates the batch dialer). When the interviewer requests the next case, that many calls are issued. Non-human contacts are identified and stored in the call historically automatically. Human calls are passed on to the interiewer. If more than one human contact are identified in a batch, the excessive ones are dropped and entered an "extra" result is stored in the call history.

Installation

  • On the Asterisk server:
    1. create the "cw" MySQL data base;
      CREATE DATABASE IF NOT EXISTS cw;
    2. create the "cwdial" table in the cw data base on the Asterisk server
      CREATE TABLE IF NOT EXISTS cw.cwdial
          (
          insert_date char(14) NOT NULL,
          insert_epoch char(14) NOT NULL,
          client char(64) NOT NULL,
          projet char(64) NOT NULL,
          lot char(64) NOT NULL,
          _telkey char(64) NOT NULL,
          _telephone char(32) NOT NULL,
          interviewer char(64) NOT NULL,
          n_dans_lot int(10) unsigned NOT NULL,
          resultat char(32) NOT NULL,
          KEY client (client),
          KEY lot (lot),
          KEY _telkey (_telkey)
          );
    3. place a new copy of cwAST.pl in /usr/bin
    4. place the cadenceur.conf Asterisk context file in /etc/asterisk
    5. integrate this context file in the dial plan, in extensions_custom.conf
      #include "cadenceur.conf"
    6. restart Asterisk
      asterisk -rx "dialplan reload"
  • On the CallWeb server:
    1. update CallWeb to the most recent version using cwupdate.cgi
    2. compile the version of BASEprojets which contains an open-end portion to question SIGNALEUR (Does the project use the auto-dialler? (# calls))
    3. place cwdial.pl in the utilities directory of the CallWeb instance
    4. add a cron entry to start cwdial.pl every minute (it will die immediately if it is already running); the CLIENT is found in the usager.conf file
      cd /var/www/instance && perl cwdial.pl CLIENT