[Home]

Summary:ASTERISK-13284: [patch] Parking from AGI ignores SetMusicOnHold
Reporter:Alistair Cunningham (acunningham)Labels:
Date Opened:2008-12-29 05:11:38.000-0600Date Closed:2009-01-14 12:57:55.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Features/Parking
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) 20081231__bug14151.diff.txt
( 1) parkmusic1.txt
Description:When parking a call by dialling a local channel from an AGI script, the music on hold that plays to the caller reverts to the default when the parking phone hangs up, even when all of the following are set:

1. SetMusicOnHold() for the inbound caller.
2. SetMusicOnHold() for the parking call.
3. SetMusicOnHold() in the M() parameter to Dial() for the parking call.

Attached is part of a trace that shows this. Notice that the M() applies to channel "Local/*7@parkedcalls-9546,1", but the default music plays on channel "Local/*7@parkedcalls-9546,2". There doesn't seem to be a way that I can find to set the music for this channel.
Comments:By: Tilghman Lesher (tilghman) 2008-12-31 12:58:02.000-0600

Let's try this patch on for size.

By: Tilghman Lesher (tilghman) 2008-12-31 18:02:33.000-0600

Err, this was mistakenly committed by me in revision 166953, so I'm reverting it until the solution is proven to work.

By: Alistair Cunningham (acunningham) 2009-01-06 10:13:40.000-0600

My apologies for the delay in responding to this. Thank you for the patch, I'll see if we can test it in the next day or two.

By: Alistair Cunningham (acunningham) 2009-01-06 11:20:00.000-0600

We have testing for this scheduled for next week.

By: Alistair Cunningham (acunningham) 2009-01-13 15:07:50.000-0600

The patch works; thank you very much. Would it be possible to included it in Asterisk 1.4?

By: Tilghman Lesher (tilghman) 2009-01-14 12:57:55.000-0600

Committed to 1.4, merged to trunk, 1.6.0, 1.6.1.