In Turkey, the city's public speaker is used to send out Azaan (call for prayers), but the residents were treated to a slip-up of epic proportion. The speakers started blasting out a porn bang in the middle of the night.

Picture for representation/Facebook/DefenceNews

The incident took place in Kastamonu city in the Black Sea province. And quite obviously, the live stream triggered a wave of laughter across the city.

A video posted on Reddit, shows a resident in splits while the X-Rated movie blares through the speakers.

However, city’s mayor, Kastamonu Mayor Tahsin Baba? wasn't too amused.

In a Facebook post, he said that investigation would be launched against those responsible and tagged the incident as an 'unmoral [sic] provocation'.

“The unmoral [sic] provocation that had been conducted by intercepting the announcement system of our municipality and heard in certain spots in our Kuzeykent neighborhood has no relation with our institution. The necessary legal processes will be launched as soon as possible for those who are responsible for this unmoral [sic] act and we apologise to our precious fellow townsmen for this situation,” Mayor Tahsin Baba? wrote.

According to local security officials the city’s frequency had been intercepted. They say that anybody can break into the frequency and play things on their whim and fancy.

“We think that they intercepted the municipality frequency because it occurred in only one region. It would have occurred everywhere if it was the municipality’s central announcement system. One can broadcast what he or she wants after spotting the frequency wave,” Hurriyet reported, citing Do?an News Agency.

The officials have launched an investigation to nab the culprit.