Echo is normally caused by a mismatch in impedance from the four-wire network switch conversion to
the two-wire local loop.
The follwoing Parameters has to be adjusted
echo-cancel enable
echo-cancel coverage
output attenuation
input gain
Also check the following link which has a sample Echo Analysis Case Study and to adjust the parameters accordingly to your topology
Echo Analysis for Voice over IP
http://www.cisco.com/univercd/cc/td/doc/cisintwk/intsolns/voipsol/ea_isd.htm#xtocid29