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

Michael L. Young (JIRA) noreply at issues.asterisk.org
Wed Apr 23 15:35:18 CDT 2014


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

Michael L. Young commented on ASTERISK-23656:
---------------------------------------------

Falves, please check this syntax since there is an error with it:
{noformat} exten =>_X.,n,Playback(you-entered&${CALLERID(num)}-industry}){noformat}

That is why you are getting this:
{noformat}[Apr 23 01:49:10] WARNING[7504][C-00000011]: file.c:701 ast_openstream_full: File 18000000000-industry} does not exist in any format{noformat}
The answer is in that warning message as to what is wrong.

Also, you should follow the syntax for setting the format that you find by running "core show application Record" or here https://wiki.asterisk.org/wiki/display/AST/Application_Record.
{noformat}exten =>_X.,n(b_e_c_b-1),Record(${CALLERID(num)}-industry:sln,10,60,k){noformat}

You should go to the mailing list or IRC channel first before submitting a bug report.  That should always be your first step when you are not sure if you have a bug or not.  I see that you posted the bug report and then went to the mailing list which is the wrong order.





> 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