Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| vxi_installation_guide:dialer:start [2015/02/23 13:54] – created borja | vxi_installation_guide:dialer:start [2018/10/02 22:00] (current) – [Dialer configuration] javier | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Outbound Dialer ====== | ====== Outbound Dialer ====== | ||
| - | ===== Synopsis ===== | + | [[vxi_installation_guide: |
| - | Dialer is an addon for Vxi platforms to provide automatic outbound dialing over Asterisk. | ||
| - | ===== VXI prerequisites | + | ===== Dialer Installation |
| - | - The VXI license needs options **userevents=yes** | + | Dialer is an addon for VoiceXML Browser to provide automatic outbound dialing. |
| - | - The vxml.conf, general sections needs **cdroverwrite=yes**, | + | Use root to install the packages. Unzip and untar the dialer package by using the command: |
| - | ===== Web Interface command calls ===== | + | < |
| + | # tar xvzf dialer_Vx.x_date.tar.gz | ||
| + | </ | ||
| - | Purge and create a campaign named " | + | Go to the directory of the dialer |
| - | >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> |
| - | | + | # cd dialer_Vx.x_date |
| - | + | # ./ | |
| - | 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 | + | |
| - | Get statistics : | + | It uses the Asterisk Manager Interface. |
| - | >dialer | + | It uses the Asterisk Manager Interface. Voximal will work from scratch with dialer, older versions named VXI* will needs option **userevents=yes** in [license] section. |
| + | |||
| + | To enable the dialer to connect to the Asterisk you need to setup the interface. | ||
| + | You can create | ||
| + | Edit / | ||
| - | | + | < |
| - | ===== Description | + | ... |
| + | [general] | ||
| + | enabled = yes | ||
| + | port = 5038 | ||
| + | bindaddr = 0.0.0.0 | ||
| + | ... | ||
| + | |||
| + | ... | ||
| + | [dialer] | ||
| + | secret = 1234 | ||
| + | ; | ||
| + | ; | ||
| + | read = system, | ||
| + | write = system, | ||
| + | ... | ||
| + | </ | ||
| + | |||
| + | |||
| + | ===== Dialer application | ||
| < | < | ||
| Line 49: | Line 63: | ||
| |–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 |
| + | |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 | ||
| + | | 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 70: | Line 85: | ||
| / | / | ||
| </ | </ | ||
| + | |||
| + | ===== Dialer commands ===== | ||
| + | |||
| + | Purge and create a campaign named " | ||
| + | >dialer -c campaign -a drop | ||
| + | >dialer -c campaign -a create | ||
| + | >dialer -c campaign -a file / | ||
| + | >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 193: | Line 233: | ||
| </ | </ | ||
| - | ===== Installation | + | ===== Dialer Web interface |
| - | ==== Install from package ==== | + | Access |
| - | + | ||
| - | Use root to install the packages. Unzip the video package by using the command: | + | |
| < | < | ||
| - | tar xvfz dialer_V0-0_2008-08-18_i386.tar.gz | + | http:// |
| </ | </ | ||
| - | |||
| - | Go to the directory of the video and type the following command: | ||
| - | |||
| - | < | ||
| - | cd dialer_V0-0_2008-08-18 | ||
| - | ./ | ||
| - | </ | ||
| - | |||
| - | ==== Check Asterisk Setup ==== | ||
| - | |||
| - | Stop and Restart Asterisk on your server using the commands: | ||
| - | |||
| - | < | ||
| - | / | ||
| - | / | ||
| - | asterisk -r | ||
| - | </ | ||
| - | |||
| - | To see the currently installed version of asterisk: | ||
| - | |||
| - | < | ||
| - | CLI*> show version | ||
| - | </ | ||
| - | |||
| - | Access to Dialer at: | ||
| - | |||
| - | < | ||
| - | / | ||
| - | </ | ||
| - | |||
| - | Access to Dialer Control Panel at: | ||
| - | |||
| - | < | ||
| - | http:// | ||
| - | </ | ||
| - | |||
| - | \\ | ||