It sounds like you have a hardware detect configuration problem causing the disconnects. This is usually set in class 4 and 5 switches with E&M signaling. This will ensure calls properly disconnect when someone hangs up the phone (reversal ground, I...