[Home]

Summary:ASTERISK-23444: Playback and Record events not subscribed to when calling Play/Record on bridge
Reporter:Ben Merrills (skrusty)Labels:
Date Opened:2014-03-07 06:14:15.000-0600Date Closed:2014-03-14 11:06:27
Priority:MajorRegression?
Status:Closed/CompleteComponents:Resources/res_ari
Versions:12.1.0 Frequency of
Occurrence
Constant
Related
Issues:
Environment:linux/ubuntu asterisk 12.1.0Attachments:
Description:When Play or Record is called on a mixing bridge, a new channel is added to the bridge to play the audio file, or perform the recording.

When the channel is created, the current application is NOT subscribed to the new channel's events. As such, PlaybackStarted and PlaybackFinished are never raised to the application.

This means we can't tell when a playback has started or finished.
Comments:By: Joshua C. Colp (jcolp) 2014-03-07 06:16:29.605-0600

Personally I think the events should be forwarded to the bridge, then anything subscribed to the bridge itself (like the application) can know what is going on.

By: Matt Jordan (mjordan) 2014-03-07 08:53:08.464-0600

That would work - and since the playback/recording is occurring on the bridge, it makes sense for subscribers to the bridge to get those events.

By: Jonathan Rose (jrose) 2014-03-14 11:18:08.869-0500

Patch committed to 12 via r410558
trunk via r410560