<div dir="ltr"><div>How many seconds later does the file show up? Can you just throw in a Wait() (maybe 1 or 2 seconds) and then do the Playback, or would even a second or two of delay be an issue (or does it still not work)?<br>
<br></div>-Josh<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 23, 2014 at 2:23 PM, CDR <span dir="ltr"><<a href="mailto:venefax@gmail.com" target="_blank">venefax@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear friends<br>
I filed a bug<br>
<a href="https://issues.asterisk.org/jira/browse/ASTERISK-23656" target="_blank">https://issues.asterisk.org/jira/browse/ASTERISK-23656</a><br>
but I am wondering if somebody can figure a workaround. I am stuck<br>
trying to deliver an application.<br>
The case is this: A Record is executed and an immediate Playback<br>
follows. Asterisk returns an error, saying that the file does not<br>
exist, but a few seconds later, it does.<br>
It does not help if after the Record application I do SHELL(sync).<br>
Asterisk has not flushed the file out to the OS and it already<br>
returned. Maybe the application record should have a parameter about<br>
this behavior. For some application is fine, for some others is not.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</font></span></blockquote></div><br></div>