[asterisk-dev] Changing call file modification time

Joshua C. Colp jcolp at sangoma.com
Mon Jul 18 05:35:44 CDT 2022


On Sun, Jul 17, 2022 at 7:49 PM Nikša Baldun <it at voxdiversa.hr> wrote:

> Hello,
>
> I've noticed a curious thing about call file behavior. I create a call
> file with mtime in the future, say 08:00. Before it gets executed, I
> replace it with file that has the same name, but mtime 08:05. It still gets
> executed at 08:00, not 08:05 as one would expect. Is this how it's supposed
> to work? Asterisk version is 18.11.2.
>

I'm not sure if the code currently handles this specific situation when
inotify is available. Specifically, I don't think the internal state which
contains mtime is updated to reflect the new value. You can file an
issue[1].

[1] https://issues.asterisk.org/jira

-- 
Joshua C. Colp
Asterisk Project Lead
Sangoma Technologies
Check us out at www.sangoma.com and www.asterisk.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20220718/2ad2d49b/attachment.html>


More information about the asterisk-dev mailing list