Asterisk and TAPI driver configuration problem

Hello,

I am new on this forum. Having problem with connecting Asterisk PBX, TAPI driver for Asterisk, TAPI application and CRM.
Somehow i can establish connection between TAPI application and CRM but having problems with connection between TAPI application and Asterisk throught TAPI driver. When i try to call from CRM the call was established but then the application closed it.

Please help.