Add debugging to safe_asterisk