This project is read-only.

Getting caller number from Asterisk


I'm using ITAPI3 library with Asterisk . I'm using TAPI driver "". I'm trying on you sample program "IncommingSample". When telephone is ringing I bacame TapiCallNotificationEvent and your procedure OnNewCall is starting . But I can't read caller numer . I'm trying this code :
string Number=e.Call.get_CallInfo(CALLINFO_STRING.CIS_CALLERIDNAME); but Number is allways ampty string. TAPI driver file log contains calling telephone numer. Where is the problem ??
Of course if I pick up the phone I became TapiCallStateEvent and the caller numer is OK.