How do I give priority or ignore certain cards ?
In CCcam it is possible to give priority or ignore certain cards by adding a file CCcam.prio in /var/etc , however this technique is not recommended as all traffic that comes into your cccam has to be checked across this file so CCcam will allow it to pass, give it priority or ignore it. This of course will be more processor intensive and may slow down a bit your system. However if you still would like to use it see below notes.
Notes:
* Recent versions of CCcam has automatic filtering for the cards that does not clear the picture
* Using CCcam.prio will override the automatic filtering for the specified provisers in the file
* It is more advicable to use ignores in C lines ( see advanced F line options )
* The prioirity is based on the order of the lines in the CCcam.prio ( The first in the file is the highest priority )
Example 1:
If for example a provider has 2 different cards for the package and you prefer to use a particular one first (93b) and if there is no choice use the other available (919) you would put this in the CCcam.prio
P: 93b : 0
P: 919 : 0
Example 2
If for example a provider has 2 different cards for the package and you want to use only one of them (93b) and the other(919) should be ignored you would put this in the CCcam.prio
P: 93b : 0
I: 919 : 0
******************************************************************************************************************
How do I block certain cards ?
It is possible to block certain cards from getting to your server, especially those fake cards or older cards:
Example:
You would like to block provider 0919 so to get the newer 093b cards from that provider.
In that case it would be necessary to make your C: line like this:
C: server.noip.com 12000 username password no { 0:0:2, 0919:0 }
******************************************************************************************************************
What is SID assign and how to configure ?
Below is the default information from CCcam.cfg for CCcam 2.1.2 { It will not work with older versions.
The purpose of this is to make sure your server only gets requests for sids that are valid to your card, thus reducing the number of bad ecms.
# Configure limited list of accepted sids for smartcard
# When omitted, all sids are allowed.
# (can work together with LOADBALANCE configuration, or for standalone cards)
#
# SMARTCARD SID ASSIGN : { , , ... }
#
# is the reader devicenode
# limits the total number of sids assigned to the card (0 = use length of sid list)
# { .. } lists the sids that are assigned to the smartcard, when omitted, is used to auto assign sids
#
# when is larger than the length of the sidlist, the remainder of the sids are auto assigned, till the list reaches
# Check entitlement output for realtime assignment list
#
# WARNING: when SMARTCARD SID ASSIGN config changes, restart is required before settings take effect
#
#example1: smartcard in device /dev/ttyUSB0 only handles requests for sids df3, df4, df5
#
# SMARTCARD SID ASSIGN : /dev/ttyUSB0 0 { 0df3,0df4,0df5 }
#
#example2: smartcard in device /dev/ttyUSB0 handles requests for max 5 sids, auto assigned in the order of occurance. A request for a 6th sid will be denied.
#
# SMARTCARD SID ASSIGN : /dev/ttyUSB0 5
#
#example3: smartcard in device /dev/ttyUSB0 handles requests for max 5 sids, 3 of which are df3, df4, df5, remaining 2 are auto assigned
#
# SMARTCARD SID ASSIGN : /dev/ttyUSB0 5 { 0df3,0df4,0df5 }
Here is an example that works with Sky UK FTV card
SMARTCARD SID ASSIGN : /dev/sci0 9 { 1d51,1e15,1e14,0f23,13ef,1e1e,1e1f,1e23,1e24 }
This is for the internal lower card reader of a Dreambox and it allows for 7 SIDS.
They are for the following channels
1d51 Five
1e15 Five
1e14 Five
0f23 Channel 4 HD
13ef Sky 3
1e1e Five US
1e1f Five US +1
1e23 Fiver
1e24 Fiver +1
The next option allows for 3 more SIDS to be auto assigned.
SMARTCARD SID ASSIGN : /dev/sci0 12 { 1d51,1e15,1e14,0f23,13ef,1e1e,1e1f,1e23,1e24 }
Another option is auto assign, if you know you have just 6 working channels for your card then you can let CCcam assign the SIDS for you.
SMARTCARD SID ASSIGN : /dev/sci0 6
__________________