Force Red Alarm on Dahdi E1

I am trying to set an dahdi E1 interface into an alarm state but haven’t been able to determine a way (or if its even possible) digium support was not much help so I thought I would through it open to the community.

The situation is we have developed an asterisk box doing some specific tasks that is placed in between a CO/PBX and our customers PBX. The normal operation of the box is great and our customer is happy. However they want to know if the CO line goes down then that is reflected to the client PBX by us taking down the e1 interface.

There appears to be no built in way to do this or set an alarm on an interface (it looks like the FALC (E1 framer) can.

Does anyone have any suggestions?

Thanks in advance.