http://www.vicidial.org/VICIDIALforum/viewtopic.php?f=2&t=11123
by mflorell » Mon Apr 19, 2010 7:44 pm
http://www.vicidial.org/VICIDIALforum/viewtopic.php?f=2&t=11123
by mflorell » Fri Sep 18, 2015 8:40 am
https://docs.vicibox.com/en/latest/introduction/hardware/dimensioning.html
Run these commands on your Web server:
sudo zypper install apache2
sudo systemctl enable apache2
sudo systemctl start apache2
vicibox-sslIf you’re using a ViciBox installation, you can auto-generate and install a cert with:
sudo vicibox-ssl
If you've already obtained the SSL certs using acme.sh, your cert and key files will be located here:
/root/.acme.sh/ambiorixg12-dialer.ddns.net/
Key files used:
ambiorixg12-dialer.ddns.net.cer → Certificate
ambiorixg12-dialer.ddns.net.key → Private Key
Apache will use these directly in the next step.
Create a new virtual host config file:
sudo nano /etc/apache2/vhosts.d/ambiorixg12-dialer.conf
<VirtualHost *:443>
ServerName ambiorixg12-dialer.ddns.net
DocumentRoot /srv/www/htdocs
SSLEngine on
SSLCertificateFile /root/.acme.sh/ambiorixg12-dialer.ddns.net/ambiorixg12-dialer.ddns.net.cer
SSLCertificateKeyFile /root/.acme.sh/ambiorixg12-dialer.ddns.net/ambiorixg12-dialer.ddns.net.key
<Directory "/srv/www/htdocs">
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
ErrorLog /var/log/apache2/ambiorix-error.log
CustomLog /var/log/apache2/ambiorix-access.log combined
</VirtualHost>
To redirect all HTTP requests to HTTPS:
sudo nano /etc/apache2/vhosts.d/redirect.conf<VirtualHost *:80> ServerName ambiorixg12-dialer.ddns.net Redirect permanent / https://ambiorixg12-dialer.ddns.net/</VirtualHost>6. Enable SSL Module
sudo a2enmod sslsudo a2enflag SSL
7. Test Apache Configuration
sudo apachectl configtest
8. Restart ApacheOpen:
🔗 https://ambiorixg12-dialer.ddns.net
by mflorell » Sun Sep 26, 2010 2:42 pm
Here is a clearly organized, step-by-step breakdown of the ViciBox installation process across three server roles: Database, Web, and Telephony. Each section includes the expected installation output summary for reference.
Attach ViciBox ISO to the server.
Boot from ISO.
Select Install when prompted.
Once OS is installed, update system:
zypper up
When prompted:
Enter local IP: 5.78.132.229
Choose Expert install: y
Use this server as Web server: y
Input database IP: 5.78.125.222
Enable Redirect Page: y
Do not enable Database, Telephony, or Archive roles.
Keep firewall enabled.
Post-install configuration:
nano +227 /etc/apache2/httpd.conf
IncludeOptional /etc/apache2/vhosts.d/*.conf
cd /etc/apache2/vhosts.d/
and rename to dynportal_1 dynportal-ssl_1
systemctl start apache2
systemctl status apache2
ViciBox Install Summary ---
vicibox-installWhen prompted:
-
Enter local IP: 5.78.68.242
-
Choose Expert install: y
-
Use this server as Telephony server: y
-
Do not enable Web, Database, or Archive roles.
-
Input database IP: 5.78.125.222
-
Keep firewall enabled
📋 Output After Installation:
--- ViciBox Install Summary ---
Expert : Yes
Legacy : No
Database : No
Web : No
Telephony: Yes
Archive : No
Firewall : Enabled
--- Configuration Information ---
- Database -
SVN Rev : 3920
IP Addr : 5.78.125.222
Name : asterisk
User : cron
Password : 1234
Cust User: custom
Cust Pass: custom1234
Port : 3306
- ------------------
this config is after install vici ssl
nano +227 /etc/apache2/httpd.conf
IncludeOptional /etc/apache2/vhosts.d/*.conf
/etc/apache2/vhosts.d/vici-ddns.conf
nano +227 /etc/apache2/httpd.conf
IncludeOptional /etc/apache2/vhosts.d/*.conf
MariaDB [asterisk]> delete from vicidial_api_urls;
Query OK, 2107654 rows affected (0.028 sec)
MariaDB [asterisk]> SELECT table_schema, table_name, ROUND(SUM(data_length + index_length) / 1024 / 1024, 2) AS total_size_MB FROM information_schema.tables GROUP BY table_schema, table_name ORDER BY total_size_MB DESC LIMIT 10;
+--------------+------------------------------------+---------------+
| table_schema | table_name | total_size_MB |
+--------------+------------------------------------+---------------+
| asterisk | vicidial_url_log | 600.17 |
| asterisk | vicidial_api_log | 329.22 |
| asterisk | vicidial_list | 180.85 |
| asterisk | call_log | 105.10 |
| asterisk | vicidial_agent_latency_log_archive | 93.64 |
| asterisk | vicidial_dial_log | 81.70 |
| asterisk | vicidial_carrier_log | 64.72 |
| asterisk | recording_log | 59.82 |
| asterisk | vicidial_log_extended | 54.95 |
| asterisk | vicidial_log | 49.01 |
+--------------+------------------------------------+---------------+
10 rows in set (0.019 sec)
MariaDB [asterisk]> delete from vicidial_api_urls; Query OK, 6 rows affected (0.002 sec)
MariaDB [asterisk]> select * from vicidial_api_urls limit 3\G; Empty set (0.000 sec)
ERROR: No query specified
MariaDB [asterisk]> SELECT table_schema, table_name, ROUND(SUM(data_length + index_length) / 1024 / 1024, 2) AS total_size_MB FROM information_schema.tables GROUP BY table_schema, table_name ORDER BY total_size_MB DESC LIMIT 10;
+--------------+------------------------------------+---------------+
| table_schema | table_name | total_size_MB |
+--------------+------------------------------------+---------------+
| asterisk | vicidial_url_log | 600.18 |
| asterisk | vicidial_api_log | 329.22 |
| asterisk | vicidial_list | 180.85 |
| asterisk | call_log | 105.10 |
| asterisk | vicidial_agent_latency_log_archive | 93.64 |
| asterisk | vicidial_dial_log | 81.70 |
| asterisk | vicidial_carrier_log | 64.73 |
| asterisk | recording_log | 59.82 |
| asterisk | vicidial_log_extended | 54.96 |
| asterisk | vicidial_log | 49.01 |
+--------------+------------------------------------+---------------+
10 rows in set (0.019 sec)
MariaDB [asterisk]> delete from vicidial_api_log;
Query OK, 2107675 rows affected (0.019 sec)
MariaDB [asterisk]> SELECT table_schema, table_name, ROUND(SUM(data_length + index_length) / 1024 / 1024, 2) AS total_size_MB FROM information_schema.tables GROUP BY table_schema, table_name ORDER BY total_size_MB DESC LIMIT 10;
+--------------+------------------------------------+---------------+
UPDATE vicidial_list
SET phone_code = NULL
WHERE LENGTH(phone_number) > 10;
Delete logs
find /var/log/astguiclient -type f -mtime +1 -exec rm -f {} \;
0 0 */9 * * /usr/bin/find /var/spool/asterisk/monitorDONE/MP3 -maxdepth 2 -type f -name "*.mp3" -mtime +7 -exec rm -f {} \;
Edit user_stats.php (https://github.com/inktel/Vicidial/blob/master/www/vicidial/user_stats.php)
$location_public = str_replace("172.31.82.237", "dialer.1callclosers.com", $location); // changed added for change recs addresss amb.
$MAIN.="<td align=left><font size=2> $row[4] </td>\n";
$MAIN.="<td align=left><font size=2> $row[8] </td>\n";
$MAIN.="<td align=left><font size=2> $row[0] </td>\n";
$MAIN.="<td align=center><font size=2> $row[10] </td>\n";
//$MAIN.="<td align=right><font size=2> $location </td>\n";
$MAIN.="<td align=right><font size=2> $location_public </td>\n";
There is currently no holiday function in ViciDial. You can just change the call times scheme to change the hours up to 6 days in advance.
https://vicidial.org/VICIDIALforum/viewtopic.php?t=9381
by mflorell » Fri Oct 12, 2018 9:35 am
1 cd /srv/www/htdocs/
by blackbird2306 » Mon Oct 14, 2019 12:10 pm
mysql -D asterisk -e 'UPDATE `vicidial_users` SET `failed_login_count` = "0" WHERE `user` = "6666";'
mysql -D asterisk -e 'UPDATE `vicidial_users` SET `pass` = "HERENEWPASSWORD" WHERE `user` = "6666";'
by atkins513 » Sat Nov 18, 2023 2:36 pm
https://docs.vicibox.com/en/latest/installation.html
https://docs.vicibox.com/en/latest/networking/vicibox-ssl.html
1) vicibox-express
2) reboot
tlscertfile=/root/.acme.sh//ambiorixg12-dialer.ddns.net/fullchain.cer
tlsprivatekey=/root/.acme.sh//ambiorixg12-dialer.ddns.net/ambiorixg12-dialer.ddns.net.key
check asterisk wss status
static*CLI> http show status
HTTP Server Status:
Prefix:
Server: Asterisk
Server Enabled and Bound to 127.0.0.1:8088
HTTPS Server Enabled and Bound to 0.0.0.0:8089
Enabled URI's:
/httpstatus => Asterisk HTTP General Status
/ws => Asterisk HTTP WebSocket
Enabled Redirects:
None.
5) Change server settings to :
| Web Socket URL: |
Web Socket URL:
wss://ambiorixg12-dialer.ddns.net:8089/ws
6) Webphone URL on system setting
https://phone.viciphone.com/v3.0/viciphone.php
| Webphone URL: |
7) VICI PHONE TEMPLATE
MODIFY A CONF TEMPLATE RECORD: VICIphone |
type=friend
host=dynamic
encryption=yes
avpf=yes
icesupport=yes
directmedia=no
transport=wss
force_avp=yes
dtlsenable=yes
dtlsverify=no
dtlscertfile=/root/.acme.sh//ambiorixg12-dialer.ddns.net/fullchain.cer
dtlsprivatekey=/root/.acme.sh//ambiorixg12-dialer.ddns.net/ambiorixg12-dialer.ddns.net.key
dtlssetup=actpass
rtcp_mux=yes
context=default
8) Container settings
| Container ID: | VICIPHONE_SETTINGS |
# determines if the reg_exten is called upon successful registration
dialRegExten : 1
| Set As Webphone: | |
| Webphone Dialpad: | |
| Webphone Auto-Answer: | |
| Webphone Dialbox: | |
| Webphone Mute: | |
| Webphone Volume: |
| Webphone Extra Settings: |
https://shouts.dev/articles/allow-remote-access-to-mariadb-server-on-rhel-centos
CAMPAIGN CID AREACODES
by mflorell » Mon Nov 20, 2017 7:52 am
by mflorell » Tue Oct 29, 2019 11:54 am
by williamconley » Mon Mar 05, 2018 2:37 pm
https://en.opensuse.org/images/1/17/Zypper-cheat-sheet-1.pdf