Have you checked the docs?
https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+three_way
https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+att_xfer