Meaning
When all discussions or talks are over and we have nothing more to add we say its the end of story.

Origin
This is one of the oldest phrase originated in US. No specific details are available.