This section is not mobile-friendly. Please use a desktop for the best experience.
To make asterisk log the activity to a log file:
asterisk -rx 'stop now
asterisk -vvvvvvvvv -g -ddddddddddd >/tmp/log 2>&1 &