First off you should not be meddling with the Master Socket.  If you screw it up expect a (large) bill from Openreach.  
There are only two incoming wires, A & B.  IIRC connect the wires with -50v DC to B and the one with 0v DC to A.
If you are wring an extension to a Master socket, connect the Blue and White wire to connector 2 and the White and Blue wire to connector 5.  Connect NO OTHER wires.  they are not needed and can affect ADSL (Broadband) speed.
                
 T
                
 May 2015