|Depends on which country you are in as different countries have different wiring standards. A google search should tell you all you need to know.|
The stripes will tell you what each wire is and the chances are only two of them are used. You may be able to trace the wire back to the drop cable and find out which two are in use.
Once you have the socket rewired do not forget to use a DSL filter if you intend using a telephone on the same line