A California teenager was sentenced to four years in prison in a case involving hundreds of swatting calls, including to a Florida mosque among other institutions and individuals.