ISQ via proxy

I have established Openfire Server and Asterisk-IM.

But computer on which all this is established is connected to the Internet through a proxy.

Prompt how to adjust in that case ICQ

Maybe you should ask that question in the Gateway forum and provide some more detail there.

To make sure you receive an appropriate answer have a look at http://www.catb.org/~esr/faqs/smart-questions.html first.