vxi_installation_guide:dialer:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
vxi_installation_guide:dialer:start [2015/02/23 13:56] borjavxi_installation_guide:dialer:start [2018/10/02 21:52] borja
Line 1: Line 1:
 ====== Outbound Dialer ====== ====== Outbound Dialer ======
  
-[[:vxi_installation_guide:start|Home]] >+[[vxi_installation_guide:start|Home]] >
  
  
 ===== Dialer Installation ===== ===== Dialer Installation =====
  
-Dialer is an addon for Vxi platforms to provide automatic outbound dialing over Asterisk.+Dialer is an addon for VoiceXML Browser to provide automatic outbound dialing.
  
- - The VXI license needs options **userevents=yes**+Use root to install the packages. Unzip and untar the dialer package by using the command:
  
- - The vxml.conf, general sections needs **cdroverwrite=yes**, to have correct CDR datas.+<code> 
 +# tar xvzf dialer_Vx.x_date.tar.gz 
 +</code>
  
-Purge and create a campaign named "campaign"+Go to the directory of the dialer and then, type the following command.
-    >dialer -c campaign -a drop +
-    >dialer -c campaign -a create +
-    >dialer -c campaign -a file /tmp/list.txt +
-    >dialer -c campaign -a insert -phone 12345678 +
-    >dialer -c campaign -a insert -phone 12345678 param+
  
-Start  in background : +<code
-    >dialer --start +# cd dialer_Vx.x_date 
-     +# ./install.sh 
-Start do not fork, stop on last call : +</code>
-    >dialer+
  
-Stop all dialer (killall)  : 
-    >dialer --stop 
  
-Get log +===== Dialer configuration ===== 
-    >dialer -a fulldump -c campaign+ 
 +It uses the Asterisk Manager Interface. 
 + 
 +To enable the dialer to connect to the Asterisk you need to setup the interface. 
 +You can create a "Dialer" account to connect the Dialer application. 
 +Edit /etc/asterisk/manager.conf and set 
 + 
 +<code> 
 +... 
 +[general] 
 +enabled = yes 
 +port = 5038 
 +bindaddr = 0.0.0.0 
 +... 
 + 
 +... 
 +[dialer
 +secret = 1234 
 +;deny=0.0.0.0/0.0.0.0 
 +;permit=209.16.236.73/255.255.255.0 
 +read = system,call,user,originate 
 +write = system,call,user,originate 
 +... 
 +</code>
  
-Get statistics : 
-    >dialer -a statistics -c campaign  
  
-     
 ===== Dialer application ===== ===== Dialer application =====
  
Line 48: Line 62:
 |–stop |Unconditionally stop the dialer. | |–stop |Unconditionally stop the dialer. |
 |–start |Run as a daemon. | |–start |Run as a daemon. |
-|–action |Execute a command. |+|–action |Execute one if this commands: | 
 +|createdatabase |Create the database. | 
 +| dropdatabase |Drop the database. | 
 +| create |Create the campaign table. | 
 +| drop |Drop the campaign table. | 
 +| truncate |Remove all the phones. | 
 +| file |Use the text file to fill the campaign. | 
 +| insert |Insert phone in the campaign. | 
 +| delete |Delete a phone in the campaign. | 
 +| count |Phones in the campaign. | 
 +| dump |Dump the campaign in csv. | 
 +| fulldump |Dump the campaign in csv with header. | 
 +| statitics |Statistics of the campaign. |
 |–campaign |Name of the campaign for the command. | |–campaign |Name of the campaign for the command. |
 |–paramater |Parameter for the command. | |–paramater |Parameter for the command. |
-|createdatabase |Create the database. | +
-|dropdatabase |Drop the database. | +
-|create |Create the campaign table. | +
-|drop |Drop the campaign table. | +
-|truncate |Remove all the phones. | +
-|file |Use the text file to fill the campaign. | +
-|insert |Insert a phone in the campaign. | +
-|delete |Delete a phone in the campaign. | +
-|count |Phones in the campaign. | +
-|dump |Dump the campaign in csv. | +
-|fulldump |Dump the campaign in csv with header. | +
-|statitics |Statistics of the campaign. |+
  
 NOTE: Dialer is an application located at this directory: NOTE: Dialer is an application located at this directory:
Line 69: Line 84:
 /opt/dialer/ /opt/dialer/
 </code> </code>
 +
 +===== Dialer commands =====
 +
 +Purge and create a campaign named "campaign" :
 +    >dialer -c campaign -a drop
 +    >dialer -c campaign -a create
 +    >dialer -c campaign -a file /tmp/list.txt
 +    >dialer -c campaign -a insert -phone 12345678
 +    >dialer -c campaign -a insert -phone 12345678 param
 +
 +Start  in background :
 +    >dialer --start
 +    
 +Start do not fork, stop on last call :
 +    >dialer
 +
 +Stop all dialer (killall)  :
 +    >dialer --stop
 +
 +Get log :
 +    >dialer -a fulldump -c campaign
 +
 +Get statistics :
 +    >dialer -a statistics -c campaign 
 +
  
 ===== Call Return Codes ===== ===== Call Return Codes =====
Line 192: Line 232:
 </code> </code>
  
-===== Installation =====+===== Dialer Web interface =====
  
-==== Install from package ==== +Access to Dialer Web Control Panel at:
- +
-Use root to install the packages. Unzip the video package by using the command:+
  
 <code> <code>
-tar xvfz dialer_V0-0_2008-08-18_i386.tar.gz+http://yourserver/dialer/
 </code> </code>
- 
-Go to the directory of the video and type the following command: 
- 
-<code> 
-cd dialer_V0-0_2008-08-18 
-./install.sh 
-</code> 
- 
-==== Check Asterisk Setup ==== 
- 
-Stop and Restart Asterisk on your server using the commands: 
- 
-<code> 
-/etc/init.d/asterisk stop 
-/etc/init.d/asterisk start 
-asterisk -r 
-</code> 
- 
-To see the currently installed version of asterisk: 
- 
-<code> 
-CLI*> show version 
-</code> 
- 
-Access to Dialer at: 
- 
-<code> 
-/opt/dialer/ 
-</code> 
- 
-Access to Dialer Control Panel at: 
- 
-<code> 
-http://xxxxxxxx.i6net.org/dialer/ 
-</code> 
- 
-\\ 
  
  • vxi_installation_guide/dialer/start.txt
  • Last modified: 2018/10/02 22:00
  • by javier