Page 1 of 1
my phone doesn't ring
Posted:
Wed Oct 18, 2006 9:21 am
by kvici
Hi,
I installed vicidial (following SCRATCH_INSTALL it took me one day !) but i can't get it work :
when i log in my phone doesn't ring
second i get Noone is in your session: 8600051 error.
Please help !
Posted:
Wed Oct 18, 2006 7:23 pm
by mflorell
post results of "screen -r"
Posted:
Thu Oct 19, 2006 6:18 am
by kvici
Here are outputs of screen and ps:
Thank you.
----------------------------------------------
OUTPUT OF /usr/local/screen-4.0.2/bin/screen -r
There is a screen on:
1314.asterisk (Attached)
There is no screen to be resumed.
--------------------------------------------
OUTPUT OF /bin/ps -o "%p %a" --no-headers -A
1 init [2]
2 [keventd]
3 [ksoftirqd_CPU0]
4 [kswapd]
5 [bdflush]
6 [kupdated]
99 [kjournald]
355 udevd
405 [scsi_eh_0]
477 [khubd]
962 /sbin/portmap
1126 /sbin/syslogd
1129 /sbin/klogd
1136 /usr/bin/dbus-daemon-1 --system
1142 /usr/bin/dirmngr --daemon --sh
1178 /usr/sbin/exim4 -bd -q30m
1183 /usr/sbin/inetd
1188 /usr/sbin/lpd -s
1195 /usr/sbin/sshd
1200 /usr/sbin/famd -T 0
1204 /sbin/rpc.statd
1207 /usr/sbin/atd
1210 /usr/sbin/cron
1234 /usr/bin/gdm
1239 /usr/bin/gdm
1241 /usr/X11R6/bin/X :0 -audit 0 -auth /var/lib/gdm/:0.Xauth -nolisten tcp vt7
1245 /usr/local/bin/ntpd
1246 /bin/sh /usr/local/mysql/bin/mysqld_safe --user=mysql --skip-name-resolve --skip-host-cache
1275 [kapmd]
1283 /usr/local/mysql/libexec/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/var --user=mysql --pid-file=/usr/local/mysql/var/caro.pid --skip-locking --port=3306 --socket=/tmp/mysql.sock --skip-name-resolve --skip-host-cache
1284 /usr/local/mysql/libexec/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/var --user=mysql --pid-file=/usr/local/mysql/var/caro.pid --skip-locking --port=3306 --socket=/tmp/mysql.sock --skip-name-resolve --skip-host-cache
1285 /usr/local/mysql/libexec/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/var --user=mysql --pid-file=/usr/local/mysql/var/caro.pid --skip-locking --port=3306 --socket=/tmp/mysql.sock --skip-name-resolve --skip-host-cache
1286 /usr/local/mysql/libexec/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/var --user=mysql --pid-file=/usr/local/mysql/var/caro.pid --skip-locking --port=3306 --socket=/tmp/mysql.sock --skip-name-resolve --skip-host-cache
1287 /usr/local/mysql/libexec/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/var --user=mysql --pid-file=/usr/local/mysql/var/caro.pid --skip-locking --port=3306 --socket=/tmp/mysql.sock --skip-name-resolve --skip-host-cache
1288 /usr/local/mysql/libexec/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/var --user=mysql --pid-file=/usr/local/mysql/var/caro.pid --skip-locking --port=3306 --socket=/tmp/mysql.sock --skip-name-resolve --skip-host-cache
1290 /usr/local/apache2/bin/httpd -k start
1293 /usr/local/apache2/bin/httpd -k start
1294 /usr/local/apache2/bin/httpd -k start
1295 /usr/local/apache2/bin/httpd -k start
1296 /usr/local/apache2/bin/httpd -k start
1297 /usr/local/apache2/bin/httpd -k start
1298 /usr/local/mysql/libexec/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/var --user=mysql --pid-file=/usr/local/mysql/var/caro.pid --skip-locking --port=3306 --socket=/tmp/mysql.sock --skip-name-resolve --skip-host-cache
1299 /usr/local/mysql/libexec/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/var --user=mysql --pid-file=/usr/local/mysql/var/caro.pid --skip-locking --port=3306 --socket=/tmp/mysql.sock --skip-name-resolve --skip-host-cache
1300 /usr/local/mysql/libexec/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/var --user=mysql --pid-file=/usr/local/mysql/var/caro.pid --skip-locking --port=3306 --socket=/tmp/mysql.sock --skip-name-resolve --skip-host-cache
1301 /usr/local/mysql/libexec/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/var --user=mysql --pid-file=/usr/local/mysql/var/caro.pid --skip-locking --port=3306 --socket=/tmp/mysql.sock --skip-name-resolve --skip-host-cache
1310 /usr/bin/gdmlogin
1314 /usr/local/screen-4.0.2/bin/SCREEN -L -d -m -S asterisk /usr/sbin/asterisk -vvvvvvvvvvvvvvvvvvvvvgc
1315 /usr/sbin/asterisk -vvvvvvvvvvvvvvvvvvvvvgc
1316 /usr/sbin/asterisk -vvvvvvvvvvvvvvvvvvvvvgc
1318 /usr/sbin/asterisk -vvvvvvvvvvvvvvvvvvvvvgc
1319 /usr/sbin/asterisk -vvvvvvvvvvvvvvvvvvvvvgc
1320 /usr/sbin/asterisk -vvvvvvvvvvvvvvvvvvvvvgc
1321 /usr/sbin/asterisk -vvvvvvvvvvvvvvvvvvvvvgc
1322 /usr/sbin/asterisk -vvvvvvvvvvvvvvvvvvvvvgc
1324 /usr/sbin/asterisk -vvvvvvvvvvvvvvvvvvvvvgc
1325 /usr/sbin/asterisk -vvvvvvvvvvvvvvvvvvvvvgc
1326 /usr/sbin/asterisk -vvvvvvvvvvvvvvvvvvvvvgc
1327 /usr/sbin/asterisk -vvvvvvvvvvvvvvvvvvvvvgc
1328 /usr/sbin/asterisk -vvvvvvvvvvvvvvvvvvvvvgc
1329 /usr/sbin/asterisk -vvvvvvvvvvvvvvvvvvvvvgc
1330 /usr/sbin/asterisk -vvvvvvvvvvvvvvvvvvvvvgc
1331 /usr/sbin/asterisk -vvvvvvvvvvvvvvvvvvvvvgc
1332 /usr/sbin/asterisk -vvvvvvvvvvvvvvvvvvvvvgc
1333 /usr/sbin/asterisk -vvvvvvvvvvvvvvvvvvvvvgc
1334 /usr/sbin/asterisk -vvvvvvvvvvvvvvvvvvvvvgc
1355 /usr/sbin/asterisk -vvvvvvvvvvvvvvvvvvvvvgc
1357 /sbin/getty 38400 tty1
1358 /sbin/getty 38400 tty2
1359 /sbin/getty 38400 tty3
1360 /sbin/getty 38400 tty4
1361 /sbin/getty 38400 tty5
1364 /sbin/getty 38400 tty6
2240 sshd: root@pts/1
2242 sshd: root@pts/1
2244 -bash
6360 sshd: root@pts/2
6362 sshd: root@pts/2
6387 -bash
6413 /usr/local/screen-4.0.2/bin/screen -r
6414 /bin/sh
6458 /usr/local/apache2/bin/httpd -k start
6475 /usr/local/apache2/bin/httpd -k start
6813 /USR/SBIN/CRON
6817 /usr/bin/perl /usr/share/astguiclient/AST_manager_kill_hung_congested.pl
6818 /USR/SBIN/CRON
6819 /USR/SBIN/CRON
6820 /USR/SBIN/CRON
6821 /usr/bin/perl /usr/share/astguiclient/ADMIN_keepalive_AST_VDadapt.pl
6822 /usr/bin/perl /usr/share/astguiclient/ADMIN_keepalive_AST_VDremote_agents.pl
6823 /usr/bin/perl /usr/share/astguiclient/ADMIN_keepalive_AST_VDautodial.pl
6825 /USR/SBIN/CRON
6830 /usr/bin/perl /usr/share/astguiclient/ADMIN_keepalive_AST_update.pl
6836 /usr/local/mysql/libexec/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/var --user=mysql --pid-file=/usr/local/mysql/var/caro.pid --skip-locking --port=3306 --socket=/tmp/mysql.sock --skip-name-resolve --skip-host-cache
6848 [mysqld] <defunct>
6849 /bin/ps -o %p %a --no-headers -A
6850 /bin/ps -o %p %a --no-headers -A
6851 /bin/ps -o %p %a --no-headers -A
Posted:
Thu Oct 19, 2006 1:58 pm
by mflorell
Please make sure you have the proper entries in your crontab as stated according to the SCRATCH_INSTALL doc
Posted:
Thu Oct 19, 2006 2:51 pm
by kvici
yes, i checked that point
below is the output of crontab -l :
### recording mixing for Asterisk run every 5 minutes
1,6,11,16,21,26,31,36,41,46,51,56 * * * 1,2,3,4,5,6 /usr/share/astguiclient/AST_CRON_mix_recordings_BASIC.pl
### keepalive script for Asterisk updaters
* * * * * /usr/share/astguiclient/ADMIN_keepalive_AST_update.pl
### keepalive script for Asterisk manager queue system
* * * * * /usr/share/astguiclient/ADMIN_keepalive_AST_send_listen.pl
### keepalive script for Asterisk VICIDIAL autodial system
* * * * * /usr/share/astguiclient/ADMIN_keepalive_AST_VDautodial.pl
### keepalive script for VICIDIAL remote agents
* * * * * /usr/share/astguiclient/ADMIN_keepalive_AST_VDremote_agents.pl
### keepalive script for VICIDIAL predictive script
* * * * * /usr/share/astguiclient/ADMIN_keepalive_AST_VDadapt.pl
### kill Hangup script for Asterisk updaters
* * * * * /usr/share/astguiclient/AST_manager_kill_hung_congested.pl
### updater for voicemail
* * * * * /usr/share/astguiclient/AST_vm_update.pl
### updater for conference validator
* * * * * /usr/share/astguiclient/AST_conf_update.pl
### flush queue DB table every hour for entries older than 1 hour
11 * * * * /usr/share/astguiclient/AST_flush_DBqueue.pl -q
### fix the vicidial_agent_log once every hour
33 * * * * /usr/share/astguiclient/AST_cleanup_agent_log.pl
### updater for VICIDIAL hopper
* * * * * /usr/share/astguiclient/AST_VDhopper.pl -q
### adjust the GMT offset for the leads in the vicidial_list table
1 1 * * * /usr/share/astguiclient/ADMIN_adjust_GMTnow_on_leads.pl --debug
### reset several temporary-info tables in the database
2 1 * * * /usr/share/astguiclient/AST_reset_mysql_vars.pl
### optimize the database tables within the asterisk database
3 1 * * * /usr/share/astguiclient/AST_DB_optimize.pl
## adjust time on the server with ntp
30 * * * * /usr/local/bin/ntpdate -u ntp.univ-lyon1.fr>/dev/null 1>&2
### VICIDIAL agent time log weekly summary report generation
2 0 * * 0 /usr/share/astguiclient/AST_agent_week.pl
Posted:
Fri Oct 20, 2006 7:12 am
by mflorell
Please try running the keepalive scripts manually and also check the mail on your server to see if there are any errors that have been reported.
Posted:
Tue Oct 24, 2006 5:44 am
by kvici
i checked mail errors.
i have this message each 5 minutes :
/usr/bin/soxmix : Unknown output file format for '/var/spool/asterisk/monitor/monitor' : Filetype was not specified
mv : can't move '/var/spool/asterisk/monitor/monitor' to '/var/spool/asterisk/monitor/ORIG/monitor' : file doesn't exist
mv : can't move '/var/spool/asterisk/monitor/monitor' to '/var/spool/asterisk/monitor/ORIG/monitor' : file doesn't exist
mv : can't move '/var/spool/asterisk/monitor/monitor' to '/var/spool/asterisk/monitor/DONE/monitor' : file doesn't exist
otherwise, i ran the alive scripts manually but i can't see all of them when typing ps command : is it due to performance machine (test machine is P400 and 32Mhz...)
Many Thanks !
Posted:
Tue Oct 24, 2006 2:22 pm
by Op3r
try rebooting your server. and also make sure that your client's station time are in sync with the server.
Posted:
Thu Oct 26, 2006 10:52 am
by vctor
Op3r I think what you mean is that the servers are in sync with each other. Because the perl files are running on server side and not client side. Also I believe that vicidial is not checking on the agent's time. It is always checking on the server time.