Fix deprecation warning on Asterisk 11+
Fix typo