JohnSheridan
2006-08-15 12:55:17 UTC
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!
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!