Secure Logic? Is this one of those "hidden" vault or biometric things? I haven't heard of a Secure Logic PBX, but perhaps one exists. If it does, I'm sure we don't have a forum for it.
Won't you please post details about the brand of phone system you're working with? I'd also like to better understand the conditions in which this problem arises.
So far, it sounds like you're having some kind of PRI problem that--after testing--mysteriously disappears. PRI circuits are fairly straightforward, so I'm sure somebody here can help if given enough info.
Thanks in advance for posting back, and welcome to the board!