What is an "AG phone line" and how does it connect to the system? An analog device or something? You are looking at the wrong end, you need to get the end "closest" to that device to disconnect properly... if it's an ATA of some kind, that is a setting in the ATA, if it's a CO or ONS port on a Mitel controller, that is set in the device profile.