I would like to know if there are any feature or addon in VitalPBX that record and analyse log’s from all users and extensions that has login with all detail about it, like (IP, port, …), some tool silimar like that:
Since Asterisk is the PBX running underneath, you just need to edit the correct files in order to enable HEP capture and send SIP traffic to Homer.
/etc/asterisk/vitalpbx/modules__20-noload.conf:
; Change the below lines
noload => res_hep.so
noload => res_hep_rtcp.so
; to
load => res_hep.so
load => res_hep_pjsip.so
load => res_hep_rtcp.so
; Alternatively, move these lines into the '/etc/asterisk/modules.conf' file
/etc/asterisk/hep.conf:
;
; res_hep Module configuration for Asterisk
;
; All settings are currently set in the general section.
[general]
enabled = yes
; Enable/disable forwarding of packets to a
; HEP server. Default is "yes".
capture_address = 10.0.0.1:9060
; The address of the HEP capture server.
;capture_password = foo
; If specified, the authorization passsword
; for the HEP server. If not specified, no
; authorization password will be sent.
capture_id = 100
; A unique integer identifier for this
; server. This ID will be embedded sent
; with each packet from this server.
Restart Asterisk (systemctl restart asterisk) and you should be good to go.