Update class.ami.php

Changed "AsteriskAMI" to "AMI" in error function.