https://origsvn.digium.com/svn/asterisk/trunk
........
r140491 | jpeeler | 2008-08-29 12:53:32 -0500 (Fri, 29 Aug 2008) | 2 lines
Added the option s to the Park application which will silence the announcement of the parking space number. Also, fixes the bug of just clearing the flags instead of actually parsing the arguments to Park.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@140492 65c4cc65-6c06-0410-ace0-fbb531ad65f3
ast_log(LOG_ERROR,"Parking context '%s' does not exist and unable to create\n",parkinglot->parking_con);
/* Tell the peer channel the number of the parking space */
if(peer&&(ast_strlen_zero(args->orig_chan_name)||!strcasecmp(peer->name,args->orig_chan_name))){/* Only say number if it's a number and the channel hasn't been masqueraded away */
if(peer&&!ast_test_flag(args,AST_PARK_OPT_SILENCE)&&(ast_strlen_zero(args->orig_chan_name)||!strcasecmp(peer->name,args->orig_chan_name))){/* Only say number if it's a number and the channel hasn't been masqueraded away */
/* 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. */