Discussion:
How to redirect all calls with TAPI 3.0
(too old to reply)
JohnSheridan
2006-08-15 12:55:17 UTC
Permalink
Hallo,

I want to use TAPI 3.0 in a C#.NET project.
The goal is: If the user log off, all calls should be direct to a call
center.

I have done the first part (catching log off in a windows service by SENS
objects),
but now I have troubles with the second part:

How can I redirect all calls to a specific telephone number?

I have found this example to initialize the TAPI object:
private void btnRedirect_Click(object sender, System.EventArgs e)
{
TAPI oTAPI = null;
try
{
oTAPI = new TAPI3Lib.TAPIClass();
oTAPI.Initialize();
}
catch (Exception ex)
{
throw ex;
}
finally
{
if (oTAPI != null)
Marshal.ReleaseComObject(oTAPI);
}
}

But what must I do next?

I can't find any examples or better the missing link to understand TAPI 3.0

Many thanks in advance and

Best regards
George!
JohnSheridan
2006-08-15 13:17:15 UTC
Permalink
Hallo,

I have found an exmple:
http://www.codeproject.com/cs/internet/devangpro.asp

But in the chapter "How to transfer a call" later on in the article it is
assumed that a call is existing.

How can I make a fix redirect for all calls?

Many thanks in advance and

Best regards

George!
Post by JohnSheridan
Hallo,
I want to use TAPI 3.0 in a C#.NET project.
The goal is: If the user log off, all calls should be direct to a call
center.
I have done the first part (catching log off in a windows service by SENS
objects),
How can I redirect all calls to a specific telephone number?
private void btnRedirect_Click(object sender, System.EventArgs e)
{
TAPI oTAPI = null;
try
{
oTAPI = new TAPI3Lib.TAPIClass();
oTAPI.Initialize();
}
catch (Exception ex)
{
throw ex;
}
finally
{
if (oTAPI != null)
Marshal.ReleaseComObject(oTAPI);
}
}
But what must I do next?
I can't find any examples or better the missing link to understand TAPI 3.0
Many thanks in advance and
Best regards
George!
essam.Salah
2006-09-28 09:14:29 UTC
Permalink
I recommend to have a look on this TAPI wrapper (http://www.julmar.com).
Goto the Download section, and you will find links to download the library
and samples.


Cheers
Essam
Post by JohnSheridan
Hallo,
http://www.codeproject.com/cs/internet/devangpro.asp
But in the chapter "How to transfer a call" later on in the article it is
assumed that a call is existing.
How can I make a fix redirect for all calls?
Many thanks in advance and
Best regards
George!
Post by JohnSheridan
Hallo,
I want to use TAPI 3.0 in a C#.NET project.
The goal is: If the user log off, all calls should be direct to a call
center.
I have done the first part (catching log off in a windows service by SENS
objects),
How can I redirect all calls to a specific telephone number?
private void btnRedirect_Click(object sender, System.EventArgs e)
{
TAPI oTAPI = null;
try
{
oTAPI = new TAPI3Lib.TAPIClass();
oTAPI.Initialize();
}
catch (Exception ex)
{
throw ex;
}
finally
{
if (oTAPI != null)
Marshal.ReleaseComObject(oTAPI);
}
}
But what must I do next?
I can't find any examples or better the missing link to understand TAPI 3.0
Many thanks in advance and
Best regards
George!
Loading...