SOLVED Call detail Records application stopped updating records

Status
Not open for further replies.

vuthy09

Member
Jun 12, 2023
104
4
18
40
Glad I could help. Mark the thread as solved. It would help others. We did some good troubleshooting here.
what is this?

; Author: Mark J Crane <markjcrane@fusionpbx.com>
; cp /var/www/fusionpbx/app/xml_cdr/resources/service/debian.service /etc/systemd/system/xml_cdr.service
; systemctl enable xml_cdr
; systemctl start xml_cdr
; systemctl daemon-reload

[Unit]
Description=FusionPBX xml_cdr
Wants=network-online.target
Requires=network.target local-fs.target
;Requires=network.target local-fs.target postgresql.service
After=network.target network-online.target local-fs.target
;After=network.target network-online.target local-fs.target postgresql.service
StartLimitIntervalSec=0

[Service]
Type=simple
;Type=forking
PIDFile=/var/run/fusionpbx/xml_cdr.pid
WorkingDirectory=/var/www/fusionpbx
;Environment="USER=www-data"
;Environment="GROUP=www-data"
;EnvironmentFile=-/etc/default/fusionpbx
ExecStartPre=/bin/mkdir -p /var/run/fusionpbx
;ExecStartPre=/bin/chown -R ${USER}:${GROUP} /var/www/fusionpbx
ExecStart=/usr/bin/php /var/www/fusionpbx/app/xml_cdr/resources/service/xml_cdr.php
TimeoutSec=55s
Restart=always

[Install]
WantedBy=multi-user. Target
Also=
 

rkbsimpsipper

Member
Jan 3, 2022
34
2
8
40
So i ran an ls -lh to see if the file was edited, and it was, on the last date the call records display.

```-rw-r--r-- 1 www-data www-data 4.0K Jun 6 13:20 xml_cdr.conf.xml```
So strange, makes me think I have been hacked.
Funny you laugh but provide zero insight on how or what would cause a perfectly working application to stop working 3 years down the road.
 
Status
Not open for further replies.