05-23-2013 06:06 AM - edited 03-16-2019 05:28 PM
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
05-23-2013 06:09 AM
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
05-23-2013 06:18 AM
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
05-23-2013 06:51 AM
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
void tapiManager_CallStateChanged(object sender, CallStateEventArgs e)
{
this.txtInfo.Text = this.txtInfo.Text + "Incomming Call number: " + e.Call.CallerId;
}
Todisoa
05-24-2013 03:10 AM
Hello,
I just added a new code but always no event occured.
line.NewCall += new EventHandler(line_NewCall);
Nobody? no Idea?
Thanks
Todisoa
05-24-2013 03:38 AM
Wrong forum, try developer.cisco.com
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide