This project is read-only.
1
Vote

Getting caller number from Asterisk

description

I'm using ITAPI3 library with Asterisk . I'm using TAPI driver "Activa-TSP-setup-1.8.10.zip". 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.

comments