CAPI info

Im new at asterisk and i have some questions regarding it.
I have installed DIVA server bri isdn card along with all drivers together with Aterisk. I was able to setup extensions and make calls between SIP softphones but i was not able to setup the incoming or outgoing calls with the isdn card. What i want to ask if threre any way to diagnose that the card is correctly installed and operating under asterisk. I was able to get capiinfo to show the card info but i was not able to run this command under cli of asterisk :frowning: