Ha ha ha ha! Do you get it? The desk clerk said 1049, but Freddie said 1045. Do you remember the creep at Diner who gave Gina his phone number? Guess who just happens to be staying in room 1045! He'll be thrilled to give Gina a call.
Generally, for such hilarious comedy high jinks, one must turn to the genius of Jerry Lewis.