Page 1 of 1

Asterisk stops.....

PostPosted: Tue May 19, 2009 8:00 am
by arunkoods
Hi Matt,
My asterisk server was having trouble with the chocking Router and bad network....and suddenly when i saw the cron it was empty and hence i edited and added cron for vicidal (crontab -e) ....and things are fine now but Asterisk stops suddenly when dialling is going on and this happens everday around 12:30 to 1am .

is there any reason of asterisk getting stopped automatically............... :roll:

PostPosted: Tue May 19, 2009 6:53 pm
by mflorell
What exactly is in your crontab?

PostPosted: Tue May 19, 2009 10:59 pm
by williamconley
And please post your configuration and version numbers ... put it in your signature. Never know, you could have an old version with that issue and just need to upgrade.

Hi Matt,

PostPosted: Wed May 20, 2009 9:07 am
by arunkoods
HI Matt,
This is how my cron is

**********************************************************************************
### keepalive script for astguiclient processes
* * * * * /usr/share/astguiclient/ADMIN_keepalive_ALL.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,7 * * * /usr/share/astguiclient/ADMIN_adjust_GMTnow_on_leads.pl --debug --postal-code-gmt

### 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/sbin/ntpdate -u 18.145.0.30 2>/dev/null 1>&2

### VICIDIAL agent time log weekly and daily summary report generation
2 0 * * 0 /usr/share/astguiclient/AST_agent_week.pl
22 0 * * * /usr/share/astguiclient/AST_agent_day.pl

### VICIDIAL campaign export scripts (OPTIONAL)
#32 0 * * * /usr/share/astguiclient/AST_VDsales_export.pl
#42 0 * * * /usr/share/astguiclient/AST_sourceID_summary_export.pl

### remove old recordings more than 7 days old
#24 0 * * * /usr/bin/find /var/spool/asterisk/monitor -maxdepth 2 -type f -mtime +7 -print | xargs rm -f

### remove old vicidial logs and asterisk logs more than 2 days old
28 0 * * * /usr/bin/find /var/log/astguiclient -maxdepth 1 -type f -mtime +2 -print | xargs rm -f
29 0 * * * /usr/bin/find /var/log/asterisk -maxdepth 3 -type f -mtime +2 -print | xargs rm -f

### 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

### Delete XFER form vicidial_auto_calls run every 5 minutes
5 * * * * /usr/bin/php -q /var/www/html/testdel/deleteXFER.php

**********************************************************************************
Asterisk Version is 1.2.27 vicidialnow 1.1r

Thanks,
K.Arun