I'm going to describe how a crate is used around here, maybe you can get something from it:
My basenjis have always been in wire crates, the size made for a collie. A plastic crate was only used in the car. They are in them at night, and used to be in them when we aren't home, but they're older now (13,14,15,16), they are loose when we're gone now.
They were never put in for a punishment, or what they thought was a punishment. I might say@#$#@$%, but in a very happy voice.
Our goal was to be sure they thought of the crate as a good thing, sort of like a kid's bedroom.
EVERY SINGLE TIME they went into their crate, they got a 'biscuit', with me saying "Let's get a biscuit" Happy dogs going in the crate, and getting a treat! The biscuits are now a couple pieces of dry puppy food, they don't care, to them it's a biscuit. Someone told me years ago that using treats to get a dog to do something you want should not be used past 6 mos, EXCEPT WITH BASENJIS. Please do not resist using bribes!
In fact, one time 4 got out, the leader started walking down the sidewalk, with them following. I yelled "Spicer, want a biscuit?" He turned around, they all followed him home. (We never use the word biscuit for anything else)
They ate their meals in their crates
When we come home, the dogs are the first thing we deal with.
All of the above never worked for our Ibis. I honestly think she had some sort of brain problem that is medicated in humans. I could never get her comfortable in a crate, or even in a room by herself. I just treated her the way I would treat a child with a problem - made everyone's life more enjoyable. I called her 'the problem child I never had.'
As for the aggression, she should never learn that aggression works. I'm sure there are many posts in this forum about stopping aggression in basenjis. (I a not qualified to offer advice.)