I am trying to save the data of CLI console captured when I access ‘asterisk -rvvv’ command.
I tried got it setting the verbose, debug and history log and nothing save the data of calls and connection in the file.
In this pic show what I would like to capture in the log messages.
logs are saved on /var/log/asterisk/full you can control what it is saved on /etc/asterisk/logger.conf
Thanks ambiorxg12 but I am with all this logs actived and didn’t log what I need, as example the calls flow logs neither when en endpoint become reachable/unreachable.
That it is also logged , if Asterisk is told to do it
There is no in my case because my logger.conf file show it:
debug => debug
verbose => verbose
console => notice,warning,error,debug
messages => notice,warning,error
full => notice,warning,error,verbose,dtmf,fax
“full” should log all these contents.
logs are saved based on category of the warning for example
notice,
warning,
error
Different to chan_sip I see on pjsip the aor contact update seems to be only console message, If this is the case you could check if this action generate an AMI event and create your own log file based on that
how you can see in my last messages it’s in a category, but I just send a part of the block.
The issue is that SIP messages are not logged.