On arrival discovered secondary drain line was leaking water into emergency drain pan. We performed drain maintenance on primary drain line and cleaned p-trap out. We tested the primary drain by pouring a gallon of water down primary drain. Drain line is now draining properly and secondary drain has stopped leaking.