How do I setup Asterisk as the Auto Attendant a NEC Electra

I have a customer who wants to replace their Callware box with an Asterisk system connected to a NEC Electra Professional ll. I’m wondering if anyone has done this and what pitfalls I should be aware of.

Thanks in advance.