A prisoner who hid a mobile phone and two hands-free kits up his rectum was caught when guards heard the device ringing, reports CNN.
Before concealing the device however, he forgot to turn it off or switch it to silent mode, and his plan was foiled when the phone started ringing from inside him.
Prison guards searching his cell realized what the man had done and he had to be admitted to the national hospital in Colombo for doctors to retrieve the handset from his rectum.
When doctors ordered for surgery, the inmate removed the device in fear of being put under the knife.
The prisoner, who is serving a 10 year sentence for theft, was using the cell phone when a prison workers carried out a surprise search on the cell block.
Inmates having access to mobile phones has proved a problem at the high security jail in Sri Lanka's capital.
Violent riots began in November last year when officers from the Special Task Force, Sri Lanka's elite police commandos, searched cells for illegal mobile phones and drugs.
Copyright 2013 WWBT NBC12. All rights reserved
WWBT-TV NBC 12
P.O. Box 12
On Your Side
Video and Pics