Remco Barende
2006-Apr-27 00:03 UTC
[Asterisk-Users] Extreme delay before * processes call files
Hi list! I'm using Asterisk 1.2.7.1. with FreePBX 2.0.1 on a CentOS 3.7 box. On the * box I also have a samba share where our CRM app can dump call files and a cron script is moving the call files every second to the asterisk directory. Everything goes really quickly, the call file is placed on the samba share and very quickly moved to the asterisk dir, so far so good. But then the call file just keeps sitting in the /var/spool/asterisk/outgoing directory and it seems that * is doing nothing with it?? Only after 10-30 seconds sometimes even much longer the call file is picked up. There is no message on the * console about a call file being present. Does anyone have a clue why asterisk fails to pick up call files within a reasonable amount of time? The load on the box is 0.05 at most. Thanks!! Remco
Jay Milk
2006-Apr-27 07:42 UTC
[Asterisk-Users] Extreme delay before * processes call files
Remco Barende wrote:> Hi list! > > I'm using Asterisk 1.2.7.1. with FreePBX 2.0.1 on a CentOS 3.7 box. > On the * box I also have a samba share where our CRM app can dump call > files and a cron script is moving the call files every second to the > asterisk directory. > > Everything goes really quickly, the call file is placed on the samba > share and very quickly moved to the asterisk dir, so far so good. > > But then the call file just keeps sitting in the > /var/spool/asterisk/outgoing directory and it seems that * is doing > nothing with it?? Only after 10-30 seconds sometimes even much longer > the call file is picked up.Are you *sure* you set up cron to run every second? I'm not aware of any official way to schedule cron-jobs more than once per minute... and that would probably explain what you're seeing.
Remco Barende
2006-Apr-28 02:07 UTC
[Asterisk-Users] Re: Extreme delay before * processes call files
I guess that I'm the only one experiencing this problem.... is there any way to debug this problem? Does anyone know how to debug this particular item in *? (Or should I open a bug in Mantis?) Thanks!! On Thu, 27 Apr 2006, Remco Barende wrote:> Hi list! > > I'm using Asterisk 1.2.7.1. with FreePBX 2.0.1 on a CentOS 3.7 box. > On the * box I also have a samba share where our CRM app can dump call files > and a cron script is moving the call files every second to the asterisk > directory. > > Everything goes really quickly, the call file is placed on the samba share > and very quickly moved to the asterisk dir, so far so good. > > But then the call file just keeps sitting in the /var/spool/asterisk/outgoing > directory and it seems that * is doing nothing with it?? Only after 10-30 > seconds sometimes even much longer the call file is picked up. > > There is no message on the * console about a call file being present. > > Does anyone have a clue why asterisk fails to pick up call files within a > reasonable amount of time? The load on the box is 0.05 at most. > > Thanks!! > Remco >