Judge Paul Darlow told him: “You engaged for a period of seven days in sexual communications and got whom you imagined to be a 12-year-old girl to watch perverted explicit, focussed, penetrative acts – not just between humans but extreme pornography.”
But suspending his prison sentence, the judge said he took into account the short period of messages and the fact that no child was involved.
Judge Darlow said that despite his denials in arrest he pleaded guilty the first chance he had at court.
Avery, of Channel Park Avenue, Efford, pleaded guilty to three counts of trying to show a child aged 12 images of sexual activity.
He also admitted three counts of attempting to engage a person believed to be under 16 in sexual communication.
All the offences were committed in February and March.
Avery also pleaded guilty to assaulting a police officer as an emergency worker in course of his duty on April 26.
Nigel Hall, for the Crown Prosecution Service, said a police officer posing as a 12-year-old called Morgan starting chatting to Avery on a website called Kik.
He added he told Morgan that he used the chat room to meet girls and had been on the site for more than four years.
Avery made sexual suggestions to the officer despite being told repeatedly that she was 12.
He sent her naked pictures of himself in a state of arousal and asked her to send indecent images of herself.
Avery also sent pictures of bestiality involving a woman and a dog – and asked her to send back similar images.
He replied it was a “shame” when Morgan replied that her dog was a bitch.
Avery also said he would steal the girl’s virginity, the court heard.
Mr Hall said when police arrived at the defendant’s home, Avery scuffled with a police officer. He suffered minor injuries but was able to carry on his shift.
Judge Darlow jailed Avery for six months, but suspended the term for two years.