/* Remember what had been dialed, so that if the parking
@ -485,7 +486,7 @@ int ast_park_call(struct ast_channel *chan, struct ast_channel *peer, int timeou
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){/* Only say number if it's a number */
if((peer&&pu->parkingnum!=-1&&ast_strlen_zero(orig_chan_name))||(strlen(orig_chan_name)==strlen(peer->name)&&!strncasecmp(peer->name,orig_chan_name,strlen(peer->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 */