Queue - login/logout of external members?

is there even possible a way to make external numbers (eg. mobile phones) register as a dynamic member to a queue, start serving calls entering the queue, and after some time logout and don’t have calls entering passed anymore?
Strange question from a not-so-strange design to accomplish (off-work tecnichian availability on their mobile phones).