Fixed. Reversed the connections between the RJ11 socket and the R232 and all working.

Thanks to all for the help.