@ -468,8 +481,6 @@ static int park_call_full(struct ast_channel *chan, struct ast_channel *peer, in
pthread_kill(parking_thread,SIGURG);
ast_verb(2,"Parked %s on %d@%s. Will timeout back to extension [%s] %s, %d in %d seconds\n",pu->chan->name,pu->parkingnum,parking_con,pu->context,pu->exten,pu->priority,(pu->parkingtime/1000));
@ -494,7 +505,7 @@ static int park_call_full(struct ast_channel *chan, struct ast_channel *peer, in
if(!con)/* Still no context? Bad */
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 */
if(peer&&(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 */
/* 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. */