[asterisk-dev] [Code Review] Fix occasionally incorrectly delayed call-file execution.

rmudgett reviewboard at asterisk.org
Wed Jan 25 20:53:13 CST 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/1688/
-----------------------------------------------------------

(Updated Jan. 25, 2012, 8:53 p.m.)


Review request for Asterisk Developers.


Changes
-------

Added increased resolution support.  It needs other OS systems to compile it to see if I am using the correct field names.  Unfortunately, this fix not will work for all systems because the nanosecond resolution fields are not always populated.

NOTE: I left in come compile conditionals to force compiling the old directory scanning method.


Summary
-------

Call-files are sometimes delayed incorrectly.

This is actually a regression that has been in the code since 2007-07-11 (-r74704).  That code restructuring to reduce code indention, incorrectly inverted a test to determine if the spool directory needed to be rescanned.

Most of the changes to scan_thread() are coding guidelines fixes.


This addresses bug ASTERISK-19081.
    https://issues.asterisk.org/jira/browse/ASTERISK-19081


Diffs (updated)
-----

  /branches/1.8/pbx/pbx_spool.c 352703 

Diff: https://reviewboard.asterisk.org/r/1688/diff


Testing
-------

It compiles and I saw that the test was incorrectly inverted during a restructuring.


Thanks,

rmudgett

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20120126/f73b646e/attachment-0001.htm>


More information about the asterisk-dev mailing list