Yeh your right those where typos indeed. Thanks for the headsup. I have edited my post so it should be ok now.
As far as I know there is no way to let tvheadened communicate directly to cccam. So it will need to go like: tvheadend – Oscam – CCcam.
First off make a f-line in your cccam config for Oscam.
bq.Connect Oscam to CCcam
In oscam go to
+Reader+
At the bottom fill in the name of your reader and click the "Add" button next to it.
Fill in these fields:
Description:
Enable: Tick it to make this reader active
Device: Fill in the ip address of you dreambox followed by a comma and then the port. Example 192.168.1.100,18500
Group: Just fill in any number here. Example: 1
CAID: Fill in the CAID of the providers the cccam server will be handling. Add a comma in between multiple CAID's. Example: 0100,0604,0B00 (These are my providers and unless you’re in the Netherlands like me, these are not gonna work for you. So don't just copy this.)
User: The user name you made for oscam in your cccam config.
Password: Password for the above user.
Hit "Save"
bq.Make a User for Tvheadend in Oscam
Go to +Users+
Click the “Add User” link on the top
On the bottom a new input field will appear. Fill in the user name here and click the “Add User” button next to it.
Fill in these fields:
Password
Description
Disabled – Change to “No”
Group - Add the user to the same group(s) as the reader is in. ("1" in our example)
Hit "Save"
Both the configuration for user and reader have loads more options. You can play around if you like. For more info just click the parameter name and it will take you to the Oscam wiki and the appropriate article for that parameter. Note that the above options should be enough to get it working so just try to get it working first before you go crazy with all the options.
bq.Configure Newcamd in Oscam
Go to +Configuration+ and then +Newcamd+.
Fill in these fields:
Port:
Syntax: port@caid:ident
Every CAID needs to have a separate port. So in my case I will need to make 3 ports for Newcamd, one for 0100, one for 0B00 and one for 0604.
You can pick any free port. Keep in mind that ports between 0 through 1023 are used by most well-known services so don’t use these, use anything between 1024 and 65535. I use 15000 and up for Newcamd.
Adding a port for CAID 0604 would look like: 15000@0604:000000. Where 15000 is the port, 0604 the CAID and 000000 the ident. (Don’t bother about the ident just fill in 000000 there)
Multiple entries are separated by an semicolon. So for me this is what is in the ports field: 15000@0604:000000;15001@0B00:000000;15002@0100:000000
Key: Fill in any 28 digit number you like. This DES key will be used for Newcamd client encryption. Example: 0102030405060708091011121314
Allowed: This one doesn’t need to be specified. But here you can enter ip’s that you want to allow to connect to Oscam via Newcamd on the above specified ports. If you leave this empty all address will be allowed to connect.
Hit "Save"
You are all done now in Oscam. Just go to shutdown and click restart to make the changes for Newcamd active. After this Oscam should be ready. Check the status page to be sure that Oscam is connected to your cccam server. The connection should appear under proxies.
bq.Connect TVheadend to Oscam
Go to +TVheadend+ -> +Configuration+ -> +Code Word Client+.
Click “Add Entry”
Fill in these fields:
Hostname: Fill in the ip address of your Oscam server
Port: The Newcamd port you made in Oscam. So in my example: 15000, 15001 or 15002
Username and
Password: The ones you made in Oscam under Users.
DES key: The 28 digit number you specified in the Newcamd configuration. In the example case: 0102030405060708091011121314.
Click “Save Entry”
If you done everything right TVheadend should connect to Oscam. And it should be able to decode any encrypted channel your cccam server can provide the keys for.