cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1478
Views
0
Helpful
5
Replies

How to Get Incoming call number?

rtninfo23
Level 1
Level 1

Hello                 

How to Get Incoming call number?

What is the best way to get Incoming call number with C#?

TAPI 3.0? Jumlar ATAPI? Webdialer Soap? or Other?

Many Thanks

5 Replies 5

Aaron Harrison
VIP Alumni
VIP Alumni

Hi

It would depend on your experience and dev language.

If you need it 'live' (i.e. as the call arrives) then TAPI or JTAPI would be best. I prefer JTAPI as it doesn't require installation/config, you can download it and instantiate it through code.

Aaron

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!

Thank you for you reply Aaron.

I need it live and I use Visual Studio 2010 tools and C# langage.

Are you some sample of code Java or C#  implemented that?

Todisoa

I have already an C# implementation but it doesn't work.

This is  my C# code.The CallStateChanged event  is not  occured.

  private TapiManager tapiManager = new TapiManager("InCommingCall"); 

tapiManager.Initialize();

TapiLine line = tapiManager.GetLineByName("H323 Line", true);

if (!line.IsOpen)

line.Open(MediaModes.InteractiveVoice); 

line.CallStateChanged += new EventHandler(line_CallStateChanged);

     void tapiManager_CallStateChanged(object sender, CallStateEventArgs e)

        {

            this.txtInfo.Text = this.txtInfo.Text + "Incomming Call number: " + e.Call.CallerId;

        }

Todisoa


					
				
			
			
				
			
			
				
			
			
			
			
			
			
		

Hello,

I just added a new code but always no event occured.

  line.NewCall += new EventHandler(line_NewCall);


Nobody? no Idea?

Thanks
Todisoa

Wrong forum, try developer.cisco.com

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: