Summary:ASTERISK-05534: [patch][post-1.2] Play courtesytone to both parties when call is unparked
Reporter:Larry Shields (larrys)Labels:
Date Opened:2005-11-09 15:20:30.000-0600Date Closed:2006-01-07 17:26:27.000-0600
Versions:Frequency of
Environment:Attachments:( 0) parkedplay.patch
Description:When "courtesytone = beep" is enabled in features.conf  a sound should be played to the parked caller to alert them when they have been unparked.  But instead of the parked caller hearing this courtesytone, the user retrieving the call hears it upon dialing the parked position.


I am running version 1.2.0-RC1
Comments:By: BJ Weschke (bweschke) 2005-11-09 15:33:00.000-0600

I agree with you that the explanation in features.conf doesn't match up to what the code is doing, but the parked caller gets notification by being taken off of musiconhold. If we were to not play a courtesytone to the person calling the parked extension, how would they know that they've been bridged to the parked call?

By: Larry Shields (larrys) 2005-11-10 10:12:14.000-0600

Then I think the tone should be played to both.  The reason I say this is because many times when a user is parked or put on hold they may turn on the speaker phone while waiting.  To me the very definition of a "courtesytone" is to give parked user the courtesy of letting them know they are now connected to a person.  Otherwise they might say or do something believing they are in a state of privacy.  If I am retrieving the parked call I do not need that courtesy tone to let me know I about to connect to a call.  If I dialed the wrong parked position the system tells me it is an invalid extension.  If I dialed a valid parked position I am connected to the call as is expected.

By: BJ Weschke (bweschke) 2005-11-10 15:56:11.000-0600

Try this patch. It'll let you set a new config variable in features.conf that specifies whether you play the courtesytone file to the caller, the parked call, or both.

By: Larry Shields (larrys) 2005-11-11 08:39:30.000-0600

I tested this patch with all three "parkedplay" options, i.e. parked, caller, both.  It worked as described. -- thanks Larry

By: Matt O'Gorman (mogorman) 2006-01-07 17:26:16.000-0600

added patch in commit 7865 to trunk.  thanks bweschke