How to hold and unhold the 2 connected channel

hi
how to hold and unhold the 2 connected channel through dialplan