Asterisk 13 support and less fixes