Project

General

Profile

IPTV (Canal Digital) and EMMs

Added by Anonymous about 3 years ago

Hi all,

I have been a user for a long time using TVheadend with TVheadend with Digital Devices DVB and OSCam. Worked great.
Now I have IPTV from Canal Digital and that also works great TVheadend-wise as long as I keep the subscription card updated in the original settop box.

My problem is that the subscription card does not update itself. Looking at the reader statistics in OSCam there are no logged EMMs.

This is my TVheadend CA settings

{
        "mode": 5,
        "camdfilename": "192.168.0.4",
        "port": 9000,
        "class": "caclient_capmt",
        "index": 2,
        "enabled": true,
        "name": "iptv",
        "comment": "Local OSCam" 
}

This is my settings in OSCam.

[dvbapi]
enabled                       = 1
boxtype                       = pc
pmt_mode                      = 4
au                            = 1
listen_port                   = 9000
user                          = iptv
read_sdt                      = 2
write_sdt_prov                = 1

New EMMs are sent every month but I can log in to Canal Digital homepage and force update of the subscription card at will.

Is it possible to see incomming EMMs in TVheadend?
In Debugging I'm logging to a log file with "descrambler, caclient, csa, capmt, cwc, dvbcam" for both debug and trace. Is this the correct?

This is an excerpt from the log file:

2016-09-26 10:44:16.787 [  TRACE]:descrambler: EMM message 82:70:b4:00 (len 183, pid 5001)
2016-09-26 10:44:16.787 [  TRACE]:descrambler: EMM message 82:70:b4:00 (len 183, pid 5001)
2016-09-26 10:44:16.790 [  TRACE]:capmt: iptv: Received message from socket 30
2016-09-26 10:44:16.790 [  TRACE]:capmt: 40 10 6F 86 00 00 00 00 01 00 00 00 00 07 2C 58 @.o...........,X
2016-09-26 10:44:16.790 [  TRACE]:capmt: 8B 33 5E 6C FD                                  .3^l.
2016-09-26 10:44:16.790 [  DEBUG]:capmt: iptv, CA_SET_DESCR adapter 0 par 0 idx 1 072c588b335e6cfd
2016-09-26 10:44:16.790 [  TRACE]:descrambler: Obtained keys 072C588B335E6CFD:0000000000000000 from capmt-192.168.0.4-9000 for service "TVNorge HD A" 
2016-09-26 10:44:16.790 [  TRACE]:capmt: iptv: Received message from socket 30
2016-09-26 10:44:16.790 [  TRACE]:capmt: FF FF 00 03 00 10 07 0B 00 1D AA 00 00 00 00 00 ................
2016-09-26 10:44:16.790 [  TRACE]:capmt: 00 01 A6 05 63 6F 6E 61 78 04 49 50 54 56 05 6C ....conax.IPTV.l
2016-09-26 10:44:16.790 [  TRACE]:capmt: 6F 63 61 6C 05 6D 6F 75 73 65 00                ocal.mouse.
2016-09-26 10:44:16.790 [  DEBUG]:descrambler: info - service='TVNorge HD A' caid=0B00(conax) provid=000000 ecmtime=422 hops=0 reader='IPTV' from='local' protocol='mouse'
2016-09-26 10:44:16.790 [  DEBUG]:capmt: iptv: ECM_INFO: adapter=0 sid=4103 caid=0B00(conax) pid=1DAA provid=000000 ecmtime=422 hops=0 reader=IPTV from=local protocol=mouse
2016-09-26 10:44:16.932 [  TRACE]:descrambler: EMM message 82:70:b4:00 (len 183, pid 5001)
2016-09-26 10:44:16.932 [  TRACE]:descrambler: EMM message 82:70:b4:00 (len 183, pid 5001)

This is a small excerpt from the OSCam log file:

2016/09/26 11:08:55 2278607E c      (ecm) iptv ([email protected]/0000/040F/AB:2E3BC0DFB02AFC5A7E817E7EC2244E4E): found (430 ms) by IPTV - NRK 1 HD
2016/09/26 11:08:55 2278607E c      (ecm) cw:
2016/09/26 11:08:55 2278607E c      (ecm)   CB 60 42 6D 52 91 86 69 ED AA 4A E1 50 60 83 33 
2016/09/26 11:09:00 2278607E c   (reader) IPTV [conax] EMM: reader 0B00 match since emmpid has no provid -> SEND!
2016/09/26 11:09:54 2278607E c        (-) -- Skipped 1 duplicated log lines --
2016/09/26 11:09:54 2278607E c      (ecm) get cw for ecm:
2016/09/26 11:09:54 2278607E c      (ecm)   81 70 A8 70 A1 64 21 89 A9 2D 3B EF 3A CC 03 7B 
2016/09/26 11:09:54 2278607E c      (ecm)   F3 08 1B 22 BA 0A 45 C0 81 90 92 BC C7 2E D6 13 
2016/09/26 11:09:54 2278607E c      (ecm)   20 78 EC 30 5D C9 AB 72 37 E6 8B C3 A5 69 AB 38 
2016/09/26 11:09:54 2278607E c      (ecm)   66 EA 30 D5 12 B8 1C DB 46 33 60 38 57 CC 6C 9A 
2016/09/26 11:09:54 2278607E c      (ecm)   EB 46 5C 6D D0 D7 07 6B F8 BE 00 CC 00 2C 6B 30 
2016/09/26 11:09:54 2278607E c      (ecm)   09 90 75 41 C9 F1 DD 0D D7 4B 6A BC AB E5 CC B6 
2016/09/26 11:09:54 2278607E c      (ecm)   46 7C 38 06 9F 69 46 07 15 21 B0 BD 18 3B 92 58 
2016/09/26 11:09:54 2278607E c      (ecm)   2B 3B 24 56 15 26 94 54 4F 06 2A 98 CA F9 0E 0C 
2016/09/26 11:09:54 2278607E c      (ecm)   8A D7 B0 B3 42 3A 96 40 51 B3 FA 1E 5B 63 F2 DD 
2016/09/26 11:09:54 2278607E c      (ecm)   D3 63 89 AE AA CA A4 A8 6F EB CC B8 F0 A2 78 96 
2016/09/26 11:09:54 2278607E c      (ecm)   24 45 8F 35 D5 51 02 03 50 02 00 
2016/09/26 11:09:54 55C25E1B r ecm:
2016/09/26 11:09:54 55C25E1B r 81 70 A8 70 A1 64 21 89 A9 2D 3B EF 3A CC 03 7B 
2016/09/26 11:09:54 55C25E1B r F3 08 1B 22 BA 0A 45 C0 81 90 92 BC C7 2E D6 13 
2016/09/26 11:09:54 55C25E1B r 20 78 EC 30 5D C9 AB 72 37 E6 8B C3 A5 69 AB 38 
2016/09/26 11:09:54 55C25E1B r 66 EA 30 D5 12 B8 1C DB 46 33 60 38 57 CC 6C 9A 
2016/09/26 11:09:54 55C25E1B r EB 46 5C 6D D0 D7 07 6B F8 BE 00 CC 00 2C 6B 30 
2016/09/26 11:09:54 55C25E1B r 09 90 75 41 C9 F1 DD 0D D7 4B 6A BC AB E5 CC B6 
2016/09/26 11:09:54 55C25E1B r 46 7C 38 06 9F 69 46 07 15 21 B0 BD 18 3B 92 58 
2016/09/26 11:09:54 55C25E1B r 2B 3B 24 56 15 26 94 54 4F 06 2A 98 CA F9 0E 0C 
2016/09/26 11:09:54 55C25E1B r 8A D7 B0 B3 42 3A 96 40 51 B3 FA 1E 5B 63 F2 DD 
2016/09/26 11:09:54 55C25E1B r D3 63 89 AE AA CA A4 A8 6F EB CC B8 F0 A2 78 96 
2016/09/26 11:09:54 55C25E1B r 24 45 8F 35 D5 51 02 03 50 02 00 

I know that this forum is not for OSCam support so my main question is how to verify that EMMs are actually received by TVheadend.

Thank you in advance.


Replies (5)

RE: IPTV (Canal Digital) and EMMs - Added by Joel Kåberg almost 3 years ago

You can view incoming EMM's with "--trace descrambler,cwc,capmt", altho it seem's like it doesn't work (tvh doesn't get them)

I got GET (norway) and you can scan a dedicated EMM udp stream which sends out EMM signals (the EMM address can be viewed in the STB), but as TVH doesn't forward these it's little help

RE: IPTV (Canal Digital) and EMMs - Added by Anonymous almost 3 years ago

It seems that TVHeadEnd does not forward EMMs to OScam (not with DBVAPI nor newcamd). When testing with TSDecrypt EMMs are being forwarded (at least globals). Will do more testing when Canal Digital changes codes.

RE: IPTV (Canal Digital) and EMMs - Added by Oliver Schinagl 5 months ago

Not wanting to raising any zombies here, but I had the same problem with CanalDigitaal, OScam and tvheadend. I wrote a script to automate the reactivation request and seems to be working nicely so far. https://www.sat4all.com/forums/topic/364271-updaten-kaart-bij-geblokkeerde-global-emms/

Just out of curiosity, how did you configure the CanalDigitaal settings via IPTV? I cannot find any information about IPTV and canal digitaal. No URL's no m3u's nothing.

RE: IPTV (Canal Digital) and EMMs - Added by Randy Bonnette 2 months ago

I tried to run OSCAM Trunk r9875 Timeline Modern r1124 and TVHeadend build 3.9.1721
I get the error message: "Will not forward EMMs (not allowed by server)".
https://www.linuxsat-support.com/board/361-oscam https://writemyessaytoday.net https://forum.libreelec.tv/thread/7177-tbs-drivers-libreelec-8/?pageNo=3

RE: IPTV (Canal Digital) and EMMs - Added by saen acro 2 months ago

No support for old software.
Switch to TVH 4.2 (current stable) or to 4.3 unstable

    (1-5/5)