How to end meeting for all when moderator ends meeting

when host ends the meeting then participants also automatically should get hang up the call.
how could i achieve it.

Currently, this is not a feature. If you have some development experience and you host your own server it can easily be added. On the web/client side, you could loop through all the participants and kick them using JavaScript. On the server side, you could implement something similar in a Prosody module.