[asterisk-commits] file: trunk r107465 - /trunk/main/features.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Mar 11 10:05:18 CDT 2008


Author: file
Date: Tue Mar 11 10:05:17 2008
New Revision: 107465

URL: http://svn.digium.com/view/asterisk?view=rev&rev=107465
Log:
Clarify comment about masquerading and playback of the parking slot.
(closes issue #12180)
Reported by: davidw

Modified:
    trunk/main/features.c

Modified: trunk/main/features.c
URL: http://svn.digium.com/view/asterisk/trunk/main/features.c?view=diff&rev=107465&r1=107464&r2=107465
==============================================================================
--- trunk/main/features.c (original)
+++ trunk/main/features.c Tue Mar 11 10:05:17 2008
@@ -493,7 +493,7 @@
 		ast_log(LOG_ERROR, "Parking context '%s' does not exist and unable to create\n", parking_con);
 	/* Tell the peer channel the number of the parking space */
 	if (peer && ((pu->parkingnum != -1 && ast_strlen_zero(orig_chan_name)) || !strcasecmp(peer->name, orig_chan_name))) { /* Only say number if it's a number and the channel hasn't been masqueraded away */
-		/* Make sure we don't start saying digits to the channel being parked */
+		/* If a channel is masqueraded into peer while playing back the parking slot number do not continue playing it back. This is the case if an attended transfer occurs. */
 		ast_set_flag(peer, AST_FLAG_MASQ_NOSTREAM);
 		ast_say_digits(peer, pu->parkingnum, "", peer->language);
 		ast_clear_flag(peer, AST_FLAG_MASQ_NOSTREAM);




More information about the asterisk-commits mailing list