[asterisk-bugs] [JIRA] (ASTERISK-23656) Playbak afte recording fails, but file is there

Private Name (JIRA) noreply at issues.asterisk.org
Wed Apr 23 13:16:18 CDT 2014


    [ https://issues.asterisk.org/jira/browse/ASTERISK-23656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=217544#comment-217544 ] 

Private Name commented on ASTERISK-23656:
-----------------------------------------

I added this after the record line
exten =>_X.,n,Set(foo=${SHELL(sync)})
but it did not change the outcome. So the Record application has not notified the OS about the new file, and it already returns. It should not return until the file is flushed off to the OS. The file gets written later, I can see the file in the directory.
Does anybody have an idea for a workaround? I am stuck trying to deliver an app that requires playback and confirmation, a survey.

> Playbak afte recording fails,but file is there
> ----------------------------------------------
>
>                 Key: ASTERISK-23656
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23656
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_playback
>    Affects Versions: 11.8.1
>         Environment: fedora 20
>            Reporter: Private Name
>         Attachments: trace-1.txt
>
>
> my code is two lines, in the first I record, in the next I Playback for confirmation
> {noformat}
> exten =>_X.,n(b_e_c_b-1),Record(${CALLERID(num)}-industry:sln,10,60,k)
> exten =>_X.,n,Playback(you-entered&${CALLERID(num)}-industry})
> {noformat}
> Please look at the uploaded trace and you will see that playback fails, but the file is there. I can playback a few seconds later. It does not matter the format I record it with. The immediate playback fails.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list