Caller ID extraction

Aug 17, 2011 at 11:47 AM

Hello there

In response in this thread, since it was old so I made a new discussion. http://itapi3.codeplex.com/discussions/214387

 

I put this code in OnNewCall event function
e.Call.get_CallInfo(CALLINFO_STRING.CIS_CALLERIDNUMBER)

But I am not getting number of the call. I guess the code returns number. 

I put code like

MessageBox.Show(e.Call.get_CallInfo(CALLINFO_STRING.CIS_CALLEDIDNUMBER), "Caller number");

But I got empty string. And I do have caller ID enable in my phone line.

Am I missing anything?

 

Regard.

Oct 6, 2011 at 9:56 AM

I have exact the same problem, did anyone solved this problem yet?

Nov 10, 2011 at 3:17 PM

Try doing the call to get caller ID on either the OnCallStateChanged (under the offering state) or on the Address Event for ringing.

 

When the call is a new call (CallNotification) the CallerId hasn't been "given" to tapi yet.

Feb 21, 2012 at 12:56 PM

you can get it in monitor mode

http://itapi3.codeplex.com/discussions/253693

Jul 16, 2014 at 5:22 AM
Hi, I have the same problem but the thread


http://itapi3.codeplex.com/discussions/253693

did not solve my problem.


One more thing that the calinfochange is also not firing