RC/anynet+ not working with AVR, pi3 and samsung tv

Hello every one,

first of all, sorry for my poor english.
had no luck with support on french’s forums so i give a try here.

i’m trying to make anynet+ working correctly with my all hardware

here is my configuration :

TV : SAMSUNG UE46ES6710
NAS Synology DS216PLAY
headphone Sony Mdr-hw700ds (with a box which is working like a sort of an AVR)
Raspberry Pi3 under openelec 6.0.3 (with 2.5a psu)

i want to use the remote control of my tv with the pi3

if i only connect the pi3 to the tv, no problems

if i connect both pi3, Sony Mdr-hw700ds receiver and my tv decoder, impossible to have anynet+ working.

tryied :

– connect directly those 3 hardware on tv, no luck
– connect the pi3 to the avr and the avr to television, no luck (in this configuration, seems like TV automaticaly redirect TV Decoder to CEC, but the name of source is CEC-KODI).
– in the CEC configuration of kodi, tryied everything (hdmi port number, physical port, etc).

Questions :

– according to you, how should i do the connections between Sony Mdr-hw700ds / TV samsung / PI3 ?
– which parameters in cec configuration ?
– is it possible that those hardware are not compatible between them

thank you for the support