Flashing a zap channel with a sip phone

Im running asterisk now with a TDM400. How do you flash the zap channel when youre connected through another zap channel instead of a local flash within the pbx? and is there a way for the box to differentiate between the two (IE a call waiting pulse comes in and you want to answer it without terminating the current call)

Thanks guys!