According to Railway rules if you've got ticket from ticket counter and it's partially confirmed (i.e. some seats are confirmed and some are waitlisted on same PNR) then the waitlisted person is allowed to board train and vacancy of some berths, the TT has to mandatorily allot berth to waitlisted person.