ok so lately my cccam keeps disconnecting running with oscam as reader.
add this to you config or enable by removing the #
LOG WARNINGS : /tmp/warnings.txt
now this 1 thing will help you fix the disconnect.
ok so now run cccam for 10 mins
then goto your ftp and inyour tem folder will be a warnings text
Block them in your router.
hope this helps