<html><head></head><body><span class="viv-signature"></span><div>Indeed. If I recompile  --without-inotify, it works as expected. I'll file an issue as soon as I find the time. For now, it is sufficient to know that I must use a different file name.</div><div><br></div><div>Thanks for the reply.</div><br>On Monday, 18. July 2022. 12:35:44 (+02:00), Joshua C. Colp wrote:<br><br><blockquote style="margin: 0 0 0.80ex; border-left: #0000FF 2px solid; padding-left: 1ex"><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="padding-left:1ex;border-left-color:rgb(204, 204, 204);border-left-style:solid;border-left-width:1px;margin-left:0.8ex;margin-bottom:0px;margin-right:0px;margin-top:0px;">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">www.sangoma.com</a> and <a href="http://www.asterisk.org">www.asterisk.org</a></font><br></div></div></div></div></div></div></div></div></div></div></div>
</blockquote><span class="viv-signature-below"><br>-- <br><b><big>Nikša Baldun</big></b><div><br></div><div><img height="25" width="250" alt="VoxDiversa" src="https://voxdiversa.hr/assets/images/vox_logo.png"></div><div><br></div><div>Sjedište:</div><div>IX Trokut 1</div><div>10020 Zagreb</div><div><br></div><div>Ured:</div><div><a class="" href="https://www.google.hr/maps/place/Ilica+425,+10090,+Zagreb">Ilica 425</a><a href="https://www.google.hr/maps/place/Ilica+425,+10090,+Zagreb">https://www.google.hr/maps/place/Ilica+425,+10090,+Zagreb</a><input title="Edit Link Address" value="Copy" type="button"><input value="Edit" type="button"><input title="Remove Link" value="Remove" type="button"></div><div>10090 Zagreb</div><div>Tel.: +385 1 8000676</div><div>Web: <a href="http://www.voxdiversa.hr">www.voxdiversa.hr</a></div></span></body></html>