Inside each mosque there's a mic. The imam or the personne in charge makes the first call to allow people to get ready after few mn he makes the second call and the prayer begins.