Hello all, what i need to do to disconect an client that is idle for 180 minutes?
In oscam.user ive inserted sleep = 180 but the client is still in server but in sleep mode i want to kick it from the server.
Thanks all
Hello all, what i need to do to disconect an client that is idle for 180 minutes?
In oscam.user ive inserted sleep = 180 but the client is still in server but in sleep mode i want to kick it from the server.
Thanks all
Separated one user Oscam configuration:
Value for user being idle before disconnect:
umaxidle = -1 # the value clientmaxidle in [global]-section will used here
umaxidle = 0 # idle disconnect disabled (default)
umaxidle = seconds # defined exact number of seconds for user idle time
https://wiki.streamboard.tv/wiki/OSCam/en/Config/oscam.user
- or -
https://wiki.streamboard.tv/wi…onfig/oscam.user#umaxidle
File: "oscam.user"
Value: umaxidle=10800
You can also use the global Oscam settings:
Value for client process being idle before disconnect in seconds:
clientmaxidle = 200 # Disconnect after 200 seconds
= 0 # idle disconnect disabled
Default:
clientmaxidle = 120 # Disconnect after 120 seconds
https://wiki.streamboard.tv/wiki/OSCam/en/Config/oscam.conf
- or -
https://wiki.streamboard.tv/wi…/oscam.conf#clientmaxidle
File: "oscam.conf"
Value: clientmaxidle=10800 (under [global]-section)
The problem can also occur if the softcam client is set up to maintain a continuous connection,
even if it is IDLE. This is a setting option, for many protocols.
For example: ccckeepalive = 1 - https://wiki.streamboard.tv/wi…oscam.server#ccckeepalive
good morning.
Sorry for my English.
what I want to do is this:
what i need to do to disconect an client that is idle for 180 minutes?
In oscam.user ive inserted sleep = 180 but the client is still in server but in sleep mode i want to kick it from the server.
This is my configuration:
[account]
user = user
pwd = pwd
description = user
sleepsend = 255
sleep = 180
umaxidle = 10800
group = 1
But with this configuration the user reconnects after 20 minutes without changing the channel he is on
Please could someone help me.
Thank you very much for your time
Of course you won't affect that.
Only if you give the BAN to the user (softcam-client).
But this client will reconnect for any unknown reasons again and again. This is probably by setting in the softcam-client configuration.
You can also reduce the idle-time to disconnect softcam-client from your softcam-server. I mean the idle time for an inactive users.
You used the value 10800 which is stupid because the value represents seconds and 10800 seconds means 3 hours. However, it needs to ensure that the inactive user is kicked out in a few seconds - for example within 60 seconds:
umaxidle = 60
OSCam/en/Config/oscam.user – Streamboard Wiki
Or... the only option... is to set the value ccckeepalive = 0 in the Oscam-client configuration (or in some other softcam-client). But this only applies to the CCCAM communication protocol:
https://wiki.streamboard.tv/wi…m/en/Config/oscam.server# ccckeepalive
It also depends on what communication protocol you use in the softcam ! For each communication protocol or for different types of softcam clients, completely different rule configuration options are applicable.
Don’t have an account yet? Register yourself now and be a part of our community!