Microsoft TAPI (en)
 

Re:Problems with Tapi3 in C-Sharp.


 
Re:Problems with Tapi3 in C-Sharp. Post Reply
06.05.2008 18:58 Ravi

Hi Jochen,

Even i am also having some problems with TAPI3 with c#. I am developing a
application in c# with TAPI 3.1. My application works for Call, Answer and
transfer. I wrote the function for Hold and disconnect. But it is throwing
error for disconnect and its not responding for hold

i am attaching the code for your view.

This is for call holding
public void TAPICallHold(IEnumCall ec,bool hold)
        {
            uint arg = 0;
            ITCallInfo ici;
            ec.Next(1, out ici, ref arg);
            ITBasicCallControl bc = (TAPI3Lib.ITBasicCallControl)ici;
            bc.Hold(hold);
        }

this is for call disconnecting
public void TAPICallDisconnect(IEnumCall ec)
        {
            uint arg = 0;
            ITCallInfo ici;
            ec.Next(1, out ici, ref arg);
            ITBasicCallControl bc = (TAPI3Lib.ITBasicCallControl)ici;
            bc.Disconnect(DISCONNECT_CODE.DC_NORMAL);
            ici.ReleaseUserUserInfo();
        }

While debugging the disconnect function, found out that it is throwing error
at ici.ReleaseUserUserInfo() function.
The error message i receive is as follows
This implementation doesn't take advises (Exception from HRESULT: 0x80040003
(OLE_E_ADVISENOTSUPPORTED))"

Any ideas please?

url:http://www.ureader.com/msg/14811724.aspx
Re: Re:Problems with Tapi3 in C-Sharp. Post Reply
06.05.2008 17:18 Andreas Marschall [MVP TAPI]

"Ravi" schrieb im Newsbeitrag
news:91da76334167424096a412c8ee7905d1@newspe.com...
> While debugging the disconnect function, found out that it is throwing error
> at ici.ReleaseUserUserInfo() function.
> The error message i receive is as follows
> This implementation doesn't take advises (Exception from HRESULT: 0x80040003
> (OLE_E_ADVISENOTSUPPORTED))"

Ravi,
You are looking at the wrong error code description.
It is:
TAPI3 error code: 0x80040003 = This method is not supported..
See my TAPI and TSPI FAQ:
Q: Where are TAPI errors codes defined ?
http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm#_Q:_Where_are

For more please see you other thread.

--
Best Regards
Andreas Marschall
Microsoft MVP for TAPI / Windows SDK
TAPI / TSP Developer and Tester
My TAPI and TSPI FAQ:
http://www.I-B-A-M.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm
My Toto® Tools (a collection of free, mostly TAPI related tools):
http://www.i-b-a-m.de/Andreas_Marschall's_Toto_Tools.htm
TAPI development around the world (Frappr! map):
http://www.frappr.com/TAPIaroundTheWorld
* Please post all messages and replies to the newsgroup so all may
* benefit from the discussion.  Private mail is usually not replied to.
* This posting is provided "AS IS" with no warranties, and confers no rights.


Re: Re:Problems with Tapi3 in C-Sharp. Post Reply
12.05.2008 19:09 Ravi

Hi Marshall,

I am using Cisco TSP 4.1. Does this tsp compatible to TAPI3?

Because i read from one PDF that CISCO TSP doesnot support TAPI3
applications and another one says that lower version of the TSP does not
support TAPI3

Please suggest me in this regards

url:http://www.ureader.com/msg/14811724.aspx
 
 
 Write Us|  Add to favorites
 
 
 ©2007 TERASENS GmbH. All rights reserved. Copyright Notice