Audiocodes MP124 dropping calls

I have an Audiocodes 124 connected to a Panasonic key system. Inbound calls work just fine, but outbound calls drop after about 30 seconds. Anyone have any ideas?