On Sun, Jul 17, 2022 at 7:49 PM Nikša Baldun <i...@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
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to