race condition affecting: ::Asterisk->move_callfile_to_spool()

race condition affecting: ::Asterisk->move_callfile_to_spool()

ls /var/lib/asterisk/sounds/custom/ymd/oc_msgs/ -lht
total 2.7M
-rw-r--r-- 1 root root 473K 2009-06-02 00:22 books_galore_inc_job_005.wav

ls -lht /tmp/*.wav
-rw-r--r-- 1 root root 909K 2009-06-02 00:23 /tmp/books_galore_inc_job_005.wav

select oc_job_id, account_code, job_id, execution_time from ymd_oc_jobs where oc_job_id = 7;
oc_job_id | account_code | job_id | execution_time
-----------+------------------+---------+----------------------------
7 | books_galore_inc | job_005 | 2009-06-02 00:22:54.350243

The record an outcall call is reflected above, but the outcall job itself never came through.

revision 1491 to YMD::WWW::daemon corrects half of issue.