[Home]

Summary:ASTERISK-01064: [patch] Allow the Playback application to play the first file it finds from a list
Reporter:oacyscom (oacyscom)Labels:
Date Opened:2004-02-20 15:50:57.000-0600Date Closed:2011-06-07 14:05:28
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) app_playback.patch
Description:I have an application where I need the Playback app to play only the first sound file that it finds from a list of files. Example: if the file "error" exists it should play it, otherwise it should play the file "normal". I am currently emulating this behavior with an AGI script.
Comments:By: James Golovich (jamesgolovich) 2004-02-22 00:58:03.000-0600

If someone implements this, I would suggest creating a new function called PlaybackFirst or something  like that.  Let's not affect existing configs at all

By: oacyscom (oacyscom) 2004-02-22 15:47:52.000-0600

I had some spare time to delve into the * file.c code, and found everything I needed. Here's the patch. Digium should have my disclaimer on file.

By: twisted (twisted) 2004-04-18 01:49:27

HouseKeeping - if intrest is still expressed, feel free to re-open this bug.