<div dir="ltr"><div dir="ltr">On Sun, Jul 17, 2022 at 7:49 PM NikÅ¡a Baldun <<a href="mailto:it@voxdiversa.hr">it@voxdiversa.hr</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
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.<br></blockquote><div><br></div><div>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].</div><div><br></div><div>[1] <a href="https://issues.asterisk.org/jira">https://issues.asterisk.org/jira</a></div></div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-family:tahoma,sans-serif"><font color="#073763">Joshua C. Colp</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Asterisk Project Lead</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Sangoma Technologies</font></div><div style="font-family:tahoma,sans-serif"><font color="#073763">Check us out at <a href="http://www.sangoma.com" target="_blank">www.sangoma.com</a> and <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a></font><br></div></div></div></div></div></div></div></div></div></div></div>