Switch setting termination to active low.
Switch the echo cancel and termination get functions around and make termination active low.