Chapter 22 VoIP Solutions: SIP : FortiGate VoIP solutions: SIP : SIP logging and DLP archiving
  
SIP logging and DLP archiving
You can enable SIP logging and logging of SIP violations, and SIP DLP archiving a VoIP profile. To record SIP log messages you must also enable VoIP event logging in the FortiGate unit event logging configuration.
To view SIP log messages go to Log&Report > Log Access > Event.
To view SIP DLP archive messages to go Log&Report > Archive Access > VoIP.
Use the following command enable SIP logging, SIP archiving, and logging of SIP violations in a VoIP profile:
config voip profile
edit VoIP_Pro_Name
config sip
set log-call-summary enable
set log-violations enable
end
end