Your dmark should show the old pots colors...
Line #1 is red and green
Line #2 is yellow and black
Line #3 if present is white and blue
Is there a cat5 cable going from the dmark to the inside of the house? Use blue for line #1 as depicted in the drawings above.
When simple on-premises wiring is color-coded, two-wire telephone plugs or the first pair of a multi-pair connector commonly have the tip wire coded green and ring coded red. In four wire plugs, the second pair has black tip and yellow ring. A third pair consists of white tip and blue ring. For larger cable assemblies more complex schemes such as the 25-pair color code are used.
Telephone technicians often used the phrase "red-right-ring-rear" (or "ring-right-red-rough") to remember that the red wire connects to the right-side post in the wall jack and to the ring on the plug and to the rear lug on main distribution frames. Sometimes "rough" or "ridge" was added for jumper wires with a tactile code
In the early years of the telephone industry when rotary dial instruments were in use, the correct polarity of tip and ring was important only for properly ringing a telephone, especially in party line service with selective ringing, and for correctly identifying the calling customer on certain party lines for toll calls.
When Touch-Tone service was introduced in the 1960s, the dual-tone multi-frequency signaling (DTMF) tone generator also required correct polarity as it depended on the line power for operation. Later Touch-Tone telephones included a diode bridge that eliminated the polarity sensitivity, so that consumer telephone service is essentially immune to reversal today.
A bit of history...
Tip and ring are the names of the two conductors or sides of a telephone line. The terms originate in reference to the telephone plugs used for connecting telephone calls in manual switchboards. One side of the line is connected to the metal tip of the plug, and the second is connected to a metal ring behind the tip, separated and insulated from the tip by a non-conducting material. When inserted into a jack, the plug's tip conductor connects first, followed by the ring conductor. In many European countries tip and ring are referred to as the A and B wires.
1: Sleeve, 2: Ring, 3: Tip, 4: Insulators
The ring conductor has a direct current (DC) potential of −48V to −52V with respect to tip conductor when the line is in the on-hook (idle) state. Neither conductor is referenced to ground. Floating both conductors (not referencing either one to ground) minimizes the pickup of hum from any nearby alternating current (AC) power wires.