A refugee living in Australia for 10 years has been jailed by an Indonesian court for people smuggling.