It's an expression to say you've got to do something. To do your duty or when something reminds you to do your duty.
An simple example of this is:
When your you're chilling on a sofa and suddenly your baby starts crying and you gotta check it out, then you might say: Oops! Duty calls!!